Home
last modified time | relevance | path

Searched refs:usb (Results 1 – 25 of 184) sorted by relevance

12345678

/frameworks/base/services/usb/
DAndroid.bp11 name: "services.usb-sources",
18 name: "services.usb",
20 srcs: [":services.usb-sources"],
28 "android.hardware.usb-V1.0-java",
29 "android.hardware.usb-V1.1-java",
30 "android.hardware.usb-V1.2-java",
31 "android.hardware.usb-V1.3-java",
32 "android.hardware.usb.gadget-V1.0-java",
33 "android.hardware.usb.gadget-V1.1-java",
34 "android.hardware.usb.gadget-V1.2-java",
/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java17 package android.hardware.usb;
19 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;
[all …]
DUsbPortStatus.java17 package android.hardware.usb;
22 import android.hardware.usb.V1_0.Constants;
129 android.hardware.usb.V1_1.Constants.PortMode_1_1.AUDIO_ACCESSORY;
135 android.hardware.usb.V1_1.Constants.PortMode_1_1.DEBUG_ACCESSORY;
142 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.NOT_SUPPORTED;
149 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.DISABLED;
156 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.NOT_DETECTED;
163 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.DETECTED;
171 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.NONE;
179 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.FORCE_SINK;
[all …]
DIUsbManager.aidl17 package android.hardware.usb;
21 import android.hardware.usb.UsbAccessory;
22 import android.hardware.usb.UsbDevice;
23 import android.hardware.usb.ParcelableUsbPort;
24 import android.hardware.usb.UsbPortStatus;
/frameworks/base/libs/usb/api/
Dcurrent.txt2 package com.android.future.usb {
14 method public static com.android.future.usb.UsbAccessory getAccessory(android.content.Intent);
15 method public com.android.future.usb.UsbAccessory[] getAccessoryList();
16 method public static com.android.future.usb.UsbManager getInstance(android.content.Context);
17 method public boolean hasPermission(com.android.future.usb.UsbAccessory);
18 … method public android.os.ParcelFileDescriptor openAccessory(com.android.future.usb.UsbAccessory);
19 …method public void requestPermission(com.android.future.usb.UsbAccessory, android.app.PendingInten…
20 …field public static final String ACTION_USB_ACCESSORY_ATTACHED = "android.hardware.usb.action.USB_…
21 …field public static final String ACTION_USB_ACCESSORY_DETACHED = "android.hardware.usb.action.USB_…
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsTree.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbACInterface;
19 import com.android.server.usb.descriptors.UsbConfigDescriptor;
20 import com.android.server.usb.descriptors.UsbDescriptor;
21 import com.android.server.usb.descriptors.UsbDescriptorParser;
22 import com.android.server.usb.descriptors.UsbDeviceDescriptor;
23 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
24 import com.android.server.usb.descriptors.UsbInterfaceDescriptor;
25 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsTreeNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.Reporting;
DUsbDescriptorsEndpointNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsACInterfaceNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbACInterface;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsDeviceNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbDeviceDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsConfigNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbConfigDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java17 package com.android.internal.usb;
19 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;
29 import android.hardware.usb.UsbAccessory;
30 import android.hardware.usb.UsbConfiguration;
31 import android.hardware.usb.UsbDevice;
[all …]
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbManager.java18 package com.android.future.usb;
23 import android.hardware.usb.IUsbManager;
94 android.hardware.usb.UsbAccessory accessory = in getAccessory()
95 intent.getParcelableExtra(android.hardware.usb.UsbManager.EXTRA_ACCESSORY); in getAccessory()
111 android.hardware.usb.UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList()
131 return mService.openAccessory(new android.hardware.usb.UsbAccessory( in openAccessory()
152 return mService.hasAccessoryPermission(new android.hardware.usb.UsbAccessory( in hasPermission()
177 mService.requestAccessoryPermission(new android.hardware.usb.UsbAccessory( in requestPermission()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java16 package com.android.hardware.usb.aoaphosttest;
23 import android.hardware.usb.UsbAccessory;
24 import android.hardware.usb.UsbConstants;
25 import android.hardware.usb.UsbDevice;
26 import android.hardware.usb.UsbDeviceConnection;
27 import android.hardware.usb.UsbEndpoint;
28 import android.hardware.usb.UsbInterface;
29 import android.hardware.usb.UsbManager;
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserSettingsManager.java17 package com.android.server.usb;
20 import static com.android.server.usb.UsbProfileGroupSettingsManager.getAccessoryFilters;
21 import static com.android.server.usb.UsbProfileGroupSettingsManager.getDeviceFilters;
33 import android.hardware.usb.AccessoryFilter;
34 import android.hardware.usb.DeviceFilter;
35 import android.hardware.usb.UsbAccessory;
36 import android.hardware.usb.UsbDevice;
37 import android.hardware.usb.UsbManager;
39 import android.service.usb.UsbAccessoryAttachedActivities;
40 import android.service.usb.UsbDeviceAttachedActivities;
[all …]
DUsbPortManager.java17 package com.android.server.usb;
19 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;
[all …]
DUsbPermissionManager.java17 package com.android.server.usb;
24 import android.hardware.usb.UsbAccessory;
25 import android.hardware.usb.UsbDevice;
26 import android.hardware.usb.UsbManager;
29 import android.service.usb.UsbSettingsManagerProto;
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDisconnectedReceiver.java17 package com.android.systemui.usb;
24 import android.hardware.usb.UsbAccessory;
25 import android.hardware.usb.UsbDevice;
26 import android.hardware.usb.UsbManager;
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DAoapInterface.java16 package com.android.hardware.usb.externalmanagementtest;
18 import android.hardware.usb.UsbConstants;
19 import android.hardware.usb.UsbDevice;
20 import android.hardware.usb.UsbDeviceConnection;
DUsbUtil.java16 package com.android.hardware.usb.externalmanagementtest;
22 import android.hardware.usb.UsbDevice;
23 import android.hardware.usb.UsbInterface;
24 import android.hardware.usb.UsbManager;
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbInterfaceDescriptor.java16 package com.android.server.usb.descriptors;
18 import android.hardware.usb.UsbEndpoint;
19 import android.hardware.usb.UsbInterface;
22 import com.android.server.usb.descriptors.report.ReportCanvas;
23 import com.android.server.usb.descriptors.report.UsbStrings;
DUsbDescriptor.java16 package com.android.server.usb.descriptors;
18 import android.hardware.usb.UsbConstants;
19 import android.hardware.usb.UsbDeviceConnection;
22 import com.android.server.usb.descriptors.report.ReportCanvas;
23 import com.android.server.usb.descriptors.report.Reporting;
24 import com.android.server.usb.descriptors.report.UsbStrings;
DUsb10ASGeneral.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.UsbStrings;
DUsbACTerminal.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.UsbStrings;
DUsbConfigDescriptor.java16 package com.android.server.usb.descriptors;
18 import android.hardware.usb.UsbConfiguration;
19 import android.hardware.usb.UsbInterface;
22 import com.android.server.usb.descriptors.report.ReportCanvas;

12345678