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...]
  /system/core/adb/
adb_trace.h 33 USB,
usb_osx.cpp 17 #define TRACE_TAG USB
25 #include <IOKit/usb/IOUSBLib.h>
67 for (auto& usb : g_usb_handles) {
68 if (usb->devpath == devpath) {
70 usb->mark = true;
81 for (auto& usb : g_usb_handles) {
82 if (!usb->mark) {
83 usb_kick_locked(usb.get());
85 usb->mark = false;
104 LOG(ERROR) << "couldn't create USB matching dictionary"
    [all...]
adb_trace.cpp 126 {"usb", USB},
usb_windows.cpp 17 #define TRACE_TAG USB
35 /** Structure usb_handle describes our connection to the usb device via
44 /// Previous entry in the list of opened usb handles
47 /// Next entry in the list of opened usb handles
50 /// Handle to USB interface
53 /// Handle to USB read pipe (endpoint)
56 /// Handle to USB write pipe (endpoint)
69 /// List of opened usb handles
75 /// Locker for the list of opened usb handles
78 /// Checks if there is opened usb handle in handle_list for this device
124 usb_handle* usb; local
    [all...]
usb_linux.cpp 17 #define TRACE_TAG USB
25 #include <linux/usb/ch9.h>
51 /* usb scan debugging is waaaay too verbose */
89 for (usb_handle* usb : g_usb_handles) {
90 if (usb->path == dev_name) {
92 usb->mark = true;
102 for (usb_handle* usb : g_usb_handles) {
103 if (!usb->mark) {
104 usb_kick(usb);
106 usb->mark = false
    [all...]
usb_linux_client.cpp 17 #define TRACE_TAG USB
24 #include <linux/usb/ch9.h>
25 #include <linux/usb/functionfs.h>
244 struct usb_handle *usb = (struct usb_handle *)x; local
247 adb_thread_setname("usb open");
250 // wait until the USB device needs opening
251 adb_mutex_lock(&usb->lock);
252 while (!usb->open_new_connection) {
253 adb_cond_wait(&usb->notify, &usb->lock)
465 struct usb_handle *usb = (struct usb_handle *)x; local
    [all...]
  /device/google/accessory/arduino/AndroidAccessory/
AndroidAccessory.h 32 USB usb; member in class:AndroidAccessory
  /external/autotest/server/site_tests/firmware_TypeCProbeUSB3/
firmware_TypeCProbeUSB3.py 5 """This is a USB type C USB3 probing test using Plankton board."""
15 """USB type C USB3 probing test."""
25 """Gets set from the list of USB devices and buses."""
38 @raise TestFail: If USB3 can't be found when switch to USB mode.
40 # Enumerate USB devices when charging.
45 # Enumerate USB devices when switching to DP.
53 # Enumerate USB devices when switching to USB3
54 self.plankton.set_usbc_mux('usb')
61 'Can\'t find new device when switching to USB '
66 logging.info('number of devices when switch to usb: %d'
    [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
  /hardware/bsp/intel/peripheral/audio/generic/primary/
hal.mk 29 # setting to build for primary audio or usb audio
31 # set -DTARGET_AUDIO_PRIMARY to 0 for USB audio
  /hardware/bsp/intel/peripheral/audio/generic/usb/
hal.mk 29 # setting to build for primary audio or usb audio
31 # set -DTARGET_AUDIO_PRIMARY to 0 for USB audio
33 LOCAL_MODULE := audio.usb.$(TARGET_DEVICE)
  /external/autotest/server/site_tests/audio_AudioRoutingUSB/
audio_AudioRoutingUSB.py 10 # After connecting/disconnecting the USB headset, we wait a while for the event
50 'connected. Make sure a USB headset is '
53 'connected to a USB port on the device')
56 'original one after the USB headset is '
  /external/autotest/client/cros/multimedia/
audio_extension_handler.py 69 The user-friendly name (e.g. "USB Microphone").
  /external/autotest/server/site_tests/platform_ServoPowerStateController/
platform_ServoPowerStateController.py 33 @param rec_on: True if DUT should boot from external USB stick as in
45 boot_source = ('USB' if boot_from_usb else
66 """Run test when USB stick is plugged in to servo."""
71 logging.info('Power DUT on in recovery mode, DUT shall boot from USB.')
83 'USB stick.')
92 # Power DUT on in non-recovery mode with USB stick plugged in.
102 """Run test when USB stick is not plugged in servo."""
113 # USB stick should be unplugged before the test.
150 @param usb_plugged_in: True if USB stick is plugged in servo.
  /external/pdfium/xfa/src/fgas/src/font/
fx_stdfontmgr.cpp     [all...]
fx_stdfontmgr.h 192 void GetUSBCSB(FXFT_Face pFace, FX_DWORD* USB, FX_DWORD* CSB);
  /external/vboot_reference/scripts/image_signing/
sign_official_build.sh 29 recovery (sign a USB recovery image)
34 usb (sign an image to boot directly from USB)
719 elif [[ "${TYPE}" == "usb" ]]; then
720 sign_image_file "USB" "${INPUT_IMAGE}" "${OUTPUT_IMAGE}" 2 \
  /packages/apps/TV/usbtuner/
Android.mk 13 # Build the apk. This generates an standalone apk for USB tuner
  /external/autotest/server/cros/multimedia/
remote_facade_factory.py 198 """"Creates a USB facade object."""
  /external/chromium-trace/catapult/devil/devil/android/
battery_utils.py 33 'dumpsys battery set ac 0 && dumpsys battery set usb 0'),
42 # energy coming from USB. Setting the power_supply offline just updates the
47 'chmod 644 /sys/class/power_supply/usb/online && '
48 'echo 1 > /sys/class/power_supply/usb/online && '
52 'chmod 644 /sys/class/power_supply/usb/online && '
53 'echo 0 > /sys/class/power_supply/usb/online && '
54 'dumpsys battery set ac 0 && dumpsys battery set usb 0'),
67 'dumpsys battery set ac 0 && dumpsys battery set usb 0'),
83 'dumpsys battery set ac 0 && dumpsys battery set usb 0'),
299 # If usb charging has been disabled, an extra line of header exists
    [all...]
  /development/build/
sdk.atree     [all...]

Completed in 721 milliseconds