/system/security/keystore/ |
D | operation.h | 41 using ::android::IBinder; 54 explicit OperationMap(IBinder::DeathRecipient* deathRecipient); 55 sp<IBinder> addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, 56 const sp<Keymaster>& dev, const sp<IBinder>& appToken, 59 std::shared_ptr<Operation> getOperation(const sp<IBinder>& token); 60 std::shared_ptr<Operation> removeOperation(const sp<IBinder>& token, bool wasSuccessful); 62 sp<IBinder> getOldestPruneableOperation(); 63 std::vector<sp<IBinder>> getOperationsForToken(const sp<IBinder>& appToken); 66 void updateLru(const sp<IBinder>& token); 67 void removeOperationTracking(const sp<IBinder>& token, const sp<IBinder>& appToken); [all …]
|
D | operation.cpp | 26 OperationMap::OperationMap(IBinder::DeathRecipient* deathRecipient) in OperationMap() 29 sp<IBinder> OperationMap::addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, in addOperation() 30 const sp<Keymaster>& dev, const sp<IBinder>& appToken, in addOperation() 33 sp<IBinder> token = new ::android::BBinder(); in addOperation() 42 std::shared_ptr<Operation> OperationMap::getOperation(const sp<IBinder>& token) { in getOperation() 52 void OperationMap::updateLru(const sp<IBinder>& token) { in updateLru() 60 std::shared_ptr<Operation> OperationMap::removeOperation(const sp<IBinder>& token, in removeOperation() 75 void OperationMap::removeOperationTracking(const sp<IBinder>& token, const sp<IBinder>& appToken) { in removeOperationTracking() 90 sp<IBinder> OperationMap::getOldestPruneableOperation() { in getOldestPruneableOperation() 96 std::vector<sp<IBinder>> OperationMap::getOperationsForToken(const sp<IBinder>& appToken) { in getOperationsForToken()
|
D | confirmation_manager.h | 45 explicit ConfirmationManager(android::IBinder::DeathRecipient* deathRecipient); 52 Status presentConfirmationPrompt(const android::sp<android::IBinder>& listener, 63 Status cancelConfirmationPrompt(const android::sp<android::IBinder>& listener, 73 void binderDied(const android::wp<android::IBinder>& who); 99 android::sp<android::IBinder> mCurrentListener; 101 android::IBinder::DeathRecipient* mDeathRecipient;
|
D | operation_struct.h | 33 using ::android::IBinder; 40 KeyCharacteristics&& characteristics_, sp<IBinder> appToken_, in Operation() 55 sp<IBinder> appToken;
|
D | confirmation_manager.cpp | 33 using android::IBinder; 50 ConfirmationManager::ConfirmationManager(IBinder::DeathRecipient* deathRecipient) in ConfirmationManager() 54 Status ConfirmationManager::presentConfirmationPrompt(const sp<IBinder>& listener, in presentConfirmationPrompt() 107 Status ConfirmationManager::cancelConfirmationPrompt(const sp<IBinder>& listener, in cancelConfirmationPrompt() 152 sp<IBinder> listener = mCurrentListener; in finalizeTransaction() 191 void ConfirmationManager::binderDied(const wp<IBinder>& who) { in binderDied()
|
/system/libhwbinder/include/hwbinder/ |
D | ProcessState.h | 44 void setContextObject(const sp<IBinder>& object); 45 sp<IBinder> getContextObject(const sp<IBinder>& caller); 47 void setContextObject(const sp<IBinder>& object, 49 sp<IBinder> getContextObject(const String16& name, 50 const sp<IBinder>& caller); 55 const sp<IBinder>& caller, 63 sp<IBinder> getStrongProxyForHandle(int32_t handle); 64 wp<IBinder> getWeakProxyForHandle(int32_t handle); 65 void expungeHandle(int32_t handle, IBinder* binder); 106 IBinder* binder; [all …]
|
D | IInterface.h | 31 static sp<IBinder> asBinder(const IInterface*); 32 static sp<IBinder> asBinder(const sp<IInterface>&); 35 virtual IBinder* onAsBinder() = 0; 44 explicit BpInterface(const sp<IBinder>& remote); 45 virtual IBinder* onAsBinder(); 55 inline BpInterface<INTERFACE>::BpInterface(const sp<IBinder>& remote) in BpInterface() 61 inline IBinder* BpInterface<INTERFACE>::onAsBinder() in onAsBinder()
|
D | IBinder.h | 42 class IBinder : public virtual RefBase 80 IBinder(); 91 virtual void binderDied(const wp<IBinder>& who) = 0; 167 virtual ~IBinder();
|
D | Binder.h | 28 class BHwBinder : public IBinder 97 explicit BpHwRefBase(const sp<IBinder>& o); 104 inline IBinder* remote() const { return mRemote; } in remote() 110 IBinder* const mRemote;
|
/system/core/libbinderwrapper/include/binderwrapper/ |
D | stub_binder_wrapper.h | 86 const sp<IBinder>& binder); 90 sp<IBinder> GetRegisteredService(const std::string& service_name) const; 93 void NotifyAboutBinderDeath(const sp<IBinder>& binder); 96 sp<IBinder> GetService(const std::string& service_name) override; 98 const sp<IBinder>& binder) override; 100 bool RegisterForDeathNotifications(const sp<IBinder>& binder, 102 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override; 107 using ServiceMap = std::map<std::string, sp<IBinder>>; 122 std::map<sp<IBinder>, ::base::Closure> death_callbacks_;
|
D | binder_wrapper.h | 30 class IBinder; variable 60 virtual sp<IBinder> GetService(const std::string& service_name) = 0; 64 const sp<IBinder>& binder) = 0; 72 const sp<IBinder>& binder, 76 virtual bool UnregisterForDeathNotifications(const sp<IBinder>& binder) = 0;
|
/system/core/libbinderwrapper/ |
D | stub_binder_wrapper.cc | 32 const sp<IBinder>& binder) { in SetBinderForService() 36 sp<IBinder> StubBinderWrapper::GetRegisteredService( in GetRegisteredService() 39 return it != registered_services_.end() ? it->second : sp<IBinder>(); in GetRegisteredService() 42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { in NotifyAboutBinderDeath() 48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) { in GetService() 50 return it != services_to_return_.end() ? it->second : sp<IBinder>(); in GetService() 54 const sp<IBinder>& binder) { in RegisterService() 66 const sp<IBinder>& binder, in RegisterForDeathNotifications() 73 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
|
D | real_binder_wrapper.h | 27 class IBinder; variable 36 sp<IBinder> GetService(const std::string& service_name) override; 38 const sp<IBinder>& binder) override; 40 bool RegisterForDeathNotifications(const sp<IBinder>& binder, 42 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override; 51 std::map<sp<IBinder>, sp<DeathRecipient>> death_recipients_;
|
D | real_binder_wrapper.cc | 30 class RealBinderWrapper::DeathRecipient : public IBinder::DeathRecipient { 37 void binderDied(const wp<IBinder>& who) override { in binderDied() 52 sp<IBinder> RealBinderWrapper::GetService(const std::string& service_name) { in GetService() 56 return sp<IBinder>(); in GetService() 58 sp<IBinder> binder = in GetService() 66 const sp<IBinder>& binder) { in RegisterService() 87 const sp<IBinder>& binder, in RegisterForDeathNotifications() 100 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
|
/system/libhwbinder/ |
D | Binder.cpp | 33 IBinder::IBinder() in IBinder() function in android::hardware::IBinder 38 IBinder::~IBinder() in ~IBinder() 44 BHwBinder* IBinder::localBinder() in localBinder() 49 BpHwBinder* IBinder::remoteBinder() in remoteBinder() 54 bool IBinder::checkSubclass(const void* /*subclassID*/) const in checkSubclass() 219 BpHwRefBase::BpHwRefBase(const sp<IBinder>& o) in BpHwRefBase()
|
D | ProcessState.cpp | 103 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject() 108 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject() argument 113 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject() 119 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject() 122 sp<IBinder> object( in getContextObject() 279 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) in getStrongProxyForHandle() 281 sp<IBinder> result; in getStrongProxyForHandle() 291 IBinder* b = e->binder; in getStrongProxyForHandle() 309 wp<IBinder> ProcessState::getWeakProxyForHandle(int32_t handle) in getWeakProxyForHandle() 311 wp<IBinder> result; in getWeakProxyForHandle() [all …]
|
/system/netd/server/ |
D | OemNetdListener.cpp | 26 ::android::sp<::android::IBinder> OemNetdListener::getListener() { in getListener() 31 ::android::sp<::android::IBinder> OemNetdListener::getIBinder() { in getIBinder() 56 class DeathRecipient : public ::android::IBinder::DeathRecipient { in registerOemUnsolicitedEventListenerInternal() 62 void binderDied(const ::android::wp<::android::IBinder>& /* who */) override { in registerOemUnsolicitedEventListenerInternal() argument 70 ::android::sp<::android::IBinder::DeathRecipient> deathRecipient = in registerOemUnsolicitedEventListenerInternal()
|
D | OemNetdListener.h | 35 const ::android::sp<::android::IBinder::DeathRecipient>>; 39 static ::android::sp<::android::IBinder> getListener(); 49 ::android::sp<::android::IBinder> mIBinder GUARDED_BY(mMutex); 52 ::android::sp<::android::IBinder> getIBinder() EXCLUDES(mMutex);
|
D | EventReporter.cpp | 30 android::sp<android::IBinder> b = android::defaultServiceManager()->checkService( in getNetdEventListener() 51 class DeathRecipient : public android::IBinder::DeathRecipient { in registerUnsolEventListener() 57 void binderDied(const android::wp<android::IBinder>& /* who */) override { in registerUnsolEventListener() argument 65 android::sp<android::IBinder::DeathRecipient> deathRecipient = in registerUnsolEventListener()
|
/system/bt/service/ipc/binder/ |
D | remote_callback_list.h | 70 class CallbackDeathRecipient : public android::IBinder::DeathRecipient { 78 void binderDied(const android::wp<android::IBinder>& who) override; 87 using CallbackMap = std::unordered_map<android::IBinder*, 101 using android::IBinder; 117 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register() 141 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Unregister() 189 const wp<IBinder>& who) { in binderDied() 192 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
|
/system/libhidl/transport/token/1.0/utils/include/hidl/ |
D | HybridInterface.h | 206 const sp<IBinder::DeathRecipient>& recipient, 210 const wp<IBinder::DeathRecipient>& recipient, 213 wp<IBinder::DeathRecipient>* outRecipient = nullptr); 222 wp<IBinder::DeathRecipient> recipient; 225 wp<IBinder> who; 227 const wp<IBinder::DeathRecipient>& r, in Obituary() 229 const wp<IBinder>& w) : in Obituary() 246 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied() 282 explicit HpInterface(const sp<IBinder>& impl); 287 IBinder* mBpBinder; [all …]
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | NullableTests.java | 26 import android.os.IBinder; 43 IBinder binder = ServiceManager.getService(ITestService.class.getName()); in setUp() 71 List<IBinder> listWithNulls = new ArrayList<IBinder>(); in testExpectNpeWithNullBinderList()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nullables.cpp | 27 using android::IBinder; 106 std::vector<sp<IBinder>> input{new BBinder(), nullptr}; in TEST_F() 112 sp<IBinder> input = new BBinder(); in TEST_F() 118 std::vector<sp<IBinder>> input{new BBinder(), new BBinder()}; in TEST_F() 129 std::vector<sp<IBinder>> input{new BBinder(), nullptr}; in TEST_F() 135 sp<IBinder> input = new BBinder(); in TEST_F() 141 std::vector<sp<IBinder>> input{new BBinder(), new BBinder()}; in TEST_F()
|
/system/security/keystore/binder/android/security/keystore/ |
D | IKeystoreService.aidl | 67 …int begin(in IKeystoreOperationResultCallback cb, IBinder appToken, String alias, int purpose, boo… in begin() 69 …int update(in IKeystoreOperationResultCallback cb, IBinder token, in KeymasterArguments params, in… in update() 70 …int finish(in IKeystoreOperationResultCallback cb, IBinder token, in KeymasterArguments params, in… in finish() 72 int abort(in IKeystoreResponseCallback cb, IBinder token); in abort() 82 int presentConfirmationPrompt(IBinder listener, String promptText, in byte[] extraData, in presentConfirmationPrompt() 84 int cancelConfirmationPrompt(IBinder listener); in cancelConfirmationPrompt()
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothProfileServiceConnection.aidl | 20 import android.os.IBinder; 28 void onServiceConnected(in ComponentName comp, in IBinder service); in onServiceConnected()
|