Searched refs:combineRolesAsBit (Results 1 – 3 of 3) sorted by relevance
102 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);104 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);106 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);108 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);481 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()493 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()495 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()500 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()502 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
95 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
127 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort