/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | UsbACInterface.java | 154 return new UsbACSelectorUnit(length, type, subtype, subClass); in allocAudioControlDescriptor() 160 return new UsbACFeatureUnit(length, type, subtype, subClass); in allocAudioControlDescriptor() 215 byte subtype, int subClass) { in allocMidiStreamingDescriptor() argument 218 return new UsbMSMidiHeader(length, type, subtype, subClass); in allocMidiStreamingDescriptor() 245 int subClass = interfaceDesc.getUsbSubclass(); in allocDescriptor() local 246 switch (subClass) { in allocDescriptor() 252 parser, stream, length, type, subtype, subClass); in allocDescriptor() 259 parser, stream, length, type, subtype, subClass); in allocDescriptor() 269 + Integer.toHexString(subClass)); in allocDescriptor() 278 int subClass = getSubclass(); in report() local [all …]
|
H A D | UsbACEndpoint.java | 57 int subClass = interfaceDesc.getUsbSubclass(); in allocDescriptor() local 58 switch (subClass) { in allocDescriptor() 63 return new UsbACAudioControlEndpoint(length, type, subClass, subType); in allocDescriptor() 69 return new UsbACAudioStreamEndpoint(length, type, subClass, subType); in allocDescriptor() 77 return new UsbACMidi10Endpoint(length, type, subClass, subType); in allocDescriptor() 79 return new UsbACMidi20Endpoint(length, type, subClass, subType); in allocDescriptor() 86 Log.w(TAG, "Unknown Audio Class Endpoint id:0x" + Integer.toHexString(subClass)); in allocDescriptor()
|
H A D | UsbACInterfaceUnparsed.java | 25 public UsbACInterfaceUnparsed(int length, byte type, byte subtype, int subClass) { in UsbACInterfaceUnparsed() argument 26 super(length, type, subtype, subClass); in UsbACInterfaceUnparsed()
|
H A D | UsbACFeatureUnit.java | 49 public UsbACFeatureUnit(int length, byte type, byte subtype, int subClass) { in UsbACFeatureUnit() argument 50 super(length, type, subtype, subClass); in UsbACFeatureUnit()
|
H A D | UsbACSelectorUnit.java | 35 public UsbACSelectorUnit(int length, byte type, byte subtype, int subClass) { in UsbACSelectorUnit() argument 36 super(length, type, subtype, subClass); in UsbACSelectorUnit()
|
H A D | Usb10ACOutputTerminal.java | 31 public Usb10ACOutputTerminal(int length, byte type, byte subtype, int subClass) { in Usb10ACOutputTerminal() argument 32 super(length, type, subtype, subClass); in Usb10ACOutputTerminal()
|
H A D | UsbACMixerUnit.java | 27 public UsbACMixerUnit(int length, byte type, byte subtype, int subClass) { in UsbACMixerUnit() argument 28 super(length, type, subtype, subClass); in UsbACMixerUnit()
|
H A D | Usb20ACMixerUnit.java | 36 public Usb20ACMixerUnit(int length, byte type, byte subtype, int subClass) { in Usb20ACMixerUnit() argument 37 super(length, type, subtype, subClass); in Usb20ACMixerUnit()
|
H A D | Usb20ACOutputTerminal.java | 37 public Usb20ACOutputTerminal(int length, byte type, byte subtype, int subClass) { in Usb20ACOutputTerminal() argument 38 super(length, type, subtype, subClass); in Usb20ACOutputTerminal()
|
H A D | Usb10ACMixerUnit.java | 33 public Usb10ACMixerUnit(int length, byte type, byte subtype, int subClass) { in Usb10ACMixerUnit() argument 34 super(length, type, subtype, subClass); in Usb10ACMixerUnit()
|
H A D | UsbDescriptorParser.java | 233 int subClass = mCurInterfaceDescriptor.getUsbClass(); in allocDescriptor() local 234 switch (subClass) { in allocDescriptor() 266 + Integer.toHexString(subClass)); in allocDescriptor()
|
/aosp14/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbInterface.java | 54 int Class, int subClass, int protocol) { in UsbInterface() argument 59 mSubclass = subClass; in UsbInterface() 172 int subClass = in.readInt(); 175 … UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol);
|
H A D | UsbDevice.java | 80 private UsbDevice(@NonNull String name, int vendorId, int productId, int Class, int subClass, in UsbDevice() argument 90 mSubclass = subClass; in UsbDevice() 354 int subClass = in.readInt(); 369 UsbDevice device = new UsbDevice(name, vendorId, productId, clasz, subClass, protocol, 440 public Builder(@NonNull String name, int vendorId, int productId, int Class, int subClass, in Builder() argument 450 mSubclass = subClass; in Builder()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 300 private boolean isDenyListed(int clazz, int subClass) { in isDenyListed() argument 306 && subClass == UsbConstants.USB_INTERFACE_SUBCLASS_BOOT; in isDenyListed()
|