Searched refs:UsbPort (Results 1 – 15 of 15) 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;514 final UsbPort[] ports = mPortManager.getPorts(); in getPorts()546 UsbPort.checkRoles(powerRole, dataRole); in setPortRoles()
53 import android.hardware.usb.UsbPort;587 public void updateHostState(UsbPort port, UsbPortStatus status) { in updateHostState()833 UsbPort port = (UsbPort) args.arg1; in handleMessage()
298 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()330 + ", currentMode=" + UsbPort.modeToString(mCurrentMode) in toString()331 + ", currentPowerRole=" + UsbPort.powerRoleToString(mCurrentPowerRole) in toString()332 + ", currentDataRole=" + UsbPort.dataRoleToString(mCurrentDataRole) in toString()334 + 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()
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()
849 public @NonNull List<UsbPort> getPorts() { in getPorts()866 ArrayList<UsbPort> ports = new ArrayList<>(numPorts); in getPorts()880 UsbPortStatus getPortStatus(UsbPort port) { in getPortStatus()893 void setPortRoles(UsbPort port, int powerRole, int dataRole) { in setPortRoles()908 void enableContaminantDetection(@NonNull UsbPort port, boolean enable) { in enableContaminantDetection()
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;
25133 Landroid/hardware/usb/IUsbManager$Stub$Proxy;->getPorts()[Landroid/hardware/usb/UsbPort;25192 Landroid/hardware/usb/IUsbManager;->getPorts()[Landroid/hardware/usb/UsbPort;25327 Landroid/hardware/usb/UsbPort;-><init>(Ljava/lang/String;I)V25328 Landroid/hardware/usb/UsbPort;->checkDataRole(I)V25329 Landroid/hardware/usb/UsbPort;->checkMode(I)V25330 Landroid/hardware/usb/UsbPort;->checkPowerRole(I)V25331 Landroid/hardware/usb/UsbPort;->checkRoles(II)V25332 Landroid/hardware/usb/UsbPort;->combineRolesAsBit(II)I25333 Landroid/hardware/usb/UsbPort;->CREATOR:Landroid/os/Parcelable$Creator;25334 Landroid/hardware/usb/UsbPort;->dataRoleToString(I)Ljava/lang/String;[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;33950 Landroid/hardware/usb/UsbPort;
3269 …oid.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts();3289 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;