Home
last modified time | relevance | path

Searched refs:hasAudioInterface (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java93 assertTrue(parser.hasAudioInterface()); in testHeadsetDescriptorParser()
119 assertTrue(parser.hasAudioInterface()); in testHeadphoneDescriptorParser()
145 assertTrue(parser.hasAudioInterface()); in testLineoutDescriptorParser()
167 assertFalse(parser.hasAudioInterface()); in testNothingDescriptorParser()
189 assertFalse(parser.hasAudioInterface()); in testMassStorageDescriptorParser()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java345 boolean hasAudio = descriptorParser.hasAudioInterface(); in logUsbDevice()
475 parser.hasAudioInterface(), parser.hasHIDInterface(), in usbDeviceAdded()
524 device.getVendorId(), device.getProductId(), parser.hasAudioInterface(), in usbDeviceRemoved()
DUsbAlsaManager.java307 if (parser.hasAudioInterface()) { in usbDeviceAdded()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java580 public boolean hasAudioInterface() { in hasAudioInterface() method in UsbDescriptorParser