Home
last modified time | relevance | path

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

123

/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc99 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
117 std::unique_lock<std::mutex> guard(internal_mutex_); in StopWatchingFileDescriptor() local
141 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
191 std::unique_lock<std::mutex> guard(internal_mutex_); in setUpFileDescriptorSet() local
218 std::unique_lock<std::mutex> guard(internal_mutex_); in runAppropriateCallbacks() local
289 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTask() local
300 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTasksFromUser() local
320 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
387 std::unique_lock<std::mutex> guard(internal_mutex_); in scheduleTask() local
418 std::unique_lock<std::mutex> guard(internal_mutex_); in tryStartThread() local
[all …]
/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/gsid/
Dgsi_service.cpp116 std::lock_guard<std::mutex> guard(lock_); in openInstall() local
138 std::lock_guard<std::mutex> guard(lock_); in closeInstall() local
152 std::lock_guard<std::mutex> guard(lock_); in createPartition() local
188 std::lock_guard<std::mutex> guard(lock_); in commitGsiChunkFromStream() local
200 std::lock_guard<std::mutex> guard(progress_lock_); in StartAsyncOperation() local
209 std::lock_guard<std::mutex> guard(progress_lock_); in UpdateProgress() local
221 std::lock_guard<std::mutex> guard(progress_lock_); in getInstallProgress() local
232 std::lock_guard<std::mutex> guard(lock_); in commitGsiChunkFromAshmem() local
266 std::lock_guard<std::mutex> guard(lock_); in enableGsi() local
294 std::lock_guard<std::mutex> guard(lock_); in isGsiEnabled() local
[all …]
/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.cpp105 std::lock_guard guard(mLock); in dump() local
158 std::lock_guard guard(mLock); in setPollingInterval() local
168 std::lock_guard guard(mLock); in resumePolling() local
181 std::lock_guard guard(mLock); in suspendPolling() local
193 std::lock_guard guard(mLock); in poll() local
260 std::lock_guard guard(mLock); in waitForNextPoll() local
274 std::lock_guard guard(mLock); in isRunning() local
321 std::lock_guard guard(mLock); in TcpSocketMonitor() local
337 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.cpp180 std::lock_guard guard(mMutex); in initMaps() local
282 std::lock_guard guard(mMutex); in start() local
312 std::lock_guard guard(mMutex); in tagSocket() local
384 std::lock_guard guard(mMutex); in untagSocket() local
403 std::lock_guard guard(mMutex); in setCounterSet() local
436 std::lock_guard guard(mMutex); in deleteTagData() local
523 std::lock_guard guard(mMutex); in updateOwnerMapEntry() local
591 std::lock_guard guard(mMutex); in updateUidOwnerMap() local
648 std::lock_guard guard(mMutex); in replaceRulesInMap() local
679 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.cpp40 std::string guard; in makeHeaderGuard() local
43 guard += "HIDL_GENERATED_"; in makeHeaderGuard()
46 guard += StringHelper::Uppercase(mPackage.tokenName()); in makeHeaderGuard()
47 guard += "_"; in makeHeaderGuard()
48 guard += StringHelper::Uppercase(baseName); in makeHeaderGuard()
49 guard += "_H"; in makeHeaderGuard()
51 return guard; in makeHeaderGuard()
221 const std::string guard = makeHeaderGuard(ifaceName); in generateInterfaceHeader() local
223 out << "#ifndef " << guard << "\n"; in generateInterfaceHeader()
224 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()
Dmain.cpp895 std::string guard; in generateExportHeaderForPackage() local
901 guard = "HIDL_GENERATED_"; in generateExportHeaderForPackage()
902 guard += StringHelper::Uppercase(packageFQName.tokenName()); in generateExportHeaderForPackage()
903 guard += "_"; in generateExportHeaderForPackage()
904 guard += "EXPORTED_CONSTANTS_H_"; in generateExportHeaderForPackage()
907 << guard in generateExportHeaderForPackage()
909 << guard in generateExportHeaderForPackage()
922 << guard in generateExportHeaderForPackage()
/system/libartpalette/
Dpalette_fake.cc41 std::lock_guard guard(g_tid_priority_map_mutex); in PaletteSchedSetPriority() local
48 std::lock_guard guard(g_tid_priority_map_mutex); in PaletteSchedGetPriority() local
/system/core/libunwindstack/
DMapInfo.cpp198 std::lock_guard<std::mutex> guard(mutex_); in GetElf() local
244 std::lock_guard<std::mutex> guard(prev_real_map->mutex_); in GetElf() local
256 std::lock_guard<std::mutex> guard(mutex_); in GetFunctionName() local
274 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
197 std::lock_guard<std::mutex> guard(lock_); in Step() local
/system/extras/libfec/test/
Dfec_unittest.cpp135 std::unique_ptr<fec_handle> guard(handle); in TEST_F() local
171 std::unique_ptr<fec_handle> guard(handle); in TEST_F() local
214 std::unique_ptr<fec_handle> guard(handle); in TEST_F() local
228 std::unique_ptr<fec_handle> guard(handle); in TEST_F() local
267 std::unique_ptr<fec_handle> guard(handle); in TEST_F() local
290 std::unique_ptr<fec_handle> guard(handle); in TEST_F() 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/memory/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.cpp204 std::lock_guard<std::mutex> guard(lock_); in StartRecording() local
221 std::lock_guard<std::mutex> guard(lock_); in PauseRecording() local
233 std::lock_guard<std::mutex> guard(lock_); in ResumeRecording() local
242 std::lock_guard<std::mutex> guard(lock_); in StopRecording() local
/system/core/init/
Dproperty_service_test.cpp85 auto guard = android::base::make_scope_guard([&original_value]() { in TEST() 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/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/core/libprocinfo/testdata/
Dmaps351 704defa000-704defb000 ---p 00000000 00:00 0 [anon:thread stack guard]
355 704e455000-704e456000 ---p 00000000 00:00 0 [anon:thread stack guard]
362 704e69d000-704e69e000 ---p 00000000 00:00 0 [anon:thread stack guard]
365 704f79b000-704f79c000 ---p 00000000 00:00 0 [anon:thread stack guard]
367 704f899000-704f89a000 ---p 00000000 00:00 0 [anon:thread stack guard]
420 7051326000-7051327000 ---p 00000000 00:00 0 [anon:thread stack guard]
546 705ddf8000-705ddf9000 ---p 00000000 00:00 0 [anon:thread stack guard]
550 705f5ec000-705f5ed000 ---p 00000000 00:00 0 [anon:thread stack guard]
554 705f7e8000-705f7e9000 ---p 00000000 00:00 0 [anon:thread stack guard]
557 705f8ee000-705f8ef000 ---p 00000000 00:00 0 [anon:thread stack guard]
[all …]

123