Searched refs:combineRolesAsBit (Results 1 – 3 of 3) sorted by relevance
100 UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST);101 private static final int COMBO_SOURCE_DEVICE = UsbPort.combineRolesAsBit(104 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST);105 private static final int COMBO_SINK_DEVICE = UsbPort.combineRolesAsBit(879 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()891 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()893 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()898 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()900 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
297 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
195 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort