Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 30) sorted by relevance

12

/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.c127 struct voice_session *session = NULL; in get_session_id_with_state() local
132 session = &adev->voice.session[i]; in get_session_id_with_state()
133 if(session->state.current == call_state){ in get_session_id_with_state()
134 session_id = session->vsid; in get_session_id_with_state()
147 struct voice_session *session = NULL; in update_calls() local
155 session = &adev->voice.session[i]; in update_calls()
157 __func__, session->state.current, session->state.new, session->vsid); in update_calls()
159 switch(session->state.new) in update_calls()
162 switch(session->state.current) in update_calls()
165 ALOGD("%s: INACTIVE -> ACTIVE vsid:%x", __func__, session->vsid); in update_calls()
[all …]
Dvoice_extn.h25 struct voice_session **session);
50 struct voice_session **session __unused) in voice_extn_get_session_from_use_case()
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c62 struct session_s *session; // session the effect is on member
162 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled);
175 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
205 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
225 session_set_fx_enabled(effect->session, effect->id, true); in effect_set_state()
250 struct session_s *session, in effect_create() argument
253 effect->session = session; in effect_create()
268 static int session_init(struct session_s *session) in session_init() argument
273 session->state = SESSION_STATE_INIT; in session_init()
274 session->id = 0; in session_init()
[all …]
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
DClientLib.cpp299 mcSessionHandle_t *session, in mcOpenSession() argument
311 CHECK_NOT_NULL(session); in mcOpenSession()
322 Device *device = resolveDeviceId(session->deviceId); in mcOpenSession()
342 session->deviceId, in mcOpenSession()
400 session->sessionId = rspOpenSessionPayload.sessionId; in mcOpenSession()
417 session->deviceId, in mcOpenSession()
418 session->sessionId, in mcOpenSession()
440 device->createNewSession(session->sessionId, sessionConnection); in mcOpenSession()
442 LOG_I(" Successfully opened session %d.", session->sessionId); in mcOpenSession()
459 __MC_CLIENT_LIB_API mcResult_t mcCloseSession(mcSessionHandle_t *session) in mcCloseSession() argument
[all …]
DDevice.cpp107 Session *session = new Session(sessionId, pMcKMod, connection); in createNewSession() local
108 sessionList.push_back(session); in createNewSession()
/hardware/qcom/audio/hal/
Dvoice.c43 struct voice_session *session = NULL; in voice_get_session_from_use_case() local
46 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); in voice_get_session_from_use_case()
48 session = &adev->voice.session[VOICE_SESS_IDX]; in voice_get_session_from_use_case()
51 return session; in voice_get_session_from_use_case()
58 struct voice_session *session = NULL; in voice_stop_usecase() local
62 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); in voice_stop_usecase()
63 session->state.current = CALL_INACTIVE; in voice_stop_usecase()
65 ret = platform_stop_voice_call(adev->platform, session->vsid); in voice_stop_usecase()
68 if (session->pcm_rx) { in voice_stop_usecase()
69 pcm_close(session->pcm_rx); in voice_stop_usecase()
[all …]
Dvoice.h57 struct voice_session session[MAX_VOICE_SESSIONS]; member
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp137 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 …]
Dloc_eng_ni.h53 loc_eng_ni_session_s_type session; /* SUPL NI Session */ member
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/public/
DMobiCoreDriverApi.h234 mcSessionHandle_t *session,
258 mcSessionHandle_t *session
275 mcSessionHandle_t *session
300 mcSessionHandle_t *session,
379 mcSessionHandle_t *session,
408 mcSessionHandle_t *session,
447 mcSessionHandle_t *session,
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
DMobiCoreDevice.cpp68 for (trustletSessionIterator_t session = trustletSessions.begin(); in getTrustletSession() local
69 session != trustletSessions.end(); in getTrustletSession()
70 ++session) { in getTrustletSession()
71 TrustletSession *tsTmp = *session; in getTrustletSession()
80 void MobiCoreDevice::cleanSessionBuffers(TrustletSession *session) in cleanSessionBuffers() argument
82 CWsm_ptr pWsm = session->popBulkBuff(); in cleanSessionBuffers()
86 pWsm = session->popBulkBuff(); in cleanSessionBuffers()
92 for (trustletSessionIterator_t session = trustletSessions.begin(); in removeTrustletSession() local
93 session != trustletSessions.end(); in removeTrustletSession()
94 ++session) { in removeTrustletSession()
[all …]
/hardware/ti/omap4-aah/security/tee_client_api/
Dtee_client_api_linux_driver.c464 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/tee_client_api/
Dtee_client_api_linux_driver.c456 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/omap4xxx/security/tf_sdk/include/
Dtee_client_api.h163 TEEC_Session* session,
171 TEEC_Session* session);
174 TEEC_Session* session,
Dtee_client_api_ex.h86 TEEC_Session* session,
95 TEEC_Session* session,
/hardware/ti/omap4-aah/security/tf_sdk/include/
Dtee_client_api.h163 TEEC_Session* session,
171 TEEC_Session* session);
174 TEEC_Session* session,
Dtee_client_api_ex.h86 TEEC_Session* session,
95 TEEC_Session* session,
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyInterface.h101 int session = 0) = 0;
105 int session = 0) = 0;
156 int session,
249 virtual status_t moveEffects(int session,
DAudioPolicyManagerBase.h97 int session = 0);
100 int session = 0);
135 int session,
/hardware/libhardware/include/hardware/
Daudio_policy.h144 int session);
151 int session);
225 int session,
370 int session,
/hardware/libhardware_legacy/audio/
Daudio_policy_hal.cpp154 audio_stream_type_t stream, int session) in ap_start_output() argument
158 session); in ap_start_output()
162 audio_stream_type_t stream, int session) in ap_stop_output() argument
166 session); in ap_stop_output()
281 int session, in ap_register_effect() argument
285 return lap->apm->registerEffect(desc, io, strategy, session, id); in ap_register_effect()
DAudioPolicyCompatClient.cpp93 status_t AudioPolicyCompatClient::moveEffects(int session, audio_io_handle_t srcOutput, in moveEffects() argument
96 return mServiceOps->move_effects(mService, session, srcOutput, dstOutput); in moveEffects()
DAudioPolicyCompatClient.h60 virtual status_t moveEffects(int session,
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_policy_hal.cpp152 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/modules/audio/
Daudio_policy.c109 audio_stream_type_t stream, int session) in ap_start_output() argument
115 audio_stream_type_t stream, int session) in ap_stop_output() argument
206 int session, in ap_register_effect() argument

12