Searched refs:currentPowerRole (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
H A DUsbPortStatus.java37 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, argument
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/
H A DUsbPortManager.java179 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, currentDataRol
461 addOrUpdatePortLocked(String portId, int supportedModes, int currentMode, boolean canChangeMode, int currentPowerRole, boolean canChangePowerRole, int currentDataRole, boolean canChangeDataRole, IndentingPrintWriter pw) argument
735 setStatus(int currentMode, boolean canChangeMode, int currentPowerRole, boolean canChangePowerRole, int currentDataRole, boolean canChangeDataRole, int supportedRoleCombinations) argument
[all...]

Completed in 168 milliseconds