Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SINK (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java73 public static final int POWER_ROLE_SINK = 2; field in UsbPort
156 case POWER_ROLE_SINK: in powerRoleToString()
204 Preconditions.checkArgumentInRange(powerRole, 0, POWER_ROLE_SINK, "powerRole"); in checkRoles()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java106 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
108 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
203 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()
496 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
613 return UsbPort.POWER_ROLE_SINK; in readCurrentPowerRole()
DUsbService.java426 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
507 powerRole = UsbPort.POWER_ROLE_SINK; in dump()