Searched refs:POWER_ROLE_SINK (Results 1 – 3 of 3) sorted by relevance
73 public static final int POWER_ROLE_SINK = 2; field in UsbPort156 case POWER_ROLE_SINK: in powerRoleToString()204 Preconditions.checkArgumentInRange(powerRole, 0, POWER_ROLE_SINK, "powerRole"); in checkRoles()
98 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);100 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);195 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()488 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()605 return UsbPort.POWER_ROLE_SINK; in readCurrentPowerRole()
426 powerRole = UsbPort.POWER_ROLE_SINK; in dump()507 powerRole = UsbPort.POWER_ROLE_SINK; in dump()