/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
UsbConnectionBroadcastReceiverTest.java | 16 package com.android.settings.connecteddevice.usb; 24 import android.hardware.usb.UsbManager; 25 import android.hardware.usb.UsbPort; 26 import android.hardware.usb.UsbPortStatus;
|
UsbDetailsDataRoleControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 27 import android.hardware.usb.UsbManager; 28 import android.hardware.usb.UsbPort;
|
UsbDetailsFunctionsControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 27 import android.hardware.usb.UsbManager; 28 import android.hardware.usb.UsbPort;
|
UsbDetailsPowerRoleControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 28 import android.hardware.usb.UsbManager; 29 import android.hardware.usb.UsbPort;
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
AoapInterface.java | 14 package android.car.usb.handler; 16 import android.hardware.usb.UsbConstants; 17 import android.hardware.usb.UsbDevice; 18 import android.hardware.usb.UsbDeviceConnection;
|
UsbDeviceSettings.java | 16 package android.car.usb.handler; 19 import android.hardware.usb.UsbDevice; 22 * Settings for USB device.
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
AoapInterface.java | 16 package com.google.android.car.kitchensink.setting.usb; 18 import android.hardware.usb.UsbConstants; 19 import android.hardware.usb.UsbDevice; 20 import android.hardware.usb.UsbDeviceConnection;
|
UsbDeviceSettings.java | 16 package com.google.android.car.kitchensink.setting.usb; 19 import android.hardware.usb.UsbDevice; 24 * Settings for USB device.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
UsbAccessoryTestActivity.java | 17 package com.android.cts.verifier.usb.accessory; 19 import static com.android.cts.verifier.usb.Util.runAndAssertException; 26 import android.hardware.usb.UsbAccessory; 27 import android.hardware.usb.UsbManager; 54 * Guide the user to run test for the USB accessory interface. 218 "Output USB accesory transfer speed", 239 "Input USB accesory transfer speed",
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/ |
MtpHostTestActivity.java | 17 package com.android.cts.verifier.usb.mtp; 29 import android.hardware.usb.UsbConstants; 30 import android.hardware.usb.UsbDevice; 31 import android.hardware.usb.UsbDeviceConnection; 32 import android.hardware.usb.UsbInterface; 33 import android.hardware.usb.UsbManager; 100 "com.android.cts.verifier.usb.ACTION_PERMISSION_GRANTED";
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
TestUsbTest.java | 16 package com.android.cts.usb; 45 * Functional tests for usb connection 50 private static final String PACKAGE_NAME = "com.android.cts.usb.serialtest"; 118 * Check if adb serial number, USB serial number, ro.serialno, and android.os.Build.SERIAL 129 * Check if adb serial number, USB serial number, ro.serialno, and android.os.Build.SERIAL 162 assertEquals("usb serial != adb serial" , usbSerial, adbSerial); 180 assertEquals("usb serial != Build.SERIAL" , usbSerial, buildSerial);
|
/development/python-packages/adb/ |
device.py | 131 """Get the unique USB-connected AndroidDevice if it is available. 135 0 or multiple devices are connected via USB. 138 An AndroidDevice associated with the unique USB-connected device. 453 def usb(self): member in class:AndroidDevice 454 return self._simple_call(['usb'])
|
/device/google/marlin/usb/ |
Usb.cpp | 17 #define LOG_TAG "android.hardware.usb@1.1-service" 36 #include "Usb.h" 40 namespace usb { namespace in namespace:android::hardware 135 const PortRole &newRole, struct Usb *usb) { 152 pthread_mutex_lock(&usb->mPartnerLock); 153 usb->mPartnerUp = false; 166 int err = pthread_cond_timedwait(&usb->mPartnerCV, &usb->mPartnerLock, &to); 171 } else if (!usb->mPartnerUp) 484 android::hardware::usb::V1_1::implementation::Usb *usb; member in struct:android::hardware::usb::V1_1::implementation::data [all...] |
/external/aac/libSBRdec/src/ |
sbrdec_freq_sca.cpp | 745 int k2, kx, lsb, usb; local 778 usb = hFreq->freqBandTable[0][nBandsLo]; 787 if ((lsb > ((flags & SBRDEC_QUAD_RATE) ? 16 : (32))) || (lsb >= usb)) { 832 hFreq->highSubband = usb;
|
/external/libxaac/decoder/ |
ixheaacd_ps_dec.h | 84 WORD16 usb; member in struct:__anon26595 155 VOID ixheaacd_init_rot_env(ia_ps_dec_struct *ptr_ps_dec, WORD16 env, WORD16 usb,
|
/frameworks/base/core/java/android/hardware/usb/ |
DeviceFilter.java | 17 package android.hardware.usb; 20 import android.service.usb.UsbDeviceFilterProto; 33 * This class is used to describe a USB device. 43 // USB Vendor ID (or -1 for unspecified) 45 // USB Product ID (or -1 for unspecified) 47 // USB device or interface class (or -1 for unspecified) 49 // USB device subclass (or -1 for unspecified) 51 // USB device protocol (or -1 for unspecified) 53 // USB device manufacturer name string (or null for unspecified) 55 // USB device product name string (or null for unspecified [all...] |
UsbDevice.java | 17 package android.hardware.usb; 26 * This class represents a USB device attached to the android device with the android device 27 * acting as the USB host. 29 * {@link UsbEndpoint}s (the channels via which data is transmitted over USB). 32 * that describes the capabilities of the USB device. 39 * <p>For more information about communicating with USB hardware, read the 40 * <a href="{@docRoot}guide/topics/connectivity/usb/index.html">USB</a> developer guide.</p> 135 * IDs are not persistent across USB disconnects. 163 * Some useful constants for USB device classes can be found in {@link UsbConstants} [all...] |
UsbDeviceConnection.java | 17 package android.hardware.usb; 37 * This class is used for sending and receiving data and control messages to a USB device. 106 * Returns the raw USB descriptors for the device. 110 * @return raw USB descriptors 117 * Claims exclusive access to a {@link android.hardware.usb.UsbInterface}. 119 * {@link android.hardware.usb.UsbEndpoint}s belonging to the interface. 130 * Releases exclusive access to a {@link android.hardware.usb.UsbInterface}. 139 * Sets the current {@link android.hardware.usb.UsbInterface}. 149 * Sets the device's current {@link android.hardware.usb.UsbConfiguration}. 264 * Reset USB port for the connected device [all...] |
UsbPort.java | 17 package android.hardware.usb; 19 import android.hardware.usb.V1_0.Constants; 26 * Represents a physical USB port and describes its characteristics. 39 * Mode bit: This USB port can act as a downstream facing port (host). 48 * Mode bit: This USB port can act as an upstream facing port (device). 57 * Mode bit: This USB port can act either as an downstream facing port (host) or as 68 * Mode bit: This USB port can support USB Type-C Audio accessory. 71 android.hardware.usb.V1_1.Constants.PortMode_1_1.AUDIO_ACCESSORY; 74 * Mode bit: This USB port can support USB Type-C debug accessory [all...] |
UsbRequest.java | 17 package android.hardware.usb; 31 * A class representing USB request packet. 33 * {@link android.hardware.usb.UsbDeviceConnection}. 46 // From drivers/usb/core/devio.c 146 * {@link android.hardware.usb.UsbDeviceConnection#requestWait} 159 * {@link android.hardware.usb.UsbDeviceConnection#requestWait} 254 // Null buffers enqueue empty USB requests which is supported
|
/frameworks/base/core/java/com/android/internal/notification/ |
SystemNotificationChannels.java | 49 public static String USB = "USB"; 146 final NotificationChannel usb = new NotificationChannel( local 147 USB, 150 channelsList.add(usb);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbConfirmActivity.java | 17 package com.android.systemui.usb; 26 import android.hardware.usb.IUsbManager; 27 import android.hardware.usb.UsbAccessory; 28 import android.hardware.usb.UsbDevice; 29 import android.hardware.usb.UsbManager;
|
UsbDebuggingActivity.java | 17 package com.android.systemui.usb; 26 import android.hardware.usb.IUsbManager; 27 import android.hardware.usb.UsbManager; 164 Log.e(TAG, "Unable to notify Usb service", e);
|
UsbPermissionActivity.java | 17 package com.android.systemui.usb; 30 import android.hardware.usb.IUsbManager; 31 import android.hardware.usb.UsbAccessory; 32 import android.hardware.usb.UsbDevice; 33 import android.hardware.usb.UsbManager; 49 import android.hardware.usb.AccessoryFilter; 50 import android.hardware.usb.DeviceFilter; 141 * Can the app be the default for the USB device. I.e. can the app be launched by default if 164 if ("usb-device".equals(parser.getName())) { 183 * Can the app be the default for the USB accessory. I.e. can the app be launched by default i [all...] |
UsbResolverActivity.java | 17 package com.android.systemui.usb; 22 import android.hardware.usb.IUsbManager; 23 import android.hardware.usb.UsbAccessory; 24 import android.hardware.usb.UsbDevice; 25 import android.hardware.usb.UsbManager; 43 /* Activity for choosing an application for a USB device or accessory */
|