commit | 72b799d4fee0bfbb4ca6c7034cee6ef8b55a6231 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Sat Sep 04 01:39:23 2021 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Thu Oct 07 19:42:17 2021 +0000 |
tree | ee2414638ed6da243aad6606be5f9feef866ef56 | |
parent | 5c133845d5307eac4b177f0c280d1fbb3af60630 [diff] |
binder_rs: Add new methods to Parcel Add a few new methods and a trait implementation to Parcel: * Parcel::new() and Parcel::default() which create a new empty Parcel by calling AParcel_create * Parcel::append_from() and Parcel::append_all_from() which call AParcel_appendFrom * Clone trait implementation using append_all_from() Bug: 169035750 Test: atest binder_rs-internal_test Change-Id: I89404883e9a115676523a974646d9243ac44903b