Home
last modified time | relevance | path

Searched refs:call_state (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.c77 static bool is_valid_call_state(int call_state) in is_valid_call_state() argument
79 if (call_state < CALL_INACTIVE || call_state > CALL_LOCAL_HOLD) in is_valid_call_state()
140 int call_state) in get_session_id_with_state() argument
148 if(session->state.current == call_state){ in get_session_id_with_state()
291 const uint32_t vsid, const int call_state) in update_call_states() argument
305 session->state.new = call_state; in update_call_states()
469 int call_state = -1; in voice_extn_set_parameters() local
472 call_state = value; in voice_extn_set_parameters()
480 if (is_valid_vsid(vsid) && is_valid_call_state(call_state)) { in voice_extn_set_parameters()
481 ret = update_call_states(adev, vsid, call_state); in voice_extn_set_parameters()
[all …]
/hardware/qcom/audio/hal/
Dvoice.h45 struct call_state { struct
53 struct call_state state; argument
Dvoice.c250 bool call_state = false; in voice_is_call_state_active() local
253 ret = voice_extn_is_call_state_active(adev, &call_state); in voice_is_call_state_active()
255call_state = (adev->voice.session[VOICE_SESS_IDX].state.current == CALL_ACTIVE) ? true : false; in voice_is_call_state_active()
258 return call_state; in voice_is_call_state_active()