OSDN Git Service

libbinder: Support reading/writing out T[] lengths
authorChristopher Wiley <wiley@google.com>
Fri, 19 Aug 2016 18:43:54 +0000 (11:43 -0700)
committerChristopher Wiley <wiley@google.com>
Fri, 19 Aug 2016 18:43:54 +0000 (11:43 -0700)
commit31c1beb1d8de373f7734a54e25ad80b01024adb0
tree33c829ea67689760e37f5df6223a2478fb5bb998
parent0783d5fc28e78e875bed663eea8a5df77eddf571
libbinder: Support reading/writing out T[] lengths

T[] types are special: the length of the out array is written
into the inbound parcel to signal the expected length to the
server.

Bug: 30836680
Change-Id: I4f2f39fd7b1a6b94a25bd7f6c3baed430fd567bc
Test: integration tests pass with this change.
include/binder/Parcel.h