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 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];
DUsbDevice.java63 private @Nullable UsbInterface[] mInterfaces;
207 private @Nullable UsbInterface[] getInterfaceList() { in getInterfaceList()
216 mInterfaces = new UsbInterface[interfaceCount]; in getInterfaceList()
248 public @NonNull UsbInterface getInterface(int index) { in getInterface()
304 … Parcelable[] configurations = in.readParcelableArray(UsbInterface.class.getClassLoader());
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.java125 public boolean claimInterface(UsbInterface intf, boolean force) { in claimInterface()
134 public boolean releaseInterface(UsbInterface intf) { in releaseInterface()
144 public boolean setInterface(UsbInterface intf) { in setInterface()
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.java30 import android.hardware.usb.UsbInterface;
117 UsbInterface iface = device.getInterface(i); in isCameraDevicePresent()
DUsbDeviceManager.java43 import android.hardware.usb.UsbInterface;
892 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/base/config/
Dhiddenapi-public-dex.txt14894 Landroid/hardware/usb/UsbConfiguration;->getInterface(I)Landroid/hardware/usb/UsbInterface;
14950 Landroid/hardware/usb/UsbDevice;->getInterface(I)Landroid/hardware/usb/UsbInterface;
14964 Landroid/hardware/usb/UsbDeviceConnection;->claimInterface(Landroid/hardware/usb/UsbInterface;Z)Z
14972 Landroid/hardware/usb/UsbDeviceConnection;->releaseInterface(Landroid/hardware/usb/UsbInterface;)Z
14977 Landroid/hardware/usb/UsbDeviceConnection;->setInterface(Landroid/hardware/usb/UsbInterface;)Z
14990 Landroid/hardware/usb/UsbInterface;
14991 Landroid/hardware/usb/UsbInterface;->CREATOR:Landroid/os/Parcelable$Creator;
14992 Landroid/hardware/usb/UsbInterface;->describeContents()I
14993 Landroid/hardware/usb/UsbInterface;->getAlternateSetting()I
14994 Landroid/hardware/usb/UsbInterface;->getEndpoint(I)Landroid/hardware/usb/UsbEndpoint;
[all …]
Dhiddenapi-light-greylist.txt2637 Landroid/hardware/usb/UsbDevice;->mInterfaces:[Landroid/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.txt16747 method public android.hardware.usb.UsbInterface getInterface(int);
16805 method public android.hardware.usb.UsbInterface getInterface(int);
16820 method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean);
16827 method public boolean releaseInterface(android.hardware.usb.UsbInterface);
16831 method public boolean setInterface(android.hardware.usb.UsbInterface);
16847 public class UsbInterface implements android.os.Parcelable {
16858 …field public static final android.os.Parcelable.Creator<android.hardware.usb.UsbInterface> CREATOR;