Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp4579 audio_devices_t availableDeviceTypes = mAvailableInputDevices.types() & in getDeviceForInputSource() local
4583 if (availableDeviceTypes & AUDIO_DEVICE_IN_VOICE_CALL) { in getDeviceForInputSource()
4591 if (availableDeviceTypes & AUDIO_DEVICE_IN_BLUETOOTH_A2DP) { in getDeviceForInputSource()
4593 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_WIRED_HEADSET) { in getDeviceForInputSource()
4595 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_USB_DEVICE) { in getDeviceForInputSource()
4597 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_BUILTIN_MIC) { in getDeviceForInputSource()
4607 availableDeviceTypes = availablePrimaryInputDevices() & ~AUDIO_DEVICE_BIT_IN; in getDeviceForInputSource()
4613 if (availableDeviceTypes & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) { in getDeviceForInputSource()
4620 if (availableDeviceTypes & AUDIO_DEVICE_IN_WIRED_HEADSET) { in getDeviceForInputSource()
4622 } else if (availableDeviceTypes & AUDIO_DEVICE_IN_USB_DEVICE) { in getDeviceForInputSource()
[all …]