OSDN Git Service

binder: Add {read,write}Uint32 methods to Parcel
authorDan Stoza <stoza@google.com>
Mon, 1 Dec 2014 18:01:10 +0000 (10:01 -0800)
committerDan Stoza <stoza@google.com>
Mon, 1 Dec 2014 19:13:11 +0000 (11:13 -0800)
commit41a0f2f86c0ca7d2fef50aef6215987f445a7231
treea02857dc77b65467a3260c54d0768c9ae36795ed
parent104e12594e085bc8dd32eedb96643b774b1508a0
binder: Add {read,write}Uint32 methods to Parcel

Adds readUint32 and writeUint32 methods to the Parcel class. This
saves a lot of static_casting in anything implementing a Binder
interface on the native side.

Change-Id: Iafc73b0633654a3a4c49767f41806b56906c924f
include/binder/Parcel.h
libs/binder/Parcel.cpp