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()
106 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);108 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);203 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()496 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()613 return UsbPort.POWER_ROLE_SINK; in readCurrentPowerRole()
426 powerRole = UsbPort.POWER_ROLE_SINK; in dump()507 powerRole = UsbPort.POWER_ROLE_SINK; in dump()