Home
last modified time | relevance | path

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

123

/system/gsid/
Dgsi_service.cpp134 std::lock_guard<std::mutex> guard(lock_); in openInstall() local
156 std::lock_guard<std::mutex> guard(lock_); in closeInstall() local
170 std::lock_guard<std::mutex> guard(lock_); in createPartition() local
211 std::lock_guard<std::mutex> guard(lock_); in closePartition() local
227 std::lock_guard<std::mutex> guard(lock_); in commitGsiChunkFromStream() local
239 std::lock_guard<std::mutex> guard(progress_lock_); in StartAsyncOperation() local
248 std::lock_guard<std::mutex> guard(progress_lock_); in UpdateProgress() local
260 std::lock_guard<std::mutex> guard(progress_lock_); in getInstallProgress() local
271 std::lock_guard<std::mutex> guard(lock_); in commitGsiChunkFromAshmem() local
305 std::lock_guard<std::mutex> guard(lock_); in enableGsi() 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
159 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local
178 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() 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
DTrafficController.cpp181 std::lock_guard guard(mMutex); in initMaps() local
279 std::lock_guard guard(mMutex); in start() local
309 std::lock_guard guard(mMutex); in tagSocket() local
376 std::lock_guard guard(mMutex); in untagSocket() local
391 std::lock_guard guard(mMutex); in setCounterSet() local
419 std::lock_guard guard(mMutex); in deleteTagData() local
499 std::lock_guard guard(mMutex); in updateOwnerMapEntry() local
556 std::lock_guard guard(mMutex); in updateUidOwnerMap() local
600 std::lock_guard guard(mMutex); in replaceRulesInMap() local
627 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.cpp74 std::lock_guard guard(mutex); in init() local
427 std::lock_guard guard(mutex); in startClatd() local
556 std::lock_guard guard(mutex); in stopClatd() local
655 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/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
295 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTasksFromUser() local
314 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
390 std::unique_lock<std::mutex> guard(internal_mutex_); in scheduleTask() local
421 std::unique_lock<std::mutex> guard(internal_mutex_); in tryStartThread() 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/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/unwinding/libunwindstack/
DMapInfo.cpp216 std::lock_guard<std::mutex> guard(elf_mutex()); in GetElf() local
262 std::lock_guard<std::mutex> guard(prev_real_map()->elf_mutex()); in GetElf() local
277 std::lock_guard<std::mutex> guard(elf_mutex()); in GetFunctionName() local
295 std::lock_guard<std::mutex> guard(elf_mutex()); in GetLoadBias() local
DThreadEntry.cpp45 std::lock_guard<std::mutex> guard(entries_mutex_); in Get() local
62 std::lock_guard<std::mutex> guard(entries_mutex_); in Remove() local
DDexFile.cpp63 std::lock_guard<std::mutex> guard(g_lock); in CreateFromDisk() local
133 std::lock_guard<std::mutex> guard(dex_api_->lock_); // Protect both the symbols and the C API. in GetFunctionName() local
DElf.cpp97 std::lock_guard<std::mutex> guard(lock_); in GetSoname() local
109 std::lock_guard<std::mutex> guard(lock_); in GetFunctionName() local
201 std::lock_guard<std::mutex> guard(lock_); in Step() local
/system/iorap/src/perfetto/
Dperfetto_consumer.cc121 std::lock_guard<std::mutex> guard{looper_mutex_}; in __anonec49963b0102() local
145 std::lock_guard<std::mutex> guard{looper_mutex_}; local
189 std::lock_guard<std::mutex> guard{mutex_}; in Create() local
216 std::lock_guard<std::mutex> guard{mutex_}; in StartTracing() local
243 std::lock_guard<std::mutex> guard{mutex_}; in ReadTrace() local
269 std::lock_guard<std::mutex> guard{mutex_}; in TryDestroy() local
302 std::lock_guard<std::mutex> guard{mutex_}; in GetOrInferHandleDescription() local
325 std::lock_guard<std::mutex> guard{mutex_}; in OnTraceMessage() local
358 std::lock_guard<std::mutex> guard{mutex_}; in OnTraceMessage() local
/system/logging/logd/
DPkgIds.cpp61 std::lock_guard<std::mutex> guard(global->lock); in ReadPackageList() local
130 std::lock_guard<std::mutex> guard(gPkgIdMap->lock); in StartPkgMonitor() local
143 std::lock_guard<std::mutex> guard(gPkgIdMap->lock); in uidToName() local
/system/libartpalette/
Dpalette_fake.cc37 std::lock_guard guard(g_tid_priority_map_mutex); in PaletteSchedSetPriority() local
44 std::lock_guard guard(g_tid_priority_map_mutex); in PaletteSchedGetPriority() 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/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/bt/audio_hal_interface/
Dclient_interface.cc552 std::lock_guard<std::mutex> guard(internal_mutex_); in StartSession() local
612 std::lock_guard<std::mutex> guard(internal_mutex_); in StartSession_2_1() local
720 std::lock_guard<std::mutex> guard(internal_mutex_); in EndSession() local
763 std::lock_guard<std::mutex> guard(internal_mutex_); in ReadAudioData() local
840 std::lock_guard<std::mutex> guard(internal_mutex_); in WriteAudioData() local
/system/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h48 uint32_t guard; member
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc39 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in IterateZipEntriesAndSearchForKeys() local
/system/media/audio_utils/
DPowerLog.cpp66 std::lock_guard<std::mutex> guard(mLock); in log() local
113 std::lock_guard<std::mutex> guard(mLock); in dumpToString() local
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp103 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local

123