Searched refs:POWER_ROLE_SINK (Results 1 – 9 of 9) sorted by relevance
40 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;651 case POWER_ROLE_SINK: in powerRoleToString()839 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
75 public static final int POWER_ROLE_SINK = 2; field in UsbPortStatus80 POWER_ROLE_SINK
28 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;126 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST);128 POWER_ROLE_SINK, DATA_ROLE_DEVICE);507 if (usbPowerRole == POWER_ROLE_SINK) in toHalUsbPowerRole()607 } else if (canChangeMode && newPowerRole == POWER_ROLE_SINK in setPortRoles()1084 POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
27 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;998 powerRole = POWER_ROLE_SINK; in dump()1099 powerRole = POWER_ROLE_SINK; in dump()
22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;1031 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()1039 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()1042 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
34 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
259 POWER_ROLE_SINK = 2; enumerator
6159 field public static final int POWER_ROLE_SINK = 2; // 0x2
22467 Landroid/hardware/usb/UsbPort;->POWER_ROLE_SINK:I