Searched refs:tty_mode (Results 1 – 5 of 5) sorted by relevance
489 int tty_mode; in voice_set_parameters() local492 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()
59 int tty_mode; member
677 if (adev->voice.tty_mode == TTY_MODE_FULL) in platform_get_output_snd_device()679 else if (adev->voice.tty_mode == TTY_MODE_VCO) in platform_get_output_snd_device()681 else if (adev->voice.tty_mode == TTY_MODE_HCO) in platform_get_output_snd_device()783 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()786 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()797 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
1965 if (adev->voice.tty_mode != TTY_MODE_OFF) {1966 switch (adev->voice.tty_mode) {1978 __func__, adev->voice.tty_mode);2207 if (adev->voice.tty_mode != TTY_MODE_OFF) {2211 switch (adev->voice.tty_mode) {2223 __func__, adev->voice.tty_mode);
2986 (adev->voice.tty_mode == TTY_MODE_FULL)) in platform_get_output_snd_device()2989 (adev->voice.tty_mode == TTY_MODE_VCO)) in platform_get_output_snd_device()2992 (adev->voice.tty_mode == TTY_MODE_HCO)) in platform_get_output_snd_device()3004 switch (adev->voice.tty_mode) { in platform_get_output_snd_device()3019 __func__, adev->voice.tty_mode); in platform_get_output_snd_device()3250 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()3254 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()3265 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()3269 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()3281 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()