Searched refs:currentDataRole (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | RawPortInfo.java | 36 public int currentDataRole; field in RawPortInfo 72 int currentDataRole, boolean canChangeDataRole, in RawPortInfo() argument 83 currentDataRole, canChangeDataRole, in RawPortInfo() 94 int currentDataRole, boolean canChangeDataRole, in RawPortInfo() argument 114 this.currentDataRole = currentDataRole; in RawPortInfo() 146 dest.writeInt(currentDataRole); in writeToParcel() 177 int currentDataRole = in.readInt(); 198 currentDataRole, canChangeDataRole,
|
D | UsbPortHidl.java | 422 current.currentDataRole, current.canChangeDataRole, in notifyPortStatusChange() 460 current.status.currentDataRole, current.status.canChangeDataRole, in notifyPortStatusChange_1_1() 498 current.status_1_1.status.currentDataRole, in notifyPortStatusChange_1_2()
|
D | UsbPortAidl.java | 686 current.currentDataRole, in notifyPortStatusChange()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPortStatus.java | 466 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 476 mCurrentDataRole = currentDataRole; in UsbPortStatus() 503 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 508 this(currentMode, currentPowerRole, currentDataRole, supportedRoleCombinations, in UsbPortStatus() 515 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 518 this(currentMode, currentPowerRole, currentDataRole, supportedRoleCombinations, in UsbPortStatus() 750 int currentDataRole = in.readInt(); 766 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole, 829 @UsbDataRole int currentDataRole) { in setCurrentRoles() argument 831 mCurrentDataRole = currentDataRole; in setCurrentRoles()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 592 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole(); in setPortRoles() local 594 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) { in setPortRoles() 613 || (!canChangeDataRole && currentDataRole != newDataRole)) { in setPortRoles() 635 + ", currentDataRole=" + UsbPort.dataRoleToString(currentDataRole) in setPortRoles() 645 sim.currentDataRole = newDataRole; in setPortRoles() 681 if (currentDataRole != newDataRole) { in setPortRoles() 825 portInfo.currentDataRole = dataRole; in connectSimulatedPort() 911 portInfo.currentDataRole = 0; in disconnectSimulatedPort() 979 portInfo.currentDataRole, portInfo.canChangeDataRole, in updatePortsLocked() 1000 currentPortInfo.currentDataRole, currentPortInfo.canChangeDataRole, in updatePortsLocked() [all …]
|