Searched refs:UsbConstants (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | AoapInterface.java | 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()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | SinkActivity.java | 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()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbMidiBlockParser.java | 19 import android.hardware.usb.UsbConstants; 152 UsbConstants.USB_DIR_IN | UsbConstants.USB_TYPE_STANDARD in calculateMidiType() 153 | UsbConstants.USB_CLASS_AUDIO, in calculateMidiType() 177 UsbConstants.USB_DIR_IN | UsbConstants.USB_TYPE_STANDARD in calculateMidiType() 178 | UsbConstants.USB_CLASS_AUDIO, in calculateMidiType()
|
D | UsbDescriptor.java | 18 import android.hardware.usb.UsbConstants; 223 UsbConstants.USB_DIR_IN | UsbConstants.USB_TYPE_STANDARD, in getUsbDescriptorString()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbEndpoint.java | 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()
|
D | UsbRequest.java | 218 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queueIfConnectionOpen() 298 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queueIfConnectionOpen() 350 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in dequeue()
|
D | UsbConstants.java | 25 public final class UsbConstants { class
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | MtpNotificationManager.java | 28 import android.hardware.usb.UsbConstants; 141 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice() 146 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()
|
D | UsbHostManager.java | 27 import android.hardware.usb.UsbConstants; 298 if (clazz == UsbConstants.USB_CLASS_HUB) return true; in isDenyListed() 301 return clazz == UsbConstants.USB_CLASS_HID in isDenyListed() 302 && subClass == UsbConstants.USB_INTERFACE_SUBCLASS_BOOT; in isDenyListed() 389 if (deviceClass == UsbConstants.USB_CLASS_PER_INTERFACE in usbDeviceAdded()
|
D | UsbDeviceManager.java | 51 import android.hardware.usb.UsbConstants; 236 sDenyInterfaces.add(UsbConstants.USB_CLASS_AUDIO); 237 sDenyInterfaces.add(UsbConstants.USB_CLASS_COMM); 238 sDenyInterfaces.add(UsbConstants.USB_CLASS_HID); 239 sDenyInterfaces.add(UsbConstants.USB_CLASS_PRINTER); 240 sDenyInterfaces.add(UsbConstants.USB_CLASS_MASS_STORAGE); 241 sDenyInterfaces.add(UsbConstants.USB_CLASS_HUB); 242 sDenyInterfaces.add(UsbConstants.USB_CLASS_CDC_DATA); 243 sDenyInterfaces.add(UsbConstants.USB_CLASS_CSCID); 244 sDenyInterfaces.add(UsbConstants.USB_CLASS_CONTENT_SEC); [all …]
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/ |
D | UsbAoapHostTestActivity.java | 24 import android.hardware.usb.UsbConstants; 117 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in ReaderThread()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 24 import android.hardware.usb.UsbConstants; 139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 13262 public final class UsbConstants { 13263 ctor public UsbConstants();
|
/frameworks/base/core/api/ |
D | current.txt | 20560 public final class UsbConstants { 20561 ctor public UsbConstants();
|