OSDN Git Service

Add methods to Parcel for bool and char and byte
authorCasey Dahlin <sadmac@google.com>
Thu, 15 Oct 2015 22:44:59 +0000 (15:44 -0700)
committerAlex Deymo <deymo@google.com>
Wed, 18 Nov 2015 01:49:18 +0000 (17:49 -0800)
commita37749140585cd76178a93faf3abd27cd2fc30dc
tree7ff21f6154d3b86bbe275adebcf75b199fec08b9
parentcfe27deac7e0ede89a78b9f03fb4a4159d68be8e
Add methods to Parcel for bool and char and byte

We lift these to int, but handling the details of that here will be better
than having AIDL generate casting code all the time.

Test: unit tests pass
Bug: 24981507
Signed-off-by: Casey Dahlin <sadmac@google.com>
(cherry picked from commit d6848f52e60be17b7f0992be7827dcae4ea2efb1)

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