Home
last modified time | relevance | path

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

12

/base/telephony/core_service/services/sim/src/
Dsim_state_manager.cpp37 std::lock_guard<std::mutex> lck(mtx_); in Init() local
70 std::lock_guard<std::mutex> lck(mtx_); in RegisterCoreNotify() local
80 std::lock_guard<std::mutex> lck(mtx_); in UnRegisterCoreNotify() local
88 std::lock_guard<std::mutex> lck(mtx_); in HasSimCard() local
99 std::lock_guard<std::mutex> lck(mtx_); in GetSimState() local
110 std::lock_guard<std::mutex> lck(mtx_); in GetCardType() local
123 std::unique_lock<std::mutex> lck(ctx_); in UnlockPin() local
129 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in UnlockPin()
157 std::unique_lock<std::mutex> lck(ctx_); in UnlockPuk() local
163 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in UnlockPuk()
[all …]
Dicc_operator_privilege_controller.cpp161 std::unique_lock<std::mutex> lck(mtx_); in SuccessLoaded() local
163 cv_.wait_for(lck, std::chrono::milliseconds(timeSlice)); in SuccessLoaded()
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_pipe.cpp120 std::lock_guard<std::mutex> lck(pipeMapsMutex_); in FaultLoggerPipeMap() local
126 std::lock_guard<std::mutex> lck(pipeMapsMutex_); in ~FaultLoggerPipeMap() local
135 std::lock_guard<std::mutex> lck(pipeMapsMutex_); in Set() local
144 std::lock_guard<std::mutex> lck(pipeMapsMutex_); in Check() local
158 std::lock_guard<std::mutex> lck(pipeMapsMutex_); in Get() local
167 std::lock_guard<std::mutex> lck(pipeMapsMutex_); in Del() local
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_event_system_test.cpp428 std::unique_lock<std::mutex> lck(g_mtx);
429 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
447 std::unique_lock<std::mutex> lck(g_mtx);
448 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
466 std::unique_lock<std::mutex> lck(g_mtx);
467 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
485 std::unique_lock<std::mutex> lck(g_mtx);
486 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
504 std::unique_lock<std::mutex> lck(g_mtx);
505 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
[all …]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
Dcatchframe_local.cpp67 std::unique_lock<std::mutex> lck(mutex_); in InitFrameCatcher() local
83 std::unique_lock<std::mutex> lck(mutex_); in DestroyFrameCatcher() local
155 std::unique_lock<std::mutex> lck(mutex_); in CatchFrameCurrTid() local
170 std::unique_lock<std::mutex> lck(mutex_); in CatchFrameLocalTid() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_kit.cpp40 std::unique_lock<std::mutex> lck(generateMtx_); in OnGenerateDlpCertificate() local
54 std::unique_lock<std::mutex> lck(parseMtx_); in OnParseDlpCertificate() local
72 std::unique_lock<std::mutex> lck(callback->generateMtx_); in GenerateDlpCertificate() local
74 callback->generateCv_.wait_for(lck, std::chrono::seconds(TIME_WAIT_TIME_OUT)); in GenerateDlpCertificate()
120 std::unique_lock<std::mutex> lck(callback->parseMtx_); in ParseDlpCertificate() local
122 callback->parseCv_.wait_for(lck, std::chrono::seconds(TIME_WAIT_TIME_OUT)); in ParseDlpCertificate()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_grant_event.cpp40 std::unique_lock<std::mutex> lck(lock_); in AddEvent() local
53 std::unique_lock<std::mutex> lck(lock_); in NotifyPermGrantStoreResult() local
/base/telephony/sms_mms/services/mms/
Ddata_request.cpp57 std::unique_lock<std::mutex> lck(ctx_); in ExecuteMms() local
66 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in ExecuteMms()
Dmms_conn_callback_stub.cpp44 std::unique_lock<std::mutex> lck(DataRequest::ctx_); in SyncNetworkResponse() local
/base/powermgr/power_manager/test/systemtest/src/
Dpower_level_event_system_test_off.cpp107 std::unique_lock<std::mutex> lck(g_mtx);
108 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
Dpower_level_event_system_test_on.cpp108 std::unique_lock<std::mutex> lck(g_mtx);
109 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
Dpower_mgr_shutdown_fast_test.cpp115 std::unique_lock<std::mutex> lck(g_mtx);
116 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
Dpower_mgr_powersavemode_test.cpp455 std::unique_lock<std::mutex> lck(g_mtx);
456 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
/base/sensors/miscdevice/services/miscdevice_service/src/
Dvibrator_thread.cpp71 std::unique_lock<std::mutex> lck(currentVibrationMutex_); in UpdateVibratorEffect() local
77 std::unique_lock<std::mutex> lck(currentVibrationMutex_); in GetCurrentVibrateInfo() local
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_ring_buffer_wrapper.cpp43 std::unique_lock<std::mutex> lck(printMutex_); in LoopPrintRingBuffer() local
65 … printCV_.wait_for(lck, std::chrono::milliseconds(BACK_TRACE_RING_BUFFER_PRINT_WAIT_TIME_MS)); in LoopPrintRingBuffer()
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dasync_shutdown_callback_test.cpp96 std::unique_lock<std::mutex> lck(g_mtx); in WaitingCallback() local
99 g_cv.wait(lck); in WaitingCallback()
/base/telephony/sms_mms/services/sms/
Dsms_sender.cpp83 std::unique_lock<std::mutex> lck(ctx_); in SyncSwitchISmsResponse() local
301 std::unique_lock<std::mutex> lck(ctx_); in SetImsSmsConfig() local
308 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in SetImsSmsConfig()
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp87 std::lock_guard<std::mutex> lck(g_mutex); in ReadFile() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
Dfuse_daemon.cpp470 std::unique_lock<std::mutex> lck(daemonEnableMtx_); in NotifyDaemonEnable() local
477 std::unique_lock<std::mutex> lck(daemonEnableMtx_); in NotifyDaemonDisable() local
485 std::unique_lock<std::mutex> lck(daemonEnableMtx_); in WaitDaemonEnable() local
487 daemonEnableCv_.wait_for(lck, std::chrono::seconds(1)); in WaitDaemonEnable()
/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp124 std::unique_lock<std::mutex> lck(finishMutex_); in OnEvent() local
299 std::unique_lock<std::mutex> lck(hitraceSetMutex_); in DetectionHiTraceMap() local
359 std::unique_lock<std::mutex> lck(intervalMutex_); in JudgmentRateLimiting() local
425 std::unique_lock<std::mutex> lck(finishMutex_); in CheckEventOnContinue() local
/base/security/security_component_manager/frameworks/enhance_adapter/src/
Dsec_comp_enhance_adapter.cpp51 std::unique_lock<std::mutex> lck(initMtx); in InitEnhanceHandler() local
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
Ddfx_dump_catcher.cpp153 std::unique_lock<std::mutex> lck(mutex_); in DumpCatch() local
361 std::unique_lock<std::mutex> lck(mutex_); in DumpCatchMultiPid() local
/base/theme/screenlock_mgr/services/src/
Dscreenlock_system_ability.cpp248 std::lock_guard<std::mutex> lck(listenerMutex_); in OnSystemReady() local
450 std::lock_guard<std::mutex> lck(listenerMutex_); in OnSystemEvent() local
594 std::lock_guard<std::mutex> lck(listenerMutex_); in SystemEventCallBack() local
/base/security/dataclassification/test/unittest/datatransmitmgr/
DDevSLMgrTest.cpp268 std::unique_lock<std::mutex> lck(g_mtx);
269 g_cv.wait_for(lck, std::chrono::milliseconds(2000), []() { return (g_cnt == 1); }); in __anonbe9b8ac20102()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp900 unique_lock<mutex> lck(mtx); in __anonce8318920402() local
921 unique_lock<mutex> lck(mtx);
922 cv.wait(lck, [&cnt]() { return (cnt == reqTimes); }); in __anonce8318920502()
1057 unique_lock<mutex> lck(g_mtx); in TestDeviceSecurityInfoCallback() local
1081 unique_lock<mutex> lck(g_mtx);
1082 g_cv.wait_for(lck, std::chrono::milliseconds(2000), []() { return (g_cnt == 3); }); in __anonce8318920702()

12