OSDN Git Service

Add readStrongBinder that takes an interface
authorCasey Dahlin <sadmac@google.com>
Wed, 28 Oct 2015 01:33:56 +0000 (18:33 -0700)
committerCasey Dahlin <sadmac@google.com>
Wed, 28 Oct 2015 21:35:24 +0000 (14:35 -0700)
commitf0c13772d95486d98f034361883b2415bb26a614
tree4eb8034f279468c6a5b902ca5a9feec591f21782
parent1f76049c955c605b61ef0d923582c740c325b1a0
Add readStrongBinder that takes an interface

We use a template function to let us pass arbitrary interfaces, all of which
can be cast to IBinder.

Change-Id: Iadf21c495cde43e8a5adb85a49e6592196f401ff
Test: unit tests
Bug: 23600713
Signed-off-by: Casey Dahlin <sadmac@google.com>
include/binder/Parcel.h
libs/binder/Parcel.cpp