Home
last modified time | relevance | path

Searched refs:UsbConstants (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DAoapInterface.java18 import android.hardware.usb.UsbConstants;
98 UsbConstants.USB_DIR_IN | UsbConstants.USB_TYPE_VENDOR, in getProtocol()
109 UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in sendString()
121 UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in sendAoapStart()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java27 import android.hardware.usb.UsbConstants;
204 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in connect()
259 int len = conn.controlTransfer(UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in connect()
311 UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in registerHid()
323 UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in registerHid()
394 UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in sendHidTouchReport()
444 UsbConstants.USB_DIR_IN | UsbConstants.USB_TYPE_VENDOR, in getProtocol()
454 int len = conn.controlTransfer(UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, in sendString()
/frameworks/base/core/java/android/hardware/usb/
DUsbEndpoint.java69 return mAddress & UsbConstants.USB_ENDPOINT_NUMBER_MASK; in getEndpointNumber()
84 return mAddress & UsbConstants.USB_ENDPOINT_DIR_MASK; in getDirection()
109 return mAttributes & UsbConstants.USB_ENDPOINT_XFERTYPE_MASK; in getType()
DUsbRequest.java189 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queue()
247 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queue()
299 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in dequeue()
DUsbConstants.java25 public final class UsbConstants { class
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptor.java18 import android.hardware.usb.UsbConstants;
221 UsbConstants.USB_DIR_IN | UsbConstants.USB_TYPE_STANDARD, in getUsbDescriptorString()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java28 import android.hardware.usb.UsbConstants;
139 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()
144 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()
DUsbUserSettingsManager.java28 import android.hardware.usb.UsbConstants;
112 if (device.getDeviceClass() == UsbConstants.USB_CLASS_VIDEO) { in isCameraDevicePresent()
118 if (iface.getInterfaceClass() == UsbConstants.USB_CLASS_VIDEO) { in isCameraDevicePresent()
DUsbHostManager.java26 import android.hardware.usb.UsbConstants;
283 if (clazz == UsbConstants.USB_CLASS_HUB) return true; in isBlackListed()
286 return clazz == UsbConstants.USB_CLASS_HID in isBlackListed()
287 && subClass == UsbConstants.USB_INTERFACE_SUBCLASS_BOOT; in isBlackListed()
DUsbDeviceManager.java41 import android.hardware.usb.UsbConstants;
189 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_AUDIO);
190 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_COMM);
191 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_HID);
192 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_PRINTER);
193 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_MASS_STORAGE);
194 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_HUB);
195 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_CDC_DATA);
196 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_CSCID);
197 sBlackListedInterfaces.add(UsbConstants.USB_CLASS_CONTENT_SEC);
[all …]
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java24 import android.hardware.usb.UsbConstants;
117 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in ReaderThread()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java21 import android.hardware.usb.UsbConstants;
299 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()
304 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java24 import android.hardware.usb.UsbConstants;
139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera()
/frameworks/base/config/
Dhiddenapi-public-dex.txt14902 Landroid/hardware/usb/UsbConstants;
14903 Landroid/hardware/usb/UsbConstants;-><init>()V
14904 Landroid/hardware/usb/UsbConstants;->USB_CLASS_APP_SPEC:I
14905 Landroid/hardware/usb/UsbConstants;->USB_CLASS_AUDIO:I
14906 Landroid/hardware/usb/UsbConstants;->USB_CLASS_CDC_DATA:I
14907 Landroid/hardware/usb/UsbConstants;->USB_CLASS_COMM:I
14908 Landroid/hardware/usb/UsbConstants;->USB_CLASS_CONTENT_SEC:I
14909 Landroid/hardware/usb/UsbConstants;->USB_CLASS_CSCID:I
14910 Landroid/hardware/usb/UsbConstants;->USB_CLASS_HID:I
14911 Landroid/hardware/usb/UsbConstants;->USB_CLASS_HUB:I
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13262 public final class UsbConstants {
13263 ctor public UsbConstants();
/frameworks/base/api/
Dcurrent.txt16757 public final class UsbConstants {
16758 ctor public UsbConstants();