HomeSort by relevance Sort by last modified time
    Searched refs:DATA_ROLE_DEVICE (Results 1 - 3 of 3) sorted by null

  /frameworks/base/core/java/android/hardware/usb/
UsbPort.java 48 * Implies that the port supports the {@link #POWER_ROLE_SINK} and {@link #DATA_ROLE_DEVICE}
59 * combination of roles and the {@link #POWER_ROLE_SINK} and {@link #DATA_ROLE_DEVICE}
83 public static final int DATA_ROLE_DEVICE = 2;
124 * or {@link UsbPort#DATA_ROLE_DEVICE}, or 0 if no data role.
170 case DATA_ROLE_DEVICE:
205 Preconditions.checkArgumentInRange(dataRole, 0, DATA_ROLE_DEVICE, "dataRole");
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbPortManager.java 96 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);
100 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
196 && newDataRole == UsbPort.DATA_ROLE_DEVICE) {
495 currentPowerRole, UsbPort.DATA_ROLE_DEVICE);
618 return UsbPort.DATA_ROLE_DEVICE;
UsbService.java 441 dataRole = UsbPort.DATA_ROLE_DEVICE;
520 dataRole = UsbPort.DATA_ROLE_DEVICE;

Completed in 51 milliseconds