Home
last modified time | relevance | path

Searched refs:UsbPortStatus (Results 1 – 14 of 14) 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];
DUsbPortStatus.aidl19 parcelable UsbPortStatus;
DIUsbManager.aidl24 import android.hardware.usb.UsbPortStatus;
142 UsbPortStatus getPortStatus(in String portId); in getPortStatus()
DUsbManager.java899 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;
44 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;
679 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;
55 import android.hardware.usb.UsbPortStatus;
308 UsbPortStatus status = intent.getParcelableExtra(UsbManager.EXTRA_PORT_STATUS); in UsbDeviceManager()
589 public void updateHostState(UsbPort port, UsbPortStatus status) { in updateHostState()
836 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/non-updatable-api/
Dsystem-current.txt3634 …sion(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus();
3638 public final class UsbPortStatus implements android.os.Parcelable {
3647 …Null public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR;
/frameworks/base/config/
Dpreloaded-classes2831 android.hardware.usb.UsbPortStatus$1
2832 android.hardware.usb.UsbPortStatus
Dboot-image-profile.txt10085 HSPLandroid/hardware/usb/UsbPortStatus;-><init>(IIIIII)V
10086 HSPLandroid/hardware/usb/UsbPortStatus;->describeContents()I
10087 HSPLandroid/hardware/usb/UsbPortStatus;->getContaminantDetectionStatus()I
10088 HSPLandroid/hardware/usb/UsbPortStatus;->getContaminantProtectionStatus()I
10089 HSPLandroid/hardware/usb/UsbPortStatus;->getCurrentDataRole()I
10090 HSPLandroid/hardware/usb/UsbPortStatus;->getCurrentMode()I
10091 HSPLandroid/hardware/usb/UsbPortStatus;->getCurrentPowerRole()I
10092 HSPLandroid/hardware/usb/UsbPortStatus;->isConnected()Z
10093 PLandroid/hardware/usb/UsbPortStatus;->isRoleCombinationSupported(II)Z
10094 HSPLandroid/hardware/usb/UsbPortStatus;->toString()Ljava/lang/String;
[all …]
/frameworks/base/api/
Dsystem-current.txt3686 …sion(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus();
3690 public final class UsbPortStatus implements android.os.Parcelable {
3699 …Null public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR;
/frameworks/base/services/
Dart-profile32412 …r$UsbHandler;->updateHostState(Landroid/hardware/usb/UsbPort;Landroid/hardware/usb/UsbPortStatus;)V
32532 …d/server/usb/UsbPortManager;->getPortStatus(Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;
32619 …droid/server/usb/UsbService;->getPortStatus(Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;