Home
last modified time | relevance | path

Searched refs:UsbInterface (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java35 public class UsbInterface implements Parcelable { class
49 public UsbInterface(int id, int alternateSetting, String name, in UsbInterface() method in UsbInterface
161 public static final Parcelable.Creator<UsbInterface> CREATOR =
162 new Parcelable.Creator<UsbInterface>() {
163 public UsbInterface createFromParcel(Parcel in) {
171UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol);
176 public UsbInterface[] newArray(int size) {
177 return new UsbInterface[size];
DUsbDevice.java58 private UsbInterface[] mInterfaces;
202 private UsbInterface[] getInterfaceList() { in getInterfaceList()
211 mInterfaces = new UsbInterface[interfaceCount]; in getInterfaceList()
243 public UsbInterface getInterface(int index) { in getInterface()
299 … Parcelable[] configurations = in.readParcelableArray(UsbInterface.class.getClassLoader());
DUsbConfiguration.java128 public UsbInterface getInterface(int index) { in getInterface()
129 return (UsbInterface)mInterfaces[index]; in getInterface()
160 Parcelable[] interfaces = in.readParcelableArray(UsbInterface.class.getClassLoader());
DUsbDeviceConnection.java90 public boolean claimInterface(UsbInterface intf, boolean force) { in claimInterface()
99 public boolean releaseInterface(UsbInterface intf) { in releaseInterface()
109 public boolean setInterface(UsbInterface intf) { in setInterface()
DUsbInterface.aidl19 parcelable UsbInterface;
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java24 import android.hardware.usb.UsbInterface;
56 private UsbInterface mNewInterface;
58 private ArrayList<UsbInterface> mNewInterfaces;
161 mNewInterfaces = new ArrayList<UsbInterface>(); in beginUsbDeviceAdded()
174 mNewInterfaces.toArray(new UsbInterface[mNewInterfaces.size()])); in addUsbConfiguration()
193 mNewInterface = new UsbInterface(id, altSetting, name, Class, subClass, protocol); in addUsbInterface()
215 mNewInterfaces.toArray(new UsbInterface[mNewInterfaces.size()])); in endUsbDeviceAdded()
DMtpNotificationManager.java31 import android.hardware.usb.UsbInterface;
133 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
DUsbAlsaManager.java24 import android.hardware.usb.UsbInterface;
363 UsbInterface ntrface = usbDevice.getInterface(ntrfaceIndex); in usbDeviceAdded()
DUsbSettingsManager.java33 import android.hardware.usb.UsbInterface;
252 UsbInterface intf = device.getInterface(i); in matches()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java31 import android.hardware.usb.UsbInterface;
77 private UsbInterface mAccessoryInterface;
181 UsbInterface iface = device.getInterface(0); in connect()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java27 import android.hardware.usb.UsbInterface;
138 UsbInterface intf = device.getInterface(i); in isCamera()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java24 import android.hardware.usb.UsbInterface;
298 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd70 <td>{@link android.hardware.usb.UsbInterface}</td>
111 android.hardware.usb.UsbInterface} and the {@link android.hardware.usb.UsbEndpoint} of that
360 {@link android.hardware.usb.UsbInterface} and {@link android.hardware.usb.UsbEndpoint} of the
370 {@link android.hardware.usb.UsbInterface} that you want to use to communicate along with the
397 UsbInterface intf = device.getInterface(0);
418 android.hardware.usb.UsbInterface} and {@link android.hardware.usb.UsbDeviceConnection} by
/frameworks/base/
DAndroid.mk581 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
Dcompiled-classes-phone1766 android.hardware.usb.UsbInterface
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd98 <li>{@link android.hardware.usb.UsbInterface} and {@link
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt387 NO DOC BLOCK: android.hardware.usb.UsbInterface Method getAlternateSetting()
497 NO DOC BLOCK: android.hardware.usb.UsbInterface Method getName()
888 …CK: android.hardware.usb.UsbDeviceConnection Method setInterface(android.hardware.usb.UsbInterface)
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13252 method public android.hardware.usb.UsbInterface getInterface(int);
13310 method public android.hardware.usb.UsbInterface getInterface(int);
13324 method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean);
13331 method public boolean releaseInterface(android.hardware.usb.UsbInterface);
13334 method public boolean setInterface(android.hardware.usb.UsbInterface);
13350 public class UsbInterface implements android.os.Parcelable {
13361 …field public static final android.os.Parcelable.Creator<android.hardware.usb.UsbInterface> CREATOR;
/frameworks/base/api/
Dcurrent.txt14543 method public android.hardware.usb.UsbInterface getInterface(int);
14601 method public android.hardware.usb.UsbInterface getInterface(int);
14616 method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean);
14623 method public boolean releaseInterface(android.hardware.usb.UsbInterface);
14626 method public boolean setInterface(android.hardware.usb.UsbInterface);
14642 public class UsbInterface implements android.os.Parcelable {
14653 …field public static final android.os.Parcelable.Creator<android.hardware.usb.UsbInterface> CREATOR;
Dtest-current.txt14556 method public android.hardware.usb.UsbInterface getInterface(int);
14614 method public android.hardware.usb.UsbInterface getInterface(int);
14629 method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean);
14636 method public boolean releaseInterface(android.hardware.usb.UsbInterface);
14639 method public boolean setInterface(android.hardware.usb.UsbInterface);
14655 public class UsbInterface implements android.os.Parcelable {
14666 …field public static final android.os.Parcelable.Creator<android.hardware.usb.UsbInterface> CREATOR;
Dsystem-current.txt15744 method public android.hardware.usb.UsbInterface getInterface(int);
15802 method public android.hardware.usb.UsbInterface getInterface(int);
15817 method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean);
15824 method public boolean releaseInterface(android.hardware.usb.UsbInterface);
15827 method public boolean setInterface(android.hardware.usb.UsbInterface);
15843 public class UsbInterface implements android.os.Parcelable {
15854 …field public static final android.os.Parcelable.Creator<android.hardware.usb.UsbInterface> CREATOR;