Searched refs:mHwDevice (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHalLegacy.cpp | 29 : mModuleName(moduleName), mHwDevice(NULL) in SoundTriggerHalLegacy() 48 rc = sound_trigger_hw_device_open(mod, &mHwDevice); in onFirstRef() 52 mHwDevice = NULL; in onFirstRef() 55 if (mHwDevice->common.version < SOUND_TRIGGER_DEVICE_API_VERSION_1_0 || in onFirstRef() 56 mHwDevice->common.version > SOUND_TRIGGER_DEVICE_API_VERSION_CURRENT) { in onFirstRef() 57 ALOGE("wrong sound trigger hw device version %04x", mHwDevice->common.version); in onFirstRef() 64 if (mHwDevice != NULL) { in ~SoundTriggerHalLegacy() 65 sound_trigger_hw_device_close(mHwDevice); in ~SoundTriggerHalLegacy() 71 if (mHwDevice == NULL) { in getProperties() 74 return mHwDevice->get_properties(mHwDevice, properties); in getProperties() [all …]
|
D | SoundTriggerHalLegacy.h | 80 struct sound_trigger_hw_device* mHwDevice; variable
|
/frameworks/av/services/radio/ |
D | RadioHalLegacy.cpp | 39 : RadioInterface(), mClassId(classId), mHwDevice(NULL) in RadioHalLegacy() 49 mHwDevice = NULL; in onFirstRef() 66 rc = radio_hw_device_open(mod, &mHwDevice); in onFirstRef() 70 mHwDevice = NULL; in onFirstRef() 73 if (mHwDevice->common.version != RADIO_DEVICE_API_VERSION_CURRENT) { in onFirstRef() 74 ALOGE("wrong radio hw device version %04x", mHwDevice->common.version); in onFirstRef() 75 radio_hw_device_close(mHwDevice); in onFirstRef() 76 mHwDevice = NULL; in onFirstRef() 82 if (mHwDevice != NULL) { in ~RadioHalLegacy() 83 radio_hw_device_close(mHwDevice); in ~RadioHalLegacy() [all …]
|
D | RadioService.cpp | 374 : mHwDevice(hwDevice), mProperties(properties), mMute(true) in Module() 379 mHwDevice.clear(); in ~Module() 398 if (mHwDevice == 0) { in addClient() 480 mHwDevice->closeTuner(halTuner); in addClient() 486 ret = mHwDevice->openTuner(&halConfig, audio, in addClient() 527 if (mHwDevice != 0) { in removeClient() 528 mHwDevice->closeTuner(halTuner); in removeClient() 541 if (mHwDevice == 0) { in removeClient() 593 ret = mHwDevice->openTuner(&halConfig, youngestClient->audio(), in removeClient()
|
D | RadioService.h | 89 sp<RadioInterface> hwDevice() const { return mHwDevice; } in hwDevice() 98 sp<RadioInterface> mHwDevice; // HAL hardware device variable
|
D | RadioHalLegacy.h | 77 struct radio_hw_device *mHwDevice; variable
|
/frameworks/av/services/audioflinger/ |
D | AudioHwDevice.h | 46 , mHwDevice(hwDevice) in AudioHwDevice() 60 sp<DeviceHalInterface> hwDevice() const { return mHwDevice; } in hwDevice() 82 sp<DeviceHalInterface> mHwDevice; variable
|
D | AudioHwDevice.cpp | 98 return mHwDevice->supportsAudioPatches(&result) == OK ? result : false; in supportsAudioPatches()
|