Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DUsbPort.java27 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
665 case DATA_ROLE_DEVICE: in dataRoleToString()
841 Preconditions.checkArgumentInRange(dataRole, DATA_ROLE_NONE, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
H A DUsbPortStatus.java98 public static final int DATA_ROLE_DEVICE = 2; field in UsbPortStatus
103 DATA_ROLE_DEVICE
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A 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);
500 if (usbDataRole == DATA_ROLE_DEVICE) in toHalUsbDataRole()
608 && newDataRole == DATA_ROLE_DEVICE) { in setPortRoles()
1091 currentPowerRole, DATA_ROLE_DEVICE); in addOrUpdatePortLocked()
H A DUsbService.java22 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
1013 dataRole = DATA_ROLE_DEVICE; in dump()
1112 dataRole = DATA_ROLE_DEVICE; in dump()
H A DUsbDeviceManager.java19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
1041 DATA_ROLE_DEVICE) in handleMessage()
1042 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
H A DUsbPortHidl.java28 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
/aosp14/frameworks/base/core/proto/android/service/
H A Dusb.proto266 DATA_ROLE_DEVICE = 2; enumerator
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt6133 field public static final int DATA_ROLE_DEVICE = 2; // 0x2
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt22448 Landroid/hardware/usb/UsbPort;->DATA_ROLE_DEVICE:I