Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java37 public class UsbInterface implements Parcelable { class
53 public UsbInterface(int id, int alternateSetting, @Nullable String name, in UsbInterface() method in UsbInterface
165 public static final @android.annotation.NonNull Parcelable.Creator<UsbInterface> CREATOR =
166 new Parcelable.Creator<UsbInterface>() {
167 public UsbInterface createFromParcel(Parcel in) {
175UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol);
180 public UsbInterface[] newArray(int size) {
181 return new UsbInterface[size];
DUsbConfiguration.java143 public @NonNull UsbInterface getInterface(int index) { in getInterface()
144 return (UsbInterface)mInterfaces[index]; in getInterface()
175 Parcelable[] interfaces = in.readParcelableArray(UsbInterface.class.getClassLoader());
DUsbDeviceConnection.java127 public boolean claimInterface(UsbInterface intf, boolean force) { in claimInterface()
136 public boolean releaseInterface(UsbInterface intf) { in releaseInterface()
146 public boolean setInterface(UsbInterface intf) { in setInterface()
DUsbDevice.java66 private @Nullable UsbInterface[] mInterfaces;
226 private @Nullable UsbInterface[] getInterfaceList() { in getInterfaceList()
235 mInterfaces = new UsbInterface[interfaceCount]; in getInterfaceList()
267 public @NonNull UsbInterface getInterface(int index) { in getInterface()
DUsbInterface.aidl19 parcelable UsbInterface;
DDeviceFilter.java193 UsbInterface intf = device.getInterface(i); in matches()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbInterfaceDescriptor.java19 import android.hardware.usb.UsbInterface;
97 UsbInterface toAndroid(UsbDescriptorParser parser) { in toAndroid()
104 UsbInterface ntrface = new UsbInterface( in toAndroid()
DUsbConfigDescriptor.java19 import android.hardware.usb.UsbInterface;
88 UsbInterface[] interfaces = new UsbInterface[mInterfaceDescriptors.size()]; in toAndroid()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbUtil.java23 import android.hardware.usb.UsbInterface;
49 UsbInterface usbInterface = device.getInterface(i); in possiblyAndroid()
DUsbHostManagementActivity.java29 import android.hardware.usb.UsbInterface;
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java28 import android.hardware.usb.UsbInterface;
111 UsbInterface iface = mDevice.getInterface(0); in ReaderThread()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java30 import android.hardware.usb.UsbInterface;
138 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
DUsbUserSettingsManager.java41 import android.hardware.usb.UsbInterface;
117 UsbInterface iface = device.getInterface(i); in isCameraDevicePresent()
DUsbDeviceManager.java50 import android.hardware.usb.UsbInterface;
882 UsbInterface intrface = config.getInterface(interfaceCount); in handleMessage()
/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/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/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java24 import android.hardware.usb.UsbInterface;
298 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java33 import android.hardware.usb.UsbInterface;
107 long id, @NonNull UsbInterface iface) { in writeInterface()
/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.txt17611 method @NonNull public android.hardware.usb.UsbInterface getInterface(int);
17669 method @NonNull public android.hardware.usb.UsbInterface getInterface(int);
17684 method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean);
17691 method public boolean releaseInterface(android.hardware.usb.UsbInterface);
17695 method public boolean setInterface(android.hardware.usb.UsbInterface);
17711 public class UsbInterface implements android.os.Parcelable {
17722 …nNull public static final android.os.Parcelable.Creator<android.hardware.usb.UsbInterface> CREATOR;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt27012 Landroid/hardware/usb/UsbDevice;->getInterfaceList()[Landroid/hardware/usb/UsbInterface;
27054 Landroid/hardware/usb/UsbInterface;-><init>(IILjava/lang/String;III)V
27055 Landroid/hardware/usb/UsbInterface;->mAlternateSetting:I
27056 Landroid/hardware/usb/UsbInterface;->mClass:I
27057 Landroid/hardware/usb/UsbInterface;->mEndpoints:[Landroid/os/Parcelable;
27058 Landroid/hardware/usb/UsbInterface;->mId:I
27059 Landroid/hardware/usb/UsbInterface;->mName:Ljava/lang/String;
27060 Landroid/hardware/usb/UsbInterface;->mProtocol:I
27061 Landroid/hardware/usb/UsbInterface;->mSubclass:I
27062 Landroid/hardware/usb/UsbInterface;->setEndpoints([Landroid/os/Parcelable;)V
/frameworks/base/services/
Dart-profile14080 …ndroid(Lcom/android/server/usb/descriptors/UsbDescriptorParser;)Landroid/hardware/usb/UsbInterface;