commit | ebaa8b542fa5f6e080d198932f01ca8d86d42a91 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Thu Apr 29 02:37:00 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Thu Apr 29 02:42:06 2021 +0900 |
tree | bc315218cb98837f732f42020ea03ea24efd4287 | |
parent | 9e85bce7f9e99ff16d7d931a4ef581eba5ab93e4 [diff] |
Versioned test to verify readFromParcel The added tests veify that parcelable's readFromParcel correctly skips extra data from newer version so that the subsequent reads work correctly. For example, in C++, if we miss the setDataPosition at the end of readFromParcel(), the readInt32 for the second parameter (value) reads the wrong value from the unread extra data of the parcelable. Bug: 186633641 Test: aidl_integration_test Change-Id: I6b16bc363b3725f934c735355911cc03e35a612a
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview