Searched refs:mHwDevice (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/services/soundtrigger/
H A DSoundTriggerHalLegacy.cpp29 : mModuleName(moduleName), mHwDevice(NULL)
48 rc = sound_trigger_hw_device_open(mod, &mHwDevice);
52 mHwDevice = NULL;
55 if (mHwDevice->common.version < SOUND_TRIGGER_DEVICE_API_VERSION_1_0 ||
56 mHwDevice->common.version > SOUND_TRIGGER_DEVICE_API_VERSION_CURRENT) {
57 ALOGE("wrong sound trigger hw device version %04x", mHwDevice->common.version);
64 if (mHwDevice != NULL) {
65 sound_trigger_hw_device_close(mHwDevice);
71 if (mHwDevice == NULL) {
74 return mHwDevice
[all...]
H A DSoundTriggerHalLegacy.h80 struct sound_trigger_hw_device* mHwDevice; member in class:android::SoundTriggerHalLegacy
/frameworks/av/services/audioflinger/
H A DAudioHwDevice.h46 , mHwDevice(hwDevice)
60 sp<DeviceHalInterface> hwDevice() const { return mHwDevice; }
82 sp<DeviceHalInterface> mHwDevice; member in class:android::AudioHwDevice
H A DAudioHwDevice.cpp98 return mHwDevice->supportsAudioPatches(&result) == OK ? result : false;

Completed in 71 milliseconds