Home
last modified time | relevance | path

Searched refs:UsbDescriptor (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbDescriptorParser.java133 UsbDescriptor descriptor = null; in allocDescriptor()
280 UsbDescriptor descriptor = null; in parseDescriptors()
370 ArrayList<UsbDescriptor> list = new ArrayList<UsbDescriptor>(); in getDescriptors()
383 ArrayList<UsbDescriptor> list = new ArrayList<UsbDescriptor>(); in getInterfaceDescriptorsForClass()
405 ArrayList<UsbDescriptor> list = new ArrayList<UsbDescriptor>(); in getACInterfaceDescriptors()
434 ArrayList<UsbDescriptor> acDescriptors = in hasInput()
560 ArrayList<UsbDescriptor> descriptors = in hasAudioInterface()
624 ArrayList<UsbDescriptor> descriptors = in hasHIDInterface()
633 ArrayList<UsbDescriptor> descriptors = in hasStorageInterface()
642 ArrayList<UsbDescriptor> descriptors = in hasMIDIInterface()
[all …]
H A DUsbDescriptor.java40 public abstract class UsbDescriptor implements Reporting { class
135 UsbDescriptor(int length, byte type) { in UsbDescriptor() method in UsbDescriptor
245 case UsbDescriptor.STATUS_PARSED_OK: in reportParseStatus()
248 case UsbDescriptor.STATUS_UNPARSED: in reportParseStatus()
249 case UsbDescriptor.STATUS_PARSED_UNDERRUN: in reportParseStatus()
250 case UsbDescriptor.STATUS_PARSED_OVERRUN: in reportParseStatus()
H A DUsbACInterface.java28 public abstract class UsbACInterface extends UsbDescriptor {
98 private static UsbDescriptor allocAudioControlDescriptor(UsbDescriptorParser parser, in allocAudioControlDescriptor()
189 private static UsbDescriptor allocAudioStreamingDescriptor(UsbDescriptorParser parser, in allocAudioStreamingDescriptor()
214 private static UsbDescriptor allocMidiStreamingDescriptor(int length, byte type, in allocMidiStreamingDescriptor()
241 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, ByteStream stream, in allocDescriptor()
H A DUsbConfigDescriptor.java31 public final class UsbConfigDescriptor extends UsbDescriptor {
83 return descriptor.getUsbClass() == UsbDescriptor.CLASSID_AUDIO in isAudioInterface()
84 && descriptor.getUsbSubclass() == UsbDescriptor.AUDIO_AUDIOSTREAMING; in isAudioInterface()
H A DUsbVCEndpoint.java25 abstract class UsbVCEndpoint extends UsbDescriptor {
38 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, in allocDescriptor()
H A DUsbACEndpoint.java25 abstract class UsbACEndpoint extends UsbDescriptor {
51 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, in allocDescriptor()
H A DUsbVCInterface.java25 public abstract class UsbVCInterface extends UsbDescriptor {
48 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, ByteStream stream, in allocDescriptor()
H A DUsbInterfaceDescriptor.java32 public class UsbInterfaceDescriptor extends UsbDescriptor {
134 if (usbClass == UsbDescriptor.CLASSID_AUDIO) { in report()
H A DUsbUnknown.java22 public final class UsbUnknown extends UsbDescriptor {
H A DUsbInterfaceAssoc.java26 public final class UsbInterfaceAssoc extends UsbDescriptor {
H A DUsbHIDDescriptor.java25 public final class UsbHIDDescriptor extends UsbDescriptor {
H A DUsbASFormat.java68 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, in allocDescriptor()
H A DUsbEndpointDescriptor.java28 public class UsbEndpointDescriptor extends UsbDescriptor {
H A DUsbDeviceDescriptor.java32 public final class UsbDeviceDescriptor extends UsbDescriptor {
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
H A DUsbStrings.java20 import com.android.server.usb.descriptors.UsbDescriptor;
97 sClassNames.put(UsbDescriptor.CLASSID_DEVICE, "Device"); in initClassNames()
98 sClassNames.put(UsbDescriptor.CLASSID_AUDIO, "Audio"); in initClassNames()
100 sClassNames.put(UsbDescriptor.CLASSID_HID, "HID"); in initClassNames()
101 sClassNames.put(UsbDescriptor.CLASSID_PHYSICAL, "Physical"); in initClassNames()
102 sClassNames.put(UsbDescriptor.CLASSID_IMAGE, "Image"); in initClassNames()
103 sClassNames.put(UsbDescriptor.CLASSID_PRINTER, "Printer"); in initClassNames()
104 sClassNames.put(UsbDescriptor.CLASSID_STORAGE, "Storage"); in initClassNames()
105 sClassNames.put(UsbDescriptor.CLASSID_HUB, "Hub"); in initClassNames()
109 sClassNames.put(UsbDescriptor.CLASSID_VIDEO, "Video"); in initClassNames()
[all …]
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
H A DUsbDescriptorsTree.java20 import com.android.server.usb.descriptors.UsbDescriptor;
102 ArrayList<UsbDescriptor> descriptors = parser.getDescriptors(); in parse()
105 UsbDescriptor descriptor = descriptors.get(descrIndex); in parse()
110 case UsbDescriptor.DESCRIPTORTYPE_DEVICE: in parse()
114 case UsbDescriptor.DESCRIPTORTYPE_CONFIG: in parse()
118 case UsbDescriptor.DESCRIPTORTYPE_INTERFACE: in parse()
122 case UsbDescriptor.DESCRIPTORTYPE_ENDPOINT: in parse()
129 case UsbDescriptor.DESCRIPTORTYPE_CLASSSPECIFIC_INTERFACE: in parse()
134 case UsbDescriptor.DESCRIPTORTYPE_CLASSSPECIFIC_ENDPOINT: in parse()
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java42 import com.android.server.usb.descriptors.UsbDescriptor;
187 for (UsbDescriptor descriptor : parser.getDescriptors()) { in dumpList()
561 for (UsbDescriptor descriptor: parser.getDescriptors()) { in checkUsbInterfacesDenyListed()
/aosp12/frameworks/base/services/
H A Dart-profile41690 …id/server/usb/descriptors/UsbDescriptorParser;IB)Lcom/android/server/usb/descriptors/UsbDescriptor;
41697 …com/android/server/usb/descriptors/ByteStream;IB)Lcom/android/server/usb/descriptors/UsbDescriptor;
41710 …m/android/server/usb/descriptors/ByteStream;IBBI)Lcom/android/server/usb/descriptors/UsbDescriptor;
41715 PLcom/android/server/usb/descriptors/UsbDescriptor;-><clinit>()V
41716 HPLcom/android/server/usb/descriptors/UsbDescriptor;-><init>(IB)V
41717 PLcom/android/server/usb/descriptors/UsbDescriptor;->getLength()I
41718 HPLcom/android/server/usb/descriptors/UsbDescriptor;->getType()B
41719 PLcom/android/server/usb/descriptors/UsbDescriptor;->logDescriptorName(BI)V
41720 HPLcom/android/server/usb/descriptors/UsbDescriptor;->parseRawDescriptors(Lcom/android/server/usb/d…
41778 …d/server/usb/descriptors/UsbDescriptorParser;IBB)Lcom/android/server/usb/descriptors/UsbDescriptor;
[all …]