Searched refs:combineRolesAsBit (Results 1 – 3 of 3) sorted by relevance
70 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);72 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);74 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);76 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);584 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()596 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()598 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()603 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()605 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
95 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
143 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort