Home
last modified time | relevance | path

Searched refs:UsbPortStatus (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java19 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_DETECTED;
20 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_DISABLED;
21 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_DETECTED;
22 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_SUPPORTED;
23 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
24 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST;
25 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE;
26 import static android.hardware.usb.UsbPortStatus.MODE_AUDIO_ACCESSORY;
27 import static android.hardware.usb.UsbPortStatus.MODE_DEBUG_ACCESSORY;
28 import static android.hardware.usb.UsbPortStatus.MODE_DFP;
[all …]
DUsbPortStatus.java38 public final class UsbPortStatus implements Parcelable { class
235 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() method in UsbPortStatus
357 public static final @NonNull Parcelable.Creator<UsbPortStatus> CREATOR =
358 new Parcelable.Creator<UsbPortStatus>() {
360 public UsbPortStatus createFromParcel(Parcel in) {
367 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
373 public UsbPortStatus[] newArray(int size) {
374 return new UsbPortStatus[size];
DIUsbManager.aidl24 import android.hardware.usb.UsbPortStatus;
118 UsbPortStatus getPortStatus(in String portId); in getPortStatus()
DUsbPortStatus.aidl19 parcelable UsbPortStatus;
DUsbManager.java880 UsbPortStatus getPortStatus(UsbPort port) { in getPortStatus()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java19 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_SUPPORTED;
20 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_PROTECTION_NONE;
21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
22 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST;
23 import static android.hardware.usb.UsbPortStatus.MODE_DFP;
24 import static android.hardware.usb.UsbPortStatus.MODE_DUAL;
25 import static android.hardware.usb.UsbPortStatus.MODE_UFP;
26 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
27 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
43 import android.hardware.usb.UsbPortStatus;
[all …]
DUsbService.java19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST;
21 import static android.hardware.usb.UsbPortStatus.MODE_DFP;
22 import static android.hardware.usb.UsbPortStatus.MODE_DUAL;
23 import static android.hardware.usb.UsbPortStatus.MODE_UFP;
24 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
25 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
43 import android.hardware.usb.UsbPortStatus;
531 public UsbPortStatus getPortStatus(String portId) { in getPortStatus()
DUsbDeviceManager.java19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE;
20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST;
21 import static android.hardware.usb.UsbPortStatus.MODE_AUDIO_ACCESSORY;
22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
23 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
54 import android.hardware.usb.UsbPortStatus;
306 UsbPortStatus status = intent.getParcelableExtra(UsbManager.EXTRA_PORT_STATUS); in UsbDeviceManager()
587 public void updateHostState(UsbPort port, UsbPortStatus status) { in updateHostState()
834 UsbPortStatus status = (UsbPortStatus) args.arg2; in handleMessage()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java19 import static android.hardware.usb.UsbPortStatus.MODE_AUDIO_ACCESSORY;
20 import static android.hardware.usb.UsbPortStatus.MODE_DEBUG_ACCESSORY;
21 import static android.hardware.usb.UsbPortStatus.MODE_DFP;
22 import static android.hardware.usb.UsbPortStatus.MODE_DUAL;
23 import static android.hardware.usb.UsbPortStatus.MODE_NONE;
24 import static android.hardware.usb.UsbPortStatus.MODE_UFP;
35 import android.hardware.usb.UsbPortStatus;
210 long id, @NonNull UsbPortStatus status) { in writePortStatus()
/frameworks/base/config/
Dpreloaded-classes1674 android.hardware.usb.UsbPortStatus$1
1675 android.hardware.usb.UsbPortStatus
Dboot-image-profile.txt7619 HSPLandroid/hardware/usb/UsbPortStatus$1;-><init>()V
7620 HSPLandroid/hardware/usb/UsbPortStatus;->describeContents()I
7621 HSPLandroid/hardware/usb/UsbPortStatus;->isRoleCombinationSupported(II)Z
7622 HSPLandroid/hardware/usb/UsbPortStatus;->toString()Ljava/lang/String;
7623 HSPLandroid/hardware/usb/UsbPortStatus;->writeToParcel(Landroid/os/Parcel;I)V
33951 Landroid/hardware/usb/UsbPortStatus$1;
33952 Landroid/hardware/usb/UsbPortStatus;
Dhiddenapi-greylist-max-o.txt25134 …/usb/IUsbManager$Stub$Proxy;->getPortStatus(Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;
25193 …id/hardware/usb/IUsbManager;->getPortStatus(Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;
25357 Landroid/hardware/usb/UsbPortStatus;-><init>(IIII)V
25358 Landroid/hardware/usb/UsbPortStatus;->CREATOR:Landroid/os/Parcelable$Creator;
25359 Landroid/hardware/usb/UsbPortStatus;->mCurrentDataRole:I
25360 Landroid/hardware/usb/UsbPortStatus;->mCurrentMode:I
25361 Landroid/hardware/usb/UsbPortStatus;->mCurrentPowerRole:I
25362 Landroid/hardware/usb/UsbPortStatus;->mSupportedRoleCombinations:I
/frameworks/base/api/
Dsystem-current.txt3290 …sion(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus();
3294 public final class UsbPortStatus implements android.os.Parcelable {
3303 …Null public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt3290 …sion(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus();
3294 public final class UsbPortStatus implements android.os.Parcelable {
3303 …Null public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR;
/frameworks/base/services/
Dart-profile13922 …r$UsbHandler;->updateHostState(Landroid/hardware/usb/UsbPort;Landroid/hardware/usb/UsbPortStatus;)V
13977 …d/server/usb/UsbPortManager;->getPortStatus(Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;
14021 …droid/server/usb/UsbService;->getPortStatus(Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;