Home
last modified time | relevance | path

Searched refs:UsbEndpointDescriptor (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbEndpointDescriptor.java28 public class UsbEndpointDescriptor extends UsbDescriptor { class
84 public UsbEndpointDescriptor(int length, byte type) { in UsbEndpointDescriptor() method in UsbEndpointDescriptor
114 return mEndpointAddress & UsbEndpointDescriptor.MASK_ENDPOINT_DIRECTION; in getDirection()
159 + (getDirection() == UsbEndpointDescriptor.DIRECTION_OUTPUT ? " [out]" : " [in]")); in report()
164 switch (attributes & UsbEndpointDescriptor.MASK_ATTRIBS_TRANSTYPE) { in report()
165 case UsbEndpointDescriptor.TRANSTYPE_CONTROL: in report()
168 case UsbEndpointDescriptor.TRANSTYPE_ISO: in report()
171 case UsbEndpointDescriptor.TRANSTYPE_BULK: in report()
174 case UsbEndpointDescriptor.TRANSTYPE_INTERRUPT: in report()
181 if ((attributes & UsbEndpointDescriptor.MASK_ATTRIBS_TRANSTYPE) in report()
[all …]
DUsbInterfaceDescriptor.java42 private ArrayList<UsbEndpointDescriptor> mEndpointDescriptors =
43 new ArrayList<UsbEndpointDescriptor>();
83 public UsbEndpointDescriptor getEndpointDescriptor(int index) { in getEndpointDescriptor()
107 void addEndpointDescriptor(UsbEndpointDescriptor endpoint) { in addEndpointDescriptor()
DUsbDescriptorParser.java43 private UsbEndpointDescriptor mCurEndpointDescriptor;
169 descriptor = mCurEndpointDescriptor = new UsbEndpointDescriptor(length, type); in allocDescriptor()
172 (UsbEndpointDescriptor) descriptor); in allocDescriptor()
736 UsbEndpointDescriptor endpoint = in doesInterfaceContainEndpoint()
874 UsbEndpointDescriptor endpoint = in calculateNumLegacyMidiPorts()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsEndpointNode.java18 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
28 private final UsbEndpointDescriptor mEndpointDescriptor;
34 public UsbDescriptorsEndpointNode(UsbEndpointDescriptor endpointDescriptor) { in UsbDescriptorsEndpointNode()
DUsbDescriptorsTree.java23 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
85 private void addEndpointDescriptor(UsbEndpointDescriptor endpointDescriptor) { in addEndpointDescriptor()
123 addEndpointDescriptor((UsbEndpointDescriptor) descriptor); in parse()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDirectMidiDevice.java44 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
248 UsbEndpointDescriptor endpoint = in UsbDirectMidiDevice()
285 UsbEndpointDescriptor endpoint = in calculateDefaultMidiProtocol()
339 UsbEndpointDescriptor endpoint = in openLocked()
892 private int getNumJacks(UsbEndpointDescriptor usbEndpointDescriptor) { in getNumJacks()