Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DProtectCallback.cpp64 auto deathRecipient = sp<DeathRecipient>::make(); in create() local
66 const auto ret = object->linkToDeath(deathRecipient, /*cookie=*/0); in create()
72 return DeathHandler(std::move(object), std::move(deathRecipient)); in create()
75 DeathHandler::DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient) in DeathHandler() argument
76 : mObject(std::move(object)), mDeathRecipient(std::move(deathRecipient)) { in DeathHandler()
95 [deathRecipient = mDeathRecipient, killable] { deathRecipient->remove(killable); }); in protectCallback()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp67 auto deathRecipient = ndk::ScopedAIBinder_DeathRecipient( in create() local
75 object->asBinder().get(), deathRecipient.get(), deathMonitor.get())); in create()
79 return DeathHandler(std::move(object), std::move(deathRecipient), std::move(deathMonitor)); in create()
83 ndk::ScopedAIBinder_DeathRecipient deathRecipient, in DeathHandler() argument
86 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/aidl/utils/include/nnapi/hal/aidl/
DProtectCallback.h71 ndk::ScopedAIBinder_DeathRecipient deathRecipient,
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DProtectCallback.h93 DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient);