/base/telephony/core_service/services/sim/src/ |
D | sim_state_manager.cpp | 37 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 …]
|
D | icc_operator_privilege_controller.cpp | 161 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/ |
D | fault_logger_pipe.cpp | 120 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/ |
D | battery_event_system_test.cpp | 428 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/ |
D | catchframe_local.cpp | 67 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/ |
D | dlp_permission_kit.cpp | 40 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/ |
D | permission_grant_event.cpp | 40 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/ |
D | data_request.cpp | 57 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()
|
D | mms_conn_callback_stub.cpp | 44 std::unique_lock<std::mutex> lck(DataRequest::ctx_); in SyncNetworkResponse() local
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_level_event_system_test_off.cpp | 107 std::unique_lock<std::mutex> lck(g_mtx); 108 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
|
D | power_level_event_system_test_on.cpp | 108 std::unique_lock<std::mutex> lck(g_mtx); 109 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
|
D | power_mgr_shutdown_fast_test.cpp | 115 std::unique_lock<std::mutex> lck(g_mtx); 116 if (g_cv.wait_for(lck, std::chrono::seconds(TIME_OUT)) == std::cv_status::timeout) {
|
D | power_mgr_powersavemode_test.cpp | 455 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/ |
D | vibrator_thread.cpp | 71 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/ |
D | dfx_ring_buffer_wrapper.cpp | 43 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/ |
D | async_shutdown_callback_test.cpp | 96 std::unique_lock<std::mutex> lck(g_mtx); in WaitingCallback() local 99 g_cv.wait(lck); in WaitingCallback()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_sender.cpp | 83 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/ |
D | file_operation.cpp | 87 std::lock_guard<std::mutex> lck(g_mutex); in ReadFile() local
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/ |
D | fuse_daemon.cpp | 470 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/ |
D | event_logger.cpp | 124 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/ |
D | sec_comp_enhance_adapter.cpp | 51 std::unique_lock<std::mutex> lck(initMtx); in InitEnhanceHandler() local
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
D | dfx_dump_catcher.cpp | 153 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/ |
D | screenlock_system_ability.cpp | 248 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/ |
D | DevSLMgrTest.cpp | 268 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/ |
D | dslm_test.cpp | 900 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()
|