Searched refs:POWER_ROLE_SINK (Results 1 – 8 of 8) 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()
58 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPortStatus63 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;633 powerRole = POWER_ROLE_SINK; in dump()716 powerRole = POWER_ROLE_SINK; in dump()
22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;834 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()842 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()845 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
247 POWER_ROLE_SINK = 2; enumerator
3059 field public static final int POWER_ROLE_SINK = 2; // 0x2
27127 Landroid/hardware/usb/UsbPort;->POWER_ROLE_SINK:I