Searched refs:voice (Results 1 – 7 of 7) sorted by relevance
48 session = &adev->voice.session[VOICE_SESS_IDX]; in voice_get_session_from_use_case()155 voice_set_volume(adev, adev->voice.volume); in voice_start_usecase()181 … call_state = (adev->voice.session[VOICE_SESS_IDX].state.current == CALL_ACTIVE) ? true : false; in voice_is_call_state_active()189 return adev->voice.in_call; in voice_is_in_call()289 adev->voice.mic_mute = state; in voice_set_mic_mute()298 return adev->voice.mic_mute; in voice_get_mic_mute()305 adev->voice.volume = volume; in voice_set_volume()330 adev->voice.in_call = true; in voice_start_call()343 adev->voice.in_call = false; in voice_stop_call()395 if (tty_mode != adev->voice.tty_mode) { in voice_set_parameters()[all …]
211 struct voice voice; member
23 voice.c \
56 struct voice { struct
132 session = &adev->voice.session[i]; in get_session_id_with_state()155 session = &adev->voice.session[i]; in update_calls()283 if (vsid == adev->voice.session[i].vsid) { in update_call_states()284 session = &adev->voice.session[i]; in update_call_states()293 __func__, is_call_active, adev->voice.in_call, adev->mode); in update_call_states()299 (adev->voice.in_call && adev->mode == AUDIO_MODE_IN_CALL)) { in update_call_states()328 session = &adev->voice.session[i]; in voice_extn_is_call_state_active()353 adev->voice.session[VOICE_SESS_IDX].vsid = VOICE_VSID; in voice_extn_init()354 adev->voice.session[VOICE2_SESS_IDX].vsid = VOICE2_VSID; in voice_extn_init()355 adev->voice.session[VOLTE_SESS_IDX].vsid = VOLTE_VSID; in voice_extn_init()[all …]
603 if (adev->voice.tty_mode == TTY_MODE_FULL) in platform_get_output_snd_device()605 else if (adev->voice.tty_mode == TTY_MODE_VCO) in platform_get_output_snd_device()607 else if (adev->voice.tty_mode == TTY_MODE_HCO) in platform_get_output_snd_device()698 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()701 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()712 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()
1196 (adev->voice.tty_mode == TTY_MODE_FULL)) in platform_get_output_snd_device()1199 (adev->voice.tty_mode == TTY_MODE_VCO)) in platform_get_output_snd_device()1202 (adev->voice.tty_mode == TTY_MODE_HCO)) in platform_get_output_snd_device()1219 if(adev->voice.hac) in platform_get_output_snd_device()1282 if(adev->voice.hac) in platform_get_output_snd_device()1313 if (adev->voice.tty_mode != TTY_MODE_OFF) { in platform_get_input_snd_device()1317 switch (adev->voice.tty_mode) { in platform_get_input_snd_device()1328 ALOGE("%s: Invalid TTY mode (%#x)", __func__, adev->voice.tty_mode); in platform_get_input_snd_device()