Home
last modified time | relevance | path

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

/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/
DUsbPortStatusTest.java21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
85 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in getSupportedRoleCombinations()
91 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE); in getSupportedRoleCombinations()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java97 public static final int DATA_ROLE_DEVICE = 2; field in UsbPortStatus
102 DATA_ROLE_DEVICE
588 return isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE) in isPdCompliant()
590 && isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE) in isPdCompliant()
DUsbPort.java27 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
686 case DATA_ROLE_DEVICE: in dataRoleToString()
877 Preconditions.checkArgumentInRange(dataRole, DATA_ROLE_NONE, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java23 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
124 POWER_ROLE_SOURCE, DATA_ROLE_DEVICE);
128 POWER_ROLE_SINK, DATA_ROLE_DEVICE);
510 if (usbDataRole == DATA_ROLE_DEVICE) in toHalUsbDataRole()
618 && newDataRole == DATA_ROLE_DEVICE) { in setPortRoles()
1101 currentPowerRole, DATA_ROLE_DEVICE); in addOrUpdatePortLocked()
DUsbService.java22 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
1142 dataRole = DATA_ROLE_DEVICE; in dump()
1241 dataRole = DATA_ROLE_DEVICE; in dump()
DUsbDeviceManager.java19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
1167 DATA_ROLE_DEVICE) in handleMessage()
1168 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHidl.java28 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
/frameworks/base/core/proto/android/service/
Dusb.proto266 DATA_ROLE_DEVICE = 2; enumerator
/frameworks/base/core/api/
Dsystem-current.txt6886 field public static final int DATA_ROLE_DEVICE = 2; // 0x2
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22448 Landroid/hardware/usb/UsbPort;->DATA_ROLE_DEVICE:I