Home
last modified time | relevance | path

Searched refs:UsbPortStatus (Results 1 – 12 of 12) 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.java37 public final class UsbPortStatus implements Parcelable { class
234 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() method in UsbPortStatus
355 public static final @android.annotation.NonNull Parcelable.Creator<UsbPortStatus> CREATOR =
356 new Parcelable.Creator<UsbPortStatus>() {
358 public UsbPortStatus createFromParcel(Parcel in) {
365 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
371 public UsbPortStatus[] newArray(int size) {
372 return new UsbPortStatus[size];
DIUsbManager.aidl24 import android.hardware.usb.UsbPortStatus;
118 UsbPortStatus getPortStatus(in String portId); in getPortStatus()
DUsbPortStatus.aidl19 parcelable UsbPortStatus;
DUsbManager.java834 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;
528 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;
53 import android.hardware.usb.UsbPortStatus;
305 UsbPortStatus status = intent.getParcelableExtra(UsbManager.EXTRA_PORT_STATUS); in UsbDeviceManager()
586 public void updateHostState(UsbPort port, UsbPortStatus status) { in updateHostState()
831 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
/frameworks/base/api/
Dsystem-current.txt3036 …id.Manifest.permission.MANAGE_USB) @Nullable public android.hardware.usb.UsbPortStatus getStatus();
3040 public final class UsbPortStatus implements android.os.Parcelable {
3049 …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;