Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java23 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
251 case DATA_ROLE_DEVICE: in dataRoleToString()
321 Preconditions.checkArgumentInRange(dataRole, DATA_ROLE_NONE, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
DUsbPortStatus.java81 public static final int DATA_ROLE_DEVICE = Constants.PortDataRole.DEVICE; field in UsbPortStatus
86 DATA_ROLE_DEVICE
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
102 POWER_ROLE_SOURCE, DATA_ROLE_DEVICE);
106 POWER_ROLE_SINK, DATA_ROLE_DEVICE);
394 && newDataRole == DATA_ROLE_DEVICE) { in setPortRoles()
901 currentPowerRole, DATA_ROLE_DEVICE); in addOrUpdatePortLocked()
DUsbService.java19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
648 dataRole = DATA_ROLE_DEVICE; in dump()
729 dataRole = DATA_ROLE_DEVICE; in dump()
DUsbDeviceManager.java19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
844 DATA_ROLE_DEVICE) in handleMessage()
845 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
/frameworks/base/core/proto/android/service/
Dusb.proto254 DATA_ROLE_DEVICE = 2; enumerator
/frameworks/base/api/
Dsystem-current.txt3050 field public static final int DATA_ROLE_DEVICE = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt27108 Landroid/hardware/usb/UsbPort;->DATA_ROLE_DEVICE:I