/base/theme/wallpaper_mgr/utils/include/ |
D | concurrent_map.h | 49 std::lock_guard<decltype(mutex_)> lock(mutex_); 65 std::lock_guard<decltype(mutex_)> lock(mutex_); 73 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace() 80 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find() 91 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains() 98 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign() 105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert() 112 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase() 118 std::lock_guard<decltype(mutex_)> lock(mutex_); in Clear() 124 std::lock_guard<decltype(mutex_)> lock(mutex_); in Empty() [all …]
|
/base/inputmethod/imf/frameworks/common/ |
D | concurrent_map.h | 54 std::lock_guard<decltype(mutex_)> lock(mutex_); 70 std::lock_guard<decltype(mutex_)> lock(mutex_); 77 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace() 86 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace() 95 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace() 105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find() 116 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains() 123 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign() 130 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert() 137 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase() [all …]
|
D | block_data.h | 36 std::lock_guard<std::mutex> lock(mutex_); in SetValue() 44 std::unique_lock<std::mutex> lock(mutex_); in GetValue() 52 std::unique_lock<std::mutex> lock(mutex_); in GetValue() 60 std::lock_guard<std::mutex> lock(mutex_); 69 std::mutex mutex_; variable
|
/base/telephony/call_manager/frameworks/native/src/ |
D | call_ability_callback.cpp | 29 std::lock_guard<std::mutex> lock(mutex_); in SetProcessCallback() 40 std::lock_guard<std::mutex> lock(mutex_); in OnCallDetailsChange() 49 std::lock_guard<std::mutex> lock(mutex_); in OnCallEventChange() 58 std::lock_guard<std::mutex> lock(mutex_); in OnCallDisconnectedCause() 67 std::lock_guard<std::mutex> lock(mutex_); in OnReportAsyncResults() 76 std::lock_guard<std::mutex> lock(mutex_); in OnReportMmiCodeResult() 85 std::lock_guard<std::mutex> lock(mutex_); in OnOttCallRequest() 94 std::lock_guard<std::mutex> lock(mutex_); in OnReportAudioDeviceChange() 103 std::lock_guard<std::mutex> lock(mutex_); in OnReportPostDialDelay() 112 std::lock_guard<std::mutex> lock(mutex_); in OnReportImsCallModeChange() [all …]
|
D | call_manager_proxy.cpp | 63 std::lock_guard<std::mutex> lock(mutex_); in Init() 130 std::lock_guard<std::mutex> lock(mutex_); in UnInit() 140 std::lock_guard<std::mutex> lock(mutex_); in RegisterCallBack() 177 std::lock_guard<std::mutex> lock(mutex_); in UnRegisterCallBack() 274 std::lock_guard<std::mutex> lock(mutex_); in ReRegisterCallBack() 345 std::lock_guard<std::mutex> lock(mutex_); in DialCall() 360 std::lock_guard<std::mutex> lock(mutex_); in AnswerCall() 375 std::lock_guard<std::mutex> lock(mutex_); in RejectCall() 390 std::lock_guard<std::mutex> lock(mutex_); in HangUpCall() 405 std::lock_guard<std::mutex> lock(mutex_); in GetCallState() [all …]
|
/base/telephony/cellular_call/services/manager/src/ |
D | cellular_call_register.cpp | 45 std::lock_guard<std::mutex> lock(mutex_); in ReportCallsInfo() 65 std::lock_guard<std::mutex> lock(mutex_); in RegisterCallManagerCallBack() 75 std::lock_guard<std::mutex> lock(mutex_); in ReportSingleCallInfo() 85 std::lock_guard<std::mutex> lock(mutex_); in UnRegisterCallManagerCallBack() 93 std::lock_guard<std::mutex> lock(mutex_); in ReportEventResultInfo() 105 std::lock_guard<std::mutex> lock(mutex_); in ReportGetWaitingResult() 116 std::lock_guard<std::mutex> lock(mutex_); in ReportSetWaitingResult() 128 std::lock_guard<std::mutex> lock(mutex_); in ReportGetRestrictionResult() 139 std::lock_guard<std::mutex> lock(mutex_); in ReportSetRestrictionResult() 153 std::lock_guard<std::mutex> lock(mutex_); in ReportGetTransferResult() [all …]
|
/base/powermgr/power_manager/utils/ffrt/src/ |
D | ffrt_utils.cpp | 76 mutex_ = new ffrt::mutex(); in Mutex() 81 if (!mutex_) { in ~Mutex() 84 mutex_ = nullptr; in ~Mutex() 85 delete mutex_; in ~Mutex() 90 if (!mutex_) { in Lock() 93 mutex_->lock(); in Lock() 98 if (!mutex_) { in TryLock() 101 return mutex_->try_lock(); in TryLock() 106 if (!mutex_) { in Unlock() 109 mutex_->unlock(); in Unlock()
|
/base/telephony/call_manager/services/call/src/ |
D | call_base.cpp | 113 std::lock_guard<std::mutex> lock(mutex_); in GetCallAttributeBaseInfo() 149 std::lock_guard<std::mutex> lock(mutex_); in GetCallID() 160 std::lock_guard<std::mutex> lock(mutex_); in GetCallRunningState() 167 std::lock_guard<std::mutex> lock(mutex_); in SetTelCallState() 272 std::lock_guard<std::mutex> lock(mutex_); in GetTelCallState() 278 std::lock_guard<std::mutex> lock(mutex_); in SetAutoAnswerState() 285 std::lock_guard<std::mutex> lock(mutex_); in GetAutoAnswerState() 291 std::lock_guard<std::mutex> lock(mutex_); in SetAnswerVideoState() 298 std::lock_guard<std::mutex> lock(mutex_); in GetAnswerVideoState() 304 std::lock_guard<std::mutex> lock(mutex_); in SetCanUnHoldState() [all …]
|
D | call_state_listener.cpp | 38 std::lock_guard<std::mutex> lock(mutex_); in AddOneObserver() 52 std::lock_guard<std::mutex> lock(mutex_); in RemoveOneObserver() 59 std::lock_guard<std::mutex> lock(mutex_); in RemoveAllObserver() 70 std::lock_guard<std::mutex> lock(mutex_); in NewCallCreated() 78 std::lock_guard<std::mutex> lock(mutex_); in CallDestroyed() 91 std::lock_guard<std::mutex> lock(mutex_); in CallStateUpdated() 103 std::lock_guard<std::mutex> lock(mutex_); in IncomingCallHungUp() 115 std::lock_guard<std::mutex> lock(mutex_); in IncomingCallActivated() 123 std::lock_guard<std::mutex> lock(mutex_); in CallEventUpdated()
|
/base/location/interfaces/inner_api/include/ |
D | satellite_status.h | 48 std::unique_lock<std::mutex> lock(mutex_); in SetSatelliteIds() 56 std::unique_lock<std::mutex> lock(mutex_); in SetSatelliteId() 67 std::unique_lock<std::mutex> lock(mutex_); in SetCarrierToNoiseDensitys() 75 std::unique_lock<std::mutex> lock(mutex_); in SetCarrierToNoiseDensity() 86 std::unique_lock<std::mutex> lock(mutex_); in SetAltitudes() 94 std::unique_lock<std::mutex> lock(mutex_); in SetAltitude() 105 std::unique_lock<std::mutex> lock(mutex_); in SetAzimuths() 113 std::unique_lock<std::mutex> lock(mutex_); in SetAzimuth() 124 std::unique_lock<std::mutex> lock(mutex_); in SetCarrierFrequencies() 132 std::unique_lock<std::mutex> lock(mutex_); in SetCarrierFrequencie() [all …]
|
/base/security/device_security_level/test/dslm_unit_test/ |
D | dslm_request_callback_mock.cpp | 28 std::lock_guard<std::mutex> lock(mutex_); in DslmRequestCallbackMock() 35 std::lock_guard<std::mutex> lock(mutex_); in ~DslmRequestCallbackMock() 43 std::lock_guard<std::mutex> lock(mutex_); in MockedCallback() 50 std::mutex DslmRequestCallbackMock::mutex_ {};
|
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthdrivermanager_fuzzer/ |
D | user_auth_driver_manager_fuzzer.cpp | 46 std::lock_guard<std::mutex> lock(mutex_); in GetExecutorInfo() 64 std::lock_guard<std::mutex> lock(mutex_); in OnRegisterFinish() 74 std::lock_guard<std::mutex> lock(mutex_); in Enroll() 84 std::lock_guard<std::mutex> lock(mutex_); in Authenticate() 94 std::lock_guard<std::mutex> lock(mutex_); in Identify() 103 std::lock_guard<std::mutex> lock(mutex_); in Delete() 112 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 122 std::lock_guard<std::mutex> lock(mutex_); in SendCommand() 132 std::lock_guard<std::mutex> lock(mutex_); in GetProperty() 146 std::lock_guard<std::mutex> lock(mutex_); in SetCachedTemplates() [all …]
|
/base/powermgr/power_manager/services/native/src/suspend/ |
D | sleep_callback_holder.cpp | 26 std::lock_guard<std::mutex> lock(mutex_); in AddCallback() 48 std::lock_guard<std::mutex> lock(mutex_); in GetHighPriorityCallbacks() 54 std::lock_guard<std::mutex> lock(mutex_); in GetDefaultPriorityCallbacks() 60 std::lock_guard<std::mutex> lock(mutex_); in GetLowPriorityCallbacks() 66 std::lock_guard<std::mutex> lock(mutex_); in RemoveCallback()
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
D | delayed_sp_singleton.h | 29 static std::mutex mutex_; variable 36 std::mutex DumpDelayedSpSingleton<T>::mutex_; 41 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance() 52 std::lock_guard<std::mutex> lock(mutex_); in GetInstance()
|
/base/powermgr/display_manager/state_manager/utils/native/include/ |
D | delayed_sp_singleton.h | 35 static std::mutex mutex_; variable 42 std::mutex DelayedSpSingleton<T>::mutex_; 48 std::lock_guard<std::mutex> lock(mutex_); in GetInstance() 60 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
|
/base/update/updateservice/services/startup/access/src/ |
D | access_manager.cpp | 41 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsIdle() 52 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetScheduleTasks() 66 std::lock_guard<std::recursive_mutex> guard(mutex_); in Exit() 82 std::lock_guard<std::recursive_mutex> guard(mutex_); in Register() 90 std::lock_guard<std::recursive_mutex> guard(mutex_); in Unregister()
|
/base/telephony/core_service/services/network_search/src/ |
D | network_search_state.cpp | 55 std::lock_guard<std::mutex> lock(mutex_); in SetOperatorInfo() 67 std::lock_guard<std::mutex> lock(mutex_); in SetEmergency() 75 std::lock_guard<std::mutex> lock(mutex_); in IsEmergency() 84 std::lock_guard<std::mutex> lock(mutex_); in SetNetworkType() 92 std::lock_guard<std::mutex> lock(mutex_); in SetNetworkState() 100 std::lock_guard<std::mutex> lock(mutex_); in SetNetworkStateToRoaming() 233 std::lock_guard<std::mutex> lock(mutex_); in GetNetworkStatus() 248 std::lock_guard<std::mutex> lock(mutex_); in SetInitial() 256 std::lock_guard<std::mutex> lock(mutex_); in GetLastCfgTech() 267 std::lock_guard<std::mutex> lock(mutex_); in GetLastPsRadioTech() [all …]
|
/base/notification/common_event_service/services/src/ |
D | bundle_manager_helper.cpp | 43 std::lock_guard<std::mutex> lock(mutex_); in GetBundleName() 61 std::lock_guard<std::mutex> lock(mutex_); in QueryExtensionInfos() 76 std::lock_guard<std::mutex> lock(mutex_); in QueryExtensionInfos() 104 std::lock_guard<std::mutex> lock(mutex_); in GetResConfigFile() 119 std::lock_guard<std::mutex> lock(mutex_); in CheckIsSystemAppByUid() 137 std::lock_guard<std::mutex> lock(mutex_); in CheckIsSystemAppByBundleName() 212 std::lock_guard<std::mutex> lock(mutex_); in ClearBundleManagerHelper() 225 std::lock_guard<std::mutex> lock(mutex_); in GetApplicationInfos()
|
/base/powermgr/power_manager/services/native/src/shutdown/ |
D | shutdown_callback_holer.cpp | 31 std::unique_lock<std::mutex> lock(mutex_); in AddCallback() 62 std::unique_lock<std::mutex> lock(mutex_); in GetHighPriorityCallbacks() 68 std::unique_lock<std::mutex> lock(mutex_); in GetDefaultPriorityCallbacks() 74 std::unique_lock<std::mutex> lock(mutex_); in GetLowPriorityCallbacks() 80 std::unique_lock<std::mutex> lock(mutex_); in RemoveCallback()
|
/base/powermgr/battery_statistics/utils/native/include/ |
D | delayed_stats_sp_singleton.h | 42 static std::mutex mutex_; variable 49 std::mutex DelayedStatsSpSingleton<T>::mutex_; 55 std::lock_guard<std::mutex> lock(mutex_); in GetInstance() 67 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
|
/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | callback_manager_impl.cpp | 39 std::mutex mutex_; member in OHOS::UserIam::UserAuth::CallbackManagerImpl 46 std::lock_guard<std::mutex> lock(mutex_); in AddCallback() 53 std::lock_guard<std::mutex> lock(mutex_); in RemoveCallback() 60 std::lock_guard<std::mutex> lock(mutex_); in OnServiceDeath()
|
/base/powermgr/power_manager/utils/native/include/ |
D | sp_singleton.h | 41 static std::mutex mutex_; variable 48 std::mutex DelayedSpSingleton<T>::mutex_; 54 std::lock_guard<std::mutex> lock(mutex_); in GetInstance() 66 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
|
/base/powermgr/battery_manager/utils/native/include/ |
D | sp_singleton.h | 41 static std::mutex mutex_; variable 48 std::mutex DelayedSpSingleton<T>::mutex_; 54 std::lock_guard<std::mutex> lock(mutex_); in GetInstance() 66 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
|
/base/powermgr/thermal_manager/utils/native/include/ |
D | delayed_sp_singleton.h | 41 static std::mutex mutex_; variable 48 std::mutex DelayedSpSingleton<T>::mutex_; 54 std::lock_guard<std::mutex> lock(mutex_); in GetInstance() 66 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
|
/base/sensors/miscdevice/utils/common/include/ |
D | miscdevice_delayed_sp_singleton.h | 41 static std::mutex mutex_; variable 48 std::mutex MiscdeviceDelayedSpSingleton<T>::mutex_; 53 std::lock_guard<std::mutex> lock(mutex_); in GetInstance() 65 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
|