Searched refs:POWER_ROLE_SINK (Results 1 – 4 of 4) sorted by relevance
80 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPort172 case POWER_ROLE_SINK: in powerRoleToString()238 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
74 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);76 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);209 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()599 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
512 powerRole = UsbPort.POWER_ROLE_SINK; in dump()593 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
486 boolean sinkPower = status.getCurrentPowerRole() == UsbPort.POWER_ROLE_SINK; in updateHostState()