Home
last modified time | relevance | path

Searched defs:writeLock (Results 1 – 25 of 26) sorted by relevance

12

/foundation/distributeddatamgr/preferences/frameworks/native/src/
Dpreferences_enhance_impl.cpp45 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in ~PreferencesEnhanceImpl() local
51 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Init() local
72 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Get() local
114 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in HasKey() local
162 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Put() local
206 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Delete() local
269 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in GetAll() local
316 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Clear() local
354 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in CloseDb() local
376 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in GetValue() local
[all …]
Dpreferences_base.cpp167 std::unique_lock<std::shared_mutex> writeLock(obseverMetux_); in RegisterObserver() local
196 std::unique_lock<std::shared_mutex> writeLock(obseverMetux_); in UnRegisterDataObserver() local
249 std::unique_lock<std::shared_mutex> writeLock(obseverMetux_); in RegisterDataObserver() local
269 std::unique_lock<std::shared_mutex> writeLock(obseverMetux_); in UnRegisterObserver() local
/foundation/graphic/graphic_2d/frameworks/text/service/skia_txt/
Dtypography.cpp117 std::unique_lock<std::shared_mutex> writeLock(mutex_); in SetIndents() local
129 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Relayout() local
163 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Layout() local
195 std::unique_lock<std::shared_mutex> writeLock(mutex_); in MeasureText() local
201 std::unique_lock<std::shared_mutex> writeLock(mutex_); in MarkDirty() local
219 std::unique_lock<std::shared_mutex> writeLock(mutex_); in UpdateFontSize() local
228 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Paint() local
234 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Paint() local
240 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Paint() local
323 std::unique_lock<std::shared_mutex> writeLock(mutex_); in SetAnimation() local
[all …]
/foundation/distributeddatamgr/preferences/frameworks/ndk/src/
Doh_preferences_option.cpp28 std::unique_lock<std::shared_mutex> writeLock(opMutex_); in SetFileName() local
39 std::unique_lock<std::shared_mutex> writeLock(opMutex_); in SetBundleName() local
45 std::unique_lock<std::shared_mutex> writeLock(opMutex_); in SetDataGroupId() local
51 std::unique_lock<std::shared_mutex> writeLock(opMutex_); in SetStorageType() local
Doh_preferences.cpp143 std::unique_lock<std::shared_mutex> writeLock(mutex_); in SetPreferencesStoreFilePath() local
414 std::unique_lock<std::shared_mutex> writeLock(obsMutex_); in RegisterDataObserver() local
478 std::unique_lock<std::shared_mutex> writeLock(obsMutex_); in UnregisterDataObserver() local
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
Dknowledge_schema_helper.cpp40 std::unique_lock<std::shared_mutex> writeLock(libMutex_); in ~KnowledgeSchemaHelper() local
61 std::unique_lock<std::shared_mutex> writeLock(libMutex_); in Init() local
137 std::unique_lock<std::shared_mutex> writeLock(libMutex_); in LoadKnowledgeLib() local
195 std::unique_lock<std::shared_mutex> writeLock(libMutex_); in Close() local
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/channel_manager/
Dchannel_manager.cpp158 std::unique_lock<std::shared_mutex> writeLock(clientMutex_); in DeInit() local
167 std::unique_lock<std::shared_mutex> writeLock(serverMutex_); in DeInit() local
277 std::lock_guard<std::shared_mutex> writeLock(clientMutex_); in CreateClientChannel() local
289 std::unique_lock<std::shared_mutex> writeLock(clientMutex_); in DestroyClientChannel() local
382 std::lock_guard<std::shared_mutex> writeLock(serverMutex_); in OnSocketConnected() local
402 std::unique_lock<std::shared_mutex> writeLock(clientMutex_); in OnSocketClosed() local
414 std::unique_lock<std::shared_mutex> writeLock(serverMutex_); in OnSocketClosed() local
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
Ddistributed_data_storage.cpp119 unique_lock<shared_mutex> writeLock(initLock_); in InitDistributedDataStorage() local
249 unique_lock<shared_mutex> writeLock(initLock_); in Insert() local
298 unique_lock<shared_mutex> writeLock(initLock_); in Delete() local
335 unique_lock<shared_mutex> writeLock(initLock_); in FuzzyDelete() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
Druntime_context_impl.cpp405 std::unique_lock<std::shared_mutex> writeLock(permissionCheckCallbackMutex_); in SetPermissionCheckCallback() local
413 std::unique_lock<std::shared_mutex> writeLock(permissionCheckCallbackMutex_); in SetPermissionCheckCallback() local
421 std::unique_lock<std::shared_mutex> writeLock(permissionCheckCallbackMutex_); in SetPermissionCheckCallback() local
429 std::unique_lock<std::shared_mutex> writeLock(permissionCheckCallbackMutex_); in SetPermissionCheckCallback() local
660 std::unique_lock<std::shared_mutex> writeLock(databaseStatusCallbackMutex_); in SetStoreStatusNotifier() local
667 std::unique_lock<std::shared_mutex> writeLock(databaseStatusCallbackMutex_); in SetStoreStatusNotifier() local
689 std::unique_lock<std::shared_mutex> writeLock(syncActivationCheckCallbackMutex_); in SetSyncActivationCheckCallback() local
697 std::unique_lock<std::shared_mutex> writeLock(syncActivationCheckCallbackMutex_); in SetSyncActivationCheckCallback() local
993 std::unique_lock<std::shared_mutex> writeLock(threadPoolLock_); in SetThreadPool() local
/foundation/graphic/graphic_2d/frameworks/text/adapter/skia/txt/
Dplatform.cpp54 std::unique_lock<std::shared_mutex> writeLock(lock_); in ModifyThemeFontFamilies() local
/foundation/ability/dmsfwk/services/dtbcollabmgr/src/channel_manager/
Dchannel_manager.cpp508 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in CreateServerChannel() local
577 std::unique_lock<std::shared_mutex> writeLock(socketMutex_); in RegisterSocket() local
583 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in RegisterSocket() local
640 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in ClearRegisterChannel() local
657 std::unique_lock<std::shared_mutex> writeLock(listenerMutex_); in ClearRegisterListener() local
666 std::unique_lock<std::shared_mutex> writeLock(socketMutex_); in ClearRegisterSocket() local
702 std::unique_lock<std::shared_mutex> writeLock(listenerMutex_); in RegisterChannelListener() local
838 std::unique_lock<std::shared_mutex> writeLock(socketMutex_); in SetSocketStatus() local
894 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in SetChannelStatus() local
1007 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in RegisterSocket() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
Drelational_result_set_impl.cpp75 std::unique_lock<std::shared_mutex> writeLock(mutex_); in MoveToPosition() local
121 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Close() local
196 std::unique_lock<std::shared_mutex> writeLock(mutex_); in GetColumnIndex() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
Dcloud_db_proxy.cpp31 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SetCloudDB() local
39 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SetCloudDB() local
57 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SwitchCloudDB() local
66 std::unique_lock<std::shared_mutex> writeLock(assetLoaderMutex_); in SetIAssetLoader() local
218 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in Close() local
732 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SetPrepareTraceId() local
/foundation/ability/dmsfwk/services/dtbcollabmgr/src/ability_connection_manager/
Dability_connection_manager.cpp93 std::unique_lock<std::shared_mutex> writeLock(sessionMutex_); in CreateSession() local
145 std::unique_lock<std::shared_mutex> writeLock(sessionMutex_); in DestroySession() local
307 std::unique_lock<std::shared_mutex> writeLock(streamMutex_); in CreateStream() local
373 std::unique_lock<std::shared_mutex> writeLock(streamMutex_); in DestroyStream() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
Dstorage_engine.cpp371 std::lock_guard<std::mutex> writeLock(writeMutex_, std::adopt_lock); in TryToDisable() local
396 std::lock_guard<std::mutex> writeLock(writeMutex_, std::adopt_lock); in Enable() local
409 std::lock_guard<std::mutex> writeLock(writeMutex_, std::adopt_lock); in Abort() local
Dstorage_proxy.cpp45 std::unique_lock<std::shared_mutex> writeLock(storeMutex_); in Close() local
771 std::shared_lock<std::shared_mutex> writeLock(storeMutex_); in ReviseLocalModTime() local
/foundation/arkui/napi/native_engine/
Dnative_event.cpp198 std::unique_lock<std::shared_mutex> writeLock(eventMutex); in CreateDefaultFunction() local
222 std::unique_lock<std::shared_mutex> writeLock(eventMutex); in DestoryDefaultFunction() local
/foundation/arkui/ace_engine/adapter/ohos/entrance/
Ddata_ability_helper_standard.cpp178 std::unique_lock<std::shared_mutex> writeLock(dataShareHelperLock_); in OpenFileWithDataShare() local
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
Ddevice_status_collect_manager.cpp81 std::unique_lock<samgr::shared_mutex> writeLock(saProfilesLock_); in FilterOnDemandSaProfiles() local
568 std::unique_lock<samgr::shared_mutex> writeLock(saProfilesLock_); in UpdateOnDemandEvents() local
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
Dsystem_ability_manager.cpp132 std::unique_lock<samgr::shared_mutex> writeLock(dBinderServiceLock_); in InitDbinderService() local
293 unique_lock<samgr::shared_mutex> writeLock(abilityMapLock_); in AddSamgrToAbilityMap() local
771 unique_lock<samgr::shared_mutex> writeLock(abilityMapLock_); in RemoveSystemAbility() local
807 unique_lock<samgr::shared_mutex> writeLock(abilityMapLock_); in RemoveSystemAbility() local
840 unique_lock<samgr::shared_mutex> writeLock(abilityMapLock_); in RemoveDiedSystemAbility() local
1058 unique_lock<samgr::shared_mutex> writeLock(abilityMapLock_); in AddSystemAbility() local
/foundation/systemabilitymgr/safwk/services/safwk/src/
Dlocal_ability_manager.cpp280 std::unique_lock<std::shared_mutex> writeLock(localAbilityMapLock_); in AddAbility() local
305 std::unique_lock<std::shared_mutex> writeLock(localAbilityMapLock_); in RemoveAbility() local
1105 std::shared_lock<std::shared_mutex> writeLock(unusedCfgMapLock_); in InitUnusedCfg() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
Dmulti_ver_natural_store_connection.cpp354 std::lock_guard<std::mutex> writeLock(writeMutex_); in PreClose() local
/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
Dsystem_ability_state_scheduler.cpp1239 std::unique_lock<samgr::shared_mutex> writeLock(listenerSetLock_); in SubscribeSystemProcess() local
1258 std::unique_lock<samgr::shared_mutex> writeLock(listenerSetLock_); in UnSubscribeSystemProcess() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
Drelational_sync_able_storage.cpp1272 std::unique_lock<std::shared_mutex> writeLock(schemaMgrMutex_); in SetCloudDbSchema() local
1633 std::unique_lock<std::shared_mutex> writeLock(schemaMgrMutex_); in IsSharedTable() local
1639 std::unique_lock<std::shared_mutex> writeLock(schemaMgrMutex_); in GetSharedTableOriginNames() local
/foundation/multimedia/audio_framework/services/audio_service/server/src/
Drenderer_in_server.cpp1118 std::lock_guard writeLock(writeLock_); in FlushOhAudioBuffer() local

12