Searched refs:UsbEndpoint (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.aidl19 parcelable UsbEndpoint;
H A DUsbEndpoint.java33 public class UsbEndpoint implements Parcelable { class in inherits:Parcelable
41 * UsbEndpoint should only be instantiated by UsbService implementation
44 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { method in class:UsbEndpoint
133 return "UsbEndpoint[mAddress=" + mAddress + ",mAttributes=" + mAttributes +
137 public static final Parcelable.Creator<UsbEndpoint> CREATOR =
138 new Parcelable.Creator<UsbEndpoint>() {
139 public UsbEndpoint createFromParcel(Parcel in) {
144 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
147 public UsbEndpoint[] newArray(int size) {
148 return new UsbEndpoint[siz
[all...]
H A DUsbInterface.java27 * An interface will have one or more {@link UsbEndpoint}s, which are the
96 * Returns the number of {@link android.hardware.usb.UsbEndpoint}s this interface contains.
105 * Returns the {@link android.hardware.usb.UsbEndpoint} at the given index.
109 public UsbEndpoint getEndpoint(int index) {
110 return (UsbEndpoint)mEndpoints[index];
127 Parcelable[] endpoints = in.readParcelableArray(UsbEndpoint.class.getClassLoader());
H A DUsbRequest.java42 private UsbEndpoint mEndpoint;
61 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) {
92 public UsbEndpoint getEndpoint() {
H A DUsbDeviceConnection.java84 * {@link android.hardware.usb.UsbEndpoint}s belonging to the interface.
165 * {@link #bulkTransfer(UsbEndpoint, byte[], int, int, int)}.
175 public int bulkTransfer(UsbEndpoint endpoint,
192 public int bulkTransfer(UsbEndpoint endpoint,
201 * {@link android.hardware.usb.UsbEndpoint}s.
/frameworks/base/services/java/com/android/server/usb/
H A DUsbHostManager.java22 import android.hardware.usb.UsbEndpoint;
129 Parcelable[] endpoints = new UsbEndpoint[numEndpoints];
135 endpoints[endp] = new UsbEndpoint(address, attributes,

Completed in 802 milliseconds