Searched refs:currentPowerRole (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | RawPortInfo.java | 34 public int currentPowerRole; field in RawPortInfo 71 int currentPowerRole, boolean canChangePowerRole, in RawPortInfo() argument 82 currentPowerRole, canChangePowerRole, in RawPortInfo() 93 int currentPowerRole, boolean canChangePowerRole, in RawPortInfo() argument 112 this.currentPowerRole = currentPowerRole; in RawPortInfo() 144 dest.writeInt(currentPowerRole); in writeToParcel() 175 int currentPowerRole = in.readInt(); 197 currentPowerRole, canChangePowerRole,
|
D | UsbPortHidl.java | 420 current.canChangeMode, current.currentPowerRole, in notifyPortStatusChange() 458 current.status.canChangeMode, current.status.currentPowerRole, in notifyPortStatusChange_1_1() 496 current.status_1_1.status.currentPowerRole, in notifyPortStatusChange_1_2()
|
D | UsbPortAidl.java | 684 current.currentPowerRole, in notifyPortStatusChange()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPortStatus.java | 466 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 475 mCurrentPowerRole = currentPowerRole; 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() 749 int currentPowerRole = in.readInt(); 766 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole, 828 public Builder setCurrentRoles(@UsbPowerRole int currentPowerRole, in setCurrentRoles() argument 830 mCurrentPowerRole = currentPowerRole; in setCurrentRoles()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 593 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole(); in setPortRoles() local 594 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) { in setPortRoles() 612 if ((!canChangePowerRole && currentPowerRole != newPowerRole) in setPortRoles() 634 + ", currentPowerRole=" + UsbPort.powerRoleToString(currentPowerRole) in setPortRoles() 644 sim.currentPowerRole = newPowerRole; in setPortRoles() 668 if (currentPowerRole != newPowerRole) { in setPortRoles() 823 portInfo.currentPowerRole = powerRole; in connectSimulatedPort() 909 portInfo.currentPowerRole = 0; in disconnectSimulatedPort() 978 portInfo.currentPowerRole, portInfo.canChangePowerRole, in updatePortsLocked() 999 currentPortInfo.currentPowerRole, currentPortInfo.canChangePowerRole, in updatePortsLocked() [all …]
|