Searched refs:HalDeathHandler (Results 1 – 3 of 3) sorted by relevance
26 ANDROID_SINGLETON_STATIC_INSTANCE(HalDeathHandler);29 sp<HalDeathHandler> HalDeathHandler::getInstance() { in getInstance()30 return &Singleton<HalDeathHandler>::getInstance(); in getInstance()33 HalDeathHandler::HalDeathHandler() : mSelf(this) { in HalDeathHandler() function in android::HalDeathHandler36 HalDeathHandler::~HalDeathHandler() { in ~HalDeathHandler()39 void HalDeathHandler::registerAtExitHandler(void* cookie, AtExitHandler handler) { in registerAtExitHandler()44 void HalDeathHandler::unregisterAtExitHandler(void* cookie) { in unregisterAtExitHandler()49 void HalDeathHandler::serviceDied(uint64_t /*cookie*/, const wp<IBase>& /*who*/) { in serviceDied()
32 class HalDeathHandler : public hidl_death_recipient, private Singleton<HalDeathHandler> {46 static sp<HalDeathHandler> getInstance();49 friend class Singleton<HalDeathHandler>;52 HalDeathHandler();53 virtual ~HalDeathHandler();55 sp<HalDeathHandler> mSelf; // Allows the singleton instance to live forever.
184 factory->linkToDeath(HalDeathHandler::getInstance(), 0 /*cookie*/); in addDeviceFactory()