Searched refs:usb (Results 1 – 25 of 82) sorted by relevance
1234
18 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()
17 package com.android.future.usb;31 /* package */ UsbAccessory(android.hardware.usb.UsbAccessory accessory) { in UsbAccessory()
45 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 …]
72 <li><code>com.android.future.usb</code>: To support USB accessory mode in Android 2.3.4, the77 around the {@link android.hardware.usb} accessory APIs and does not support USB host mode. If84 <li>{@link android.hardware.usb}: This namespace contains the classes that support USB102 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 your150 android.hardware.usb.UsbAccessory} object in the following manner:</p>[all …]
9 <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>
17 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;
17 package android.hardware.usb;
17 package com.android.systemui.usb;24 import android.hardware.usb.UsbAccessory;25 import android.hardware.usb.UsbDevice;26 import android.hardware.usb.UsbManager;
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;
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;
17 package com.android.systemui.usb;23 import android.hardware.usb.UsbAccessory;24 import android.hardware.usb.UsbManager;
17 package com.android.systemui.usb;26 import android.hardware.usb.IUsbManager;27 import android.hardware.usb.UsbManager;
17 package com.android.systemui.usb;26 import android.hardware.usb.UsbManager;
22 import android.hardware.usb.UsbDevice;23 import android.hardware.usb.UsbDeviceConnection;24 import android.hardware.usb.UsbEndpoint;
27 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;
17 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;
17 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;
36 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 is82 <li>Obtaining a {@link android.hardware.usb.UsbManager} object — To obtain83 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 intent92 filter, the {@link android.hardware.usb.UsbAccessory} object is contained94 add-on library, you can get the {@link android.hardware.usb.UsbAccessory} object101 android.hardware.usb.UsbDevice}), although USB host mode is supported in Android105 (through {@link android.hardware.usb.UsbAccessory}).</li>120 href="{@docRoot}guide/topics/connectivity/usb/index.html">developer documentation</a>.</p>[all …]
24 import android.hardware.usb.UsbDevice;25 import android.hardware.usb.UsbManager;
24 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;
19 import android.hardware.usb.UsbDevice;20 import android.hardware.usb.UsbDeviceConnection;