Searched refs:UsbConstants (Results 1 – 14 of 14) sorted by relevance
18 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()
27 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()
69 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()
183 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queue()233 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queue()282 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in dequeue()
23 public final class UsbConstants { class
28 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()
24 import android.hardware.usb.UsbConstants;124 if (clazz == UsbConstants.USB_CLASS_HUB) return true; in isBlackListed()127 if (clazz == UsbConstants.USB_CLASS_HID && in isBlackListed()128 subClass == UsbConstants.USB_INTERFACE_SUBCLASS_BOOT) { in isBlackListed()
22 import android.hardware.usb.UsbConstants;361 if (ntrface.getInterfaceClass() == UsbConstants.USB_CLASS_AUDIO) { in usbDeviceAdded()
24 import android.hardware.usb.UsbConstants;117 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in ReaderThread()
21 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()
24 import android.hardware.usb.UsbConstants;139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera()
13262 public final class UsbConstants {13263 ctor public UsbConstants();
15845 public final class UsbConstants {15846 ctor public UsbConstants();
17352 public final class UsbConstants {17353 ctor public UsbConstants();