Home
last modified time | relevance | path

Searched refs:HalDeathHandler (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaudiohal/
DHalDeathHandlerHidl.cpp26 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::HalDeathHandler
36 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()
/frameworks/av/media/libaudiohal/include/media/audiohal/hidl/
DHalDeathHandler.h32 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.
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp184 factory->linkToDeath(HalDeathHandler::getInstance(), 0 /*cookie*/); in addDeviceFactory()