Home
last modified time | relevance | path

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

12

/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/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.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/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.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 …]
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
469 std::lock_guard guard(mutex); in startClatd() local
598 std::lock_guard guard(mutex); in stopClatd() local
697 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/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/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/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/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/core/init/
Dproperty_service_test.cpp85 auto guard = android::base::make_scope_guard([&original_value]() { in TEST() local
/system/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h48 uint32_t guard; member
/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/update_engine/payload_consumer/
Dcertificate_parser_android.cc39 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in IterateZipEntriesAndSearchForKeys() local
/system/bt/audio_hal_interface/
Dclient_interface.cc357 std::lock_guard<std::mutex> guard(internal_mutex_); in StartSession() local
449 std::lock_guard<std::mutex> guard(internal_mutex_); in EndSession() local
477 std::lock_guard<std::mutex> guard(internal_mutex_); in ReadAudioData() local
/system/tools/hidl/
DgenerateCpp.cpp40 std::string guard; in makeHeaderGuard() local
221 const std::string guard = makeHeaderGuard(ifaceName); in generateInterfaceHeader() local
396 const std::string guard = makeHeaderGuard(klassName); in generateHwBinderHeader() local
640 const std::string guard = makeHeaderGuard(klassName); in generateStubHeader() local
750 const std::string guard = makeHeaderGuard(proxyName); in generateProxyHeader() local
1644 const std::string guard = makeHeaderGuard(klassName); in generatePassthroughHeader() local
DgenerateCppAdapter.cpp39 const std::string guard = makeHeaderGuard(klassName, true /* indicateGenerated */); in generateCppAdapterHeader() local
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp95 std::lock_guard<std::mutex> guard(gDeclaredServiceHalMapMutex); in GetHal() local
265 std::lock_guard<std::mutex> guard(gDeclaredServiceHalMapMutex); in TEST_F() local
/system/bt/audio_bluetooth_hw/
Daudio_bluetooth_hw.cc47 std::lock_guard<std::mutex> guard(bluetooth_device->mutex_); in adev_set_parameters() local

12