Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java102 public static final int DATA_ROLE_HOST = Constants.PortDataRole.HOST; field in UsbPort
209 case DATA_ROLE_HOST: in dataRoleToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java78 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
82 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
214 && newDataRole == UsbPort.DATA_ROLE_HOST) { in setPortRoles()
636 currentPowerRole, UsbPort.DATA_ROLE_HOST); in addOrUpdatePortLocked()
DUsbService.java571 dataRole = UsbPort.DATA_ROLE_HOST; in dump()
652 dataRole = UsbPort.DATA_ROLE_HOST; in dump()
DUsbDeviceManager.java839 mHostConnected = status.getCurrentDataRole() == UsbPort.DATA_ROLE_HOST; in handleMessage()
849 UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST) in handleMessage()
851 UsbPort.DATA_ROLE_HOST) in handleMessage()
855 UsbPort.DATA_ROLE_HOST); in handleMessage()
/frameworks/base/core/proto/android/service/
Dusb.proto221 DATA_ROLE_HOST = 1; enumerator