Home
last modified time | relevance | path

Searched refs:hwModule (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp356 for (const auto& hwModule : *this) { in getDeviceDescriptor()
358 auto dynamicDevices = hwModule->getDynamicDevices(); in getDeviceDescriptor()
364 DeviceVector moduleDevices = hwModule->getAllDevices(); in getDeviceDescriptor()
379 moduleDevice->attach(hwModule); in getDeviceDescriptor()
402 sp<HwModule> hwModule = getModuleForDeviceType(type, encodedFormat, &tagName); in createDevice() local
403 if (hwModule == 0) { in createDevice()
420 hwModule->addDynamicDevice(device); in createDevice()
422 device->attach(hwModule); in createDevice()
424 device->toString().c_str(), hwModule->getName()); in createDevice()
426 const auto &profiles = (audio_is_output_device(type) ? hwModule->getOutputProfiles() : in createDevice()
[all …]
/frameworks/av/services/audiopolicy/tests/
Daudio_health_tests.cpp95 for (const auto& hwModule : config->getHwModules()) { in TEST() local
96 for (const auto& profile : hwModule->getOutputProfiles()) { in TEST()
99 for (const auto& profile : hwModule->getInputProfiles()) { in TEST()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPortMixExtSys.aidl24 int hwModule;
DAudioPortDeviceExtSys.aidl24 int hwModule;
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp227 aidl2legacy_int32_t_audio_module_handle_t(aidlMixExt.hwModule)); in aidl2legacy_AudioPortMixExt()
238 aidlMixExt->hwModule = VALUE_OR_RETURN_STATUS( in legacy2aidl_AudioPortMixExt()
265 aidl2legacy_int32_t_audio_module_handle_t(aidlDeviceExt.hwModule)); in aidl2legacy_AudioPortDeviceExt_audio_port_config_device_ext()
274 aidlDeviceExt->hwModule = VALUE_OR_RETURN_STATUS( 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()
580 aidlMixExt->hwModule = VALUE_OR_RETURN_STATUS( in legacy2aidl_audio_port_mix_ext_AudioPortMixExt()
603 aidl2legacy_int32_t_audio_module_handle_t(aidlSys.hwModule)); in aidl2legacy_AudioPortDeviceExt_audio_port_device_ext()
611 aidlDeviceExt->hwModule = VALUE_OR_RETURN_STATUS( in legacy2aidl_audio_port_device_ext_AudioPortDeviceExt()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1078 for (const auto& hwModule : hwModules) { in searchCompatibleProfileHwModules() local
1079 for (const auto& curProfile : hwModule->getOutputProfiles()) { in searchCompatibleProfileHwModules()
1117 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile() local
1118 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSpatializerOutputProfile()
4687 for (const auto& hwModule : mHwModules) { in getDirectPlaybackSupport() local
4690 if (strcmp(hwModule->getName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0) { in getDirectPlaybackSupport()
4696 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getDirectPlaybackSupport()
4763 for (const auto& hwModule : mHwModules) { in getSupportedMixerAttributes() local
4764 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSupportedMixerAttributes()
4804 for (const auto& hwModule : mHwModules) { in setPreferredMixerAttributes() local
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp154 audio_module_handle_t hwModule = AUDIO_MODULE_HANDLE_NONE; in createAudioPatch_l() local
161 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch_l()
172 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch_l()
174 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule_l(hwModule); in createAudioPatch_l()
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp524 sysDevice.hwModule = 1; in createAudioPortConfigFw()
614 initialSysDevice.hwModule = 1; in TEST_P()