Searched refs:POWER_ROLE_SINK (Results 1 – 5 of 5) sorted by relevance
92 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPort197 case POWER_ROLE_SINK: in powerRoleToString()263 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
82 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);84 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);216 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()631 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
559 powerRole = UsbPort.POWER_ROLE_SINK; in dump()642 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
841 mSinkPower = status.getCurrentPowerRole() == UsbPort.POWER_ROLE_SINK; in handleMessage()850 && status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK, in handleMessage()854 && status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK, in handleMessage()
215 POWER_ROLE_SINK = 2; enumerator