/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
|
/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); 124 // the enabling of the adb USB function in the kernel [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
UsbEndpoint.java | 17 package android.hardware.usb; 25 * Endpoints are the channels for sending and receiving data over USB.
|
UsbAccessory.java | 17 package android.hardware.usb; 25 * A class representing a USB accessory, which is an external hardware component 26 * that communicates with an android application over USB. 27 * The accessory is the USB host and android the device side of the USB connection. 31 * The manufacturer, model and version strings are used by the USB Manager to choose 43 * <p>For more information about communicating with USB hardware, read the 44 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
UsbInterface.java | 17 package android.hardware.usb; 25 * USB devices can have one or more interfaces, each one providing a different 32 * <p>For more information about communicating with USB hardware, read the 33 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 69 * Some useful constants for USB classes can be found in {@link UsbConstants} 96 * Returns the number of {@link android.hardware.usb.UsbEndpoint}s this interface contains. 105 * Returns the {@link android.hardware.usb.UsbEndpoint} at the given index.
|
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...] |
UsbDevice.java | 17 package android.hardware.usb; 27 * This class represents a USB device attached to the android device with the android device 28 * acting as the USB host. 30 * {@link UsbEndpoint}s (the channels via which data is transmitted over USB). 33 * that describes the capabilities of the USB device. 40 * <p>For more information about communicating with USB hardware, read the 41 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 86 * IDs are not persistent across USB disconnects. 114 * Some useful constants for USB device classes can be found in {@link UsbConstants} [all...] |
UsbDeviceConnection.java | 17 package android.hardware.usb; 26 * This class is used for sending and receiving data and control messages to a USB device. 72 * Returns the raw USB descriptors for the device. 76 * @return raw USB descriptors 83 * Claims exclusive access to a {@link android.hardware.usb.UsbInterface}. 85 * {@link android.hardware.usb.UsbEndpoint}s belonging to the interface. 96 * Releases exclusive access to a {@link android.hardware.usb.UsbInterface}. 144 * Waits for the result of a {@link android.hardware.usb.UsbRequest#queue} operation 146 * {@link android.hardware.usb.UsbEndpoint}s. 147 * When multiple endpoints are in use, {@link android.hardware.usb.UsbRequest#getEndpoint} an [all...] |
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}
|
UsbManager.java | 18 package android.hardware.usb; 31 * This class allows you to access the state of USB and communicate with USB devices. 42 * <p>For more information about communicating with USB hardware, read the 43 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 50 * Broadcast Action: A sticky broadcast for USB state change events when in device mode. 52 * This is a sticky broadcast for clients that includes USB connected/disconnected state, 54 * <li> {@link #USB_CONNECTED} boolean indicating whether USB is connected or disconnected. 55 * <li> {@link #USB_CONFIGURED} boolean indicating whether USB is configured [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
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,
|
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;
|
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.UsbDevice; 27 import android.hardware.usb.UsbManager; 40 /* 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.UsbDevice; 30 import android.hardware.usb.UsbAccessory; 31 import android.hardware.usb.UsbManager;
|
UsbPermissionActivity.java | 17 package com.android.systemui.usb; 27 import android.hardware.usb.IUsbManager; 28 import android.hardware.usb.UsbDevice; 29 import android.hardware.usb.UsbAccessory; 30 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() */ 258 // will be hidden once USB mass storage kicks in (or fails)
|
/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...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbHostManager.java | 17 package com.android.server.usb; 25 import android.hardware.usb.IUsbManager; 26 import android.hardware.usb.UsbConstants; 27 import android.hardware.usb.UsbDevice; 28 import android.hardware.usb.UsbEndpoint; 29 import android.hardware.usb.UsbInterface; 30 import android.hardware.usb.UsbManager; 50 * UsbHostManager manages USB state in host mode. 56 // contains all connected USB devices 59 // USB busses to exclude from USB host suppor [all...] |