Home
last modified time | relevance | path

Searched refs:cacheMutex_ (Results 1 - 14 of 14) sorted by relevance

/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_ring_cache.cpp90 std::lock_guard<std::mutex> lock(cacheMutex_); // need lock as we operation buffer in Init in ReConfig()
108 std::unique_lock<std::mutex> uniqueLock(cacheMutex_); in ReConfig()
122 std::lock_guard<std::mutex> lock(cacheMutex_); in ResetBuffer()
133 std::lock_guard<std::mutex> lock(cacheMutex_); in GetCahceSize()
139 std::lock_guard<std::mutex> lock(cacheMutex_); in GetWritableSize()
143 // call this with cacheMutex_
161 std::lock_guard<std::mutex> lock(cacheMutex_); in GetReadableSize()
165 // call this with cacheMutex_
183 std::lock_guard<std::mutex> lock(cacheMutex_); in Enqueue()
278 std::lock_guard<std::mutex> lock(cacheMutex_); in Dequeue()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_param_cache.cpp60 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in CreateCacheForNet()
73 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in DestroyNetworkCache()
93 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in SetResolverConfig()
135 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in EnableIpv6()
151 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in IsIpv6Enable()
171 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in GetResolverConfig()
204 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in GetResolverConfig()
241 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in SetDnsCache()
276 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in GetDnsCache()
306 std::lock_guard<ffrt::mutex> guard(cacheMutex_); in SetCacheDelayed()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dclouddisk_notify_utils_mock.cpp32 mutex CloudDiskNotifyUtils::cacheMutex_; member in OHOS::FileManagement::CloudDisk::CloudDiskNotifyUtils
101 lock_guard<mutex> lock(cacheMutex_); in GetCacheNode()
117 lock_guard<mutex> lock(cacheMutex_); in PutCacheNode()
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_notify_utils.cpp31 mutex CloudDiskNotifyUtils::cacheMutex_; member in OHOS::FileManagement::CloudDisk::CloudDiskNotifyUtils
120 lock_guard<mutex> lock(cacheMutex_); in GetCacheNode()
136 lock_guard<mutex> lock(cacheMutex_); in PutCacheNode()
/foundation/arkui/ace_engine/frameworks/core/common/recorder/
H A Dnode_data_cache.cpp106 std::unique_lock<std::shared_mutex> cacheLock(cacheMutex_); in PutString()
179 std::shared_lock<std::shared_mutex> lock(cacheMutex_); in GetNodeData()
197 std::unique_lock<std::shared_mutex> lock(cacheMutex_); in Clear()
206 std::unique_lock<std::shared_mutex> lock(cacheMutex_); in Reset()
H A Dnode_data_cache.h103 std::shared_mutex cacheMutex_; member in OHOS::Ace::Recorder::final
/foundation/multimedia/audio_framework/services/audio_service/common/include/
H A Daudio_ring_cache.h85 std::mutex cacheMutex_; member in OHOS::AudioStandard::AudioRingCache
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/
H A Dclouddisk_notify_utils.h49 static mutex cacheMutex_; member in OHOS::FileManagement::CloudDisk::final
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable.cpp127 std::scoped_lock<std::recursive_mutex> cacheLock(cacheMutex_); in GenerateCacheIfNeed()
485 std::scoped_lock<std::recursive_mutex> lock(cacheMutex_); in GetCachedSurface()
513 std::scoped_lock<std::recursive_mutex> lock(cacheMutex_); in InitCachedSurface()
520 std::scoped_lock<std::recursive_mutex> lock(cacheMutex_); in InitCachedSurface()
554 std::scoped_lock<std::recursive_mutex> lock(cacheMutex_); in NeedInitCachedSurface()
585 std::scoped_lock<std::recursive_mutex> lock(cacheMutex_); in GetCachedImage()
686 std::scoped_lock<std::recursive_mutex> lock(cacheMutex_); in ClearCachedSurface()
H A Drs_render_node_drawable.h174 mutable std::recursive_mutex cacheMutex_; member in OHOS::Rosen::DrawableV2::RSRenderNodeDrawable
/foundation/ability/form_fwk/services/include/
H A Dform_cache_mgr.h77 mutable std::mutex cacheMutex_; member in OHOS::AppExecFwk::final
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Ddns_quality_diag.h65 std::mutex cacheMutex_; member in OHOS::nmd::DnsQualityDiag
H A Ddns_param_cache.h124 ffrt::mutex cacheMutex_; member in OHOS::nmd::DnsParamCache
/foundation/ability/form_fwk/services/src/
H A Dform_cache_mgr.cpp97 std::lock_guard<std::mutex> lock(cacheMutex_); in GetData()
180 std::lock_guard<std::mutex> lock(cacheMutex_); in AddData()
333 std::lock_guard<std::mutex> lock(cacheMutex_); in DeleteData()

Completed in 8 milliseconds