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

1 2 3

  /cts/hostsidetests/usb/SerialTestApp/src/com/android/cts/usb/serialtest/
UsbSerialTest.java 17 package com.android.cts.usb.serialtest;
  /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;
25 * This class is used for sending and receiving data and control messages to a USB device.
71 * Returns the raw USB descriptors for the device.
75 * @return raw USB descriptors
82 * Claims exclusive access to a {@link android.hardware.usb.UsbInterface}.
84 * {@link android.hardware.usb.UsbEndpoint}s belonging to the interface.
95 * Releases exclusive access to a {@link android.hardware.usb.UsbInterface}.
104 * Sets the current {@link android.hardware.usb.UsbInterface}.
114 * Sets the device's current {@link android.hardware.usb.UsbConfiguration}.
218 * 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}
UsbDevice.java 17 package android.hardware.usb;
23 * This class represents a USB device attached to the android device with the android device
24 * acting as the USB host.
26 * {@link UsbEndpoint}s (the channels via which data is transmitted over USB).
29 * that describes the capabilities of the USB device.
36 * <p>For more information about communicating with USB hardware, read the
37 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
130 * IDs are not persistent across USB disconnects.
158 * Some useful constants for USB device classes can be found in {@link UsbConstants}
    [all...]
  /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;
26 import android.hardware.usb.UsbManager;
  /device/asus/flo/charger_touch/
charger_touch.c 26 const char* USB = "change@/devices/platform/msm_ssbi.0/pm8921-core/pm8921-charger/power_supply/usb";
69 char wlc[2], usb[2], ac[2]; local
73 memset(usb, 0, 2);
84 } else if (!strncmp(str, USB, strlen(USB))) {
85 snprintf(path, sizeof(path), "%s/usb/online", POWER_SUPPLY_PATH);
86 read_path(path, usb, 1);
91 if (!strncmp(usb, "1", 1)) {
  /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;
  /system/core/fastboot/
protocol.c 50 static int check_response(usb_handle *usb, unsigned int size, char *response)
56 r = usb_read(usb, status, 64);
59 usb_close(usb);
66 usb_close(usb);
95 usb_close(usb);
102 usb_close(usb);
109 static int _command_start(usb_handle *usb, const char *cmd, unsigned size,
123 if(usb_write(usb, cmd, cmdsize) != cmdsize) {
125 usb_close(usb);
129 return check_response(usb, size, response)
226 usb_handle *usb = priv; local
    [all...]
usbtest.c 36 #include "usb.h"
89 int test_null(usb_handle *usb)
98 if(usb_write(usb, buf, arg_size) != (int)arg_size) {
108 int test_zero(usb_handle *usb)
116 if(usb_read(usb, buf, arg_size) != (int)arg_size) {
130 int (*test)(usb_handle *usb);
180 usb_handle *usb; local
193 usb = usb_open(tests[i].match);
195 if(usb == 0) {
200 if(tests[i].test(usb)) {
    [all...]
  /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/
adb_main.cpp 259 ** AID_ADB to access the USB driver
302 int usb = 0; local
304 // listen on USB
306 usb = 1;
310 // If one of the properties isn't set and we couldn't listen on usb,
320 } else if (!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);
  /external/aac/libSBRdec/src/
sbrdec_freq_sca.cpp 722 int k2,kx, lsb, usb; local
753 usb = hFreq->freqBandTable[0][nBandsLo];
756 if ( (lsb > (32)) || (lsb >= usb) ) {
809 hFreq->highSubband = usb;

Completed in 286 milliseconds

1 2 3