Searched refs:ROLE_INPUT (Results 1 – 5 of 5) sorted by relevance
48 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE; field in AudioDeviceAttributes56 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()
51 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE; field in AudioDeviceAttributes59 ROLE_INPUT, ROLE_OUTPUT }103 mRole = deviceInfo.isSink() ? ROLE_OUTPUT : ROLE_INPUT; in AudioDeviceAttributes()140 if (role != ROLE_OUTPUT && role != ROLE_INPUT) { in AudioDeviceAttributes()146 } else if (role == ROLE_INPUT) { in AudioDeviceAttributes()180 mRole = AudioSystem.isInputDevice(nativeType) ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes()
10 field public static final int ROLE_INPUT = 1; // 0x1
3054 device.getRole() == AudioDeviceAttributes.ROLE_INPUT)) { in setPreferredDevicesForStrategy()3127 if (device.getRole() == AudioDeviceAttributes.ROLE_INPUT) { in setDeviceAsNonDefaultForStrategy()3155 if (device.getRole() == AudioDeviceAttributes.ROLE_INPUT) { in removeDeviceAsNonDefaultForStrategy()
6975 field public static final int ROLE_INPUT = 1; // 0x1