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.java463 int type = inDescr.getTerminalType(); in hasInput()
501 int type = outDescr.getTerminalType(); in hasOutput()
535 if (inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_IN_MIC in hasMic()
536 || inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_BIDIR_HEADSET in hasMic()
537 || inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_BIDIR_UNDEFINED in hasMic()
538 || inDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_EXTERN_LINE) { in hasMic()
562 if (outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_OUT_SPEAKER in hasSpeaker()
563 || outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_OUT_HEADPHONES in hasSpeaker()
564 || outDescr.getTerminalType() == UsbTerminalTypes.TERMINAL_BIDIR_HEADSET) { in hasSpeaker()
596 && ((UsbACTerminal) descriptor).getTerminalType() == terminalType) { in hasAudioTerminal()
[all …]
DUsbACTerminal.java43 public int getTerminalType() { in getTerminalType() method in UsbACTerminal
65 int terminalType = getTerminalType(); in report()