summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2018-10-29 11:46:56 -0700
committer Steven Moreland <smoreland@google.com> 2018-10-29 11:52:57 -0700
commit71872f8ac646095f0eb2e84f6cdde4aab6d6a6e2 (patch)
tree733dc0ca24ae039d356eb6176c54213900f71e40 /libs/gui/BufferQueueThreadState.cpp
parenteddf8dd3601f3c78f5112d0a8ccb68b23887f86a (diff)
libbinder_ndk: recombine allocators/getters
Since they are tightly coupled, these have been combined together. Primitive arrays/strings look like this: AParcel_write...(parcel, T*, length); AParcel_read...(parcel, void*, allocator); With the exception of boolean which looks like this: AParcel_write...(parcel, void*, length, getter) AParcel_read...(parcel, void*, allocator, setter) The difference in boolean is because boolean values are not necessarily stored contiguously in memory in most implementations (rather they are stored in more complicated bitsets), and so this representation easily allows for this efficient storage when these items are not being transported over binder. Bug: 111445392 Test: atest android.binder.cts Change-Id: Ic1645a315f31c8ef35c0a90aa42b96ec55515912
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions