Searched refs:ROLE_INPUT (Results 1 – 3 of 3) sorted by relevance
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 = (nativeType & AudioSystem.DEVICE_BIT_IN) != 0 ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes()
2854 device.getRole() == AudioDeviceAttributes.ROLE_INPUT)) { in setPreferredDevicesForStrategy()2927 if (device.getRole() == AudioDeviceAttributes.ROLE_INPUT) { in setDeviceAsNonDefaultForStrategy()2955 if (device.getRole() == AudioDeviceAttributes.ROLE_INPUT) { in removeDeviceAsNonDefaultForStrategy()
6861 field public static final int ROLE_INPUT = 1; // 0x1