Home
last modified time | relevance | path

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

/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
117 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in HasKey() local
167 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Put() local
212 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Delete() local
279 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in GetAll() local
326 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in Clear() local
366 std::unique_lock<std::shared_mutex> writeLock(dbMutex_); in CloseDb() local
389 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/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
Dtypography.cpp116 std::unique_lock<std::shared_mutex> writeLock(mutex_); in SetIndents() local
128 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Relayout() local
162 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Layout() local
194 std::unique_lock<std::shared_mutex> writeLock(mutex_); in MeasureText() local
200 std::unique_lock<std::shared_mutex> writeLock(mutex_); in MarkDirty() local
218 std::unique_lock<std::shared_mutex> writeLock(mutex_); in UpdateFontSize() local
227 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Paint() local
233 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Paint() local
239 std::unique_lock<std::shared_mutex> writeLock(mutex_); in Paint() local
322 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/deviceprofile/device_info_manager/old/services/core/src/dbstorage/
Ddevice_profile_storage.cpp68 std::unique_lock<std::shared_mutex> writeLock(storageLock_); in Init() local
192 std::unique_lock<std::shared_mutex> writeLock(storageLock_); in PutDeviceProfile() local
217 std::unique_lock<std::shared_mutex> writeLock(storageLock_); in PutDeviceProfileBatch() local
262 std::unique_lock<std::shared_mutex> writeLock(storageLock_); in DeleteDeviceProfile() local
284 std::unique_lock<std::shared_mutex> writeLock(storageLock_); in SyncDeviceProfile() local
300 std::unique_lock<std::shared_mutex> writeLock(storageLock_); in RemoveDeviceData() 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/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
Dplatform.cpp54 std::unique_lock<std::shared_mutex> writeLock(lock_); in ModifyThemeFontFamilies() local
/foundation/ability/dmsfwk/services/dtbcollabmgr/src/channel_manager/
Dchannel_manager.cpp405 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in CreateServerChannel() local
474 std::unique_lock<std::shared_mutex> writeLock(socketMutex_); in RegisterSocket() local
480 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in RegisterSocket() local
537 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in ClearRegisterChannel() local
554 std::unique_lock<std::shared_mutex> writeLock(listenerMutex_); in ClearRegisterListener() local
563 std::unique_lock<std::shared_mutex> writeLock(socketMutex_); in ClearRegisterSocket() local
599 std::unique_lock<std::shared_mutex> writeLock(listenerMutex_); in RegisterChannelListener() local
713 std::unique_lock<std::shared_mutex> writeLock(socketMutex_); in SetSocketStatus() local
769 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in SetChannelStatus() local
882 std::unique_lock<std::shared_mutex> writeLock(channelMutex_); in RegisterSocket() local
[all …]
/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/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/storage/src/
Dstorage_engine.cpp312 std::lock_guard<std::mutex> writeLock(writeMutex_, std::adopt_lock); in TryToDisable() local
337 std::lock_guard<std::mutex> writeLock(writeMutex_, std::adopt_lock); in Enable() local
350 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
786 std::shared_lock<std::shared_mutex> writeLock(storeMutex_); in ReviseLocalModTime() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
Dcloud_db_proxy.cpp30 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SetCloudDB() local
38 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SetCloudDB() local
56 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SwitchCloudDB() local
65 std::unique_lock<std::shared_mutex> writeLock(assetLoaderMutex_); in SetIAssetLoader() local
205 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in Close() local
718 std::unique_lock<std::shared_mutex> writeLock(cloudMutex_); in SetPrepareTraceId() local
/foundation/ability/dmsfwk/services/dtbcollabmgr/src/ability_connection_manager/
Dability_connection_manager.cpp91 std::unique_lock<std::shared_mutex> writeLock(sessionMutex_); in CreateSession() local
143 std::unique_lock<std::shared_mutex> writeLock(sessionMutex_); in DestroySession() local
304 std::unique_lock<std::shared_mutex> writeLock(streamMutex_); in CreateStream() local
370 std::unique_lock<std::shared_mutex> writeLock(streamMutex_); in DestroyStream() local
/foundation/arkui/napi/native_engine/
Dnative_event.cpp194 std::unique_lock<std::shared_mutex> writeLock(eventMutex); in CreateDefaultFunction() local
218 std::unique_lock<std::shared_mutex> writeLock(eventMutex); in DestoryDefaultFunction() local
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
Ddevice_status_collect_manager.cpp81 std::unique_lock<std::shared_mutex> writeLock(saProfilesLock_); in FilterOnDemandSaProfiles() local
568 std::unique_lock<std::shared_mutex> writeLock(saProfilesLock_); in UpdateOnDemandEvents() local
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
Dsystem_ability_manager.cpp131 std::unique_lock<std::shared_mutex> writeLock(dBinderServiceLock_); in InitDbinderService() local
292 unique_lock<shared_mutex> writeLock(abilityMapLock_); in AddSamgrToAbilityMap() local
773 unique_lock<shared_mutex> writeLock(abilityMapLock_); in RemoveSystemAbility() local
809 unique_lock<shared_mutex> writeLock(abilityMapLock_); in RemoveSystemAbility() local
842 unique_lock<shared_mutex> writeLock(abilityMapLock_); in RemoveDiedSystemAbility() local
1055 unique_lock<shared_mutex> writeLock(abilityMapLock_); in AddSystemAbility() local
/foundation/systemabilitymgr/safwk/services/safwk/src/
Dlocal_ability_manager.cpp284 std::unique_lock<std::shared_mutex> writeLock(localAbilityMapLock_); in AddAbility() local
309 std::unique_lock<std::shared_mutex> writeLock(localAbilityMapLock_); in RemoveAbility() local
1095 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.cpp1209 std::unique_lock<std::shared_mutex> writeLock(listenerSetLock_); in SubscribeSystemProcess() local
1228 std::unique_lock<std::shared_mutex> writeLock(listenerSetLock_); in UnSubscribeSystemProcess() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
Drelational_sync_able_storage.cpp1256 std::unique_lock<std::shared_mutex> writeLock(schemaMgrMutex_); in SetCloudDbSchema() local
1608 std::unique_lock<std::shared_mutex> writeLock(schemaMgrMutex_); in IsSharedTable() local
1614 std::unique_lock<std::shared_mutex> writeLock(schemaMgrMutex_); in GetSharedTableOriginNames() local