Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DProtectCallback.cpp37 [](IProtectedCallback* killable) { killable->notifyAsDeadObject(); }); in serviceDied() argument
42 void DeathRecipient::add(IProtectedCallback* killable) const { in add()
43 CHECK(killable != nullptr); in add()
46 killable->notifyAsDeadObject(); in add()
48 mObjects.push_back(killable); in add()
52 void DeathRecipient::remove(IProtectedCallback* killable) const { in remove()
53 CHECK(killable != nullptr); in remove()
55 const auto newEnd = std::remove(mObjects.begin(), mObjects.end(), killable); in remove()
91 IProtectedCallback* killable) const { in protectCallback()
92 CHECK(killable != nullptr); in protectCallback()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp40 [](hal::utils::IProtectedCallback* killable) { killable->notifyAsDeadObject(); }); in serviceDied() argument
48 void DeathMonitor::add(hal::utils::IProtectedCallback* killable) const { in add()
49 CHECK(killable != nullptr); in add()
51 mObjects.push_back(killable); in add()
54 void DeathMonitor::remove(hal::utils::IProtectedCallback* killable) const { in remove()
55 CHECK(killable != nullptr); in remove()
57 const auto removedIter = std::remove(mObjects.begin(), mObjects.end(), killable); in remove()
105 hal::utils::IProtectedCallback* killable) const { in protectCallback()
106 CHECK(killable != nullptr); in protectCallback()
107 kDeathMonitor->add(killable); in protectCallback()
[all …]
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
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.h43 void add(hal::utils::IProtectedCallback* killable) const;
45 void remove(hal::utils::IProtectedCallback* killable) const;
65 hal::utils::IProtectedCallback* killable) const;