Home
last modified time | relevance | path

Searched refs:currentDataRole (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DRawPortInfo.java34 public int currentDataRole; field in RawPortInfo
61 int currentDataRole, boolean canChangeDataRole, in RawPortInfo() argument
76 this.currentDataRole = currentDataRole; in RawPortInfo()
103 dest.writeInt(currentDataRole); in writeToParcel()
125 int currentDataRole = in.readInt();
137 currentDataRole, canChangeDataRole,
DUsbPortHidl.java421 current.currentDataRole, current.canChangeDataRole, in notifyPortStatusChange()
455 current.status.currentDataRole, current.status.canChangeDataRole, in notifyPortStatusChange_1_1()
489 current.status_1_1.status.currentDataRole, in notifyPortStatusChange_1_2()
DUsbPortAidl.java579 current.currentDataRole, in notifyPortStatusChange()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java301 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument
308 mCurrentDataRole = currentDataRole; in UsbPortStatus()
318 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument
323 mCurrentDataRole = currentDataRole; in UsbPortStatus()
493 int currentDataRole = in.readInt();
500 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
556 @UsbDataRole int currentDataRole) { in setCurrentRoles() argument
558 mCurrentDataRole = currentDataRole; in setCurrentRoles()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java568 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole(); in setPortRoles() local
570 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) { in setPortRoles()
589 || (!canChangeDataRole && currentDataRole != newDataRole)) { in setPortRoles()
611 + ", currentDataRole=" + UsbPort.dataRoleToString(currentDataRole) in setPortRoles()
621 sim.currentDataRole = newDataRole; in setPortRoles()
657 if (currentDataRole != newDataRole) { in setPortRoles()
730 portInfo.currentDataRole = dataRole; in connectSimulatedPort()
770 portInfo.currentDataRole = 0; in disconnectSimulatedPort()
838 portInfo.currentDataRole, portInfo.canChangeDataRole, in updatePortsLocked()
853 currentPortInfo.currentDataRole, currentPortInfo.canChangeDataRole, in updatePortsLocked()
[all …]