summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2021-12-02 11:08:30 +0900
committer Jooyung Han <jooyung@google.com> 2021-12-14 17:42:10 +0900
commite26e5ca587b47067fcf0f1cec257d2db6755afb3 (patch)
treea9088388fef6b64d540ec8f24833e9beccb0f063 /libs/battery/LongArrayMultiStateCounterTest.cpp
parent3183b5c2ccb259ec218420c8bfcd8f7e4f45c05e (diff)
libbinder: Parcel APIs for fixed-size arrays
readFixedArray/writeFixedArray for std::array<T,N> are added to Parcel class. These recursively calls readData/writeData when arrays are nested. Arrays of primitive values are serialized as contiguous values just like std::vector<T>. For example, std::array<uint8_t, N> is serialized in single-byte strides. Bug: 207087196 Test: binder_parcel_fuzzer Change-Id: I333c386cbe281d44ce15b45a343d03cdbbdccb6d
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions