Lines Matching refs:ext
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()
182 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module; in createAudioPatch()
192 patch->sinks[i].ext.device.hw_module != srcModule)) && in createAudioPatch()
213 ((patch->sinks[0].ext.device.hw_module != srcModule) || in createAudioPatch()
215 audio_devices_t outputDevice = patch->sinks[0].ext.device.type; in createAudioPatch()
216 String8 outputDeviceAddress = String8(patch->sinks[0].ext.device.address); in createAudioPatch()
219 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module != in createAudioPatch()
220 patch->sources[1].ext.mix.hw_module)) { in createAudioPatch()
227 mAudioFlinger.checkPlaybackThread_l(patch->sources[1].ext.mix.handle); in createAudioPatch()
253 patch->sinks[0].ext.device.hw_module, in createAudioPatch()
266 audio_devices_t device = patch->sources[0].ext.device.type; in createAudioPatch()
267 String8 address = String8(patch->sources[0].ext.device.address); in createAudioPatch()
317 patch->sinks[0].ext.mix.handle); in createAudioPatch()
319 thread = mAudioFlinger.checkMmapThread_l(patch->sinks[0].ext.mix.handle); in createAudioPatch()
322 __func__, patch->sinks[0].ext.mix.handle); in createAudioPatch()
334 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch()
351 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
368 if (patch->sinks[i].ext.device.hw_module != srcModule) { in createAudioPatch()
373 patch->sinks[i].ext.device.type); in createAudioPatch()
374 device->setAddress(patch->sinks[i].ext.device.address); in createAudioPatch()
379 mAudioFlinger.checkPlaybackThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
381 thread = mAudioFlinger.checkMmapThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
384 __func__, patch->sources[0].ext.mix.handle); in createAudioPatch()
400 if (iter.second.mAudioPatch.sources[0].ext.mix.handle == thread->id()) { in createAudioPatch()
489 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
664 hasSinkDevice ? mAudioPatch.sinks[0].ext.device.type : in dump()
665 (hasSourceDevice ? mAudioPatch.sources[0].ext.device.type : 0)); in dump()
691 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(src.ext.device.hw_module); in releaseAudioPatch()
693 ALOGW("%s() bad src hw module %d", __func__, src.ext.device.hw_module); in releaseAudioPatch()
704 audio_io_handle_t ioHandle = patch.sinks[0].ext.mix.handle; in releaseAudioPatch()
720 if (findHwDeviceByModule(src.ext.mix.hw_module) == 0) { in releaseAudioPatch()
721 ALOGW("%s() bad src hw module %d", __func__, src.ext.mix.hw_module); in releaseAudioPatch()
725 audio_io_handle_t ioHandle = src.ext.mix.handle; in releaseAudioPatch()