Home
last modified time | relevance | path

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

/aosp12/frameworks/base/media/java/android/media/
H A DAudioDeviceAttributes.java47 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE; field in AudioDeviceAttributes
55 ROLE_INPUT, ROLE_OUTPUT }
88 mRole = deviceInfo.isSink() ? ROLE_OUTPUT : ROLE_INPUT; in AudioDeviceAttributes()
105 if (role != ROLE_OUTPUT && role != ROLE_INPUT) { in AudioDeviceAttributes()
111 } else if (role == ROLE_INPUT) { in AudioDeviceAttributes()
130 mRole = (nativeType & AudioSystem.DEVICE_BIT_IN) != 0 ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes()
/aosp12/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
H A DAudioDeviceAttributes.java48 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE; field in AudioDeviceAttributes
56 ROLE_INPUT, ROLE_OUTPUT }
85 mRole = deviceInfo.isSink() ? ROLE_OUTPUT : ROLE_INPUT; in AudioDeviceAttributes()
102 if (role != ROLE_OUTPUT && role != ROLE_INPUT) { in AudioDeviceAttributes()
112 mRole = (nativeType & AudioSystem.DEVICE_BIT_IN) != 0 ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes()
/aosp12/frameworks/opt/tv/tvsystem/api/
H A Dsystem-current.txt10 field public static final int ROLE_INPUT = 1; // 0x1
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java2417 device.getRole() == AudioDeviceAttributes.ROLE_INPUT)) { in setPreferredDevicesForStrategy()
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt5159 field public static final int ROLE_INPUT = 1; // 0x1