Searched refs:UsbTerminalTypes (Results 1 – 3 of 3) sorted by relevance
21 import com.android.server.usb.descriptors.UsbTerminalTypes;153 sTerminalNames.put(UsbTerminalTypes.TERMINAL_USB_STREAMING, "USB Streaming"); in initTerminalNames()155 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_UNDEFINED, "Undefined"); in initTerminalNames()156 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_MIC, "Microphone"); in initTerminalNames()157 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_DESKTOP_MIC, "Desktop Microphone"); in initTerminalNames()158 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_PERSONAL_MIC, in initTerminalNames()160 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_OMNI_MIC, "Omni Microphone"); in initTerminalNames()161 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_MIC_ARRAY, "Microphone Array"); in initTerminalNames()162 sTerminalNames.put(UsbTerminalTypes.TERMINAL_IN_PROC_MIC_ARRAY, in initTerminalNames()165 sTerminalNames.put(UsbTerminalTypes.TERMINAL_OUT_UNDEFINED, "Undefined"); in initTerminalNames()[all …]
368 if (terminalCategory != UsbTerminalTypes.TERMINAL_USB_UNDEFINED in hasInput()369 && terminalCategory != UsbTerminalTypes.TERMINAL_OUT_UNDEFINED) { in hasInput()406 if (terminalCategory != UsbTerminalTypes.TERMINAL_USB_UNDEFINED in hasOutput()407 && terminalCategory != UsbTerminalTypes.TERMINAL_IN_UNDEFINED) { 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()[all …]
23 public final class UsbTerminalTypes { class