diff options
author | Mathias Agopian <mathias@google.com> | 2012-08-12 19:37:16 -0700 |
---|---|---|
committer | Alex Ray <aray@google.com> | 2013-07-30 13:57:00 -0700 |
commit | 2497a1524dd909d0eb933544c94d2c2e9e2c3394 (patch) | |
tree | 6c517d2d71cbfe860f95c4cad4e13db61a1b4020 /toolbox/lsof.c | |
parent | 6454f461665a44b1e47d277d8b92415b5bbce2d8 (diff) | |
download | core-2497a1524dd909d0eb933544c94d2c2e9e2c3394.tar.gz core-2497a1524dd909d0eb933544c94d2c2e9e2c3394.tar.bz2 core-2497a1524dd909d0eb933544c94d2c2e9e2c3394.zip |
improve [un]marshalling of non-binder objects
this change introduces a new class LightFlattenable<> which is
a protocol to flatten simple objects that don't require
binders or file descriptors; the benefit of this protocol is that
it doesn't require the objects to have a virtual table and give us
a consitant way of doing this.
we also introduce an implementation of this protocol for
POD structures, LightFlattenablePod<>.
Parcel has been update to handle this protocol automatically.
Sensor, Rect, Point and Region now use this new protocol.
Change-Id: Icb3ce7fa1d785249eb666f39c2129f2fc143ea4a
Diffstat (limited to 'toolbox/lsof.c')
0 files changed, 0 insertions, 0 deletions