Lines Matching refs:killable
37 [](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()
93 mDeathRecipient->add(killable); in protectCallback()
95 [deathRecipient = mDeathRecipient, killable] { deathRecipient->remove(killable); }); in protectCallback()
98 void DeathHandler::protectCallbackForLifetimeOfDeathHandler(IProtectedCallback* killable) const { in protectCallbackForLifetimeOfDeathHandler()
99 CHECK(killable != nullptr); in protectCallbackForLifetimeOfDeathHandler()
100 mDeathRecipient->add(killable); in protectCallbackForLifetimeOfDeathHandler()