Home
last modified time | relevance | path

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

/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.java136 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queue()
154 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in dequeue()
DUsbConstants.java23 public final class UsbConstants { class
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java29 import android.hardware.usb.UsbConstants;
134 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()
139 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()
DUsbHostManager.java21 import android.hardware.usb.UsbConstants;
98 if (clazz == UsbConstants.USB_CLASS_HUB) return true; in isBlackListed()
101 if (clazz == UsbConstants.USB_CLASS_HID && in isBlackListed()
102 subClass == UsbConstants.USB_INTERFACE_SUBCLASS_BOOT) { in isBlackListed()
DUsbAlsaManager.java22 import android.hardware.usb.UsbConstants;
364 if (ntrface.getInterfaceClass() == UsbConstants.USB_CLASS_AUDIO) { in usbDeviceAdded()
/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/docs/html/guide/topics/connectivity/usb/
Dhost.jd99 <td>{@link android.hardware.usb.UsbConstants}</td>
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd104 <li>{@link android.hardware.usb.UsbConstants}, which provides constants for
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13262 public final class UsbConstants {
13263 ctor public UsbConstants();
/frameworks/base/api/
Dcurrent.txt14553 public final class UsbConstants {
14554 ctor public UsbConstants();
Dtest-current.txt14566 public final class UsbConstants {
14567 ctor public UsbConstants();
Dsystem-current.txt15754 public final class UsbConstants {
15755 ctor public UsbConstants();