HomeSort by relevance Sort by last modified time
    Searched defs:usb (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /cts/hostsidetests/usb/SerialTestApp/src/com/android/cts/usb/serialtest/
UsbSerialTest.java 17 package com.android.cts.usb.serialtest;
  /external/pdfium/xfa/src/fgas/src/font/
fx_fontutils.cpp 139 const FGAS_FONTUSB& usb = g_FXGdiFontUSBTable[iMid]; local
140 if (wUnicode < usb.wStartUnicode) {
142 } else if (wUnicode > usb.wEndUnicode) {
145 return &usb;
  /device/google/accessory/arduino/AndroidAccessory/
AndroidAccessory.h 32 USB usb; member in class:AndroidAccessory
  /frameworks/base/core/java/android/hardware/usb/
UsbEndpoint.java 17 package android.hardware.usb;
24 * Endpoints are the channels for sending and receiving data over USB.
UsbPortStatus.java 17 package android.hardware.usb;
23 * Describes the status of a USB port.
UsbConfiguration.java 17 package android.hardware.usb;
24 * A USB configuration can have one or more interfaces, each one providing a different
31 * <p>For more information about communicating with USB hardware, read the
32 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
87 * This attribute indicates that the device has a power source other than the USB connection.
UsbAccessory.java 17 package android.hardware.usb;
23 * A class representing a USB accessory, which is an external hardware component
24 * that communicates with an android application over USB.
25 * The accessory is the USB host and android the device side of the USB connection.
29 * The manufacturer, model and version strings are used by the USB Manager to choose
41 * <p>For more information about communicating with USB hardware, read the
42 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
UsbConstants.java 17 package android.hardware.usb;
20 * Contains constants for the USB protocol.
21 * These constants correspond to definitions in linux/usb/ch9.h in the linux kernel.
107 * USB class indicating that the class is determined on a per-interface basis.
111 * USB class for audio devices.
115 * USB class for communication devices.
119 * USB class for human interface devices (for example, mice and keyboards).
123 * USB class for physical devices.
127 * USB class for still image devices (digital cameras).
131 * USB class for printers
    [all...]
UsbDeviceConnection.java 17 package android.hardware.usb;
27 * This class is used for sending and receiving data and control messages to a USB device.
86 * Returns the raw USB descriptors for the device.
90 * @return raw USB descriptors
97 * Claims exclusive access to a {@link android.hardware.usb.UsbInterface}.
99 * {@link android.hardware.usb.UsbEndpoint}s belonging to the interface.
110 * Releases exclusive access to a {@link android.hardware.usb.UsbInterface}.
119 * Sets the current {@link android.hardware.usb.UsbInterface}.
129 * Sets the device's current {@link android.hardware.usb.UsbConfiguration}.
233 * Waits for the result of a {@link android.hardware.usb.UsbRequest#queue} operatio
    [all...]
UsbInterface.java 17 package android.hardware.usb;
24 * USB devices can have one or more interfaces, each one providing a different
31 * <p>For more information about communicating with USB hardware, read the
32 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
94 * Some useful constants for USB classes can be found in {@link UsbConstants}
121 * Returns the number of {@link android.hardware.usb.UsbEndpoint}s this interface contains.
130 * Returns the {@link android.hardware.usb.UsbEndpoint} at the given index.
UsbPort.java 17 package android.hardware.usb;
25 * Represents a physical USB port and describes its characteristics.
37 * Mode bit: This USB port can act as a downstream facing port (host).
46 * Mode bit: This USB port can act as an upstream facing port (device).
55 * Mode bit: This USB port can act either as an downstream facing port (host) or as
66 * Power role: This USB port can act as a source (provide power).
71 * Power role: This USB port can act as a sink (receive power).
76 * Data role: This USB port can act as a host (access data services).
81 * Data role: This USB port can act as a device (offer data services).
UsbRequest.java 17 package android.hardware.usb;
24 * A class representing USB request packet.
26 * {@link android.hardware.usb.UsbDeviceConnection}.
101 * {@link android.hardware.usb.UsbDeviceConnection#requestWait}
114 * {@link android.hardware.usb.UsbDeviceConnection#requestWait}
128 * returned via {@link android.hardware.usb.UsbDeviceConnection#requestWait}
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbAccessoryUriActivity.java 17 package com.android.systemui.usb;
23 import android.hardware.usb.UsbAccessory;
24 import android.hardware.usb.UsbManager;
35 * If the attached USB accessory has a URL associated with it, and that URL is valid,
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;
UsbDebuggingSecondaryUserActivity.java 17 package com.android.systemui.usb;
25 import android.hardware.usb.UsbManager;
  /frameworks/base/libs/usb/src/com/android/future/usb/
UsbAccessory.java 17 package com.android.future.usb;
20 * A class representing a USB accessory.
31 /* package */ UsbAccessory(android.hardware.usb.UsbAccessory accessory) {
UsbManager.java 18 package com.android.future.usb;
23 import android.hardware.usb.IUsbManager;
31 * This is a wrapper class for the USB Manager to support USB accessories.
40 * Broadcast Action: A broadcast for USB accessory attached event.
42 * This intent is sent when a USB accessory is attached.
44 * {@link com.google.android.usb.UsbAccessory} for the attached accessory.
47 "android.hardware.usb.action.USB_ACCESSORY_ATTACHED";
50 * Broadcast Action: A broadcast for USB accessory detached event.
52 * This intent is sent when a USB accessory is detached
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbAudioDevice.java 17 package com.android.server.usb;
MtpNotificationManager.java 17 package com.android.server.usb;
29 import android.hardware.usb.UsbConstants;
30 import android.hardware.usb.UsbDevice;
31 import android.hardware.usb.UsbInterface;
32 import android.hardware.usb.UsbManager;
61 private static final String ACTION_OPEN_IN_APPS = "com.android.server.usb.ACTION_OPEN_IN_APPS";
  /system/core/fastboot/
usbtest.cpp 36 #include "usb.h"
89 int test_null(Transport* usb)
98 if (usb->Write(buf, arg_size) != static_cast<int>(arg_size)) {
108 int test_zero(Transport* usb)
116 if (usb->Read(buf, arg_size) != static_cast<int>(arg_size)) {
130 int (*test)(Transport* usb);
180 Transport* usb; local
193 usb = usb_open(tests[i].match);
195 if(usb == 0) {
200 if(tests[i].test(usb)) {
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
MtpHostTestActivity.java 17 package com.android.cts.verifier.usb;
29 import android.hardware.usb.UsbConstants;
30 import android.hardware.usb.UsbDevice;
31 import android.hardware.usb.UsbDeviceConnection;
32 import android.hardware.usb.UsbInterface;
33 import android.hardware.usb.UsbManager;
99 "com.android.cts.verifier.usb.ACTION_PERMISSION_GRANTED";
  /external/aac/libFDK/include/
qmf.h 167 int usb; /*!< Top of high subbands */ member in struct:QMF_FILTER_BANK
205 int usb, /*!< Number of upper bands */
223 int usb, /*!< Number of upper bands */
  /system/core/adb/
transport.h 80 // USB handle or socket fd as needed.
81 usb_handle* usb = nullptr; member in class:atransport
170 void unregister_usb_transport(usb_handle* usb);
  /cts/hostsidetests/usb/src/com/android/cts/usb/
TestUsbTest.java 16 package com.android.cts.usb;
39 * Functional tests for usb connection
44 private static final String PACKAGE_NAME = "com.android.cts.usb.serialtest";
77 * Check if adb serial number, USB serial number, ro.serialno, and android.os.Build.SERIAL
107 assertEquals("usb serial != adb serial" , usbSerial, adbSerial);
132 assertEquals("usb serial != Build.SERIAL" , usbSerial, buildSerial);
  /development/python-packages/adb/
device.py 129 """Get the unique USB-connected AndroidDevice if it is available.
133 0 or multiple devices are connected via USB.
136 An AndroidDevice associated with the unique USB-connected device.
397 def usb(self): member in class:AndroidDevice
398 return self._simple_call(['usb'])

Completed in 395 milliseconds

1 2 3 4