Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp554 audio_devices_t availableDeviceTypes = availableInputDevices.types() & ~AUDIO_DEVICE_BIT_IN; in getDeviceForInputSource() local
560 if (availableDeviceTypes & AUDIO_DEVICE_IN_VOICE_CALL) { in getDeviceForInputSource()
568 if (availableDeviceTypes & AUDIO_DEVICE_IN_BLUETOOTH_A2DP) { in getDeviceForInputSource()
571 (availableDeviceTypes & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET)) { in getDeviceForInputSource()
573 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_WIRED_HEADSET) { in getDeviceForInputSource()
575 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_USB_DEVICE) { in getDeviceForInputSource()
577 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_BUILTIN_MIC) { in getDeviceForInputSource()
588 availableDeviceTypes = in getDeviceForInputSource()
596 if (availableDeviceTypes & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) { in getDeviceForInputSource()
603 if (availableDeviceTypes & AUDIO_DEVICE_IN_WIRED_HEADSET) { in getDeviceForInputSource()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h76 audio_devices_t availableDeviceTypes,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4875 audio_devices_t availableDeviceTypes = mAvailableInputDevices.types() & ~AUDIO_DEVICE_BIT_IN; in AudioPolicyManager() local
4877 mPolicyMixes.getDeviceAndMixForInputSource(inputSource, availableDeviceTypes, policyMix); in AudioPolicyManager()