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

  /frameworks/base/core/java/android/hardware/usb/
UsbPortStatus.java 37 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole,
40 mCurrentPowerRole = currentPowerRole;
107 + ", currentPowerRole=" + UsbPort.powerRoleToString(mCurrentPowerRole)
132 int currentPowerRole = in.readInt();
135 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbPortManager.java 179 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole();
180 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) {
198 if ((!canChangePowerRole && currentPowerRole != newPowerRole)
220 + ", currentPowerRole=" + UsbPort.powerRoleToString(currentPowerRole)
256 if (currentPowerRole != newPowerRole) {
426 final int currentPowerRole = readCurrentPowerRole(portDir);
432 currentPowerRole, canChangePowerRole,
463 int currentPowerRole, boolean canChangePowerRole,
482 currentPowerRole, currentDataRole)
    [all...]

Completed in 251 milliseconds