Home
last modified time | relevance | path

Searched refs:killable (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DProtectCallback.cpp38 [](IProtectedCallback* killable) { killable->notifyAsDeadObject(); }); in serviceDied() argument
43 void DeathRecipient::add(IProtectedCallback* killable) const { in add()
44 CHECK(killable != nullptr); in add()
47 killable->notifyAsDeadObject(); in add()
49 mObjects.push_back(killable); in add()
53 void DeathRecipient::remove(IProtectedCallback* killable) const { in remove()
54 CHECK(killable != nullptr); in remove()
56 const auto newEnd = std::remove(mObjects.begin(), mObjects.end(), killable); in remove()
92 IProtectedCallback* killable) const { in protectCallback()
93 CHECK(killable != nullptr); in protectCallback()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp50 [](IProtectedCallback* killable) { killable->notifyAsDeadObject(); }); in serviceDied() argument
74 void DeathMonitor::add(IProtectedCallback* killable) const { in add()
75 CHECK(killable != nullptr); in add()
77 mObjects.push_back(killable); in add()
80 void DeathMonitor::remove(IProtectedCallback* killable) const { in remove()
81 CHECK(killable != nullptr); in remove()
83 const auto removedIter = std::remove(mObjects.begin(), mObjects.end(), killable); in remove()
146 IProtectedCallback* killable) const { in protectCallback()
147 CHECK(killable != nullptr); in protectCallback()
148 kDeathMonitor->add(killable); in protectCallback()
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DProtectCallback.h61 void add(IProtectedCallback* killable) const;
63 void remove(IProtectedCallback* killable) const;
86 [[nodiscard]] Hold protectCallback(IProtectedCallback* killable) const;
90 void protectCallbackForLifetimeOfDeathHandler(IProtectedCallback* killable) const;
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DProtectCallback.h64 void add(IProtectedCallback* killable) const;
66 void remove(IProtectedCallback* killable) const;
95 IProtectedCallback* killable) const;