Searched defs:currentDataRole (Results 1 - 2 of 2) sorted by path

/frameworks/base/core/java/android/hardware/usb/
H A DUsbPortStatus.java37 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, argument
41 mCurrentDataRole = currentDataRole;
108 + ", currentDataRole=" + UsbPort.dataRoleToString(mCurrentDataRole)
133 int currentDataRole = in.readInt();
135 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbPortManager.java191 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole();
193 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) {
212 || (!canChangeDataRole && currentDataRole != newDataRole)) {
234 + ", currentDataRole=" + UsbPort.dataRoleToString(currentDataRole)
244 sim.currentDataRole = newDataRole;
285 if (currentDataRole != newDataRole) {
351 portInfo.currentDataRole = dataRole;
370 portInfo.currentDataRole = 0;
444 current.currentDataRole, curren
596 addOrUpdatePortLocked(String portId, int supportedModes, int currentMode, boolean canChangeMode, int currentPowerRole, boolean canChangePowerRole, int currentDataRole, boolean canChangeDataRole, IndentingPrintWriter pw) argument
755 setStatus(int currentMode, boolean canChangeMode, int currentPowerRole, boolean canChangePowerRole, int currentDataRole, boolean canChangeDataRole, int supportedRoleCombinations) argument
809 public int currentDataRole; field in class:UsbPortManager.RawPortInfo
817 RawPortInfo(String portId, int supportedModes, int currentMode, boolean canChangeMode, int currentPowerRole, boolean canChangePowerRole, int currentDataRole, boolean canChangeDataRole) argument
[all...]

Completed in 147 milliseconds