Home
last modified time | relevance | path

Searched refs:usbClass (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbInterfaceDescriptor.java143 int usbClass = getUsbClass(); in report() local
146 String className = UsbStrings.getClassName(usbClass); in report()
148 if (usbClass == UsbDescriptor.CLASSID_AUDIO) { in report()
154 canvas.writeListItem("Class: " + ReportCanvas.getHexString(usbClass) + ": " + className); in report()
DUsbDescriptorParser.java403 public ArrayList<UsbDescriptor> getInterfaceDescriptorsForClass(int usbClass) { in getInterfaceDescriptorsForClass() argument
410 if (intrDesc.getUsbClass() == usbClass) { in getInterfaceDescriptorsForClass()
/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java191 private boolean matches(int usbClass, int subclass, int protocol) { in matches() argument
192 return ((mClass == -1 || usbClass == mClass) in matches()
197 private boolean matches(int usbClass, int subclass, int protocol, String interfaceName) { in matches() argument
199 return matches(usbClass, subclass, protocol) in matches()
202 return matches(usbClass, subclass, protocol); in matches()