Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/
Dvoice.c489 int tty_mode; in voice_set_parameters() local
492 tty_mode = TTY_MODE_OFF; in voice_set_parameters()
494 tty_mode = TTY_MODE_VCO; in voice_set_parameters()
496 tty_mode = TTY_MODE_HCO; in voice_set_parameters()
498 tty_mode = TTY_MODE_FULL; in voice_set_parameters()
504 if (tty_mode != adev->voice.tty_mode) { in voice_set_parameters()
505 adev->voice.tty_mode = tty_mode; in voice_set_parameters()
506 adev->acdb_settings = (adev->acdb_settings & TTY_MODE_CLEAR) | tty_mode; in voice_set_parameters()
548 adev->voice.tty_mode = TTY_MODE_OFF; in voice_init()
Dvoice.h59 int tty_mode; member
/hardware/qcom/audio/hal/msm8960/
Dplatform.c659 if (adev->voice.tty_mode == TTY_MODE_FULL) in platform_get_output_snd_device()
661 else if (adev->voice.tty_mode == TTY_MODE_VCO) in platform_get_output_snd_device()
663 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/msm8916/
Dplatform.c1942 if (adev->voice.tty_mode != TTY_MODE_OFF) {
1943 switch (adev->voice.tty_mode) {
1955 __func__, adev->voice.tty_mode);
2184 if (adev->voice.tty_mode != TTY_MODE_OFF) {
2188 switch (adev->voice.tty_mode) {
2200 __func__, adev->voice.tty_mode);
/hardware/qcom/audio/hal/msm8974/
Dplatform.c2962 (adev->voice.tty_mode == TTY_MODE_FULL)) in platform_get_output_snd_device()
2965 (adev->voice.tty_mode == TTY_MODE_VCO)) in platform_get_output_snd_device()
2968 (adev->voice.tty_mode == TTY_MODE_HCO)) in platform_get_output_snd_device()
2980 switch (adev->voice.tty_mode) { in platform_get_output_snd_device()
2995 __func__, adev->voice.tty_mode); in platform_get_output_snd_device()
3226 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()
3230 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
3241 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
3245 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()
3257 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()