Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java92 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPort
197 case POWER_ROLE_SINK: in powerRoleToString()
263 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java82 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
84 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
216 } else if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SINK in setPortRoles()
631 UsbPort.POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
DUsbService.java559 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
642 powerRole = UsbPort.POWER_ROLE_SINK; in dump()
DUsbDeviceManager.java841 mSinkPower = status.getCurrentPowerRole() == UsbPort.POWER_ROLE_SINK; in handleMessage()
850 && status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK, in handleMessage()
854 && status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK, in handleMessage()
/frameworks/base/core/proto/android/service/
Dusb.proto215 POWER_ROLE_SINK = 2; enumerator