Searched refs:combineRolesAsBit (Results 1 – 5 of 5) sorted by relevance
82 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()
122 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()
576 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
630 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort
22445 Landroid/hardware/usb/UsbPort;->combineRolesAsBit(II)I