/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
UsbDetailsPowerRoleController.java | 17 package com.android.settings.connecteddevice.usb; 20 import android.hardware.usb.UsbPort; 31 * This class controls the switch for changing USB power direction.
|
UsbConnectionBroadcastReceiver.java | 16 package com.android.settings.connecteddevice.usb; 22 import android.hardware.usb.UsbManager; 23 import android.hardware.usb.UsbPort; 24 import android.hardware.usb.UsbPortStatus; 31 * Receiver to receive usb update and use {@link UsbConnectionListener} to invoke callback 132 * Interface definition for a callback to be invoked when usb connection is changed.
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
ConnectedUsbDeviceUpdaterTest.java | 16 package com.android.settings.connecteddevice.usb; 24 import android.hardware.usb.UsbManager; 25 import android.hardware.usb.UsbPort; 70 assertThat(mDeviceUpdater.mUsbPreference.getTitle()).isEqualTo("USB");
|
UsbBackendTest.java | 17 package com.android.settings.connecteddevice.usb; 28 import android.hardware.usb.UsbManager; 29 import android.hardware.usb.UsbPort; 30 import android.hardware.usb.UsbPortStatus;
|
UsbDefaultFragmentTest.java | 17 package com.android.settings.connecteddevice.usb; 24 import android.hardware.usb.UsbManager;
|
UsbDetailsHeaderControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 26 import android.hardware.usb.UsbManager; 27 import android.hardware.usb.UsbPort;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
UsbUtil.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.UsbInterface; 21 import android.hardware.usb.UsbManager; 28 * Util methods to work with USB devices.
|
/system/core/fastboot/ |
usbtest.cpp | 36 #include "usb.h" 89 int test_null(Transport* usb) 98 if (usb->Write(buf, arg_size) != static_cast<int>(arg_size)) { 108 int test_zero(Transport* usb) 116 if (usb->Read(buf, arg_size) != static_cast<int>(arg_size)) { 130 int (*test)(Transport* usb); 180 Transport* usb; local 193 usb = usb_open(tests[i].match); 195 if(usb == 0) { 200 if(tests[i].test(usb)) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
AoapInterface.java | 16 package com.android.cts.verifier.usb.device; 18 import android.hardware.usb.UsbConstants; 19 import android.hardware.usb.UsbDevice; 20 import android.hardware.usb.UsbDeviceConnection;
|
/external/aac/libFDK/include/ |
qmf.h | 190 int usb; /*!< Top of high subbands */ member in struct:QMF_FILTER_BANK 243 int usb, /*!< Number of upper bands */ 269 int usb, /*!< Number of upper bands */
|
/external/libxaac/decoder/ |
ixheaacd_qmf_dec.h | 38 WORD16 usb; member in struct:__anon26598
|
/frameworks/base/core/java/android/hardware/usb/ |
AccessoryFilter.java | 17 package android.hardware.usb; 20 import android.service.usb.UsbAccessoryFilterProto; 32 * This class is used to describe a USB accessory. 40 // USB accessory manufacturer (or null for unspecified) 42 // USB accessory model (or null for unspecified) 44 // USB accessory version (or null for unspecified) 82 serializer.startTag(null, "usb-accessory"); 92 serializer.endTag(null, "usb-accessory");
|
UsbAccessory.java | 17 package android.hardware.usb; 26 * A class representing a USB accessory, which is an external hardware component 27 * that communicates with an android application over USB. 28 * The accessory is the USB host and android the device side of the USB connection. 32 * The manufacturer, model and version strings are used by the USB Manager to choose 44 * <p>For more information about communicating with USB hardware, read the 45 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
UsbConfiguration.java | 17 package android.hardware.usb; 28 * A USB configuration can have one or more interfaces, each one providing a different 35 * <p>For more information about communicating with USB hardware, read the 36 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 91 * This attribute indicates that the device has a power source other than the USB connection.
|
UsbConstants.java | 17 package android.hardware.usb; 22 * Contains constants for the USB protocol. 23 * These constants correspond to definitions in linux/usb/ch9.h in the linux kernel. 113 * USB class indicating that the class is determined on a per-interface basis. 117 * USB class for audio devices. 121 * USB class for communication devices. 125 * USB class for human interface devices (for example, mice and keyboards). 129 * USB class for physical devices. 133 * USB class for still image devices (digital cameras). 137 * USB class for printers [all...] |
UsbInterface.java | 17 package android.hardware.usb; 26 * USB devices can have one or more interfaces, each one providing a different 33 * <p>For more information about communicating with USB hardware, read the 34 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 98 * Some useful constants for USB classes can be found in {@link UsbConstants} 125 * Returns the number of {@link android.hardware.usb.UsbEndpoint}s this interface contains. 134 * Returns the {@link android.hardware.usb.UsbEndpoint} at the given index.
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
MtpNotificationManager.java | 17 package com.android.server.usb; 28 import android.hardware.usb.UsbConstants; 29 import android.hardware.usb.UsbDevice; 30 import android.hardware.usb.UsbInterface; 31 import android.hardware.usb.UsbManager; 63 private static final String ACTION_OPEN_IN_APPS = "com.android.server.usb.ACTION_OPEN_IN_APPS"; 83 new Notification.Builder(mContext, SystemNotificationChannels.USB)
|
UsbSettingsManager.java | 17 package com.android.server.usb; 24 import android.hardware.usb.UsbAccessory; 25 import android.hardware.usb.UsbDevice; 26 import android.hardware.usb.UsbManager; 29 import android.service.usb.UsbSettingsManagerProto;
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
Usb10ASFormatI.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
UsbACFeatureUnit.java | 16 package com.android.server.usb.descriptors;
|
UsbConfigDescriptor.java | 16 package com.android.server.usb.descriptors; 18 import android.hardware.usb.UsbConfiguration; 19 import android.hardware.usb.UsbInterface; 22 import com.android.server.usb.descriptors.report.ReportCanvas; 28 * An USB Config Descriptor. 39 private int mAttribs; // 7:1 D7 Reserved, set to 1. (USB 1.0 Bus Powered)
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
ReportCanvas.java | 16 package com.android.server.usb.descriptors.report; 18 import com.android.server.usb.descriptors.UsbDescriptorParser; 31 * @param connection The USB connection object used to retrieve strings 32 * from the USB device. 134 * Generates a string representing a USB Binary-Coded Decimal value.
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
AoapInterface.java | 16 package com.android.hardware.usb.externalmanagementtest; 18 import android.hardware.usb.UsbConstants; 19 import android.hardware.usb.UsbDevice; 20 import android.hardware.usb.UsbDeviceConnection;
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
UsbDescriptorParserTests.java | 17 package com.android.server.usb; 31 import com.android.server.usb.descriptors.UsbDescriptorParser; 32 import com.android.server.usb.descriptors.UsbDeviceDescriptor; 43 * Tests for {@link com.android.server.usb.descriptors.UsbDescriptorParser} 66 UsbDescriptorParser parser = new UsbDescriptorParser("test-usb-addr", descriptors); 174 /** A USB mass-storage device.
|
/hardware/interfaces/usb/1.0/vts/functional/ |
VtsHalUsbV1_0TargetTest.cpp | 20 #include <android/hardware/usb/1.0/IUsb.h> 21 #include <android/hardware/usb/1.0/IUsbCallback.h> 22 #include <android/hardware/usb/1.0/types.h> 34 using ::android::hardware::usb::V1_0::IUsbCallback; 35 using ::android::hardware::usb::V1_0::IUsb; 36 using ::android::hardware::usb::V1_0::PortDataRole; 37 using ::android::hardware::usb::V1_0::PortMode; 38 using ::android::hardware::usb::V1_0::PortPowerRole; 39 using ::android::hardware::usb::V1_0::PortRole; 40 using ::android::hardware::usb::V1_0::PortRoleType 150 sp<IUsb> usb; member in class:UsbHidlTest [all...] |