commit | fb39f9c06808b3f1d9684594de395797dd2825af | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed Aug 25 14:58:09 2021 -0700 |
committer | Yu Shan <shanyu@google.com> | Thu Sep 09 11:37:36 2021 -0700 |
tree | 5178570d414e40a0ef9fc9ba485836515cc66be7 | |
parent | 33e1d32ceb839c4f223830dccd22a0209522cf9d [diff] |
Add marshal() and unmarshal() APIs. Expose marshal/unmarshal APIs from binder_ndk because we need to pass large data that exceeds binder memory limitation across binder for auto use case. We need to serialize parcel to a shared memory file and unmarshal it into a parcel. We would only marshal stable AIDL generated parcelable. Test: Add a unit test to CTS. Bug: 197781220 Change-Id: I774663d619ad0ca04f23044d2245021b265b32c1