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

1 2

  /frameworks/base/media/libstagefright/codecs/aacdec/
sbr_reset_dec.cpp 141 Int usb; local
155 &usb);
168 usb,
209 usb = sbrDec->FreqBandTable[LOW_RES][sbrDec->NSfb[LOW_RES]];
212 sbrDec->highSubband = usb;
213 sbrDec->noSubbands = usb - lsb;
233 tmp_q1 = pv_log2((usb << 20) / lsb);
ps_stereo_processing.cpp 163 Int32 usb; local
186 usb = pms->usb;
324 maxSubband = min(usb, maxSubband);
s_ps_dec.h 70 Int32 usb; member in struct:PS_DEC
sbr_generate_high_freq.cpp 227 Int32 usb = v_k_master[numMaster]; /* Stop subband related to the synthesis filterbank */ local
352 while (targetStopBand < usb)
393 goalSb = usb;
  /device/google/accessory/arduino/AndroidAccessory/
AndroidAccessory.h 32 USB usb; member in class:AndroidAccessory
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbDisconnectedReceiver.java 17 package com.android.systemui.usb;
24 import android.hardware.usb.UsbAccessory;
25 import android.hardware.usb.UsbManager;
UsbAccessoryUriActivity.java 17 package com.android.systemui.usb;
26 import android.hardware.usb.UsbAccessory;
27 import android.hardware.usb.UsbManager;
37 * If the attached USB accessory has a URL associated with it, and that URL is valid,
UsbResolverActivity.java 17 package com.android.systemui.usb;
24 import android.hardware.usb.IUsbManager;
25 import android.hardware.usb.UsbAccessory;
26 import android.hardware.usb.UsbManager;
39 /* Activity for choosing an application for a USB device or accessory */
StorageNotification.java 17 package com.android.systemui.usb;
44 * The notification that is shown when a USB mass storage host
137 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class);
255 * Update the state of the USB mass storage notification
261 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class);
276 * Sets the USB storage notification.
325 // user has attached the device to USB either to charge the phone (in which case
331 // developer (a) knows how to enable UMS, and (b) is probably using USB to install
UsbConfirmActivity.java 17 package com.android.systemui.usb;
28 import android.hardware.usb.IUsbManager;
29 import android.hardware.usb.UsbAccessory;
30 import android.hardware.usb.UsbManager;
UsbPermissionActivity.java 17 package com.android.systemui.usb;
27 import android.hardware.usb.IUsbManager;
28 import android.hardware.usb.UsbAccessory;
29 import android.hardware.usb.UsbManager;
UsbStorageActivity.java 17 package com.android.systemui.usb;
33 import android.hardware.usb.UsbManager;
56 * This activity is shown to the user for him/her to enable USB mass storage
57 * on-demand (that is, when the USB cable is connected). It uses the alert
82 /** Used to detect when the USB cable is unplugged, so we can call finish() */
263 // will be hidden once USB mass storage kicks in (or fails)
  /system/core/adb/
usb_linux_client.c 47 struct usb_handle *usb = (struct usb_handle *)x; local
51 // wait until the USB device needs opening
52 adb_mutex_lock(&usb->lock);
53 while (usb->fd != -1)
54 adb_cond_wait(&usb->notify, &usb->lock);
55 adb_mutex_unlock(&usb->lock);
72 usb->fd = fd;
75 register_usb_transport(usb, 0, 1);
123 // the enabling of the adb USB function in the kernel
    [all...]
