/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/ |
H A D | EffectsFactory.impl.h | 140 Return<void> EffectsFactory::createEffect(const Uuid& uid, int32_t session, int32_t ioHandle, argument 146 status_t status = EffectCreate(&halUuid, session, ioHandle, &handle);
|
/hardware/interfaces/camera/device/3.2/default/ |
H A D | CameraDevice.cpp | 77 sp<CameraDeviceSession> session = mSession.promote(); local 78 if (session == nullptr) { 81 // Only notify active session disconnect events. 84 session->disconnect(); 177 sp<CameraDeviceSession> session = nullptr; local 197 session = mSession.promote(); 198 if (session != nullptr && !session->isClosed()) { 244 session = createSession( 246 if (session 292 sp<CameraDeviceSession> session = mSession.promote(); local [all...] |
/hardware/interfaces/camera/device/3.3/default/ |
H A D | CameraDevice.cpp | 47 sp<CameraDeviceSession> session = new CameraDeviceSession(device, deviceInfo, callback); local 49 session->getInterface()->interfaceChain([]( 57 return session;
|
/hardware/interfaces/camera/device/3.4/default/ |
H A D | CameraDevice.cpp | 47 sp<CameraDeviceSession> session = new CameraDeviceSession(device, deviceInfo, callback); local 49 session->getInterface()->interfaceChain([]( 57 return session;
|
H A D | ExternalCameraDevice.cpp | 99 sp<ExternalCameraDeviceSession> session = nullptr; local 118 session = mSession.promote(); 119 if (session != nullptr && !session->isClosed()) { 146 session = new ExternalCameraDeviceSession( 149 if (session == nullptr) { 150 ALOGE("%s: camera device session allocation failed", __FUNCTION__); 155 if (session->isInitFailed()) { 156 ALOGE("%s: camera device session init failed", __FUNCTION__); 157 session 186 auto session = mSession.promote(); local [all...] |
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
H A D | VtsHalCameraProviderV2_4TargetTest.cpp | 640 sp<ICameraDeviceSession> *session /*out*/, 642 void castSession(const sp<ICameraDeviceSession> &session, int32_t deviceVersion, 662 sp<ICameraDeviceSession> *session /*out*/, 676 static void constructFilteredSettings(const sp<ICameraDeviceSession>& session, 2319 sp<ICameraDeviceSession> session; local 2324 session = newSession; 2327 // Ensure that a device labeling itself as 3.3/3.4 can have its session interface 2331 castSession(session, deviceVersion, &sessionV3_3, &sessionV3_4); 2348 ret = session->close(); 2350 // TODO: test all session AP 2406 sp<ICameraDeviceSession> session; local 2489 sp<ICameraDeviceSession> session; local 2566 sp<ICameraDeviceSession> session; local 2725 sp<ICameraDeviceSession> session; local 2841 sp<ICameraDeviceSession> session; local 2927 sp<ICameraDeviceSession> session; local 3016 sp<ICameraDeviceSession> session; local 3191 sp<ICameraDeviceSession> session; local 3283 sp<ICameraDeviceSession> session; local 3435 sp<ICameraDeviceSession> session; local 3659 sp<ICameraDeviceSession> session; local 3806 sp<ICameraDeviceSession> session; local 3873 sp<ICameraDeviceSession> session; local 3937 sp<ICameraDeviceSession> session; local 4067 sp<ICameraDeviceSession> session; local 4201 constructFilteredSettings(const sp<ICameraDeviceSession>& session, const std::unordered_set<int32_t>& availableKeys, RequestTemplate reqTemplate, android::hardware::camera::common::V1_0::helper::CameraMetadata* defaultSettings, android::hardware::camera::common::V1_0::helper::CameraMetadata* filteredSettings) argument 4429 sp<ICameraDeviceSession> session; local 4621 castSession(const sp<ICameraDeviceSession> &session, int32_t deviceVersion, sp<device::V3_3::ICameraDeviceSession> *session3_3 , sp<device::V3_4::ICameraDeviceSession> *session3_4 ) argument [all...] |
/hardware/interfaces/drm/1.0/vts/functional/ |
H A D | drm_hal_clearkey_test.cpp | 328 * Helper method to open a session and verify that a non-empty 329 * session ID is returned 345 * Helper method to close a session 413 * Test that a session can be opened and closed 431 * Test that attempting to close a session that is already closed 503 SessionId session = openSession(); local 504 closeSession(session); 509 session, keyResponse, 521 SessionId session; local 526 session, keyRespons 538 SessionId session = openSession(); local 719 SessionId session = openSession(); local 730 SessionId session = openSession(); local 741 SessionId session; local 751 SessionId session = openSession(); local 762 SessionId session = openSession(); local 773 SessionId session; local 790 SessionId session = openSession(); local 805 SessionId session = openSession(); local 819 SessionId session = openSession(); local 833 SessionId session = openSession(); local 848 SessionId session = openSession(); local [all...] |
H A D | drm_hal_vendor_test.cpp | 420 * Helper method to open a session and verify that a non-empty 421 * session ID is returned 436 * Helper method to close a session 502 * Test that a session can be opened and closed 522 * Test that attempting to close a valid session twice 555 SessionId session; local 560 session, keyResponse, 573 SessionId session = openSession(); local 576 session, emptyResponse, 582 closeSession(session); 850 SessionId session = openSession(); local 863 SessionId session; local 877 SessionId session = openSession(); local 892 SessionId session = openSession(); local 905 SessionId session; local 919 SessionId session = openSession(); local 940 SessionId session; local 952 SessionId session; local 964 SessionId session; local 976 SessionId session; local 987 SessionId session; local [all...] |
/hardware/interfaces/drm/1.1/vts/functional/ |
H A D | drm_hal_clearkey_test.cpp | 270 * Helper method to open a session and verify that a non-empty 271 * session ID is returned 287 * Helper method to open as session using V1.1 API 304 * Helper method to close a session 449 * Test that the plugin returns default open and max session counts 464 * Test that the plugin returns valid open and max session counts 465 * after a session is opened. 480 SessionId session = openSession(); local 489 closeSession(session); 509 SessionId session local 534 SessionId session = openSession(SecurityLevel::SW_SECURE_CRYPTO); local 549 SessionId session; local [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_policy.c | 109 audio_stream_type_t stream, int session) 115 audio_stream_type_t stream, int session) 206 int session, 108 ap_start_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 114 ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 202 ap_register_effect(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t output, uint32_t strategy, int session, int id) argument
|
/hardware/qcom/audio/hal/ |
H A D | voice.c | 45 struct voice_session *session = NULL; local 48 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); 50 session = &adev->voice.session[VOICE_SESS_IDX]; 53 return session; 105 struct voice_session *session = NULL; local 109 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); 118 session->state.current = CALL_INACTIVE; 124 ret = platform_stop_voice_call(adev->platform, session->vsid); 127 if (session 160 struct voice_session *session = NULL; local [all...] |
H A D | voice.h | 58 struct voice_session session[MAX_VOICE_SESSIONS]; member in struct:voice
|
/hardware/qcom/audio/hal/voice_extn/ |
H A D | voice_extn.c | 133 ALOGE("%s: Invalid voice session index\n", __func__); 142 struct voice_session *session = NULL; local 147 session = &adev->voice.session[i]; 148 if(session->state.current == call_state){ 149 session_id = session->vsid; 162 struct voice_session *session = NULL; local 170 session = &adev->voice.session[i]; 172 __func__, session 293 struct voice_session *session = NULL; local 338 struct voice_session *session = NULL; local 377 voice_extn_get_session_from_use_case(struct audio_device *adev, const audio_usecase_t usecase_id, struct voice_session **session) argument [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | audio_policy_hal.cpp | 152 audio_stream_type_t stream, int session) 156 session); 160 audio_stream_type_t stream, int session) 164 session); 279 int session, 283 return qap->apm->registerEffect(desc, io, strategy, session, id); 151 ap_start_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 159 ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 275 ap_register_effect(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
|
/hardware/qcom/audio/voice_processing/ |
H A D | voice_processing.c | 66 struct session_s *session; // session the effect is on member in struct:effect_s 73 struct effect_s effects[NUM_ID]; // effects in this session 75 int id; // audio session ID 76 int io; // handle of input stream this session is on 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); 209 session_set_fx_enabled(effect->session, effect->id, false); 229 session_set_fx_enabled(effect->session, effect->id, true); 254 struct session_s *session, 253 effect_create(struct effect_s *effect, struct session_s *session, effect_handle_t *interface) argument 272 session_init(struct session_s *session) argument 288 session_create_effect(struct session_s *session, int32_t id, effect_handle_t *interface) argument 319 session_release_effect(struct session_s *session, struct effect_s *fx) argument 336 session_set_config(struct session_s *session, effect_config_t *config) argument 364 session_get_config(struct session_s *session, effect_config_t *config) argument 373 session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled) argument 400 struct session_s *session; local 496 struct session_s *session; local 688 struct session_s *session; local 721 struct session_s *session; local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_interface.c | 216 LOGD("session id:%d match idx:%d\n", session_id, cam_idx); 2281 * DESCRIPTION: retrieve the session ID from the kernel for this HWI instance 2285 * @sessionid: session id to be retrieved from server 2290 * NOTE : if this call succeeds, we will get a valid session id. 2330 * DESCRIPTION: retrieve the session ID from the kernel for this HWI instance 3300 * DESCRIPTION: wrapper function to call shim layer API to open session. 3303 * @sessionid : sessionID to open session 3324 * DESCRIPTION: wrapper function to call shim layer API to close session 3327 * @sessionid : sessionID to open session 3333 int32_t mm_camera_module_close_session(int session) argument [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
H A D | mm_jpeg.h | 277 uint32_t sessionId; /* session ID */ 387 mm_jpeg_job_session_t session[MM_JPEG_MAX_SESSION]; member in struct:__anon2488 424 /* Pointer to the session in progress*/
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
H A D | hwc_tonemapper.cpp | 164 ToneMapSession *session = tone_map_sessions_.at(session_index); local 165 ToneMap(&content_list->hwLayers[i], layer, session); 166 session->layer_index_ = INT(i); 173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { argument 178 uint8_t buffer_index = session->current_buffer_index_; 179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; 183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); 189 if (session->release_fence_fd_[buffer_index] >= 0) { 190 CloseFd(&session->release_fence_fd_[buffer_index]); 194 fence_fd = session 206 ToneMapSession *session = tone_map_sessions_.at(session_index); local 238 DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) argument 300 ToneMapSession *session = new ToneMapSession(); local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_tonemapper.cpp | 213 ToneMapSession *session = tone_map_sessions_.at(session_index); local 214 ToneMap(layer, session); 215 DLOGI_IF(kTagClient, "Layer %d associated with session index %d", i, session_index); 216 session->layer_index_ = INT(i); 223 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { argument 227 uint8_t buffer_index = session->current_buffer_index_; 228 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 243 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 246 DumpToneMapOutput(session, &ctx.fence_fd); 247 session 254 ToneMapSession *session = tone_map_sessions_.at(session_index); local 294 DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) argument 356 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
H A D | hwc_tonemapper.cpp | 164 ToneMapSession *session = tone_map_sessions_.at(session_index); local 165 ToneMap(&content_list->hwLayers[i], layer, session); 166 session->layer_index_ = INT(i); 173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { argument 178 uint8_t buffer_index = session->current_buffer_index_; 179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; 183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); 189 if (session->release_fence_fd_[buffer_index] >= 0) { 190 CloseFd(&session->release_fence_fd_[buffer_index]); 194 fence_fd = session 206 ToneMapSession *session = tone_map_sessions_.at(session_index); local 238 DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) argument 300 ToneMapSession *session = new ToneMapSession(); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_tonemapper.cpp | 212 ToneMapSession *session = tone_map_sessions_.at(session_index); local 213 ToneMap(layer, session); 214 session->layer_index_ = INT(i); 221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { argument 225 uint8_t buffer_index = session->current_buffer_index_; 226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 244 DumpToneMapOutput(session, &ctx.fence_fd); 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); 252 ToneMapSession *session local 291 DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) argument 353 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_tonemapper.cpp | 212 ToneMapSession *session = tone_map_sessions_.at(session_index); local 213 ToneMap(layer, session); 214 session->layer_index_ = INT(i); 221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { argument 225 uint8_t buffer_index = session->current_buffer_index_; 226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 244 DumpToneMapOutput(session, &ctx.fence_fd); 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); 252 ToneMapSession *session local 284 DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) argument 339 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_ni.h | 53 loc_eng_ni_session_s_type session; /* SUPL NI Session */ member in struct:__anon3378
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
H A D | loc_eng_ni.h | 53 loc_eng_ni_session_s_type session; /* SUPL NI Session */ member in struct:__anon3464
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
H A D | loc_eng_ni.h | 53 loc_eng_ni_session_s_type session; /* SUPL NI Session */ member in struct:__anon3521
|