Home
last modified time | relevance | path

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

/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp344 for (const auto& hwModule : *this) { in getDeviceDescriptor()
352 DeviceVector moduleDevices = hwModule->getAllDevices(); in getDeviceDescriptor()
367 moduleDevice->attach(hwModule); in getDeviceDescriptor()
391 if (hwModule == 0) { in createDevice()
402 hwModule->addDynamicDevice(device); in createDevice()
404 device->attach(hwModule); in createDevice()
406 device->toString().c_str(), hwModule->getName()); in createDevice()
430 for (const auto& hwModule : *this) { in cleanUpForDevice()
431 DeviceVector moduleDevices = hwModule->getAllDevices(); in cleanUpForDevice()
444 if (!hwModule->removeDynamicDevice(device)) { in cleanUpForDevice()
[all …]
/aosp12/hardware/google/interfaces/light/1.0/default/
H A DLight.cpp128 const hw_module_t* hwModule = NULL; in getLightDevice() local
130 int ret = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, &hwModule); in getLightDevice()
132 ret = hwModule->methods->open( in getLightDevice()
133 hwModule, name, reinterpret_cast<hw_device_t**>(&lightDevice)); in getLightDevice()
/aosp12/hardware/google/interfaces/light/1.1/default/
H A DLight.cpp128 const hw_module_t* hwModule = NULL; in getLightDevice() local
130 int ret = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, &hwModule); in getLightDevice()
132 ret = hwModule->methods->open( in getLightDevice()
133 hwModule, name, reinterpret_cast<hw_device_t**>(&lightDevice)); in getLightDevice()
/aosp12/hardware/interfaces/light/2.0/default/
H A DLight.cpp136 const hw_module_t* hwModule = NULL; in getLightDevice() local
138 int ret = hw_get_module (LIGHTS_HARDWARE_MODULE_ID, &hwModule); in getLightDevice()
140 ret = hwModule->methods->open(hwModule, name, in getLightDevice()
/aosp12/frameworks/av/services/audiopolicy/tests/
H A Daudio_health_tests.cpp96 for (const auto& hwModule : manager.getConfig().getHwModules()) { in TEST() local
97 for (const auto& profile : hwModule->getOutputProfiles()) { in TEST()
100 for (const auto& profile : hwModule->getInputProfiles()) { in TEST()
/aosp12/hardware/interfaces/audio/common/all-versions/default/
H A DHidlUtils.cpp192 config->ext.device.hwModule = halConfig.ext.device.hw_module; in audioPortConfigFromHal()
199 config->ext.mix.hwModule = halConfig.ext.mix.hw_module; in audioPortConfigFromHal()
231 halConfig->ext.device.hw_module = config.ext.device.hwModule; in audioPortConfigToHal()
238 halConfig->ext.mix.hw_module = config.ext.mix.hwModule; in audioPortConfigToHal()
284 port->ext.device.hwModule = halPort.ext.device.hw_module; in audioPortFromHal()
291 port->ext.mix.hwModule = halPort.ext.mix.hw_module; in audioPortFromHal()
335 halPort->ext.device.hw_module = port.ext.device.hwModule; in audioPortToHal()
342 halPort->ext.mix.hw_module = port.ext.mix.hwModule; in audioPortToHal()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h209 for (const auto& hwModule : mHwModules) { in convertSpatializerFlag() local
210 for (const auto& curProfile : hwModule->getOutputProfiles()) { in convertSpatializerFlag()
/aosp12/frameworks/av/media/libaudioclient/aidl/android/media/
H A DAudioPortConfigDeviceExt.aidl27 int hwModule;
H A DAudioPortConfigMixExt.aidl29 int hwModule;
H A DAudioPortMixExt.aidl26 int hwModule;
H A DAudioPortDeviceExt.aidl26 int hwModule;
/aosp12/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp896 for (const auto& hwModule : mHwModules) { in getProfileForOutput() local
931 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile() local
4772 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported() local
5182 for (const auto& hwModule : mHwModulesAll) { in onNewAudioModulesAvailableInt() local
5186 hwModule->setHandle(mpClientInterface->loadHwModule(hwModule->getName())); in onNewAudioModulesAvailableInt()
5191 mHwModules.push_back(hwModule); in onNewAudioModulesAvailableInt()
5241 device->attach(hwModule); in onNewAudioModulesAvailableInt()
5296 hwModule->getName()); in onNewAudioModulesAvailableInt()
5302 device->attach(hwModule); in onNewAudioModulesAvailableInt()
5477 j, hwModule->getName()); in checkOutputsForDevice()
[all …]
/aosp12/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp171 audio_module_handle_t hwModule = AUDIO_MODULE_HANDLE_NONE; in createAudioPatch() local
177 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch()
188 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch()
190 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(hwModule); in createAudioPatch()
/aosp12/frameworks/av/media/libaudioclient/
H A DAidlConversion.cpp724 legacy.hw_module = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_module_handle_t(aidl.hwModule)); in aidl2legacy_AudioPortConfigDeviceExt_audio_port_config_device_ext()
734 aidl.hwModule = VALUE_OR_RETURN(legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_audio_port_config_device_ext_AudioPortConfigDeviceExt()
955 legacy.hw_module = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_module_handle_t(aidl.hwModule)); in aidl2legacy_AudioPortConfigMixExt()
964 aidl.hwModule = VALUE_OR_RETURN(legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_AudioPortConfigMixExt()
1795 legacy.hw_module = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_module_handle_t(aidl.hwModule)); in aidl2legacy_AudioPortDeviceExt_audio_port_device_ext()
1809 aidl.hwModule = VALUE_OR_RETURN(legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_audio_port_device_ext_AudioPortDeviceExt()
1823 legacy.hw_module = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_module_handle_t(aidl.hwModule)); in aidl2legacy_AudioPortMixExt_audio_port_mix_ext()
1833 aidl.hwModule = VALUE_OR_RETURN(legacy2aidl_audio_module_handle_t_int32_t(legacy.hw_module)); in legacy2aidl_audio_port_mix_ext_AudioPortMixExt()
/aosp12/hardware/interfaces/audio/common/2.0/
H A Dtypes.hal839 AudioModuleHandle hwModule; // module the device is attached to
880 AudioModuleHandle hwModule; // module the stream is attached to
895 AudioModuleHandle hwModule; // module the device is attached to
910 AudioModuleHandle hwModule; // module the stream is attached to
/aosp12/hardware/interfaces/audio/common/4.0/
H A Dtypes.hal800 AudioModuleHandle hwModule; // module the device is attached to
840 AudioModuleHandle hwModule; // module the stream is attached to
855 AudioModuleHandle hwModule; // module the device is attached to
871 AudioModuleHandle hwModule; // module the stream is attached to
/aosp12/hardware/interfaces/audio/common/5.0/
H A Dtypes.hal929 AudioModuleHandle hwModule; // module the device is attached to
969 AudioModuleHandle hwModule; // module the stream is attached to
984 AudioModuleHandle hwModule; // module the device is attached to
1000 AudioModuleHandle hwModule; // module the stream is attached to
/aosp12/hardware/interfaces/audio/common/6.0/
H A Dtypes.hal1088 AudioModuleHandle hwModule; // module the device is attached to
1128 AudioModuleHandle hwModule; // module the stream is attached to
1143 AudioModuleHandle hwModule; // module the device is attached to
1159 AudioModuleHandle hwModule; // module the stream is attached to