Searched refs:hwModule (Results 1 – 8 of 8) sorted by relevance
356 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() local403 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 …]
95 for (const auto& hwModule : config->getHwModules()) { in TEST() local96 for (const auto& profile : hwModule->getOutputProfiles()) { in TEST()99 for (const auto& profile : hwModule->getInputProfiles()) { in TEST()
24 int hwModule;
227 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()
1078 for (const auto& hwModule : hwModules) { in searchCompatibleProfileHwModules() local1079 for (const auto& curProfile : hwModule->getOutputProfiles()) { in searchCompatibleProfileHwModules()1117 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile() local1118 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSpatializerOutputProfile()4687 for (const auto& hwModule : mHwModules) { in getDirectPlaybackSupport() local4690 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() local4764 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSupportedMixerAttributes()4804 for (const auto& hwModule : mHwModules) { in setPreferredMixerAttributes() local[all …]
154 audio_module_handle_t hwModule = AUDIO_MODULE_HANDLE_NONE; in createAudioPatch_l() local161 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()
524 sysDevice.hwModule = 1; in createAudioPortConfigFw()614 initialSysDevice.hwModule = 1; in TEST_P()