Searched refs:UsbDescriptor (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbDescriptorParser.java | 35 private final ArrayList<UsbDescriptor> mDescriptors; 50 public UsbDescriptorParser(String deviceAddr, ArrayList<UsbDescriptor> descriptors) { in UsbDescriptorParser() 63 mDescriptors = new ArrayList<UsbDescriptor>(DESCRIPTORS_ALLOC_SIZE); in UsbDescriptorParser() 111 private UsbDescriptor allocDescriptor(ByteStream stream) in allocDescriptor() 118 UsbDescriptor descriptor = null; in allocDescriptor() 123 case UsbDescriptor.DESCRIPTORTYPE_DEVICE: in allocDescriptor() 127 case UsbDescriptor.DESCRIPTORTYPE_CONFIG: in allocDescriptor() 138 case UsbDescriptor.DESCRIPTORTYPE_INTERFACE: in allocDescriptor() 149 case UsbDescriptor.DESCRIPTORTYPE_ENDPOINT: in allocDescriptor() 165 case UsbDescriptor.DESCRIPTORTYPE_HID: in allocDescriptor() [all …]
|
D | UsbDescriptor.java | 40 public abstract class UsbDescriptor implements Reporting { class 135 UsbDescriptor(int length, byte type) { in UsbDescriptor() method in UsbDescriptor 246 case UsbDescriptor.STATUS_PARSED_OK: in reportParseStatus() 249 case UsbDescriptor.STATUS_UNPARSED: in reportParseStatus() 250 case UsbDescriptor.STATUS_PARSED_UNDERRUN: in reportParseStatus() 251 case UsbDescriptor.STATUS_PARSED_OVERRUN: in reportParseStatus()
|
D | UsbACInterface.java | 28 public abstract class UsbACInterface extends UsbDescriptor { 98 private static UsbDescriptor allocAudioControlDescriptor(UsbDescriptorParser parser, in allocAudioControlDescriptor() 159 private static UsbDescriptor allocAudioStreamingDescriptor(UsbDescriptorParser parser, in allocAudioStreamingDescriptor() 184 private static UsbDescriptor allocMidiStreamingDescriptor(int length, byte type, in allocMidiStreamingDescriptor() 211 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, ByteStream stream, in allocDescriptor()
|
D | UsbACEndpoint.java | 25 abstract class UsbACEndpoint extends UsbDescriptor { 52 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, in allocDescriptor()
|
D | UsbInterfaceDescriptor.java | 32 public class UsbInterfaceDescriptor extends UsbDescriptor { 123 if (usbClass == UsbDescriptor.CLASSID_AUDIO) { in report()
|
D | UsbUnknown.java | 22 public final class UsbUnknown extends UsbDescriptor {
|
D | UsbInterfaceAssoc.java | 26 public final class UsbInterfaceAssoc extends UsbDescriptor {
|
D | UsbHIDDescriptor.java | 25 public final class UsbHIDDescriptor extends UsbDescriptor {
|
D | UsbASFormat.java | 68 public static UsbDescriptor allocDescriptor(UsbDescriptorParser parser, in allocDescriptor()
|
D | UsbConfigDescriptor.java | 31 public final class UsbConfigDescriptor extends UsbDescriptor {
|
D | UsbEndpointDescriptor.java | 28 public class UsbEndpointDescriptor extends UsbDescriptor {
|
D | UsbDeviceDescriptor.java | 32 public final class UsbDeviceDescriptor extends UsbDescriptor {
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
D | UsbStrings.java | 20 import com.android.server.usb.descriptors.UsbDescriptor; 47 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_DEVICE, "Device"); in initDescriptorNames() 48 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_CONFIG, "Config"); in initDescriptorNames() 49 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_STRING, "String"); in initDescriptorNames() 50 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_INTERFACE, "Interface"); in initDescriptorNames() 51 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_ENDPOINT, "Endpoint"); in initDescriptorNames() 52 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_BOS, "BOS (whatever that means)"); in initDescriptorNames() 53 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_INTERFACEASSOC, in initDescriptorNames() 55 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_CAPABILITY, "Capability"); in initDescriptorNames() 56 sDescriptorNames.put(UsbDescriptor.DESCRIPTORTYPE_HID, "HID"); in initDescriptorNames() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/ |
D | UsbDescriptorsTree.java | 20 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_AUDIO_INTERFACE: in parse() 133 case UsbDescriptor.DESCRIPTORTYPE_AUDIO_ENDPOINT: in parse()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 42 import com.android.server.usb.descriptors.UsbDescriptor; 187 for (UsbDescriptor descriptor : parser.getDescriptors()) { in dumpList() 558 for (UsbDescriptor descriptor: parser.getDescriptors()) { in checkUsbInterfacesBlackListed()
|
/frameworks/base/services/ |
D | art-profile | 14044 …id/server/usb/descriptors/UsbDescriptorParser;IB)Lcom/android/server/usb/descriptors/UsbDescriptor; 14045 …m/android/server/usb/descriptors/ByteStream;IBBI)Lcom/android/server/usb/descriptors/UsbDescriptor; 14046 …m/android/server/usb/descriptors/ByteStream;IBBI)Lcom/android/server/usb/descriptors/UsbDescriptor; 14047 …com/android/server/usb/descriptors/ByteStream;IB)Lcom/android/server/usb/descriptors/UsbDescriptor; 14052 …m/android/server/usb/descriptors/ByteStream;IBBI)Lcom/android/server/usb/descriptors/UsbDescriptor; 14055 HSPLcom/android/server/usb/descriptors/UsbDescriptor;-><init>(IB)V 14056 HSPLcom/android/server/usb/descriptors/UsbDescriptor;->getType()B 14057 HSPLcom/android/server/usb/descriptors/UsbDescriptor;->parseRawDescriptors(Lcom/android/server/usb/… 14058 HSPLcom/android/server/usb/descriptors/UsbDescriptor;->postParse(Lcom/android/server/usb/descriptor… 14059 …(Lcom/android/server/usb/descriptors/ByteStream;)Lcom/android/server/usb/descriptors/UsbDescriptor; [all …]
|