commit | 5000615e8959f3386cb44d4739de7e7396ad005e | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Sat May 01 07:34:51 2021 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Fri May 14 22:48:43 2021 +0000 |
tree | 153bbb68074618ef4886af9ae47b9d17931979ff | |
parent | 7e563f090ba19c36b9879e14388a0e377f1523b5 [diff] |
binder_rs: Add in-place deserialization methods This adds deserialize_from methods to the Deserialize and DeserializeOption traits in libbinder_rs that perform in-place deserialization of values on top of existing objects. The new methods are used for partial deserialization of parcelables in the AIDL compiler. Also adds a helper impl_deserialize_for_parcelable! helper macro. Bug: 186724059 Test: m Change-Id: I9fcbd4c7fa4ab85d8ab84792c9c5595ee149879f