Home
last modified time | relevance | path

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

/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java94 assertTrue(parser.hasHIDInterface()); in testHeadsetDescriptorParser()
120 assertTrue(parser.hasHIDInterface()); in testHeadphoneDescriptorParser()
146 assertTrue(parser.hasHIDInterface()); in testLineoutDescriptorParser()
168 assertTrue(parser.hasHIDInterface()); in testNothingDescriptorParser()
190 assertFalse(parser.hasHIDInterface()); in testMassStorageDescriptorParser()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java489 public boolean hasHIDInterface() { in hasHIDInterface() method in UsbDescriptorParser
545 if (hasMic && hasHIDInterface()) { in getInputHeadsetProbability()
598 if (hasSpeaker && hasHIDInterface()) { in getOutputHeadsetProbability()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java335 boolean hasHid = descriptorParser.hasHIDInterface(); in logUsbDevice()
423 parser.hasHIDInterface(), parser.hasStorageInterface(), in usbDeviceAdded()
459 parser.hasHIDInterface(), parser.hasStorageInterface(), in usbDeviceRemoved()