Loading media/libaudiohal/DevicesFactoryHalHidl.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ DevicesFactoryHalHidl::DevicesFactoryHalHidl() { ALOGE("Failed to obtain IDevicesFactory service, terminating process."); exit(1); } // The MSD factory is optional mDevicesFactoryMsd = IDevicesFactory::getService(AUDIO_HAL_SERVICE_NAME_MSD); // TODO: Register death handler, and add 'restart' directive to audioserver.rc } DevicesFactoryHalHidl::~DevicesFactoryHalHidl() { Loading media/libaudiohal/DevicesFactoryHalHidl.h +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ class DevicesFactoryHalHidl : public DevicesFactoryHalInterface friend class DevicesFactoryHalHybrid; sp<IDevicesFactory> mDevicesFactory; sp<IDevicesFactory> mDevicesFactoryMsd; static status_t nameFromHal(const char *name, IDevicesFactory::Device *device); Loading Loading
media/libaudiohal/DevicesFactoryHalHidl.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ DevicesFactoryHalHidl::DevicesFactoryHalHidl() { ALOGE("Failed to obtain IDevicesFactory service, terminating process."); exit(1); } // The MSD factory is optional mDevicesFactoryMsd = IDevicesFactory::getService(AUDIO_HAL_SERVICE_NAME_MSD); // TODO: Register death handler, and add 'restart' directive to audioserver.rc } DevicesFactoryHalHidl::~DevicesFactoryHalHidl() { Loading
media/libaudiohal/DevicesFactoryHalHidl.h +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ class DevicesFactoryHalHidl : public DevicesFactoryHalInterface friend class DevicesFactoryHalHybrid; sp<IDevicesFactory> mDevicesFactory; sp<IDevicesFactory> mDevicesFactoryMsd; static status_t nameFromHal(const char *name, IDevicesFactory::Device *device); Loading