Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 41) sorted by relevance

12

/system/netd/resolv/
DDnsTlsQueryMap.cpp29 std::lock_guard guard(mLock); in recordQuery() local
58 std::lock_guard guard(mLock); in markTried() local
66 std::lock_guard guard(mLock); in cleanup() local
105 std::lock_guard guard(mLock); in getAll() local
114 std::lock_guard guard(mLock); in empty() local
119 std::lock_guard guard(mLock); in clear() local
133 std::lock_guard guard(mLock); in onResponse() local
DDns64Configuration.cpp50 std::lock_guard guard(mMutex); in startPrefixDiscovery() local
103 std::lock_guard guard(mMutex); in stopPrefixDiscovery() local
116 std::lock_guard guard(mMutex); in getPrefix64() local
123 std::lock_guard guard(mMutex); in dump() local
207 std::lock_guard guard(mMutex); in shouldContinueDiscovery() local
220 std::lock_guard guard(mMutex); in recordDns64Config() local
DDnsTlsTransport.cpp34 std::lock_guard guard(mLock); in query() local
87 std::lock_guard guard(mLock); in onClosed() local
107 std::lock_guard guard(mLock); in doReconnect() local
124 std::lock_guard guard(mLock); in ~DnsTlsTransport() local
DDnsTlsSessionCache.cpp57 std::lock_guard guard(mLock); in recordSession() local
66 std::lock_guard guard(mLock); in getSession() local
DPrivateDnsConfiguration.cpp79 std::lock_guard guard(mPrivateDnsLock); in set() local
123 std::lock_guard guard(mPrivateDnsLock); in getStatus() local
142 std::lock_guard guard(mPrivateDnsLock); in getStatus() local
167 std::lock_guard guard(mPrivateDnsLock); in clear() local
233 std::lock_guard guard(mPrivateDnsLock); in recordPrivateDnsValidation() local
DDnsTlsDispatcher.cpp52 std::lock_guard guard(sLock); in getOrderedServerList() local
121 std::lock_guard guard(sLock); in query() local
152 std::lock_guard guard(sLock); in query() local
DDnsTlsSocket.cpp134 std::lock_guard guard(mLock); in initialize() local
336 std::lock_guard guard(mLock); in loop() local
418 std::lock_guard guard(mLock); in ~DnsTlsSocket() local
/system/bt/vendor_libs/linux/interface/
Dasync_fd_watcher.cc43 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
56 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() local
96 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
101 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() local
156 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local
175 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc101 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
119 std::unique_lock<std::mutex> guard(internal_mutex_); in StopWatchingFileDescriptor() local
141 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
194 std::unique_lock<std::mutex> guard(internal_mutex_); in setUpFileDescriptorSet() local
221 std::unique_lock<std::mutex> guard(internal_mutex_); in runAppropriateCallbacks() local
285 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTask() local
300 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
358 std::unique_lock<std::mutex> guard(internal_mutex_); in scheduleTask() local
389 std::unique_lock<std::mutex> guard(internal_mutex_); in tryStartThread() local
409 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
[all …]
/system/netd/server/
DTcpSocketMonitor.cpp104 std::lock_guard guard(mLock); in dump() local
157 std::lock_guard guard(mLock); in setPollingInterval() local
167 std::lock_guard guard(mLock); in resumePolling() local
180 std::lock_guard guard(mLock); in suspendPolling() local
192 std::lock_guard guard(mLock); in poll() local
259 std::lock_guard guard(mLock); in waitForNextPoll() local
273 std::lock_guard guard(mLock); in isRunning() local
320 std::lock_guard guard(mLock); in TcpSocketMonitor() local
336 std::lock_guard guard(mLock); in ~TcpSocketMonitor() local
DTrafficController.cpp198 std::lock_guard guard(mMutex); in initMaps() local
319 std::lock_guard guard(mMutex); in start() local
349 std::lock_guard guard(mMutex); in tagSocket() local
419 std::lock_guard guard(mMutex); in untagSocket() local
437 std::lock_guard guard(mMutex); in setCounterSet() local
470 std::lock_guard guard(mMutex); in deleteTagData() local
554 std::lock_guard guard(mMutex); in updateOwnerMapEntry() local
617 std::lock_guard guard(mMutex); in updateUidOwnerMap() local
674 std::lock_guard guard(mMutex); in replaceRulesInMap() local
705 std::lock_guard guard(mMutex); in addUidInterfaceRules() local
[all …]
DNetlinkListener.cpp95 std::lock_guard guard(mMutex); in subscribe() local
101 std::lock_guard guard(mMutex); in unsubscribe() local
114 std::lock_guard guard(mMutex); in run() local
DMDnsSdListener.cpp559 std::lock_guard guard(mMutex); in startService() local
571 std::lock_guard guard(mMutex); in stopService() local
608 std::lock_guard guard(mMutex); in run() local
640 std::lock_guard guard(mMutex); in rescan() local
695 std::lock_guard guard(mMutex); in allocateServiceRef() local
702 std::lock_guard guard(mMutex); in lookupServiceRef() local
716 std::lock_guard guard(mMutex); in startMonitoring() local
731 std::lock_guard guard(mMutex); in freeServiceRef() local
753 std::lock_guard guard(mMutex); in deallocateServiceRef() local
DClatdController.cpp73 std::lock_guard guard(mutex); in init() local
414 std::lock_guard guard(mutex); in startClatd() local
540 std::lock_guard guard(mutex); in stopClatd() local
564 std::lock_guard guard(mutex); in dump() local
DNFLogListener.cpp150 std::lock_guard guard(mMutex); in NFLogListener() local
184 std::lock_guard guard(mMutex); in subscribe() local
199 std::lock_guard guard(mMutex); in unsubscribe() local
/system/bt/btif/src/
Dbtif_uid.cc47 std::unique_lock<std::mutex> guard(set_lock); in uid_set_destroy() local
78 std::unique_lock<std::mutex> guard(set_lock); in uid_set_add_tx() local
86 std::unique_lock<std::mutex> guard(set_lock); in uid_set_add_rx() local
92 std::unique_lock<std::mutex> guard(set_lock); in uid_set_read_and_clear() local
/system/core/libunwindstack/
DMapInfo.cpp195 std::lock_guard<std::mutex> guard(mutex_); in GetElf() local
239 std::lock_guard<std::mutex> guard(prev_map->mutex_); in GetElf() local
251 std::lock_guard<std::mutex> guard(mutex_); in GetFunctionName() local
269 std::lock_guard<std::mutex> guard(mutex_); in GetLoadBias() local
DElf.cpp97 std::lock_guard<std::mutex> guard(lock_); in GetSoname() local
109 std::lock_guard<std::mutex> guard(lock_); in GetFunctionName() local
188 std::lock_guard<std::mutex> guard(lock_); in Step() local
/system/gsid/
Dgsi_service.cpp109 std::lock_guard<std::mutex> guard(main_lock_); in beginGsiInstall() local
138 std::lock_guard<std::mutex> guard(main_lock_); in commitGsiChunkFromStream() local
148 std::lock_guard<std::mutex> guard(progress_lock_); in StartAsyncOperation() local
157 std::lock_guard<std::mutex> guard(progress_lock_); in UpdateProgress() local
169 std::lock_guard<std::mutex> guard(progress_lock_); in getInstallProgress() local
178 std::lock_guard<std::mutex> guard(main_lock_); in commitGsiChunkFromMemory() local
185 std::lock_guard<std::mutex> guard(main_lock_); in setGsiBootable() local
208 std::lock_guard<std::mutex> guard(main_lock_); in isGsiEnabled() local
220 std::lock_guard<std::mutex> guard(main_lock_); in removeGsiInstall() local
242 std::lock_guard<std::mutex> guard(main_lock_); in disableGsiInstall() local
[all …]
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp203 std::lock_guard<std::mutex> guard(lock_); in StartRecording() local
215 std::lock_guard<std::mutex> guard(lock_); in PauseRecording() local
224 std::lock_guard<std::mutex> guard(lock_); in ResumeRecording() local
233 std::lock_guard<std::mutex> guard(lock_); in StopRecording() local
/system/netd/libnetdutils/
DLog.cpp188 std::shared_lock<std::shared_mutex> guard(mLock); in forEachEntry() local
210 std::lock_guard guard(mLock); in record() local
/system/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h48 uint32_t guard; member
/system/core/libnativeloader/
Dnative_loader.cpp742 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in InitializeNativeLoader() local
749 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in ResetNativeLoader() local
758 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in CreateClassLoaderNamespace() local
824 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in OpenNativeLibrary() local
938 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in FindNamespaceByClassLoader() local
947 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in FindNativeLoaderNamespaceByClassLoader() local
/system/media/audio_utils/
DPowerLog.cpp66 std::lock_guard<std::mutex> guard(mLock); in log() local
112 std::lock_guard<std::mutex> guard(mLock); in dumpToString() local
/system/bt/audio_hal_interface/
Dclient_interface.cc320 std::lock_guard<std::mutex> guard(internal_mutex_); in StartSession() local
412 std::lock_guard<std::mutex> guard(internal_mutex_); in EndSession() local
440 std::lock_guard<std::mutex> guard(internal_mutex_); in ReadAudioData() local

12