diff options
| author | 2018-11-27 12:44:10 -0800 | |
|---|---|---|
| committer | 2018-11-27 14:40:51 -0800 | |
| commit | f32d1b07263f43b596994f953864e056839850ba (patch) | |
| tree | becec5e114e56c8c0f95f94e08eea78ee9a344bd /libs/gui/LayerDebugInfo.cpp | |
| parent | ebad92540553de4f991064548724725bb7e3b87c (diff) | |
libbinder_ndk: AParcel_(get|set)DataPosition
This allows you do the following:
- a = getPosition
- writeInt32(0)
- b = getPosition
- write data of unknown size
- c = getPosition
- setPosition(a)
- write(c - b)
This allows to skip reading the data of unknown size.
Bug: 118395170
Test: atest android.binder.cts
Change-Id: Id8033705331c6a48327c240ad33bd2d5f9fc190c
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions