Lines Matching refs:hw_module
152 oldPatch.sources[0].ext.device.hw_module != in createAudioPatch()
153 patch->sources[0].ext.device.hw_module)) { in createAudioPatch()
154 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch()
158 oldPatch.sinks[0].ext.device.hw_module != in createAudioPatch()
159 patch->sinks[0].ext.device.hw_module))) { in createAudioPatch()
165 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch()
181 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module; in createAudioPatch()
191 patch->sinks[i].ext.device.hw_module != srcModule)) && in createAudioPatch()
212 ((patch->sinks[0].ext.device.hw_module != srcModule) || in createAudioPatch()
218 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module != in createAudioPatch()
219 patch->sources[1].ext.mix.hw_module)) { in createAudioPatch()
252 patch->sinks[0].ext.device.hw_module, in createAudioPatch()
350 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
367 if (patch->sinks[i].ext.device.hw_module != srcModule) { in createAudioPatch()
690 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(src.ext.device.hw_module); in releaseAudioPatch()
692 ALOGW("%s() bad src hw module %d", __func__, src.ext.device.hw_module); in releaseAudioPatch()
719 if (findHwDeviceByModule(src.ext.mix.hw_module) == 0) { in releaseAudioPatch()
720 ALOGW("%s() bad src hw module %d", __func__, src.ext.mix.hw_module); in releaseAudioPatch()