Home
last modified time | relevance | path

Searched refs:availableInputDevices (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.cpp149 DeviceVector availableInputDevices = getApmObserver()->getAvailableInputDevices(); in filterOutputDevicesForStrategy() local
171 availableInputDevices.getDevicesFromHwModule(primaryOutput->getModuleHandle()); in filterOutputDevicesForStrategy()
182 if ((availableInputDevices.getDevice(AUDIO_DEVICE_IN_TELEPHONY_RX, in filterOutputDevicesForStrategy()
444 const DeviceVector availableInputDevices = getApmObserver()->getAvailableInputDevices(); in getDeviceForInputSource() local
446 DeviceVector availableDevices = availableInputDevices; in getDeviceForInputSource()
449 : availableInputDevices.getDevicesFromHwModule(primaryOutput->getModuleHandle()); in getDeviceForInputSource()
722 const auto availableInputDevices = getApmObserver()->getAvailableInputDevices(); in getInputDeviceForAttributes() local
733 findPreferredDevice(inputs, attr.source, availableInputDevices); in getInputDeviceForAttributes()
739 availableInputDevices, in getInputDeviceForAttributes()
759 return availableInputDevices.getDevice(device->type(), in getInputDeviceForAttributes()
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/
H A DPolicyConfig.h36 android::DeviceVector availableInputDevices; member
43 : android::AudioPolicyConfig(hwModules, availableOutputDevices, availableInputDevices, in PolicyConfig()
56 : android::AudioPolicyConfig(hwModules, availableOutputDevices, availableInputDevices, in PolicyConfig()
111 for (const auto& device : availableInputDevices) { in init()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp317 const auto availableInputDevices = getApmObserver()->getAvailableInputDevices(); in getInputDeviceForAttributes() local
327 findPreferredDevice(inputs, attr.source, availableInputDevices); in getInputDeviceForAttributes()
333 availableInputDevices, in getInputDeviceForAttributes()
350 …return availableInputDevices.getDevice(deviceType, String8(address.c_str()), AUDIO_FORMAT_DEFAULT); in getInputDeviceForAttributes()