Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java78 public static final int DATA_ROLE_HOST = 1; field in UsbPort
168 case DATA_ROLE_HOST: in dataRoleToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java94 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
98 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
193 && newDataRole == UsbPort.DATA_ROLE_HOST) { in setPortRoles()
260 newDataRole == UsbPort.DATA_ROLE_HOST in setPortRoles()
493 currentPowerRole, UsbPort.DATA_ROLE_HOST); in addOrUpdatePortLocked()
615 return UsbPort.DATA_ROLE_HOST; in readCurrentDataRole()
DUsbService.java438 dataRole = UsbPort.DATA_ROLE_HOST; in dump()
517 dataRole = UsbPort.DATA_ROLE_HOST; in dump()