Lines Matching refs:in_device

3112                                                   audio_devices_t in_device)  in get_snd_device_for_voice_comm()  argument
3118 switch(AUDIO_DEVICE_BIT_IN | in_device) { in get_snd_device_for_voice_comm()
3143 ALOGE("%s: Unsupported in_device %#x", __func__, in_device); in get_snd_device_for_voice_comm()
3155 audio_devices_t in_device) in get_snd_device_for_voice_comm() argument
3162 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in get_snd_device_for_voice_comm()
3170 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in get_snd_device_for_voice_comm()
3177 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in get_snd_device_for_voice_comm()
3179 } else if (audio_is_usb_in_device(in_device | AUDIO_DEVICE_BIT_IN)) { in get_snd_device_for_voice_comm()
3183 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in get_snd_device_for_voice_comm()
3191 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in get_snd_device_for_voice_comm()
3198 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in get_snd_device_for_voice_comm()
3200 } else if (audio_is_usb_in_device(in_device | AUDIO_DEVICE_BIT_IN)) { in get_snd_device_for_voice_comm()
3204 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in get_snd_device_for_voice_comm()
3212 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in get_snd_device_for_voice_comm()
3240 audio_devices_t in_device = in platform_get_input_snd_device() local
3246 __func__, out_device, in_device, channel_count, channel_mask); in platform_get_input_snd_device()
3346 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
3347 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
3374 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
3422 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
3424 } else if (audio_is_usb_in_device(in_device | AUDIO_DEVICE_BIT_IN)) { in platform_get_input_snd_device()
3428 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
3443 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
3445 } else if (audio_is_usb_in_device(in_device | AUDIO_DEVICE_BIT_IN)) { in platform_get_input_snd_device()
3454 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
3458 snd_device = get_snd_device_for_voice_comm(my_data, in, out_device, in_device); in platform_get_input_snd_device()
3469 if (in_device != AUDIO_DEVICE_NONE && in platform_get_input_snd_device()
3470 !(in_device & AUDIO_DEVICE_IN_VOICE_CALL) && in platform_get_input_snd_device()
3471 !(in_device & AUDIO_DEVICE_IN_COMMUNICATION)) { in platform_get_input_snd_device()
3472 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
3491 } else if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
3504 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
3506 } else if (in_device & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) { in platform_get_input_snd_device()
3518 } else if (in_device & AUDIO_DEVICE_IN_AUX_DIGITAL) { in platform_get_input_snd_device()
3520 } else if (audio_is_usb_in_device(in_device | AUDIO_DEVICE_BIT_IN)) { in platform_get_input_snd_device()
3523 ALOGE("%s: Unknown input device(s) %#x", __func__, in_device); in platform_get_input_snd_device()