/hardware/qcom/audio/hal/voice_extn/ |
D | voice_extn.c | 142 struct voice_session *session = NULL; in get_session_id_with_state() local 147 session = &adev->voice.session[i]; in get_session_id_with_state() 148 if(session->state.current == call_state){ in get_session_id_with_state() 149 session_id = session->vsid; in get_session_id_with_state() 162 struct voice_session *session = NULL; in update_calls() local 170 session = &adev->voice.session[i]; in update_calls() 172 __func__, session->state.current, session->state.new, session->vsid); in update_calls() 174 switch(session->state.new) in update_calls() 177 switch(session->state.current) in update_calls() 180 ALOGD("%s: INACTIVE -> ACTIVE vsid:%x", __func__, session->vsid); in update_calls() [all …]
|
D | voice_extn.h | 25 struct voice_session **session); 50 struct voice_session **session __unused) in voice_extn_get_session_from_use_case()
|
/hardware/qcom/audio/voice_processing/ |
D | voice_processing.c | 63 struct session_s *session; // session the effect is on member 163 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled); 176 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state() 206 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state() 226 session_set_fx_enabled(effect->session, effect->id, true); in effect_set_state() 251 struct session_s *session, in effect_create() argument 254 effect->session = session; in effect_create() 269 static int session_init(struct session_s *session) in session_init() argument 274 session->state = SESSION_STATE_INIT; in session_init() 275 session->id = 0; in session_init() [all …]
|
/hardware/qcom/audio/hal/ |
D | voice.c | 45 struct voice_session *session = NULL; in voice_get_session_from_use_case() local 48 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); in voice_get_session_from_use_case() 50 session = &adev->voice.session[VOICE_SESS_IDX]; in voice_get_session_from_use_case() 53 return session; in voice_get_session_from_use_case() 112 struct voice_session *session = NULL; in voice_stop_usecase() local 116 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); in voice_stop_usecase() 125 session->state.current = CALL_INACTIVE; in voice_stop_usecase() 131 ret = platform_stop_voice_call(adev->platform, session->vsid); in voice_stop_usecase() 134 if (session->pcm_rx) { in voice_stop_usecase() 135 pcm_close(session->pcm_rx); in voice_stop_usecase() [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_ni.cpp | 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || in loc_eng_ni_request_handler() 145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler() 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { in loc_eng_ni_reset_on_engine_restart() 295 free(loc_eng_ni_data_p->session.rawRequest); in loc_eng_ni_reset_on_engine_restart() 296 loc_eng_ni_data_p->session.rawRequest = NULL; in loc_eng_ni_reset_on_engine_restart() 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 301 loc_eng_ni_data_p->session.respRecvd = TRUE; in loc_eng_ni_reset_on_engine_restart() 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond); in loc_eng_ni_reset_on_engine_restart() 303 pthread_mutex_unlock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 344 loc_eng_ni_data_p->session.respTimeLeft = 0; in loc_eng_ni_init() [all …]
|
D | loc_eng_ni.h | 53 loc_eng_ni_session_s_type session; /* SUPL NI Session */ member
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_ni.cpp | 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || in loc_eng_ni_request_handler() 145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler() 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { in loc_eng_ni_reset_on_engine_restart() 295 free(loc_eng_ni_data_p->session.rawRequest); in loc_eng_ni_reset_on_engine_restart() 296 loc_eng_ni_data_p->session.rawRequest = NULL; in loc_eng_ni_reset_on_engine_restart() 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 301 loc_eng_ni_data_p->session.respRecvd = TRUE; in loc_eng_ni_reset_on_engine_restart() 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond); in loc_eng_ni_reset_on_engine_restart() 303 pthread_mutex_unlock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 344 loc_eng_ni_data_p->session.respTimeLeft = 0; in loc_eng_ni_init() [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_ni.cpp | 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || in loc_eng_ni_request_handler() 145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler() 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { in loc_eng_ni_reset_on_engine_restart() 295 free(loc_eng_ni_data_p->session.rawRequest); in loc_eng_ni_reset_on_engine_restart() 296 loc_eng_ni_data_p->session.rawRequest = NULL; in loc_eng_ni_reset_on_engine_restart() 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 301 loc_eng_ni_data_p->session.respRecvd = TRUE; in loc_eng_ni_reset_on_engine_restart() 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond); in loc_eng_ni_reset_on_engine_restart() 303 pthread_mutex_unlock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 344 loc_eng_ni_data_p->session.respTimeLeft = 0; in loc_eng_ni_init() [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_ni.cpp | 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || in loc_eng_ni_request_handler() 145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler() 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { in loc_eng_ni_reset_on_engine_restart() 295 free(loc_eng_ni_data_p->session.rawRequest); in loc_eng_ni_reset_on_engine_restart() 296 loc_eng_ni_data_p->session.rawRequest = NULL; in loc_eng_ni_reset_on_engine_restart() 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 301 loc_eng_ni_data_p->session.respRecvd = TRUE; in loc_eng_ni_reset_on_engine_restart() 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond); in loc_eng_ni_reset_on_engine_restart() 303 pthread_mutex_unlock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 344 loc_eng_ni_data_p->session.respTimeLeft = 0; in loc_eng_ni_init() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_ni.cpp | 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || in loc_eng_ni_request_handler() 145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler() 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { in loc_eng_ni_reset_on_engine_restart() 295 free(loc_eng_ni_data_p->session.rawRequest); in loc_eng_ni_reset_on_engine_restart() 296 loc_eng_ni_data_p->session.rawRequest = NULL; in loc_eng_ni_reset_on_engine_restart() 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 301 loc_eng_ni_data_p->session.respRecvd = TRUE; in loc_eng_ni_reset_on_engine_restart() 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond); in loc_eng_ni_reset_on_engine_restart() 303 pthread_mutex_unlock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 344 loc_eng_ni_data_p->session.respTimeLeft = 0; in loc_eng_ni_init() [all …]
|
/hardware/qcom/gps/msm8998/loc_api/libloc_api_50001/ |
D | loc_eng_ni.cpp | 136 if (NULL != loc_eng_ni_data_p->session.rawRequest || in loc_eng_ni_request_handler() 144 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler() 293 if (NULL != loc_eng_ni_data_p->session.rawRequest) { in loc_eng_ni_reset_on_engine_restart() 294 free(loc_eng_ni_data_p->session.rawRequest); in loc_eng_ni_reset_on_engine_restart() 295 loc_eng_ni_data_p->session.rawRequest = NULL; in loc_eng_ni_reset_on_engine_restart() 297 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 300 loc_eng_ni_data_p->session.respRecvd = TRUE; in loc_eng_ni_reset_on_engine_restart() 301 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond); in loc_eng_ni_reset_on_engine_restart() 302 pthread_mutex_unlock(&loc_eng_ni_data_p->session.tLock); in loc_eng_ni_reset_on_engine_restart() 343 loc_eng_ni_data_p->session.respTimeLeft = 0; in loc_eng_ni_init() [all …]
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session() 89 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx() 90 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx() 91 my_obj->clnt_mgr[client_idx].session[i].active = OMX_TRUE; in mm_jpeg_get_new_session_idx() 121 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session() 89 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx() 90 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx() 91 my_obj->clnt_mgr[client_idx].session[i].active = OMX_TRUE; in mm_jpeg_get_new_session_idx() 121 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()
|
/hardware/ti/omap4xxx/security/tee_client_api/ |
D | tee_client_api_linux_driver.c | 456 TEEC_Session* session, /* OUT */ in TEEC_OpenSession() argument 464 session, in TEEC_OpenSession() 474 void TEEC_CloseSession (TEEC_Session* session) in TEEC_CloseSession() argument 479 if (session == NULL) return; in TEEC_CloseSession() 480 context = session->imp._pContext; in TEEC_CloseSession() 485 sCommand.sCloseClientSession.hClientSession = session->imp._hClientSession; in TEEC_CloseSession() 488 session->imp._hClientSession = S_HANDLE_NULL; in TEEC_CloseSession() 489 session->imp._pContext = NULL; in TEEC_CloseSession() 494 TEEC_Session* session, in TEEC_InvokeCommand() argument 499 return TEEC_InvokeCommandEx(session, in TEEC_InvokeCommand() [all …]
|
/hardware/ti/omap4-aah/security/tee_client_api/ |
D | tee_client_api_linux_driver.c | 464 TEEC_Session* session, /* OUT */ in TEEC_OpenSession() argument 472 session, in TEEC_OpenSession() 482 void TEEC_CloseSession (TEEC_Session* session) in TEEC_CloseSession() argument 487 if (session == NULL) return; in TEEC_CloseSession() 488 context = session->imp._pContext; in TEEC_CloseSession() 493 sCommand.sCloseClientSession.hClientSession = session->imp._hClientSession; in TEEC_CloseSession() 496 session->imp._hClientSession = S_HANDLE_NULL; in TEEC_CloseSession() 497 session->imp._pContext = NULL; in TEEC_CloseSession() 502 TEEC_Session* session, in TEEC_InvokeCommand() argument 507 return TEEC_InvokeCommandEx(session, in TEEC_InvokeCommand() [all …]
|
/hardware/ti/omap4xxx/security/tf_sdk/include/ |
D | tee_client_api.h | 163 TEEC_Session* session, 171 TEEC_Session* session); 174 TEEC_Session* session,
|
D | tee_client_api_ex.h | 86 TEEC_Session* session, 95 TEEC_Session* session,
|
/hardware/ti/omap4-aah/security/tf_sdk/include/ |
D | tee_client_api.h | 163 TEEC_Session* session, 171 TEEC_Session* session); 174 TEEC_Session* session,
|
D | tee_client_api_ex.h | 86 TEEC_Session* session, 95 TEEC_Session* session,
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | mm_camera_shim.h | 91 cam_status_t (*mm_camera_shim_open_session) (int session, 93 int32_t (*mm_camera_shim_close_session)(int session);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | mm_camera_shim.h | 91 cam_status_t (*mm_camera_shim_open_session) (int session, 93 int32_t (*mm_camera_shim_close_session)(int session);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioPolicyInterface.h | 101 audio_session_t session = AUDIO_SESSION_NONE) = 0; 105 audio_session_t session = AUDIO_SESSION_NONE) = 0; 156 audio_session_t session, 249 virtual status_t moveEffects(audio_session_t session,
|
/hardware/libhardware/include/hardware/ |
D | audio_policy.h | 144 audio_session_t session); 151 audio_session_t session); 225 audio_session_t session, 370 audio_session_t session,
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | audio_policy_hal.cpp | 152 audio_stream_type_t stream, int session) in ap_start_output() argument 156 session); in ap_start_output() 160 audio_stream_type_t stream, int session) in ap_stop_output() argument 164 session); in ap_stop_output() 279 int session, in ap_register_effect() argument 283 return qap->apm->registerEffect(desc, io, strategy, session, id); in ap_register_effect()
|
/hardware/libhardware_legacy/audio/ |
D | audio_policy_hal.cpp | 154 audio_stream_type_t stream, audio_session_t session) in ap_start_output() argument 158 session); in ap_start_output() 162 audio_stream_type_t stream, audio_session_t session) in ap_stop_output() argument 166 session); in ap_stop_output() 281 audio_session_t session, in ap_register_effect() argument 285 return lap->apm->registerEffect(desc, io, strategy, session, id); in ap_register_effect()
|