HomeSort by relevance Sort by last modified time
    Searched refs:USB (Results 1 - 24 of 24) sorted by null

  /device/google/accessory/arduino/USB_Host_Shield/
Usb.h 3 * MAX3421E USB host controller support
30 /* USB functions */
46 #define USB_XFER_TIMEOUT 5000 //USB transfer timeout in milliseconds, per section 9.2.6.1 of USB 2.0 spec
52 #define USB_NUMDEVICES 2 //number of USB devices
54 /* USB state machine states */
74 /* USB Setup Packet Structure */
116 class USB : public MAX3421E {
128 USB( void );
161 inline byte USB::getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit ) {
    [all...]
Usb.cpp 3 * MAX3421E USB host controller support
30 /* USB functions */
32 #include "Usb.h"
42 USB::USB () {
47 void USB::init()
59 byte USB::getUsbTaskState( void )
63 void USB::setUsbTaskState( byte state )
67 EP_RECORD* USB::getDevTableEntry( byte addr, byte ep )
76 void USB::setDevTableEntry( byte addr, EP_RECORD* eprecord_ptr )
    [all...]
  /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)) {
  /device/lge/mako/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)) {
  /device/google/accessory/arduino/AndroidAccessory/
AndroidAccessory.h 32 USB usb; member in class:AndroidAccessory
  /external/chromium_org/chrome/browser/resources/cryptotoken/
usbhelper.js 6 * @fileoverview Implements a helper using USB gnubbies.
gnubbydevice.js 11 * Low level gnubby 'driver'. One per physical USB device.
16 // Commands of the USB interface.
33 /** USB test */
76 // chrome.usb-related errors.
123 * Gets the list of USB devices permitted by this app.
124 * @param {function(!Array.<!UsbDeviceSpec>)} cb Called back with a list of USB
usbsignhandler.js 6 * @fileoverview Implements a sign handler using USB gnubbies.
141 this.cb_(reply, 'USB');
gnubby.js 6 * @fileoverview Provides a client view of a gnubby, aka USB security key.
474 * Ensures this device has temporary ownership of the USB device, by:
559 // Pick a random cid to try to prevent collisions on the USB bus.
646 // Max timeout usb firmware has for smartcard response is 30 seconds.
748 // delay-in-ms before disabling usb (aka remove),
750 /** Send usb test command
usbenrollhandler.js 6 * @fileoverview Implements an enroll handler using USB gnubbies.
hidgnubbydevice.js 11 * Low level gnubby 'driver'. One per physical USB device.
240 // The usb firmware is to alway respond to SYNC/INIT,
266 // Set tracking time to be .1 seconds longer than usb device does.
usbgnubbydevice.js 6 * @fileoverview Implements a low-level gnubby driver based on chrome.usb.
11 * Low level gnubby 'driver'. One per physical USB device.
14 * @param {!chrome.usb.ConnectionHandle} dev The device.
43 UsbGnubbyDevice.NAMESPACE = 'usb';
79 chrome.usb.releaseInterface(dev, 0, function() {
87 chrome.usb.closeDevice(dev, function() {
178 chrome.usb.bulkTransfer(
179 /** @type {!chrome.usb.ConnectionHandle} */(this.dev),
269 chrome.usb.bulkTransfer(
270 /** @type {!chrome.usb.ConnectionHandle} */(this.dev)
    [all...]
  /hardware/ti/omap4xxx/camera/
Android.mk 6 # OMAP4_CAMERA_HAL_USES:= USB
96 ifeq ($(OMAP4_CAMERA_HAL_USES),USB)
99 # USB Camera Adapter
  /hardware/ti/omap4-aah/camera/
Android.mk 6 # A@H customization: only select USB camera support
7 OMAP4_CAMERA_HAL_USES := USB
160 ifeq ($(OMAP4_CAMERA_HAL_USES),USB)
164 # USB Camera Adapter
  /external/chromium_org/third_party/usb_ids/
usb.ids 2 # List of USB ID's
4 # Maintained by Stephen J. Gowdy <linux.usb.ids@gmail.com>
6 # http://www.linux-usb.org/usb-ids.html
10 # http://www.linux-usb.org/usb.ids
32 0006 Generic USB Joystick
47 bc06 OCZ ATV USB 2.0 Flash Drive
48 bc08 OCZ Rally2/ATV USB 2.0 Flash Drive
50 ac02 ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Driv
    [all...]
  /external/chromium_org/ash/system/chromeos/power/
power_status_view_unittest.cc 138 prop.set_external_power(PowerSupplyProperties::USB);
147 // Tricky -- connected to non-USB but still discharging. Not likely happening
198 prop.set_external_power(PowerSupplyProperties::USB);
205 // Tricky -- connected to non-USB but still discharging. Not likely happening
  /external/chromium_org/build/android/buildbot/
bb_device_status_check.py 218 print ('ERROR: Could not restart usb. /usr/bin/restart_usb not installed '
225 print ('Error: Could not get list of USB ports (i.e. lsusb).')
232 # Walk USB devices from leaves up (i.e reverse sorted) restarting the
233 # connection. If a parent node (e.g. usb hub) is restarted before the
237 # Can not restart root usb connections
241 print 'Error restarting USB device /dev/bus/usb/%s/%s' % (bus, dev)
244 print 'Restarted USB device /dev/bus/usb/%s/%s' % (bus, dev)
282 parser.add_option('--restart-usb', action='store_true'
    [all...]
  /external/arduino/hardware/arduino/cores/arduino/
HardwareSerial.cpp 132 #warning Serial(0) is on USB interface
  /external/chromium_org/remoting/webapp/
client_plugin_impl.js 665 * @param {number} usbKeycode The USB-style code of the key to inject.
678 * Remap one USB keycode to another in all subsequent key events.
680 * @param {number} fromKeycode The USB-style code of the key to remap.
681 * @param {number} toKeycode The USB-style code to remap the key to.
695 * @param {number} keycode The USB-style code of the key.
  /development/build/
sdk.atree 377 development/samples/USB/MissileLauncher samples/${PLATFORM_NAME}/legacy/USB/MissileLauncher
378 development/samples/USB/AdbTest samples/${PLATFORM_NAME}/legacy/USB/AdbTest
    [all...]
  /external/chromium_org/content/browser/gamepad/
xbox_data_fetcher_mac.cc 14 #include <IOKit/usb/IOUSBLib.h>
15 #include <IOKit/usb/USB.h>
349 // There should be exactly one USB interface which matches the requested
370 // Release the USB interface, and any subsequent interfaces returned by the
439 // one USB hub and attached to another, the location ID will change).
527 // Length in packet doesn't match length reported by USB.
  /external/chromium_org/chrome/browser/resources/chromeos/
image_burner.js 25 cssState: 'device-detected-usb warning',
120 // default to display a USB device.
  /external/chromium_org/ui/file_manager/file_manager/background/js/
volume_manager.js 8 * Represents each volume, such as "drive", "download directory", each "USB
15 * @param {?string} deviceType The type of device ('usb'|'sd'|'optical'|'mobile'
  /frameworks/base/docs/html/guide/
guide_toc.cs 452 <div class="nav-section-header"><a href="<?cs var:toroot?>guide/topics/connectivity/usb/index.html">
453 <span class="en">USB</span></a>
456 <li><a href="<?cs var:toroot ?>guide/topics/connectivity/usb/accessory.html">Accessory</a></li>
457 <li><a href="<?cs var:toroot ?>guide/topics/connectivity/usb/host.html">Host</a></li>

Completed in 2770 milliseconds