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.cpp366 for (const auto& hwModule : *this) { in getDeviceDescriptor()
368 auto dynamicDevices = hwModule->getDynamicDevices(); in getDeviceDescriptor()
374 DeviceVector moduleDevices = hwModule->getAllDevices(); in getDeviceDescriptor()
389 moduleDevice->attach(hwModule); in getDeviceDescriptor()
412 sp<HwModule> hwModule = getModuleForDeviceType(type, encodedFormat, &tagName); in createDevice() local
413 if (hwModule == 0) { in createDevice()
430 hwModule->addDynamicDevice(device); in createDevice()
432 device->attach(hwModule); in createDevice()
434 device->toString().c_str(), hwModule->getName()); in createDevice()
436 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/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1153 for (const auto& hwModule : hwModules) { in searchCompatibleProfileHwModules() local
1154 for (const auto& curProfile : hwModule->getOutputProfiles()) { in searchCompatibleProfileHwModules()
1194 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile() local
1195 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSpatializerOutputProfile()
1740 if (auto hwModule = mHwModules.getModuleFromHandle(mPrimaryModuleHandle); hwModule && in openDirectOutput() local
1741 hwModule->getHalVersionMajor() >= 3) { in openDirectOutput()
5024 for (const auto& hwModule : mHwModules) { in getDirectPlaybackSupport() local
5027 if (strcmp(hwModule->getName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0) { in getDirectPlaybackSupport()
5033 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getDirectPlaybackSupport()
5100 for (const auto& hwModule : mHwModules) { in getSupportedMixerAttributes() local
[all …]
/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/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.cpp550 sysDevice.hwModule = 1; in createAudioPortConfigFw()
640 initialSysDevice.hwModule = 1; in TEST_P()