Home
last modified time | relevance | path

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

/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/
DUsbPortStatusTest.java82 int result = UsbPort.combineRolesAsBit(POWER_ROLE_NONE, DATA_ROLE_NONE); in getSupportedRoleCombinations()
85 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in getSupportedRoleCombinations()
88 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST); in getSupportedRoleCombinations()
91 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE); in getSupportedRoleCombinations()
94 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST); in getSupportedRoleCombinations()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java122 UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST);
123 private static final int COMBO_SOURCE_DEVICE = UsbPort.combineRolesAsBit(
126 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST);
127 private static final int COMBO_SINK_DEVICE = UsbPort.combineRolesAsBit(
1079 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
1091 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
1093 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
1098 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
1100 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java576 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
DUsbPort.java630 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22445 Landroid/hardware/usb/UsbPort;->combineRolesAsBit(II)I