Searched refs:UsbPort (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 42 import android.hardware.usb.UsbPort; 100 UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST); 101 private static final int COMBO_SOURCE_DEVICE = UsbPort.combineRolesAsBit( 104 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST); 105 private static final int COMBO_SINK_DEVICE = UsbPort.combineRolesAsBit( 289 public UsbPort[] getPorts() { in getPorts() 292 final UsbPort[] result = new UsbPort[count]; in getPorts() 362 + ", newPowerRole=" + UsbPort.powerRoleToString(newPowerRole) in setPortRoles() 363 + ", newDataRole=" + UsbPort.dataRoleToString(newDataRole)); in setPortRoles() 399 + ", newPowerRole=" + UsbPort.powerRoleToString(newPowerRole) in setPortRoles() [all …]
|
D | UsbService.java | 42 import android.hardware.usb.UsbPort; 511 final UsbPort[] ports = mPortManager.getPorts(); in getPorts() 543 UsbPort.checkRoles(powerRole, dataRole); in setPortRoles()
|
D | UsbDeviceManager.java | 52 import android.hardware.usb.UsbPort; 586 public void updateHostState(UsbPort port, UsbPortStatus status) { in updateHostState() 830 UsbPort port = (UsbPort) args.arg1; in handleMessage()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | ParcelableUsbPort.java | 58 public static @NonNull ParcelableUsbPort of(@NonNull UsbPort port) { in of() 72 public @NonNull UsbPort getUsbPort(@NonNull UsbManager usbManager) { in getUsbPort() 73 return new UsbPort(usbManager, mId, mSupportedModes, mSupportedContaminantProtectionModes, in getUsbPort()
|
D | UsbPortStatus.java | 297 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported() 328 + ", currentMode=" + UsbPort.modeToString(mCurrentMode) in toString() 329 + ", currentPowerRole=" + UsbPort.powerRoleToString(mCurrentPowerRole) in toString() 330 + ", currentDataRole=" + UsbPort.dataRoleToString(mCurrentDataRole) in toString() 332 + UsbPort.roleCombinationsToString(mSupportedRoleCombinations) in toString()
|
D | UsbManager.java | 803 public @NonNull List<UsbPort> getPorts() { in getPorts() 820 ArrayList<UsbPort> ports = new ArrayList<>(numPorts); in getPorts() 834 UsbPortStatus getPortStatus(UsbPort port) { in getPortStatus() 847 void setPortRoles(UsbPort port, int powerRole, int dataRole) { in setPortRoles() 862 void enableContaminantDetection(@NonNull UsbPort port, boolean enable) { in enableContaminantDetection()
|
D | UsbPort.java | 51 public final class UsbPort { class 66 public UsbPort(@NonNull UsbManager usbManager, @NonNull String id, int supportedModes, in UsbPort() method in UsbPort 172 UsbPort.checkRoles(powerRole, dataRole); in setRoles()
|
/frameworks/base/core/java/com/android/internal/usb/ |
D | DumpUtils.java | 34 import android.hardware.usb.UsbPort; 144 long id, @NonNull UsbPort port) { in writePort() 175 dump.write("supported_modes", UsbPortProto.SUPPORTED_MODES, UsbPort.modeToString(mode)); in writePort() 186 dump.write(idName, id, UsbPort.powerRoleToString(powerRole)); in writePowerRole() 195 dump.write(idName, id, UsbPort.dataRoleToString(dataRole)); in writeDataRole() 205 UsbPort.contaminantPresenceStatusToString(contaminantPresenceStatus)); in writeContaminantPresenceStatus() 219 UsbPort.modeToString(status.getCurrentMode())); in writePortStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbContaminantActivity.java | 23 import android.hardware.usb.UsbPort; 40 private UsbPort mUsbPort;
|
/frameworks/base/config/ |
D | preloaded-classes | 1673 android.hardware.usb.UsbPort
|
/frameworks/base/api/ |
D | system-current.txt | 3030 …oid.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts(); 3035 public final class UsbPort {
|
/frameworks/base/services/ |
D | art-profile | 13922 …/usb/UsbDeviceManager$UsbHandler;->updateHostState(Landroid/hardware/usb/UsbPort;Landroid/hardware… 13978 HSPLcom/android/server/usb/UsbPortManager;->getPorts()[Landroid/hardware/usb/UsbPort;
|