Home
last modified time | relevance | path

Searched refs:kDeathMonitor (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp87 kDeathMonitor(std::move(deathMonitor)) { in DeathHandler()
90 CHECK(kDeathMonitor != nullptr); in DeathHandler()
94 if (kObject != nullptr && kDeathRecipient.get() != nullptr && kDeathMonitor != nullptr) { in ~DeathHandler()
96 kObject->asBinder().get(), kDeathRecipient.get(), kDeathMonitor.get())); in ~DeathHandler()
107 kDeathMonitor->add(killable); in protectCallback()
109 [deathMonitor = kDeathMonitor, killable] { deathMonitor->remove(killable); }); in protectCallback()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DProtectCallback.h67 std::shared_ptr<DeathMonitor> getDeathMonitor() const { return kDeathMonitor; } in getDeathMonitor()
76 std::shared_ptr<DeathMonitor> kDeathMonitor; variable