Home | History | Annotate | Download | only in voice_extn

Lines Matching full:vsid

35 #define AUDIO_PARAMETER_KEY_VSID                "vsid"
85 static bool is_valid_vsid(uint32_t vsid)
87 if (vsid == VOICE_VSID ||
88 vsid == VOICE2_VSID ||
89 vsid == VOLTE_VSID ||
90 vsid == QCHAT_VSID ||
91 vsid == VOICEMMODE1_VSID ||
92 vsid == VOICEMMODE2_VSID ||
93 vsid == VOWLAN_VSID)
149 session_id = session->vsid;
171 ALOGD("%s: cur_state=%d new_state=%d vsid=%x",
172 __func__, session->state.current, session->state.new, session->vsid);
180 ALOGD("%s: INACTIVE -> ACTIVE vsid:%x", __func__, session->vsid);
191 ALOGD("%s: HOLD -> ACTIVE vsid:%x", __func__, session->vsid);
196 ALOGD("%s: LOCAL_HOLD -> ACTIVE vsid:%x", __func__, session->vsid);
206 ALOGV("%s: CALL_ACTIVE cannot be handled in state=%d vsid:%x",
207 __func__, session->state.current, session->vsid);
218 ALOGD("%s: ACTIVE/HOLD/LOCAL_HOLD -> INACTIVE vsid:%x", __func__, session->vsid);
229 ALOGV("%s: CALL_INACTIVE cannot be handled in state=%d vsid:%x",
230 __func__, session->state.current, session->vsid);
239 ALOGD("%s: CALL_ACTIVE -> HOLD vsid:%x", __func__, session->vsid);
244 ALOGD("%s: CALL_LOCAL_HOLD -> HOLD vsid:%x", __func__, session->vsid);
254 ALOGV("%s: CALL_HOLD cannot be handled in state=%d vsid:%x",
255 __func__, session->state.current, session->vsid);
265 ALOGD("%s: ACTIVE/CALL_HOLD -> LOCAL_HOLD vsid:%x", __func__,
266 session->vsid);
276 ALOGV("%s: CALL_LOCAL_HOLD cannot be handled in state=%d vsid:%x",
277 __func__, session->state.current, session->vsid);
291 const uint32_t vsid, const int call_state)
298 if (vsid == adev->voice.session[i].vsid) {
368 adev->voice.session[VOICE_SESS_IDX].vsid = VOICE_VSID;
369 adev->voice.session[VOICE2_SESS_IDX].vsid = VOICE2_VSID;
370 adev->voice.session[VOLTE_SESS_IDX].vsid = VOLTE_VSID;
371 adev->voice.session[QCHAT_SESS_IDX].vsid = QCHAT_VSID;
372 adev->voice.session[VOWLAN_SESS_IDX].vsid = VOWLAN_VSID;
373 adev->voice.session[MMODE1_SESS_IDX].vsid = VOICEMMODE1_VSID;
374 adev->voice.session[MMODE2_SESS_IDX].vsid = VOICEMMODE2_VSID;
468 uint32_t vsid = value;
480 if (is_valid_vsid(vsid) && is_valid_call_state(call_state)) {
481 ret = update_call_states(adev, vsid, call_state);
483 ALOGE("%s: invalid vsid:%x or call_state:%d",
484 __func__, vsid, call_state);
533 vsid,