Home
last modified time | relevance | path

Searched refs:tty_mode (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/audio/msm8909/hal/
Dvoice.c434 int tty_mode; in voice_set_parameters() local
437 tty_mode = TTY_MODE_OFF; in voice_set_parameters()
439 tty_mode = TTY_MODE_VCO; in voice_set_parameters()
441 tty_mode = TTY_MODE_HCO; in voice_set_parameters()
443 tty_mode = TTY_MODE_FULL; in voice_set_parameters()
449 if (tty_mode != adev->voice.tty_mode) { in voice_set_parameters()
450 adev->voice.tty_mode = tty_mode; in voice_set_parameters()
451 adev->acdb_settings = (adev->acdb_settings & TTY_MODE_CLEAR) | tty_mode; in voice_set_parameters()
478 adev->voice.tty_mode = TTY_MODE_OFF; in voice_init()
Dvoice.h61 int tty_mode; member
/hardware/qcom/audio/hal/
Dvoice.c447 int tty_mode; in voice_set_parameters() local
450 tty_mode = TTY_MODE_OFF; in voice_set_parameters()
452 tty_mode = TTY_MODE_VCO; in voice_set_parameters()
454 tty_mode = TTY_MODE_HCO; in voice_set_parameters()
456 tty_mode = TTY_MODE_FULL; in voice_set_parameters()
462 if (tty_mode != adev->voice.tty_mode) { in voice_set_parameters()
463 adev->voice.tty_mode = tty_mode; in voice_set_parameters()
464 adev->acdb_settings = (adev->acdb_settings & TTY_MODE_CLEAR) | tty_mode; in voice_set_parameters()
506 adev->voice.tty_mode = TTY_MODE_OFF; in voice_init()
Dvoice.h59 int tty_mode; member
/hardware/qcom/audio/hal/msm8960/
Dplatform.c626 if (adev->voice.tty_mode == TTY_MODE_FULL) in platform_get_output_snd_device()
628 else if (adev->voice.tty_mode == TTY_MODE_VCO) in platform_get_output_snd_device()
630 else if (adev->voice.tty_mode == TTY_MODE_HCO) in platform_get_output_snd_device()
721 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()
724 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
735 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c671 if (adev->voice.tty_mode == TTY_MODE_FULL) in platform_get_output_snd_device()
673 else if (adev->voice.tty_mode == TTY_MODE_VCO) in platform_get_output_snd_device()
675 else if (adev->voice.tty_mode == TTY_MODE_HCO) in platform_get_output_snd_device()
765 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()
768 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
779 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1902 (adev->voice.tty_mode == TTY_MODE_FULL)) in platform_get_output_snd_device()
1905 (adev->voice.tty_mode == TTY_MODE_VCO)) in platform_get_output_snd_device()
1908 (adev->voice.tty_mode == TTY_MODE_HCO)) in platform_get_output_snd_device()
1996 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()
2000 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
2011 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c1910 if ((adev->voice.tty_mode != TTY_MODE_OFF) && in platform_get_output_snd_device()
1912 switch (adev->voice.tty_mode) { in platform_get_output_snd_device()
1924 __func__, adev->voice.tty_mode); in platform_get_output_snd_device()
2057 if ((adev->voice.tty_mode != TTY_MODE_OFF) && in platform_get_input_snd_device()
2061 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
2073 __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c1797 if ((adev->voice.tty_mode != TTY_MODE_OFF) && in platform_get_output_snd_device()
1799 switch (adev->voice.tty_mode) { in platform_get_output_snd_device()
1811 __func__, adev->voice.tty_mode); in platform_get_output_snd_device()
1932 if ((adev->voice.tty_mode != TTY_MODE_OFF) && in platform_get_input_snd_device()
1936 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
1947 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()