Lines Matching refs:in_device

776     audio_devices_t in_device =  in platform_get_input_snd_device()  local
781 __func__, out_device, in_device); in platform_get_input_snd_device()
837 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
838 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
842 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
862 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
865 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
867 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
869 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
885 if (in_device != AUDIO_DEVICE_NONE && in platform_get_input_snd_device()
886 !(in_device & AUDIO_DEVICE_IN_VOICE_CALL) && in platform_get_input_snd_device()
887 !(in_device & AUDIO_DEVICE_IN_COMMUNICATION)) { in platform_get_input_snd_device()
888 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
890 } else if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
892 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
894 } else if (in_device & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) { in platform_get_input_snd_device()
900 } else if (in_device & AUDIO_DEVICE_IN_AUX_DIGITAL) { in platform_get_input_snd_device()
903 ALOGE("%s: Unknown input device(s) %#x", __func__, in_device); in platform_get_input_snd_device()