Home
last modified time | relevance | path

Searched refs:deathRecipient (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DProtectCallback.cpp65 auto deathRecipient = sp<DeathRecipient>::make(); in create() local
67 const auto ret = object->linkToDeath(deathRecipient, /*cookie=*/0); in create()
73 return DeathHandler(std::move(object), std::move(deathRecipient)); in create()
76 DeathHandler::DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient) in DeathHandler() argument
77 : mObject(std::move(object)), mDeathRecipient(std::move(deathRecipient)) { in DeathHandler()
96 [deathRecipient = mDeathRecipient, killable] { deathRecipient->remove(killable); }); in protectCallback()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp106 auto deathRecipient = ndk::ScopedAIBinder_DeathRecipient( in create() local
114 AIBinder_linkToDeath(object->asBinder().get(), deathRecipient.get(), in create()
119 return DeathHandler(std::move(object), std::move(deathRecipient), std::move(deathMonitor)); in create()
123 ndk::ScopedAIBinder_DeathRecipient deathRecipient, in DeathHandler() argument
126 kDeathRecipient(std::move(deathRecipient)), in DeathHandler()
/hardware/interfaces/sensors/common/utils/
DISensorsWrapper.h77 virtual void linkToDeath(android::sp<android::hardware::hidl_death_recipient> deathRecipient,
124 void linkToDeath(android::sp<android::hardware::hidl_death_recipient> deathRecipient, in linkToDeath() argument
126 mSensors->linkToDeath(deathRecipient, cookie); in linkToDeath()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DProtectCallback.h93 DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient);
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DProtectCallback.h101 ndk::ScopedAIBinder_DeathRecipient deathRecipient,