Home
last modified time | relevance | path

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

1234567

/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.c142 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 …]
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c66 struct session_s *session; // session the effect is on member
166 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled);
179 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
209 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
229 session_set_fx_enabled(effect->session, effect->id, true); in effect_set_state()
254 struct session_s *session, in effect_create() argument
257 effect->session = session; in effect_create()
272 static int session_init(struct session_s *session) in session_init() argument
277 session->state = SESSION_STATE_INIT; in session_init()
278 session->id = 0; in session_init()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_tonemapper.cpp164 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
165 ToneMap(&content_list->hwLayers[i], layer, session); in HandleToneMap()
166 session->layer_index_ = INT(i); in HandleToneMap()
173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { in ToneMap() argument
178 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; in ToneMap()
183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); in ToneMap()
189 if (session->release_fence_fd_[buffer_index] >= 0) { in ToneMap()
190 CloseFd(&session->release_fence_fd_[buffer_index]); in ToneMap()
194 fence_fd = session->gpu_tone_mapper_->blit(reinterpret_cast<const void *>(dst_hnd), in ToneMap()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_tonemapper.cpp164 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
165 ToneMap(&content_list->hwLayers[i], layer, session); in HandleToneMap()
166 session->layer_index_ = INT(i); in HandleToneMap()
173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { in ToneMap() argument
178 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; in ToneMap()
183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); in ToneMap()
189 if (session->release_fence_fd_[buffer_index] >= 0) { in ToneMap()
190 CloseFd(&session->release_fence_fd_[buffer_index]); in ToneMap()
194 fence_fd = session->gpu_tone_mapper_->blit(reinterpret_cast<const void *>(dst_hnd), in ToneMap()
[all …]
/hardware/google/av/media/eco/tests/
DEcoServiceTest.cpp86 sp<IECOSession> session = nullptr; in TEST_F() local
88 service->obtainSession(-1 /* width */, kTestHeight, kIsCameraRecording, &session); in TEST_F()
89 EXPECT_FALSE(session); in TEST_F()
96 sp<IECOSession> session = nullptr; in TEST_F() local
98 service->obtainSession(kTestWidth, -1 /* height */, kIsCameraRecording, &session); in TEST_F()
99 EXPECT_FALSE(session); in TEST_F()
106 sp<IECOSession> session = nullptr; in TEST_F() local
108 service->obtainSession(kTestWidth, kTestHeight, false /* isCameraRecording */, &session); in TEST_F()
109 EXPECT_TRUE(session); in TEST_F()
117 sp<IECOSession> session = nullptr; in TEST_F() local
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp212 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
213 ToneMap(layer, session); in HandleToneMap()
214 session->layer_index_ = INT(i); in HandleToneMap()
221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap() argument
225 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); in ToneMap()
244 DumpToneMapOutput(session, &ctx.fence_fd); in ToneMap()
245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap()
252 ToneMapSession *session = tone_map_sessions_.at(session_index); in PostCommit() local
[all …]
/hardware/qcom/gps/msm8994/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 …]
/hardware/qcom/sdm845/gps/msm8994/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 …]
/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 …]
/hardware/qcom/sdm845/gps/msm8996/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 …]
/hardware/qcom/gps/msm8909/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 …]
/hardware/qcom/sdm845/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 …]
/hardware/qcom/sdm845/gps/msm8084/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 …]
/hardware/qcom/sdm845/gps/msm8909/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 …]
/hardware/qcom/gps/msm8996/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 …]
/hardware/qcom/gps/msm8084/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 …]
/hardware/qcom/audio/hal/
Dvoice.c45 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()
106 struct voice_session *session = NULL; in voice_stop_usecase() local
110 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); in voice_stop_usecase()
119 session->state.current = CALL_INACTIVE; in voice_stop_usecase()
125 ret = platform_stop_voice_call(adev->platform, session->vsid); in voice_stop_usecase()
128 if (session->pcm_rx) { in voice_stop_usecase()
129 pcm_close(session->pcm_rx); in voice_stop_usecase()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_tonemapper.cpp214 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
215 ToneMap(layer, session); in HandleToneMap()
217 session->layer_index_ = INT(i); in HandleToneMap()
224 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap() argument
228 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
229 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
244 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); in ToneMap()
247 DumpToneMapOutput(session, &ctx.fence_fd); in ToneMap()
248 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap()
255 ToneMapSession *session = tone_map_sessions_.at(session_index); in PostCommit() local
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_tonemapper.cpp214 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
215 ToneMap(layer, session); in HandleToneMap()
217 session->layer_index_ = INT(i); in HandleToneMap()
224 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap() argument
228 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
229 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
244 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); in ToneMap()
247 DumpToneMapOutput(session, &ctx.fence_fd); in ToneMap()
248 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap()
255 ToneMapSession *session = tone_map_sessions_.at(session_index); in PostCommit() local
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_tonemapper.cpp212 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
213 ToneMap(layer, session); in HandleToneMap()
214 session->layer_index_ = INT(i); in HandleToneMap()
221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap() argument
225 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); in ToneMap()
244 DumpToneMapOutput(session, &ctx.fence_fd); in ToneMap()
245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap()
252 ToneMapSession *session = tone_map_sessions_.at(session_index); in PostCommit() local
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_tonemapper.cpp213 ToneMapSession *session = tone_map_sessions_.at(session_index); in HandleToneMap() local
214 ToneMap(layer, session); in HandleToneMap()
216 session->layer_index_ = INT(i); in HandleToneMap()
223 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap() argument
227 uint8_t buffer_index = session->current_buffer_index_; in ToneMap()
228 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
243 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); in ToneMap()
246 DumpToneMapOutput(session, &ctx.fence_fd); in ToneMap()
247 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap()
254 ToneMapSession *session = tone_map_sessions_.at(session_index); in PostCommit() local
[all …]
/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPIClientBase.cpp91 uint32_t session = mLocationControlAPI->gnssDeleteAidingData(data); in locAPIGnssDeleteAidingData() local
92 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIGnssDeleteAidingData()
93 mRequestQueues[CTRL_REQUEST_DELETEAIDINGDATA].reset(session); in locAPIGnssDeleteAidingData()
111 uint32_t session = mLocationControlAPI->enable(techType); in locAPIEnable() local
112 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIEnable()
113 mRequestQueues[CTRL_REQUEST_CONTROL].reset(session); in locAPIEnable()
129 uint32_t session = 0; in locAPIDisable() local
130 session = mRequestQueues[CTRL_REQUEST_CONTROL].getSession(); in locAPIDisable()
131 if (session > 0) { in locAPIDisable()
133 mLocationControlAPI->disable(session); in locAPIDisable()
[all …]
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp77 sp<CameraDeviceSession> session = mSession.promote(); in setConnectionStatus() local
78 if (session == nullptr) { in setConnectionStatus()
84 session->disconnect(); in setConnectionStatus()
179 sp<CameraDeviceSession> session = nullptr; in open() local
199 session = mSession.promote(); in open()
200 if (session != nullptr && !session->isClosed()) { in open()
246 session = createSession( in open()
248 if (session == nullptr) { in open()
254 if (session->isInitFailed()) { in open()
256 session = nullptr; in open()
[all …]
/hardware/google/av/media/eco/
DECOService.cpp76 sp<ECOSession> session = iter->second.promote(); in obtainSession() local
78 *_aidl_return = session; in obtainSession()
115 sp<ECOSession> session = iter->second.promote(); in getSessions() local
116 _aidl_return->push_back(IInterface::asBinder(session)); in getSessions()
122 sp<ECOSession> session = entry.promote(); in isEmptySession() local
123 return session == nullptr; in isEmptySession()
150 sp<ECOSession> session = it->second.promote(); in dump() local
151 if (session != nullptr) { in dump()
152 session->dump(fd, args); in dump()
/hardware/qcom/sdm845/gps/sdm845/location/
DLocationAPIClientBase.cpp91 uint32_t session = mLocationControlAPI->gnssDeleteAidingData(data); in locAPIGnssDeleteAidingData() local
92 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIGnssDeleteAidingData()
93 mRequestQueues[CTRL_REQUEST_DELETEAIDINGDATA].reset(session); in locAPIGnssDeleteAidingData()
111 uint32_t session = mLocationControlAPI->enable(techType); in locAPIEnable() local
112 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIEnable()
113 mRequestQueues[CTRL_REQUEST_CONTROL].reset(session); in locAPIEnable()
129 uint32_t session = 0; in locAPIDisable() local
130 session = mRequestQueues[CTRL_REQUEST_CONTROL].getSession(); in locAPIDisable()
131 if (session > 0) { in locAPIDisable()
133 mLocationControlAPI->disable(session); in locAPIDisable()
[all …]

1234567