Home
last modified time | relevance | path

Searched refs:getTerminalType (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java363 int type = inDescr.getTerminalType(); in hasInput()
401 int type = outDescr.getTerminalType(); in hasOutput()
435 if (inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_IN_MIC in hasMic()
436 || inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_BIDIR_HEADSET in hasMic()
437 || inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_BIDIR_UNDEFINED in hasMic()
438 || inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_EXTERN_LINE) { in hasMic()
462 if (outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_OUT_SPEAKER in hasSpeaker()
463 || outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_OUT_HEADPHONES in hasSpeaker()
464 || outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_BIDIR_HEADSET) { in hasSpeaker()
581 if (outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_OUT_SPEAKER in getOutputHeadsetProbability()
[all …]
DUsbACTerminal.java43 public int getTerminalType() { in getTerminalType() method in UsbACTerminal
65 int terminalType = getTerminalType(); in report()