Searched refs:POWER_ROLE_SINK (Results 1 – 9 of 9) sorted by relevance
33 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;237 case POWER_ROLE_SINK: in powerRoleToString()319 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
59 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPortStatus64 POWER_ROLE_SINK
26 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;104 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST);106 POWER_ROLE_SINK, DATA_ROLE_DEVICE);393 } else if (canChangeMode && newPowerRole == POWER_ROLE_SINK in setPortRoles()894 POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
24 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;636 powerRole = POWER_ROLE_SINK; in dump()719 powerRole = POWER_ROLE_SINK; in dump()
22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;837 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()845 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()848 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
247 POWER_ROLE_SINK = 2; enumerator
3313 field public static final int POWER_ROLE_SINK = 2; // 0x2
25354 Landroid/hardware/usb/UsbPort;->POWER_ROLE_SINK:I