Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp127 kDeathMonitor(std::move(deathMonitor)) { in DeathHandler()
130 CHECK(kDeathMonitor != nullptr); in DeathHandler()
134 if (kObject != nullptr && kDeathRecipient.get() != nullptr && kDeathMonitor != nullptr) { in ~DeathHandler()
137 reinterpret_cast<void*>(kDeathMonitor->getCookieKey()))); in ~DeathHandler()
148 kDeathMonitor->add(killable); in protectCallback()
150 [deathMonitor = kDeathMonitor, killable] { deathMonitor->remove(killable); }); in protectCallback()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DProtectCallback.h97 std::shared_ptr<DeathMonitor> getDeathMonitor() const { return kDeathMonitor; } in getDeathMonitor()
106 std::shared_ptr<DeathMonitor> kDeathMonitor; variable