/external/libusb/libusb/os/ |
darwin_usb.h | 26 #include <IOKit/usb/IOUSBLib.h>
|
/external/libusb_aah/libusb/os/ |
darwin_usb.h | 27 #include <IOKit/usb/IOUSBLib.h>
|
/frameworks/base/core/java/android/hardware/usb/ |
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; 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; 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}. 199 * Waits for the result of a {@link android.hardware.usb.UsbRequest#queue} operation 201 * {@link android.hardware.usb.UsbEndpoint}s. 202 * When multiple endpoints are in use, {@link android.hardware.usb.UsbRequest#getEndpoint} an [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbService.java | 17 package com.android.server.usb; 25 import android.hardware.usb.IUsbManager; 26 import android.hardware.usb.UsbAccessory; 27 import android.hardware.usb.UsbDevice; 41 * UsbService manages all USB related state, including both host and device support. 124 /* Returns a list of all currently attached USB devices (host mdoe) */ 132 /* Opens the specified USB device (host mode) */ 142 /* returns the currently attached USB accessory (device mode) */ 152 /* opens the currently attached USB accessory (device mode) */ 231 throw new IllegalStateException("USB device mode not supported") [all...] |
/system/core/adb/ |
Android.mk | 12 # Default to a virtual (sockets) usb interface 50 LOCAL_C_INCLUDES += development/host/windows/usb/api/
|
adb.h | 155 ** connects through TCP (for the emulator), while a "usb transport" through 156 ** USB (for real devices) 190 /* usb handle or socket fd as needed */ 191 usb_handle *usb; member in struct:atransport 289 void init_usb_transport(atransport *t, usb_handle *usb, int state); 304 void unregister_usb_transport(usb_handle *usb); 445 /* usb host/client interface */ 453 /* used for USB device detection */ 481 #define USB_FFS_ADB_PATH "/dev/usb-ffs/adb/"
|
/bootable/recovery/minadbd/ |
adb.h | 149 ** connects through TCP (for the emulator), while a "usb transport" through 150 ** USB (for real devices) 181 /* usb handle or socket fd as needed */ 182 usb_handle *usb; member in struct:atransport 248 void init_usb_transport(atransport *t, usb_handle *usb, int state); 263 void unregister_usb_transport(usb_handle *usb); 381 /* usb host/client interface */ 389 /* used for USB device detection */
|
transport.c | 702 void register_usb_transport(usb_handle *usb, const char *serial, unsigned writeable) 705 D("transport: %p init'ing for usb_handle %p (sn='%s')\n", t, usb, 707 init_usb_transport(t, usb, (writeable ? CS_OFFLINE : CS_NOPERM)); 715 void unregister_usb_transport(usb_handle *usb) 720 if (t->usb == usb && t->connection_state == CS_NOPERM) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
UsbAccessoryTestActivity.java | 17 package com.android.cts.verifier.usb; 32 import android.hardware.usb.UsbAccessory; 33 import android.hardware.usb.UsbManager; 52 * Test for USB accessories. The test activity interacts with a cts-usb-accessory program that 62 "com.android.cts.verifier.usb.USB_PERMISSION";
|
/external/aac/libSBRdec/src/ |
sbr_dec.cpp | 233 hSbrDec->AnalysiscQMF.usb, 248 hSbrDec->SynthesisQMF.usb, 577 synQmfRight->usb = synQmf->usb; 696 Even bands above usb are copied to avoid outdated spectral data in case 810 hs->SynthesisQMF.usb, [all...] |
sbrdec_freq_sca.cpp | 715 int k2,kx, lsb, usb; local 746 usb = hFreq->freqBandTable[0][nBandsLo]; 749 if ( (lsb > (32)) || (lsb >= usb) ) { 802 hFreq->highSubband = usb;
|
lpp_tran.cpp | 279 Possible optimization: Clearing bands up to usb would be sufficient here. */ 763 const int usb, /*!< Highband area stop subband */ 799 usb, 845 UCHAR usb, /*!< High band area: stop subband */ 864 usb = fixMin(usb, v_k_master[numMaster]); /* Avoid endless loops (compare with float code). */ 903 while(targetStopBand < usb) { [all...] |
/external/libmtp/src/ |
libusb-glue.h | 3 * Low-level USB interface glue towards libusb. 34 #include <usb.h> 47 * Internal USB struct.
|
/system/core/include/usbhost/ |
usbhost.h | 28 #include <linux/usb/ch9.h> 54 /* Callback for notification when new USB devices are attached. 59 /* Callback for notification when USB devices are removed. 69 /* Call this to initialize the USB host library. */ 72 /* Call this to cleanup the USB host library. */ 78 /* Call this to initialize the usb host context. */ 85 /* Call this to read and handle occuring usb event. */ 88 /* Call this to monitor the USB bus for new and removed devices. 91 * added_cb will be called immediately for each existing USB device, 93 * removed_cb is called when USB devices are removed from the bus [all...] |
/external/sepolicy/ |
property_contexts | 14 sys.usb.config u:object_r:radio_prop:s0
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
AccessoryChat.java | 36 import android.hardware.usb.UsbManager; 37 import android.hardware.usb.UsbAccessory;
|
/hardware/libhardware/modules/audio/ |
Android.mk | 22 # required type is 'primary'. Other possibilites are 'a2dp', 'usb', etc.
|
/system/core/fastboot/ |
Android.mk | 49 LOCAL_C_INCLUDES += development/host/windows/usb/api
|
/external/aac/libSBRenc/src/ |
ton_corr.cpp | 122 INT usb, /*!< upper side band, highest + 1 QMF band in the SBR range. */ 175 for (r = 0; r < usb; r++) 514 INT usb = v_k_master[numMaster]; /* Stop subband related to the synthesis filterbank */ 538 while(targetStopBand < usb) { 579 goalSb = usb; [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
Tethering.java | 28 import android.hardware.usb.UsbManager; 112 // USB is 192.168.42.1 and 255.255.255.0 134 private boolean mUsbTetherRequested; // true if USB tethering should be started 213 boolean usb = false; 219 usb = true; 228 sm = new TetherInterfaceSM(iface, mLooper, usb); 280 boolean usb = false; 287 usb = true; 302 sm = new TetherInterfaceSM(iface, mLooper, usb); 544 Log.e(TAG, "unable start or stop USB tethering") [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 17 package com.android.systemui.usb; 46 * The notification that is shown when a USB mass storage host 140 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 258 * Update the state of the USB mass storage notification 264 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 279 * Sets the USB storage notification. 329 // user has attached the device to USB either to charge the phone (in which case 335 // developer (a) knows how to enable UMS, and (b) is probably using USB to install
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Memory.java | 30 import android.hardware.usb.UsbManager; 177 final MenuItem usb = menu.findItem(R.id.storage_usb); local 181 usb.setVisible(usbItemVisible);
|
/cts/apps/cts-usb-accessory/ |
cts-usb-accessory.c | 30 #include <linux/usb/f_accessory.h> 153 send_string(device, ACCESSORY_STRING_MODEL, "CTS USB Accessory"); 154 send_string(device, ACCESSORY_STRING_DESCRIPTION, "CTS USB Accessory"); 183 printf("CTS USB Accessory Tester\n");
|