Home
last modified time | relevance | path

Searched refs:lock_ (Results 1 – 25 of 48) sorted by relevance

12

/base/global/resource_management/frameworks/resmgr/include/
Dauto_mutex.h25 explicit inline AutoMutex(Lock &lock) : lock_(lock) in AutoMutex()
26 { lock_.lock(); } in AutoMutex()
28 explicit inline AutoMutex(Lock *lock) : lock_(*lock) in AutoMutex()
29 { lock_.lock(); } in AutoMutex()
32 { lock_.unlock(); } in ~AutoMutex()
35 Lock &lock_;
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dauto_mutex.h25 explicit inline AutoMutex(Lock &lock) : lock_(lock) in AutoMutex()
26 { lock_.lock(); } in AutoMutex()
28 explicit inline AutoMutex(Lock *lock) : lock_(*lock) in AutoMutex()
29 { lock_.lock(); } in AutoMutex()
32 { lock_.unlock(); } in ~AutoMutex()
35 Lock &lock_;
Dhap_manager.h125 Lock lock_; variable
Dres_locale.h119 static Lock lock_; variable
/base/web/webview/ohos_adapter/power_mgr_adapter/src/
Dpower_mgr_client_adapter_impl.cpp47 : lock_(lock) {} in RunningLockAdapterImpl()
51 if (lock_ != nullptr) { in IsUsed()
52 return lock_->IsUsed(); in IsUsed()
59 if (lock_ != nullptr) { in Lock()
60 return lock_->Lock(timeOutMs); in Lock()
67 if (lock_ != nullptr) { in UnLock()
68 return lock_->UnLock(); in UnLock()
/base/hiviewdfx/hiview/base/
Dplugin_proxy.cpp25 std::lock_guard<std::mutex> lock(lock_); in OnEvent()
36 std::lock_guard<std::mutex> lock(lock_); in CanProcessEvent()
47 std::lock_guard<std::mutex> lock(lock_); in CanProcessMoreEvents()
58 std::lock_guard<std::mutex> lock(lock_); in GetHandlerInfo()
69 std::lock_guard<std::mutex> lock(lock_); in Dump()
78 std::lock_guard<std::mutex> lock(lock_); in OnEventListeningCallback()
108 std::lock_guard<std::mutex> lock(lock_); in DestroyInstanceIfNeed()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_event_manager.cpp33 std::lock_guard<std::mutex> guard(lock_); in AddCoordinationEvent()
67 std::lock_guard<std::mutex> guard(lock_); in OnCoordinationMessage()
83 std::lock_guard<std::mutex> guard(lock_); in OnEnable()
93 std::lock_guard<std::mutex> guard(lock_); in OnStart()
103 std::lock_guard<std::mutex> guard(lock_); in OnStop()
113 std::lock_guard<std::mutex> guard(lock_); in OnGetCrossingSwitchState()
122 std::lock_guard<std::mutex> guard(lock_); in OnErrorMessage()
/base/startup/init/device_info/
Ddevice_info_kits.cpp40 std::unique_lock<std::mutex> lock(lock_); in LoadDeviceInfoSa()
83 std::unique_lock<std::mutex> lock(lock_); in FinishStartSASuccess()
92 std::unique_lock<std::mutex> lock(lock_); in FinishStartSAFailed()
119 std::lock_guard<std::mutex> lock(lock_); in ResetService()
Ddevice_info_kits.h54 std::mutex lock_; variable
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_grant_event.cpp40 std::unique_lock<std::mutex> lck(lock_); in AddEvent()
53 std::unique_lock<std::mutex> lck(lock_); in NotifyPermGrantStoreResult()
/base/hiviewdfx/hicollie/frameworks/native/
Dwatchdog_inner.cpp105 std::unique_lock<std::mutex> lock(lock_); in AddThread()
126 std::unique_lock<std::mutex> lock(lock_); in RunOneShotTask()
142 std::unique_lock<std::mutex> lock(lock_); in RunXCollieTask()
149 std::unique_lock<std::mutex> lock(lock_); in RemoveXCollieTask()
183 std::unique_lock<std::mutex> lock(lock_); in RunPeriodicalTask()
262 std::unique_lock<std::mutex> lock(lock_); in FetchNextTask()
297 std::unique_lock<std::mutex> lock(lock_); in ReInsertTaskIfNeed()
325 std::unique_lock<std::mutex> lock(lock_); in Start()
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_ability_exception_test.cpp38 std::unique_lock<std::mutex> lock(lock_); in SetUpTestCase()
69 static std::mutex lock_; member in OHOS::MiscServices::InputMethodAbilityExceptionTest
78 std::unique_lock<std::mutex> lock(InputMethodAbilityExceptionTest::lock_); in OnInputStart()
93 std::mutex InputMethodAbilityExceptionTest::lock_; member in OHOS::MiscServices::InputMethodAbilityExceptionTest
/base/telephony/state_registry/services/src/
Dtelephony_state_registry_service.cpp59 std::lock_guard<std::mutex> guard(lock_); in OnStart()
84 std::lock_guard<std::mutex> guard(lock_); in OnStop()
106 std::lock_guard<std::mutex> guard(lock_); in UpdateCellularDataConnectState()
133 std::lock_guard<std::mutex> guard(lock_); in UpdateCellularDataFlow()
156 std::lock_guard<std::mutex> guard(lock_); in UpdateCallState()
188 std::lock_guard<std::mutex> guard(lock_); in UpdateCallStateForSlotId()
215 std::lock_guard<std::mutex> guard(lock_); in UpdateSimState()
242 std::lock_guard<std::mutex> guard(lock_); in UpdateSignalInfo()
268 std::lock_guard<std::mutex> guard(lock_); in UpdateCellInfo()
295 std::lock_guard<std::mutex> guard(lock_); in UpdateNetworkState()
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_grant_event.h43 std::mutex lock_;
/base/web/webview/ohos_adapter/power_mgr_adapter/include/
Dpower_mgr_client_adapter_impl.h32 std::shared_ptr<OHOS::PowerMgr::RunningLock> lock_;
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dhap_manager.cpp55 AutoMutex mutex(this->lock_); in GetPluralRulesAndSelect()
186 AutoMutex mutex(this->lock_); in UpdateResConfig()
198 AutoMutex mutex(this->lock_); in GetResConfig()
204 AutoMutex mutex(this->lock_); in AddResource()
/base/telephony/call_manager/services/bluetooth/include/
Dbluetooth_call_service.h140 std::mutex lock_; variable
/base/hiviewdfx/hiview/base/include/
Dplugin_proxy.h55 std::mutex lock_; variable
/base/request/request/frameworks/js/napi/src/legacy/
Drequest_manager.cpp31 std::mutex RequestManager::lock_; member in OHOS::Request::Legacy::RequestManager
104 std::lock_guard<std::mutex> lockGuard(lock_); in OnTaskDone()
216 std::lock_guard<std::mutex> lockGuard(lock_); in HasSameFilename()
272 std::lock_guard<std::mutex> lockGuard(lock_); in Download()
289 std::lock_guard<std::mutex> lockGuard(lock_); in OnDownloadComplete()
/base/hiviewdfx/faultloggerd/tools/crash_validator/
Dcrash_validator.h68 std::mutex lock_; variable
/base/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp100 AutoMutex mutex(this->lock_); in GetPluralRulesAndSelect()
170 AutoMutex mutex(this->lock_); in FindQualifierValueByName()
180 AutoMutex mutex(this->lock_); in FindQualifierValueById()
287 AutoMutex mutex(this->lock_); in UpdateResConfig()
295 AutoMutex mutex(this->lock_); in GetResConfig()
301 AutoMutex mutex(this->lock_); in AddResource()
307 AutoMutex mutex(this->lock_); in AddResource()
837 AutoMutex mutex(this->lock_); in RemoveResource()
890 AutoMutex mutex(this->lock_); in AddSystemResource()
910 AutoMutex mutex(this->lock_); in GetResourceLimitKeys()
/base/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp119 std::lock_guard<std::mutex> guard(lock_); in Insert()
182 std::lock_guard<std::mutex> guard(lock_); in Update()
218 std::lock_guard<std::mutex> guard(lock_); in Delete()
/base/telephony/telephony_data/pdp_profile/src/
Dpdp_profile_ability.cpp120 std::lock_guard<std::mutex> guard(lock_); in Insert()
183 std::lock_guard<std::mutex> guard(lock_); in Update()
227 std::lock_guard<std::mutex> guard(lock_); in Delete()
/base/telephony/telephony_data/pdp_profile/include/
Dpdp_profile_ability.h94 std::mutex lock_; variable
/base/telephony/telephony_data/opkey/include/
Dopkey_ability.h93 std::mutex lock_; variable

12