Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java80 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPort
172 case POWER_ROLE_SINK: in powerRoleToString()
238 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java74 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
76 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
209 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()
599 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
DUsbService.java512 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
593 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
DUsbDeviceManager.java486 boolean sinkPower = status.getCurrentPowerRole() == UsbPort.POWER_ROLE_SINK; in updateHostState()