diff options
author | Dan Stoza <stoza@google.com> | 2014-12-01 19:27:00 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-01 19:27:00 +0000 |
commit | e4ea03f74ded76f588501bd2e90ecb767c6426b3 (patch) | |
tree | 5f2e2cd1a4a68ec1089ddca6e2514d0a38633da8 /libs | |
parent | 32ad1d518b8e89b487c8da2f6ec29c9a30ee5529 (diff) | |
parent | 80e8150549c9d8380dadf942336d41ab3d92bf78 (diff) | |
download | frameworks_native-e4ea03f74ded76f588501bd2e90ecb767c6426b3.zip frameworks_native-e4ea03f74ded76f588501bd2e90ecb767c6426b3.tar.gz frameworks_native-e4ea03f74ded76f588501bd2e90ecb767c6426b3.tar.bz2 |
am 80e81505: Merge "binder: Add {read,write}Uint32 methods to Parcel"
* commit '80e8150549c9d8380dadf942336d41ab3d92bf78':
binder: Add {read,write}Uint32 methods to Parcel
Diffstat (limited to 'libs')
-rw-r--r-- | libs/binder/Parcel.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index c613fe7..0ff9045 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp @@ -645,6 +645,12 @@ status_t Parcel::writeInt32(int32_t val) { return writeAligned(val); } + +status_t Parcel::writeUint32(uint32_t val) +{ + return writeAligned(val); +} + status_t Parcel::writeInt32Array(size_t len, const int32_t *val) { if (!val) { return writeAligned(-1); @@ -1033,6 +1039,15 @@ int32_t Parcel::readInt32() const return readAligned<int32_t>(); } +status_t Parcel::readUint32(uint32_t *pArg) const +{ + return readAligned(pArg); +} + +uint32_t Parcel::readUint32() const +{ + return readAligned<uint32_t>(); +} status_t Parcel::readInt64(int64_t *pArg) const { |