Searched refs:currentPowerRole (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
H A 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,
|
H A 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()
|
H A D | UsbPortAidl.java | 673 current.currentPowerRole, in notifyPortStatusChange()
|
/aosp14/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPortStatus.java | 414 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 423 mCurrentPowerRole = currentPowerRole; in UsbPortStatus() 451 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 456 this(currentMode, currentPowerRole, currentDataRole, supportedRoleCombinations, in UsbPortStatus() 463 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 466 this(currentMode, currentPowerRole, currentDataRole, supportedRoleCombinations, in UsbPortStatus() 682 int currentPowerRole = in.readInt(); 699 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole, 761 public Builder setCurrentRoles(@UsbPowerRole int currentPowerRole, in setCurrentRoles() argument 763 mCurrentPowerRole = currentPowerRole; in setCurrentRoles()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 634 sim.currentPowerRole = newPowerRole; in setPortRoles() 658 if (currentPowerRole != newPowerRole) { in setPortRoles() 813 portInfo.currentPowerRole = powerRole; in connectSimulatedPort() 899 portInfo.currentPowerRole = 0; in disconnectSimulatedPort() 1039 int currentPowerRole, boolean canChangePowerRole, in addOrUpdatePortLocked() argument 1070 currentPowerRole, currentDataRole); in addOrUpdatePortLocked() 1089 currentPowerRole, DATA_ROLE_HOST); in addOrUpdatePortLocked() 1091 currentPowerRole, DATA_ROLE_DEVICE); in addOrUpdatePortLocked() 1110 currentPowerRole, canChangePowerRole, in addOrUpdatePortLocked() 1148 currentPowerRole, canChangePowerRole, in addOrUpdatePortLocked() [all …]
|