Loading libs/binder/BpBinder.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,10 @@ BpBinder::BpBinder(int32_t handle, int32_t trackedUid) IPCThreadState::self()->incWeakHandle(handle, this); } int32_t BpBinder::handle() const { return mHandle; } bool BpBinder::isDescriptorCached() const { Mutex::Autolock _l(mLock); return mDescriptorCache.size() ? true : false; Loading libs/binder/include/binder/BpBinder.h +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class BpBinder : public IBinder public: static BpBinder* create(int32_t handle); inline int32_t handle() const { return mHandle; } int32_t handle() const; virtual const String16& getInterfaceDescriptor() const; virtual bool isBinderAlive() const; Loading Loading
libs/binder/BpBinder.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,10 @@ BpBinder::BpBinder(int32_t handle, int32_t trackedUid) IPCThreadState::self()->incWeakHandle(handle, this); } int32_t BpBinder::handle() const { return mHandle; } bool BpBinder::isDescriptorCached() const { Mutex::Autolock _l(mLock); return mDescriptorCache.size() ? true : false; Loading
libs/binder/include/binder/BpBinder.h +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class BpBinder : public IBinder public: static BpBinder* create(int32_t handle); inline int32_t handle() const { return mHandle; } int32_t handle() const; virtual const String16& getInterfaceDescriptor() const; virtual bool isBinderAlive() const; Loading