Lines Matching refs:killable
40 [](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()
109 [deathMonitor = kDeathMonitor, killable] { deathMonitor->remove(killable); }); in protectCallback()