Searched refs:combineRolesAsBit (Results 1 – 3 of 3) sorted by relevance
94 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);96 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);98 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);100 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);473 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()485 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()487 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()492 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()494 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