summaryrefslogtreecommitdiff
path: root/libs/binder/IServiceManager.cpp
diff options
context:
space:
mode:
author Frederick Mayle <fmayle@google.com> 2022-05-26 20:30:12 +0000
committer Frederick Mayle <fmayle@google.com> 2022-06-17 22:09:03 +0000
commitdc07cf88e61e0f3026f1a8d80ebfa2788f235200 (patch)
tree183bc88d4708f1ddaaeae1a654e12b20bb1f56ca /libs/binder/IServiceManager.cpp
parenta4ed5674cd4ef9a61bb34711813085d5205cbf31 (diff)
libbinder: Add object offsets to RPC Binder protocol
The list of object offsets is always empty in this CL. That will change in follow up CLs when file descriptor support is added. The size of the parcel data is included in the RpcWireTransaction and RpcWireReply headers and then the object offsets are written after the parcel data. There was no space in RpcWireReply, so we must start a new wire protocol version. I've added some reserved space to RpcWireReply to match RpcWireTransaction so that it might be easier to make backwards compatible changes later. binderRpcTest on host went from 36 seconds to 2 minutes 24 seconds because of the added parameterization (x4 the tests => x4 the time). Bug: 185909244 Test: TH Change-Id: I0121a42f8b60362e6a6d0294a350255b5f9f5673
Diffstat (limited to 'libs/binder/IServiceManager.cpp')
0 files changed, 0 insertions, 0 deletions