Lines Matching defs:vsid
34 #define AUDIO_PARAMETER_KEY_VSID "vsid"
80 static bool is_valid_vsid(uint32_t vsid)
82 if (vsid == VOICE_VSID ||
83 vsid == VOICE2_VSID ||
84 vsid == VOLTE_VSID ||
85 vsid == QCHAT_VSID ||
86 vsid == VOWLAN_VSID)
134 session_id = session->vsid;
156 ALOGD("%s: cur_state=%d new_state=%d vsid=%x",
157 __func__, session->state.current, session->state.new, session->vsid);
165 ALOGD("%s: INACTIVE -> ACTIVE vsid:%x", __func__, session->vsid);
176 ALOGD("%s: HOLD -> ACTIVE vsid:%x", __func__, session->vsid);
181 ALOGD("%s: LOCAL_HOLD -> ACTIVE vsid:%x", __func__, session->vsid);
191 ALOGV("%s: CALL_ACTIVE cannot be handled in state=%d vsid:%x",
192 __func__, session->state.current, session->vsid);
203 ALOGD("%s: ACTIVE/HOLD/LOCAL_HOLD -> INACTIVE vsid:%x", __func__, session->vsid);
214 ALOGV("%s: CALL_INACTIVE cannot be handled in state=%d vsid:%x",
215 __func__, session->state.current, session->vsid);
224 ALOGD("%s: CALL_ACTIVE -> HOLD vsid:%x", __func__, session->vsid);
229 ALOGD("%s: CALL_LOCAL_HOLD -> HOLD vsid:%x", __func__, session->vsid);
239 ALOGV("%s: CALL_HOLD cannot be handled in state=%d vsid:%x",
240 __func__, session->state.current, session->vsid);
250 ALOGD("%s: ACTIVE/CALL_HOLD -> LOCAL_HOLD vsid:%x", __func__,
251 session->vsid);
261 ALOGV("%s: CALL_LOCAL_HOLD cannot be handled in state=%d vsid:%x",
262 __func__, session->state.current, session->vsid);
276 const uint32_t vsid, const int call_state)
283 if (vsid == adev->voice.session[i].vsid) {
353 adev->voice.session[VOICE_SESS_IDX].vsid = VOICE_VSID;
354 adev->voice.session[VOICE2_SESS_IDX].vsid = VOICE2_VSID;
355 adev->voice.session[VOLTE_SESS_IDX].vsid = VOLTE_VSID;
356 adev->voice.session[QCHAT_SESS_IDX].vsid = QCHAT_VSID;
357 adev->voice.session[VOWLAN_SESS_IDX].vsid = VOWLAN_VSID;
443 uint32_t vsid = value;
455 if (is_valid_vsid(vsid) && is_valid_call_state(call_state)) {
456 ret = update_call_states(adev, vsid, call_state);
458 ALOGE("%s: invalid vsid:%x or call_state:%d",
459 __func__, vsid, call_state);
508 "%d:%d,",adev->voice.session[i].vsid,