Home
last modified time | relevance | path

Searched refs:subClass (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbACInterface.java99 ByteStream stream, int length, byte type, byte subtype, int subClass) { in allocAudioControlDescriptor() argument
112 return new Usb20ACHeader(length, type, subtype, subClass, acInterfaceSpec); in allocAudioControlDescriptor()
114 return new Usb10ACHeader(length, type, subtype, subClass, acInterfaceSpec); in allocAudioControlDescriptor()
128 return new Usb20ACInputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
130 return new Usb10ACInputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
144 return new Usb20ACOutputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
146 return new Usb10ACOutputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
154 return new UsbACSelectorUnit(length, type, subtype, subClass); in allocAudioControlDescriptor()
160 return new UsbACFeatureUnit(length, type, subtype, subClass); in allocAudioControlDescriptor()
172 return new Usb20ACMixerUnit(length, type, subtype, subClass); in allocAudioControlDescriptor()
[all …]
DUsbACEndpoint.java57 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()
DUsbACInterfaceUnparsed.java25 public UsbACInterfaceUnparsed(int length, byte type, byte subtype, int subClass) { in UsbACInterfaceUnparsed() argument
26 super(length, type, subtype, subClass); in UsbACInterfaceUnparsed()
DUsbACFeatureUnit.java49 public UsbACFeatureUnit(int length, byte type, byte subtype, int subClass) { in UsbACFeatureUnit() argument
50 super(length, type, subtype, subClass); in UsbACFeatureUnit()
DUsbACSelectorUnit.java35 public UsbACSelectorUnit(int length, byte type, byte subtype, int subClass) { in UsbACSelectorUnit() argument
36 super(length, type, subtype, subClass); in UsbACSelectorUnit()
DUsb10ACOutputTerminal.java31 public Usb10ACOutputTerminal(int length, byte type, byte subtype, int subClass) { in Usb10ACOutputTerminal() argument
32 super(length, type, subtype, subClass); in Usb10ACOutputTerminal()
DUsbACMixerUnit.java27 public UsbACMixerUnit(int length, byte type, byte subtype, int subClass) { in UsbACMixerUnit() argument
28 super(length, type, subtype, subClass); in UsbACMixerUnit()
DUsb20ACMixerUnit.java36 public Usb20ACMixerUnit(int length, byte type, byte subtype, int subClass) { in Usb20ACMixerUnit() argument
37 super(length, type, subtype, subClass); in Usb20ACMixerUnit()
DUsb20ACOutputTerminal.java37 public Usb20ACOutputTerminal(int length, byte type, byte subtype, int subClass) { in Usb20ACOutputTerminal() argument
38 super(length, type, subtype, subClass); in Usb20ACOutputTerminal()
DUsb10ACMixerUnit.java33 public Usb10ACMixerUnit(int length, byte type, byte subtype, int subClass) { in Usb10ACMixerUnit() argument
34 super(length, type, subtype, subClass); in Usb10ACMixerUnit()
DUsbDescriptorParser.java233 int subClass = mCurInterfaceDescriptor.getUsbClass(); in allocDescriptor() local
234 switch (subClass) { in allocDescriptor()
266 + Integer.toHexString(subClass)); in allocDescriptor()
/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java54 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);
DUsbDevice.java80 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()
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorUtil.java294 Class<? extends AccessibilityHierarchyCheck> subClass = in getCheckClassCategory() local
297 AccessibilityCheckPreset.getHierarchyCheckForClass(subClass); in getCheckClassCategory()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java296 private boolean isDenyListed(int clazz, int subClass) { in isDenyListed() argument
302 && subClass == UsbConstants.USB_INTERFACE_SUBCLASS_BOOT; in isDenyListed()