Searched refs:currentDataRole (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 368 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole(); in setPortRoles() local 370 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) { in setPortRoles() 389 || (!canChangeDataRole && currentDataRole != newDataRole)) { in setPortRoles() 411 + ", currentDataRole=" + UsbPort.dataRoleToString(currentDataRole) in setPortRoles() 421 sim.currentDataRole = newDataRole; in setPortRoles() 462 if (currentDataRole != newDataRole) { in setPortRoles() 528 portInfo.currentDataRole = dataRole; in connectSimulatedPort() 568 portInfo.currentDataRole = 0; in disconnectSimulatedPort() 644 current.currentDataRole, current.canChangeDataRole, in notifyPortStatusChange() 681 current.status.currentDataRole, current.status.canChangeDataRole, in notifyPortStatusChange_1_1() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPortStatus.java | 235 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 240 mCurrentDataRole = currentDataRole; in UsbPortStatus() 363 int currentDataRole = in.readInt(); 367 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
|