Home
last modified time | relevance | path

Searched refs:DATA_ROLE_HOST (Results 1 – 4 of 4) 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.java102 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
106 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
201 && newDataRole == UsbPort.DATA_ROLE_HOST) { in setPortRoles()
268 newDataRole == UsbPort.DATA_ROLE_HOST in setPortRoles()
501 currentPowerRole, UsbPort.DATA_ROLE_HOST); in addOrUpdatePortLocked()
623 return UsbPort.DATA_ROLE_HOST; in readCurrentDataRole()
DUsbService.java438 dataRole = UsbPort.DATA_ROLE_HOST; in dump()
517 dataRole = UsbPort.DATA_ROLE_HOST; in dump()
DUsbDeviceManager.java402 boolean hostConnected = status.getCurrentDataRole() == UsbPort.DATA_ROLE_HOST; in updateHostState()