Searched refs:usb (Results 1 – 25 of 252) sorted by relevance
1234567891011
/frameworks/base/services/usb/ |
D | Android.bp | 11 name: "services.usb-sources", 18 name: "services.usb", 20 srcs: [":services.usb-sources"], 25 "android.hardware.usb.gadget-V1.0-java", 26 "android.hardware.usb.gadget-V1.1-java", 27 "android.hardware.usb.gadget-V1.2-java", 28 "android.hardware.usb.gadget-V1-java", 32 "android.hardware.usb-V1.0-java", 33 "android.hardware.usb-V1.1-java", 34 "android.hardware.usb-V1.2-java", [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPort.java | 17 package android.hardware.usb; 19 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_ERROR_INTERNAL; 20 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_ERROR_NOT_SUPPORTED; 21 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_ERROR_PORT_MISMATCH; 22 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_SUCCESS; 23 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_DETECTED; 24 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_DISABLED; 25 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_DETECTED; 26 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_SUPPORTED; 27 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; [all …]
|
D | IUsbManager.aidl | 17 package android.hardware.usb; 21 import android.hardware.usb.IDisplayPortAltModeInfoListener; 22 import android.hardware.usb.IUsbOperationInternal; 23 import android.hardware.usb.UsbAccessory; 24 import android.hardware.usb.UsbDevice; 25 import android.hardware.usb.ParcelableUsbPort; 26 import android.hardware.usb.UsbPortStatus;
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | UsbPortHidl.java | 16 package com.android.server.usb.hal.port; 18 import static android.hardware.usb.UsbManager.USB_HAL_NOT_SUPPORTED; 19 import static android.hardware.usb.UsbManager.USB_HAL_V1_0; 20 import static android.hardware.usb.UsbManager.USB_HAL_V1_1; 21 import static android.hardware.usb.UsbManager.USB_HAL_V1_2; 22 import static android.hardware.usb.UsbManager.USB_HAL_V1_3; 23 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_ERROR_INTERNAL; 24 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_ERROR_NOT_SUPPORTED; 25 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_SUCCESS; 26 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_SUPPORTED; [all …]
|
D | UsbPortHalInstance.java | 16 package com.android.server.usb.hal.port; 18 import static com.android.server.usb.UsbPortManager.logAndPrint; 21 import com.android.server.usb.hal.port.UsbPortHidl; 22 import com.android.server.usb.hal.port.UsbPortAidl; 23 import com.android.server.usb.UsbPortManager;
|
D | UsbPortAidl.java | 16 package com.android.server.usb.hal.port; 18 import static android.hardware.usb.UsbManager.USB_HAL_V2_0; 19 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_ERROR_INTERNAL; 20 import static android.hardware.usb.UsbOperationInternal.USB_OPERATION_SUCCESS; 22 import static com.android.server.usb.UsbPortManager.logAndPrint; 23 import static com.android.server.usb.UsbPortManager.logAndPrintException; 26 import android.hardware.usb.ContaminantProtectionStatus; 27 import android.hardware.usb.IUsb; 28 import android.hardware.usb.IUsbOperationInternal; 29 import android.hardware.usb.UsbManager.UsbHalVersion; [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/ |
D | UsbGadgetHidl.java | 16 package com.android.server.usb.hal.gadget; 18 import static android.hardware.usb.UsbManager.GADGET_HAL_NOT_SUPPORTED; 19 import static android.hardware.usb.UsbManager.GADGET_HAL_V1_0; 20 import static android.hardware.usb.UsbManager.GADGET_HAL_V1_1; 21 import static android.hardware.usb.UsbManager.GADGET_HAL_V1_2; 23 import static com.android.server.usb.UsbDeviceManager.logAndPrint; 24 import static com.android.server.usb.UsbDeviceManager.logAndPrintException; 27 import android.hardware.usb.gadget.V1_0.Status; 28 import android.hardware.usb.gadget.V1_0.IUsbGadget; 29 import android.hardware.usb.gadget.V1_2.IUsbGadgetCallback; [all …]
|
D | UsbGadgetHalInstance.java | 16 package com.android.server.usb.hal.gadget; 18 import static com.android.server.usb.UsbPortManager.logAndPrint; 21 import com.android.server.usb.hal.gadget.UsbGadgetHidl; 22 import com.android.server.usb.hal.gadget.UsbGadgetAidl; 23 import com.android.server.usb.UsbDeviceManager;
|
D | UsbGadgetHal.java | 16 package com.android.server.usb.hal.gadget; 19 import android.hardware.usb.gadget.IUsbGadgetCallback; 20 import android.hardware.usb.IUsbOperationInternal; 21 import android.hardware.usb.UsbManager.UsbHalVersion;
|
D | UsbGadgetAidl.java | 16 package com.android.server.usb.hal.gadget; 18 import static android.hardware.usb.UsbManager.GADGET_HAL_V2_0; 20 import static com.android.server.usb.UsbDeviceManager.logAndPrint; 21 import static com.android.server.usb.UsbDeviceManager.logAndPrintException; 24 import android.hardware.usb.gadget.IUsbGadget; 25 import android.hardware.usb.gadget.IUsbGadgetCallback; 26 import android.hardware.usb.Status; 27 import android.hardware.usb.UsbManager.UsbGadgetHalVersion; 37 import com.android.server.usb.UsbDeviceManager;
|
/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/ |
D | UsbPortStatusTest.java | 17 package android.hardware.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.DATA_ROLE_NONE; 24 import static android.hardware.usb.UsbPortStatus.MODE_NONE; 25 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 26 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 27 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE; [all …]
|
/frameworks/base/libs/usb/api/ |
D | current.txt | 2 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/ |
D | UsbDescriptorsTree.java | 16 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;
|
D | UsbDescriptorsTreeNode.java | 16 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;
|
D | UsbDescriptorsEndpointNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbEndpointDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
/frameworks/base/core/java/com/android/internal/usb/ |
D | DumpUtils.java | 17 package com.android.internal.usb; 19 import static android.hardware.usb.UsbPort.FLAG_ALT_MODE_TYPE_DISPLAYPORT; 20 import static android.hardware.usb.UsbPortStatus.MODE_AUDIO_ACCESSORY; 21 import static android.hardware.usb.UsbPortStatus.MODE_DEBUG_ACCESSORY; 22 import static android.hardware.usb.UsbPortStatus.MODE_DFP; 23 import static android.hardware.usb.UsbPortStatus.MODE_DUAL; 24 import static android.hardware.usb.UsbPortStatus.MODE_NONE; 25 import static android.hardware.usb.UsbPortStatus.MODE_UFP; 30 import android.hardware.usb.DisplayPortAltModeInfo; 31 import android.hardware.usb.UsbAccessory; [all …]
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbManager.java | 18 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/services/usb/java/com/android/server/usb/flags/ |
D | usb_flags.aconfig | 1 package: "com.android.server.usb.flags" 6 namespace: "usb" 7 description: "This flag controls the restriction of usb overlay activities" 13 namespace: "usb"
|
/frameworks/base/services/core/java/com/android/server/display/notifications/ |
D | ConnectedDisplayUsbErrorsDetector.java | 19 import static android.hardware.usb.DisplayPortAltModeInfo.DISPLAYPORT_ALT_MODE_STATUS_CAPABLE_DISAB… 20 import static android.hardware.usb.DisplayPortAltModeInfo.DISPLAYPORT_ALT_MODE_STATUS_NOT_CAPABLE; 21 import static android.hardware.usb.DisplayPortAltModeInfo.LINK_TRAINING_STATUS_FAILURE; 26 import android.hardware.usb.DisplayPortAltModeInfo; 27 import android.hardware.usb.UsbManager; 28 import android.hardware.usb.UsbManager.DisplayPortAltModeInfoListener;
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/ |
D | UsbAoapHostTestActivity.java | 16 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/ |
D | UsbUserSettingsManager.java | 17 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 …]
|
/frameworks/base/core/java/android/hardware/usb/flags/ |
D | usb_framework_flags.aconfig | 1 package: "android.hardware.usb.flags" 7 namespace: "usb" 15 namespace: "usb" 23 namespace: "usb"
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/notifications/ |
D | ConnectedDisplayUsbErrorsDetectorTest.java | 19 import static android.hardware.usb.DisplayPortAltModeInfo.DISPLAYPORT_ALT_MODE_STATUS_CAPABLE_DISAB… 20 import static android.hardware.usb.DisplayPortAltModeInfo.DISPLAYPORT_ALT_MODE_STATUS_ENABLED; 21 import static android.hardware.usb.DisplayPortAltModeInfo.DISPLAYPORT_ALT_MODE_STATUS_NOT_CAPABLE; 22 import static android.hardware.usb.DisplayPortAltModeInfo.LINK_TRAINING_STATUS_FAILURE; 30 import android.hardware.usb.DisplayPortAltModeInfo; 31 import android.hardware.usb.UsbManager;
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | AoapInterface.java | 16 package com.android.hardware.usb.externalmanagementtest; 18 import android.hardware.usb.UsbConstants; 19 import android.hardware.usb.UsbDevice; 20 import android.hardware.usb.UsbDeviceConnection;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDisconnectedReceiver.java | 17 package com.android.systemui.usb; 24 import android.hardware.usb.UsbAccessory; 25 import android.hardware.usb.UsbDevice; 26 import android.hardware.usb.UsbManager;
|
1234567891011