Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 25 of 52) sorted by relevance

123

/system/extras/perfprofd/
Dperfprofd_threaded_handler.h53 std::unique_lock<std::mutex> guard(mutex_); in Sleep()
55 cv_.wait_for(guard, seconds * 1s, [&]() { return interrupted_; }); in Sleep()
58 std::unique_lock<std::mutex> guard(mutex_); in ShouldStopProfiling()
63 std::unique_lock<std::mutex> guard(mutex_); in ResetStopProfiling()
67 std::unique_lock<std::mutex> guard(mutex_); in StopProfiling()
104 std::lock_guard<std::mutex> guard(lock_); in StartProfiling()
130 std::lock_guard<std::mutex> guard(lock_); in StopProfiling()
175 std::lock_guard<std::mutex> guard(lock_); in RunOnConfig()
/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/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
DLockedQueue.h34 std::lock_guard guard(mLock); in push()
40 std::lock_guard guard(mLock); in swap()
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
/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/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/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
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
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 …]
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
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/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h48 uint32_t guard; member
77 preamble->guard = kPreambleGuard; in debugAlloc()
101 } else if (preamble->guard != kPreambleGuard) { in debugFree()
/system/tools/hidl/
DgenerateCpp.cpp49 std::string guard; in makeHeaderGuard() local
52 guard += "HIDL_GENERATED_"; in makeHeaderGuard()
55 guard += StringHelper::Uppercase(mPackage.tokenName()); in makeHeaderGuard()
56 guard += "_"; in makeHeaderGuard()
57 guard += StringHelper::Uppercase(baseName); in makeHeaderGuard()
58 guard += "_H"; in makeHeaderGuard()
60 return guard; in makeHeaderGuard()
227 const std::string guard = makeHeaderGuard(ifaceName); in generateInterfaceHeader() local
229 out << "#ifndef " << guard << "\n"; in generateInterfaceHeader()
230 out << "#define " << guard << "\n\n"; in generateInterfaceHeader()
[all …]
DgenerateCppAdapter.cpp39 const std::string guard = makeHeaderGuard(klassName, true /* indicateGenerated */); in generateCppAdapterHeader() local
41 out << "#ifndef " << guard << "\n"; in generateCppAdapterHeader()
42 out << "#define " << guard << "\n\n"; in generateCppAdapterHeader()
78 out << "#endif // " << guard << "\n"; in generateCppAdapterHeader()
/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/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
/system/media/audio_utils/include/audio_utils/
DSimpleLog.h138 std::lock_guard<std::mutex> guard(mLock); in logs()
164 std::lock_guard<std::mutex> guard(mLock);
DErrorLog.h71 std::lock_guard<std::mutex> guard(mLock); in log()
100 std::lock_guard<std::mutex> guard(mLock);
/system/core/libmeminfo/testdata1/
Dsmaps3257 70074a909000-70074a90a000 ---p 00000000 00:00 0 [anon:thread stack guard]
3258 Name: [anon:thread stack guard]
3378 70074c78d000-70074c78e000 ---p 00000000 00:00 0 [anon:thread stack guard]
3379 Name: [anon:thread stack guard]
3460 70074d293000-70074d294000 ---p 00000000 00:00 0 [anon:thread stack guard]
3461 Name: [anon:thread stack guard]
3542 70074db99000-70074db9a000 ---p 00000000 00:00 0 [anon:thread stack guard]
3543 Name: [anon:thread stack guard]
3583 70074dc93000-70074dc94000 ---p 00000000 00:00 0 [anon:thread stack guard]
3584 Name: [anon:thread stack guard]
[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

123