Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java83 public static final int DATA_ROLE_DEVICE = 2; field in UsbPort
170 case DATA_ROLE_DEVICE: in dataRoleToString()
205 Preconditions.checkArgumentInRange(dataRole, 0, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java104 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);
108 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
204 && newDataRole == UsbPort.DATA_ROLE_DEVICE) { in setPortRoles()
503 currentPowerRole, UsbPort.DATA_ROLE_DEVICE); in addOrUpdatePortLocked()
626 return UsbPort.DATA_ROLE_DEVICE; in readCurrentDataRole()
DUsbService.java441 dataRole = UsbPort.DATA_ROLE_DEVICE; in dump()
520 dataRole = UsbPort.DATA_ROLE_DEVICE; in dump()