Home
last modified time | relevance | path

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

/base/telephony/core_service/services/sim/src/
Dsim_state_manager.cpp36 std::lock_guard<std::mutex> lck(mtx_); in Init() local
69 std::lock_guard<std::mutex> lck(mtx_); in RegisterCoreNotify() local
79 std::lock_guard<std::mutex> lck(mtx_); in UnRegisterCoreNotify() local
87 std::lock_guard<std::mutex> lck(mtx_); in HasSimCard() local
98 std::lock_guard<std::mutex> lck(mtx_); in GetSimState() local
109 std::lock_guard<std::mutex> lck(mtx_); in GetCardType() local
122 std::unique_lock<std::mutex> lck(ctx_); in UnlockPin() local
128 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in UnlockPin()
156 std::unique_lock<std::mutex> lck(ctx_); in UnlockPuk() local
162 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in UnlockPuk()
[all …]
Dicc_operator_privilege_controller.cpp160 std::unique_lock<std::mutex> lck(mtx_); in SuccessLoaded() local
162 cv_.wait_for(lck, std::chrono::milliseconds(timeSlice)); in SuccessLoaded()
Dmulti_sim_controller.cpp449 std::unique_lock<std::mutex> lck(radioProtocolController_->ctx_); in SetActiveSimToRil() local
457 radioProtocolController_->cv_.wait(lck); in SetActiveSimToRil()
Dsim_state_handle.cpp449 std::unique_lock<std::mutex> lck(SimStateManager::ctx_); in SyncCmdResponse() local
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_pipe.cpp119 std::lock_guard<std::mutex> lck(g_pipeMapsMutex); in FaultLoggerPipeMap() local
125 std::lock_guard<std::mutex> lck(g_pipeMapsMutex); in ~FaultLoggerPipeMap() local
134 std::lock_guard<std::mutex> lck(g_pipeMapsMutex); in Set() local
143 std::lock_guard<std::mutex> lck(g_pipeMapsMutex); in Get() local
152 std::lock_guard<std::mutex> lck(g_pipeMapsMutex); in Del() local
/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/sensors/miscdevice/services/miscdevice_service/src/
Dvibrator_thread.cpp69 std::unique_lock<std::mutex> lck(currentVibrationMutex_); in UpdateVibratorEffect() local
75 std::unique_lock<std::mutex> lck(currentVibrationMutex_); in GetCurrentVibrateInfo() local
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_unwind_local.cpp71 std::unique_lock<std::mutex> lck(localDumperMutex_); in Init() local
104 std::unique_lock<std::mutex> lck(localDumperMutex_); in Destroy() local
217 std::unique_lock<std::mutex> lck(localDumperMutex_); in ExecLocalDumpUnwindByWait() local
329 std::unique_lock<std::mutex> lck(localDumperMutex_); in LocalDumper() local
357 localDumperCV_.wait_for(lck, std::chrono::milliseconds(2000)); // 2000 : 2000ms in LocalDumper()
Ddfx_ring_buffer_wrapper.cpp45 std::unique_lock<std::mutex> lck(printMutex_); in LoopPrintRingBuffer() local
67 … printCV_.wait_for(lck, std::chrono::milliseconds(BACK_TRACE_RING_BUFFER_PRINT_WAIT_TIME_MS)); in LoopPrintRingBuffer()
/base/request/request/download/services/src/
Ddownload_service_ability.cpp252 std::lock_guard<std::mutex> lck(listenerMapMutex_); in On() local
263 std::lock_guard<std::mutex> lck(listenerMapMutex_); in On() local
278 std::lock_guard<std::mutex> lck(listenerMapMutex_); in Off() local
361 std::lock_guard<std::mutex> lck(unregisteredNotifyMutex_); in AddUnregisteredNotify() local
383 std::lock_guard<std::mutex> lck(unregisteredNotifyMutex_); in DoUnregisteredNotify() local
Ddownload_service_manager.cpp469 std::lock_guard<std::mutex> lck(appStateMutex_); in UpdateAppState() local
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
Ddfx_dump_catcher.cpp221 std::unique_lock<std::mutex> lck(dumpCatcherMutex_); in DumpCatch() local
491 std::unique_lock<std::mutex> lck(dumpCatcherMutex_); in DumpCatchMultiPid() local
530 std::unique_lock<std::mutex> lck(dumpCatcherMutex_); in InitFrameCatcher() local
540 std::unique_lock<std::mutex> lck(dumpCatcherMutex_); in DestroyFrameCatcher() local
565 std::unique_lock<std::mutex> lck(dumpCatcherMutex_); in CatchFrame() local
/base/update/updater/services/ui/
Dupdater_ui.cpp37 std::lock_guard<std::mutex> lck(g_mtx); in IsAlreadyInCallback() local
47 std::lock_guard<std::mutex> lck(g_mtx); in ExitCallback() local
/base/telephony/sms_mms/services/
Dsms_sender.cpp83 std::unique_lock<std::mutex> lck(ctx_); in SyncSwitchISmsResponse() local
284 std::unique_lock<std::mutex> lck(ctx_); in SetImsSmsConfig() local
291 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/theme/screenlock_mgr/services/src/
Dscreenlock_system_ability.cpp242 std::lock_guard<std::mutex> lck(listenerMutex_); in OnSystemReady() local
441 std::lock_guard<std::mutex> lck(listenerMutex_); in OnSystemEvent() local
700 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 __anon7be90bc50102()
/base/theme/wallpaper_mgr/frameworks/innerkitsimpl/wallpaper_manager/src/
Dwallpaper_manager.cpp412 std::lock_guard<std::mutex> lck(listenerMapMutex_); in On() local
432 std::lock_guard<std::mutex> lck(listenerMapMutex_); in Off() local
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp833 unique_lock<mutex> lck(mtx); in __anon2093e9d50402() local
854 unique_lock<mutex> lck(mtx);
855 cv.wait(lck, [&cnt]() { return (cnt == reqTimes); }); in __anon2093e9d50502()
990 unique_lock<mutex> lck(g_mtx); in TestDeviceSecurityInfoCallback() local
1014 unique_lock<mutex> lck(g_mtx);
1015 g_cv.wait_for(lck, std::chrono::milliseconds(2000), []() { return (g_cnt == 3); }); in __anon2093e9d50702()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp283 std::unique_lock<std::mutex> lck(mtx_); in OnConnected() local
289 std::unique_lock<std::mutex> lck(mtx_); in OnDisconnected() local
297 std::unique_lock<std::mutex> lck(mtx_); in OnUpdate() local
303 std::unique_lock<std::mutex> lck(mtx_); in OnDoNotDisturbDateChange() local
311 std::unique_lock<std::mutex> lck(mtx_); in OnEnabledNotificationChanged() local
319 std::unique_lock<std::mutex> lck(mtx_); in OnCanceled() local
325 std::unique_lock<std::mutex> lck(mtx_); in OnConsumed() local
334 std::unique_lock<std::mutex> lck(mtx_); in OnConsumed() local
340 std::unique_lock<std::mutex> lck(mtx_); in GetEvents() local
346 std::unique_lock<std::mutex> lck(mtx_); in ClearEvents() local
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_sender.cpp384 std::unique_lock<std::mutex> lck(ctx_); in IsImsSmsSupported() local
390 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in IsImsSmsSupported()
/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp202 std::unique_lock<std::mutex> lck(intervalMutex_); in JudgmentRateLimiting() local
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_sender.cpp520 std::unique_lock<std::mutex> lck(ctx_); in IsImsSmsSupported() local
526 if (cv_.wait_for(lck, std::chrono::seconds(WAIT_TIME_SECOND)) == std::cv_status::timeout) { in IsImsSmsSupported()