usb_libusb.c 329 D("register_device(): Registering %p [%s] as USB transport\n",
332 struct usb_handle *usb= NULL; local
334 usb = calloc(1, sizeof(struct usb_handle));
335 memcpy(usb, uh, sizeof(struct usb_handle));
336 strcpy(usb->serial, uh->serial);
338 adb_cond_init(&usb->notify, 0);
339 adb_mutex_init(&usb->lock, 0);
343 usb->next = &handle_list;
344 usb->prev = handle_list.prev;
345 usb->prev->next = usb
358 struct usb_handle *usb= NULL; local
562 struct usb_handle *usb= NULL; local
    [all...]
usb_windows.c 29 /** Structure usb_handle describes our connection to the usb device via
34 /// Previous entry in the list of opened usb handles
37 /// Next entry in the list of opened usb handles
40 /// Handle to USB interface
43 /// Handle to USB read pipe (endpoint)
46 /// Handle to USB write pipe (endpoint)
59 /// List of opened usb handles
65 /// Locker for the list of opened usb handles
68 /// Checks if there is opened usb handle in handle_list for this device.
71 /// Checks if there is opened usb handle in handle_list for this device
117 usb_handle* usb; local
    [all...]
usb_linux.c 33 #include <linux/usb/ch9.h>
45 /* usb scan debugging is waaaay too verbose */
87 usb_handle *usb; local
90 for(usb = handle_list.next; usb != &handle_list; usb = usb->next){
91 if(!strcmp(usb->fname, dev_name)) {
93 usb->mark = 1;
104 usb_handle *usb; local
539 usb_handle* usb = 0; local
    [all...]
  /frameworks/base/core/java/android/hardware/usb/
UsbAccessory.java 17 package android.hardware.usb;
25 * A class representing a USB accessory.
UsbManager.java 18 package android.hardware.usb;
34 * This class allows you to access the state of USB.
48 * Broadcast Action: A sticky broadcast for USB state change events when in device mode.
50 * This is a sticky broadcast for clients that includes USB connected/disconnected state,
52 * <li> {@link #USB_CONNECTED} boolean indicating whether USB is connected or disconnected.
54 * is the name of a USB function and the value is either {@link #USB_FUNCTION_ENABLED}
61 "android.hardware.usb.action.USB_STATE";
64 * Broadcast Action: A broadcast for USB accessory attached event.
66 * This intent is sent when a USB accessory is attached.
68 * <li> {@link #EXTRA_ACCESSORY} containing the {@link android.hardware.usb.UsbAccessory
    [all...]
  /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...]
  /system/core/fastboot/
usbtest.c 36 #include "usb.h"
89 int test_null(usb_handle *usb)
98 if(usb_write(usb, buf, arg_size) != arg_size) {
108 int test_zero(usb_handle *usb)
116 if(usb_read(usb, buf, arg_size) != 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...]
usb_linux.c 46 #include <linux/usb/ch9.h>
52 #include "usb.h"
199 usb_handle *usb = 0; local
212 while((de = readdir(busdir)) && (usb == 0)) {
220 while((de = readdir(devdir)) && (usb == 0)) {
240 usb = calloc(1, sizeof(usb_handle));
241 strcpy(usb->fname, devname);
242 usb->ep_in = in;
243 usb->ep_out = out;
244 usb->desc = fd
    [all...]
fastboot.c 53 static usb_handle *usb = 0; variable
188 static usb_handle *usb = 0; local
191 if(usb) return usb;
194 usb = usb_open(match_fastboot);
195 if(usb) return usb;
205 // We don't actually open a USB device here,
234 " -i <vendor id> specify a custom USB vendor id\n"
704 usb = open_device()
    [all...]
  /frameworks/base/services/java/com/android/server/usb/
UsbService.java 17 package com.android.server.usb;
26 import android.hardware.usb.IUsbManager;
27 import android.hardware.usb.UsbAccessory;
28 import android.hardware.usb.UsbManager;
51 * UsbService monitors for changes to USB state.
52 * This includes code for both USB host support (where the android device is the host)
53 * as well as USB device support (android device is connected to a USB host).
54 * Accessory mode is a special case of USB device mode, where the android device is
55 * connected to a USB host that supports the android accessory protocol
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
edd.h 136 } __attribute__ ((packed)) usb; member in union:edd_device_params::__anon14352

Completed in 725 milliseconds

1 2