Home
last modified time | relevance | path

Searched refs:usb (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbManager.java18 package com.android.future.usb;
23 import android.hardware.usb.IUsbManager;
94 android.hardware.usb.UsbAccessory accessory = in getAccessory()
95 intent.getParcelableExtra(android.hardware.usb.UsbManager.EXTRA_ACCESSORY); in getAccessory()
111 android.hardware.usb.UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList()
131 return mService.openAccessory(new android.hardware.usb.UsbAccessory( in openAccessory()
152 return mService.hasAccessoryPermission(new android.hardware.usb.UsbAccessory( in hasPermission()
177 mService.requestAccessoryPermission(new android.hardware.usb.UsbAccessory( in requestPermission()
DUsbAccessory.java17 package com.android.future.usb;
31 /* package */ UsbAccessory(android.hardware.usb.UsbAccessory accessory) { in UsbAccessory()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd45 following table describes the USB host APIs in the {@link android.hardware.usb} package.</p>
57 <td>{@link android.hardware.usb.UsbManager}</td>
63 <td>{@link android.hardware.usb.UsbDevice}</td>
70 <td>{@link android.hardware.usb.UsbInterface}</td>
77 <td>{@link android.hardware.usb.UsbEndpoint}</td>
85 <td>{@link android.hardware.usb.UsbDeviceConnection}</td>
92 <td>{@link android.hardware.usb.UsbRequest}</td>
95 android.hardware.usb.UsbDeviceConnection}.</td>
99 <td>{@link android.hardware.usb.UsbConstants}</td>
101 <td>Defines USB constants that correspond to definitions in linux/usb/ch9.h of the Linux
[all …]
Daccessory.jd72 <li><code>com.android.future.usb</code>: To support USB accessory mode in Android 2.3.4, the
77 around the {@link android.hardware.usb} accessory APIs and does not support USB host mode. If
84 <li>{@link android.hardware.usb}: This namespace contains the classes that support USB
102 android.hardware.usb} even if you are using the add-on library.</p>
117 <td>{@link android.hardware.usb.UsbManager}</td>
123 <td>{@link android.hardware.usb.UsbAccessory}</td>
136 android.hardware.usb.UsbManager} object in the following manner:</p>
142 android.hardware.usb.UsbManager} object in the following manner:</p>
148 android.hardware.usb.UsbAccessory} object is contained inside the intent that is passed to your
150 android.hardware.usb.UsbAccessory} object in the following manner:</p>
[all …]
Dindex.jd9 <li><a href="{@docRoot}guide/topics/connectivity/usb/accessory.html">USB Accessory</a></li>
11 <li><a href="{@docRoot}guide/topics/connectivity/usb/host.html">USB Host</a></li>
32 host and powers the bus.</p><img src="{@docRoot}images/usb-host-accessory.png" alt="">
45 …the USB <a href="{@docRoot}guide/topics/connectivity/usb/accessory.html">accessory</a> and <a href=
46 "{@docRoot}guide/topics/connectivity/usb/host.html">host</a> documentation for more details.</p>
66 <li>To set your device to listen on USB, enter <code>adb usb</code>.</li>
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl17 package android.hardware.usb;
20 import android.hardware.usb.UsbAccessory;
21 import android.hardware.usb.UsbDevice;
22 import android.hardware.usb.UsbPort;
23 import android.hardware.usb.UsbPortStatus;
DUsbAccessory.aidl17 package android.hardware.usb;
DUsbDevice.aidl17 package android.hardware.usb;
DUsbEndpoint.aidl17 package android.hardware.usb;
DUsbPort.aidl17 package android.hardware.usb;
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDisconnectedReceiver.java17 package com.android.systemui.usb;
24 import android.hardware.usb.UsbAccessory;
25 import android.hardware.usb.UsbDevice;
26 import android.hardware.usb.UsbManager;
DUsbResolverActivity.java17 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;
DUsbPermissionActivity.java17 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;
DUsbConfirmActivity.java17 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;
DUsbAccessoryUriActivity.java17 package com.android.systemui.usb;
23 import android.hardware.usb.UsbAccessory;
24 import android.hardware.usb.UsbManager;
DUsbDebuggingActivity.java17 package com.android.systemui.usb;
26 import android.hardware.usb.IUsbManager;
27 import android.hardware.usb.UsbManager;
DUsbDebuggingSecondaryUserActivity.java17 package com.android.systemui.usb;
26 import android.hardware.usb.UsbManager;
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbAccessoryBulkTransport.java22 import android.hardware.usb.UsbDevice;
23 import android.hardware.usb.UsbDeviceConnection;
24 import android.hardware.usb.UsbEndpoint;
DSinkActivity.java27 import android.hardware.usb.UsbConstants;
28 import android.hardware.usb.UsbDevice;
29 import android.hardware.usb.UsbDeviceConnection;
30 import android.hardware.usb.UsbEndpoint;
31 import android.hardware.usb.UsbInterface;
32 import android.hardware.usb.UsbManager;
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java17 package com.android.server.usb;
20 import android.hardware.usb.UsbConfiguration;
21 import android.hardware.usb.UsbConstants;
22 import android.hardware.usb.UsbDevice;
23 import android.hardware.usb.UsbEndpoint;
24 import android.hardware.usb.UsbInterface;
DUsbService.java17 package com.android.server.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;
30 import android.hardware.usb.UsbPort;
31 import android.hardware.usb.UsbPortStatus;
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.4.jd36 through the optional <a href="#usb">Open Accessory Library</a>. </p>
62 href="{@docRoot}about/versions/android-3.1.html#usb">Android 3.1</a> (API level 12), but is
82 <li>Obtaining a {@link android.hardware.usb.UsbManager} object &mdash; To obtain
83 a {@link android.hardware.usb.UsbManager} object when using the add-on library,
90 <li>Obtaining a {@link android.hardware.usb.UsbAccessory} from a filtered intent
92 filter, the {@link android.hardware.usb.UsbAccessory} object is contained
94 add-on library, you can get the {@link android.hardware.usb.UsbAccessory} object
101 android.hardware.usb.UsbDevice}), although USB host mode is supported in Android
105 (through {@link android.hardware.usb.UsbAccessory}).</li>
120 href="{@docRoot}guide/topics/connectivity/usb/index.html">developer documentation</a>.</p>
[all …]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DDeviceDisconnectedReceiver.java24 import android.hardware.usb.UsbDevice;
25 import android.hardware.usb.UsbManager;
DMtpClient.java24 import android.hardware.usb.UsbConstants;
25 import android.hardware.usb.UsbDevice;
26 import android.hardware.usb.UsbDeviceConnection;
27 import android.hardware.usb.UsbInterface;
28 import android.hardware.usb.UsbManager;
/frameworks/base/media/java/android/mtp/
DMtpDevice.java19 import android.hardware.usb.UsbDevice;
20 import android.hardware.usb.UsbDeviceConnection;

1234