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

  /frameworks/base/core/java/android/hardware/usb/
UsbPort.java 39 * Implies that the port supports the {@link #POWER_ROLE_SOURCE} and {@link #DATA_ROLE_HOST}
58 * Implies that the port supports the {@link #POWER_ROLE_SOURCE} and {@link #DATA_ROLE_HOST}
68 public static final int POWER_ROLE_SOURCE = 1;
121 * @param powerRole The desired power role: {@link UsbPort#POWER_ROLE_SOURCE}
154 case POWER_ROLE_SOURCE:
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
UsbBackend.java 81 int power = mPortStatus.getCurrentPowerRole() == UsbPort.POWER_ROLE_SOURCE
138 ? UsbPort.POWER_ROLE_SOURCE : UsbPort.POWER_ROLE_SINK;
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbPortManager.java 102 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
104 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);
200 if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SOURCE
258 newPowerRole == UsbPort.POWER_ROLE_SOURCE
494 UsbPort.POWER_ROLE_SOURCE, currentDataRole);
610 return UsbPort.POWER_ROLE_SOURCE;
    [all...]
UsbService.java 423 powerRole = UsbPort.POWER_ROLE_SOURCE;
504 powerRole = UsbPort.POWER_ROLE_SOURCE;
UsbDeviceManager.java 405 boolean sourcePower = status.getCurrentPowerRole() == UsbPort.POWER_ROLE_SOURCE;
    [all...]

Completed in 476 milliseconds