Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DUsbStrings.java21 import com.android.server.usb.descriptors.UsbTerminalTypes;
154 sTerminalNames.put(UsbTerminalTypes.TERMINAL_USB_STREAMING, "USB Streaming"); in initTerminalNames()
156 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_UNDEFINED, "Undefined"); in initTerminalNames()
157 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_MIC, "Microphone"); in initTerminalNames()
158 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_DESKTOP_MIC, "Desktop Microphone"); in initTerminalNames()
159 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_PERSONAL_MIC, in initTerminalNames()
161 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_OMNI_MIC, "Omni Microphone"); in initTerminalNames()
162 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_MIC_ARRAY, "Microphone Array"); in initTerminalNames()
163 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_PROC_MIC_ARRAY, in initTerminalNames()
166 sTerminalNames.put(UsbTerminalTypes.TERMINAL_OUT_UNDEFINED, "Undefined"); in initTerminalNames()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java468 if (terminalCategory != UsbTerminalTypes.TERMINAL_USB_UNDEFINED in hasInput()
469 && terminalCategory != UsbTerminalTypes.TERMINAL_OUT_UNDEFINED) { in hasInput()
506 if (terminalCategory != UsbTerminalTypes.TERMINAL_USB_UNDEFINED in hasOutput()
507 && terminalCategory != UsbTerminalTypes.TERMINAL_IN_UNDEFINED) { 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()
[all …]
DUsbTerminalTypes.java23 public final class UsbTerminalTypes { class