Searched refs:UsbPort (Results 1 – 14 of 14) sorted by relevance
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 …]
42 import android.hardware.usb.UsbPort;511 final UsbPort[] ports = mPortManager.getPorts(); in getPorts()543 UsbPort.checkRoles(powerRole, dataRole); in setPortRoles()
52 import android.hardware.usb.UsbPort;586 public void updateHostState(UsbPort port, UsbPortStatus status) { in updateHostState()830 UsbPort port = (UsbPort) args.arg1; in handleMessage()
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()
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()
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()
51 public final class UsbPort { class66 public UsbPort(@NonNull UsbManager usbManager, @NonNull String id, int supportedModes, in UsbPort() method in UsbPort172 UsbPort.checkRoles(powerRole, dataRole); in setRoles()
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()
23 import android.hardware.usb.UsbPort;40 private UsbPort mUsbPort;
26903 Landroid/hardware/usb/IUsbManager$Stub$Proxy;->getPorts()[Landroid/hardware/usb/UsbPort;26964 Landroid/hardware/usb/IUsbManager;->getPorts()[Landroid/hardware/usb/UsbPort;27099 Landroid/hardware/usb/UsbPort;27100 Landroid/hardware/usb/UsbPort;-><init>(Ljava/lang/String;I)V27101 Landroid/hardware/usb/UsbPort;->checkDataRole(I)V27102 Landroid/hardware/usb/UsbPort;->checkMode(I)V27103 Landroid/hardware/usb/UsbPort;->checkPowerRole(I)V27104 Landroid/hardware/usb/UsbPort;->checkRoles(II)V27105 Landroid/hardware/usb/UsbPort;->combineRolesAsBit(II)I27106 Landroid/hardware/usb/UsbPort;->CREATOR:Landroid/os/Parcelable$Creator;[all …]
1673 android.hardware.usb.UsbPort
7607 …usb/ParcelableUsbPort;->getUsbPort(Landroid/hardware/usb/UsbManager;)Landroid/hardware/usb/UsbPort;7608 HSPLandroid/hardware/usb/ParcelableUsbPort;->of(Landroid/hardware/usb/UsbPort;)Landroid/hardware/us…7614 HSPLandroid/hardware/usb/UsbPort;-><init>(Landroid/hardware/usb/UsbManager;Ljava/lang/String;IIZZ)V7615 HSPLandroid/hardware/usb/UsbPort;->combineRolesAsBit(II)I7616 HSPLandroid/hardware/usb/UsbPort;->modeToString(I)Ljava/lang/String;7617 HSPLandroid/hardware/usb/UsbPort;->roleCombinationsToString(I)Ljava/lang/String;7618 HSPLandroid/hardware/usb/UsbPort;->toString()Ljava/lang/String;33951 Landroid/hardware/usb/UsbPort;
3030 …oid.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts();3035 public final class UsbPort {
13922 …/usb/UsbDeviceManager$UsbHandler;->updateHostState(Landroid/hardware/usb/UsbPort;Landroid/hardware…13978 HSPLcom/android/server/usb/UsbPortManager;->getPorts()[Landroid/hardware/usb/UsbPort;