Home
last modified time | relevance | path

Searched refs:hw_module (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.cpp101 AudioHwDevice* hwDevice = findAudioHwDeviceByModule_l(port->ext.device.hw_module); in getAudioPort_l()
103 ALOGW("%s cannot find hw module %d", __func__, port->ext.device.hw_module); in getAudioPort_l()
159 oldPatch.sources[0].ext.device.hw_module != in createAudioPatch_l()
160 patch->sources[0].ext.device.hw_module)) { in createAudioPatch_l()
161 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch_l()
165 oldPatch.sinks[0].ext.device.hw_module != in createAudioPatch_l()
166 patch->sinks[0].ext.device.hw_module))) { in createAudioPatch_l()
172 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch_l()
193 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module; in createAudioPatch_l()
203 patch->sinks[i].ext.device.hw_module != srcModule)) && in createAudioPatch_l()
[all …]
DAudioFlinger.cpp615 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueFor(device->ext.device.hw_module); in addEffectToHal()
625 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueFor(device->ext.device.hw_module); in removeEffectFromHal()
2753 module = config->ext.device.hw_module; in setAudioPortConfig()
2755 module = config->ext.mix.hw_module; in setAudioPortConfig()
DThreads.cpp5063 config->ext.mix.hw_module = mOutput->audioHwDev->handle(); in toAudioPortConfig()
10088 config->ext.mix.hw_module = mInput->audioHwDev->handle(); in toAudioPortConfig()
10796 config->ext.mix.hw_module = mAudioHwDev->handle(); in toAudioPortConfig()
10800 config->ext.mix.hw_module = mAudioHwDev->handle(); in toAudioPortConfig()
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp202 const hw_module_t *hw_module = NULL; in nativeOpenHal() local
203 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) { in nativeOpenHal()
207 if (NULL == hw_module) { in nativeOpenHal()
212 gContext.module = reinterpret_cast<const fingerprint_module_t*>(hw_module); in nativeOpenHal()
221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) { in nativeOpenHal()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp226 legacy.hw_module = VALUE_OR_RETURN( in aidl2legacy_AudioPortMixExt()
239 legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_AudioPortMixExt()
264 legacy.hw_module = VALUE_OR_RETURN( in aidl2legacy_AudioPortDeviceExt_audio_port_config_device_ext()
275 legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_audio_port_config_device_ext_AudioPortDeviceExt()
572 legacy.hw_module = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_module_handle_t(aidlSys.hwModule)); in aidl2legacy_AudioPortMixExt_audio_port_mix_ext()
581 legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_audio_port_mix_ext_AudioPortMixExt()
602 legacy.hw_module = VALUE_OR_RETURN( in aidl2legacy_AudioPortDeviceExt_audio_port_device_ext()
612 legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_audio_port_device_ext_AudioPortDeviceExt()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DDeviceDescriptor.h105 port->ext.device.hw_module = getModuleHandle(); in toAudioPortInternal()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp90 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
102 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
DDeviceDescriptor.cpp134 dstConfig->ext.device.hw_module = getModuleHandle(); in toAudioPortConfig()
DAudioOutputDescriptor.cpp215 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
224 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1799 source->ext.device.hw_module == msdModule->getHandle()) { in getMsdOutputPatches()