/system/extras/memory_replay/ |
D | Thread.cpp | 30 pthread_mutex_lock(&mutex_); in WaitForReady() 32 pthread_cond_wait(&cond_, &mutex_); in WaitForReady() 34 pthread_mutex_unlock(&mutex_); in WaitForReady() 38 pthread_mutex_lock(&mutex_); in WaitForPending() 40 pthread_cond_wait(&cond_, &mutex_); in WaitForPending() 42 pthread_mutex_unlock(&mutex_); in WaitForPending() 46 pthread_mutex_lock(&mutex_); in SetPending() 48 pthread_mutex_unlock(&mutex_); in SetPending() 53 pthread_mutex_lock(&mutex_); in ClearPending() 55 pthread_mutex_unlock(&mutex_); in ClearPending()
|
D | Thread.h | 46 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
|
/system/logging/logd/ |
D | LogBufferTest.h | 53 : LogWriter(0, true), mutex_(mutex ?: &logd_lock), msgs_(msgs), released_(released) {} in TestWriter() 56 auto lock = std::lock_guard{*mutex_}; in Write() 68 std::mutex* mutex_; 124 auto lock = std::lock_guard{mutex_}; in TestReaderThread() 126 new TestWriter(&read_log_messages_, &mutex_, &released_)); in TestReaderThread() 144 auto lock = std::lock_guard{mutex_}; in WaitForMessages() 153 auto lock = std::lock_guard{mutex_}; in read_log_messages() 159 std::mutex mutex_; variable
|
/system/media/audio_utils/include/audio_utils/ |
D | mutex.h | 1063 bool add_to_registry(const std::shared_ptr<ThreadInfo>& tminfo) EXCLUDES(mutex_) { in add_to_registry() 1065 std::lock_guard l(mutex_); in add_to_registry() 1074 bool remove_from_registry(pid_t tid) EXCLUDES(mutex_) { in remove_from_registry() 1076 std::lock_guard l(mutex_); in remove_from_registry() 1084 auto copy_map() EXCLUDES(mutex_) { in copy_map() 1085 std::lock_guard l(mutex_); in copy_map() 1090 auto copy_ordered_map() EXCLUDES(mutex_) { in copy_ordered_map() 1091 std::lock_guard l(mutex_); in copy_ordered_map() 1271 mutable std::mutex mutex_; 1272 std::unordered_map<pid_t, std::weak_ptr<ThreadInfo>> registry_ GUARDED_BY(mutex_); [all …]
|
/system/unwinding/libunwindstack/ |
D | ThreadEntry.h | 48 mutex_.lock(); in Lock() 55 inline void Unlock() { mutex_.unlock(); } in Unlock() 65 std::mutex mutex_; variable
|
/system/chre/pal/tests/src/ |
D | gnss_pal_impl_test.cc | 193 chre::LockGuard<chre::Mutex> lock(mutex_); in locationStatusChangeCallback() 201 chre::LockGuard<chre::Mutex> lock(mutex_); in locationEventCallback() 218 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementStatusChangeCallback() 226 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementEventCallback() 239 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess() 257 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_P() 268 waitSuccess = condVar_.wait_for(mutex_, kGnssEventTimeoutNs); in TEST_P() 297 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_P() 307 waitSuccess = condVar_.wait_for(mutex_, kGnssEventTimeoutNs); in TEST_P()
|
D | wifi_pal_impl_test.cc | 166 chre::LockGuard<chre::Mutex> lock(mutex_); in scanMonitorStatusChangeCallback() 179 chre::LockGuard<chre::Mutex> lock(mutex_); in scanResponseCallback() 189 chre::LockGuard<chre::Mutex> lock(mutex_); in scanEventCallback() 208 chre::LockGuard<chre::Mutex> lock(mutex_); in nanServiceIdentifierCallback() 257 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess() 276 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F() 294 waitSuccess = condVar_.wait_for(mutex_, kScanResultTimeoutNs); in TEST_F() 326 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
|
/system/memory/lmkd/ |
D | reaper.cpp | 205 mutex_.lock(); in async_kill() 207 mutex_.unlock(); in async_kill() 217 mutex_.unlock(); in async_kill() 243 std::unique_lock<std::mutex> lock(mutex_); in dequeue_request() 255 std::scoped_lock<std::mutex> lock(mutex_); in request_complete() 260 std::scoped_lock<std::mutex> lock(mutex_); in notify_kill_failure()
|
D | reaper.h | 32 std::mutex mutex_;
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.h | 77 std::mutex mutex_; variable 87 std::lock_guard<std::mutex> lock(mutex_); in issueCmd() 119 std::lock_guard<std::mutex> lock(mutex_); in issueCmd()
|
/system/teeui/libteeui/src/ |
D | evdev.cpp | 91 std::unique_lock<std::mutex> lock(mutex_); in addEventReceiver() 100 std::unique_lock<std::mutex> lock(mutex_); in addTimer() 109 std::unique_lock<std::mutex> lock(mutex_); in start() 116 std::unique_lock<std::mutex> lock(mutex_); in start() 160 std::unique_lock<std::mutex> lock(mutex_); in stop()
|
/system/core/libappfuse/ |
D | FuseBridgeLoop.cc | 314 std::recursive_mutex FuseBridgeLoop::mutex_; member in android::fuse::FuseBridgeLoop 333 std::lock_guard<std::recursive_mutex> lock(mutex_); in AddBridge() 377 std::lock_guard<std::recursive_mutex> lock(mutex_); in Start() 391 mutex_.lock(); in Lock() 395 mutex_.unlock(); in Unlock()
|
/system/libbase/include/android-base/ |
D | properties.h | 125 std::lock_guard<std::mutex> lock(mutex_); 137 std::mutex mutex_;
|
/system/chre/pal/tests/include/ |
D | gnss_pal_impl_test.h | 79 chre::Mutex mutex_; variable
|
D | wifi_pal_impl_test.h | 103 chre::Mutex mutex_; variable
|
/system/core/libappfuse/include/libappfuse/ |
D | FuseBridgeLoop.h | 67 static std::recursive_mutex mutex_; variable
|
D | FuseAppLoop.h | 64 std::mutex mutex_; variable
|
/system/teeui/libteeui/include/secure_input/ |
D | evdev.h | 88 std::mutex mutex_; variable
|
/system/core/init/ |
D | property_service.cpp | 205 auto guard = std::lock_guard{mutex_}; in TriggerRestorecon() 216 auto lock = std::unique_lock{mutex_}; in ThreadFunction() 233 std::mutex mutex_; member in android::init::AsyncRestorecon 386 std::mutex mutex_; member in android::init::PersistWriteThread 1504 std::unique_lock<std::mutex> lock(mutex_); in Work() 1525 std::unique_lock<std::mutex> lock(mutex_); in Write()
|
/system/gsid/ |
D | gsi_tool.cpp | 150 std::unique_lock<std::mutex> lock(mutex_); in Worker() 218 std::lock_guard<std::mutex> guard(mutex_); in SignalDone() 227 std::mutex mutex_; member in ProgressBar
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 886 std::unique_lock<std::mutex> ulock(mutex_); in MakeRequest() 895 std::unique_lock<std::mutex> ulock(mutex_); in WaitFulfill() 916 std::unique_lock<std::mutex> ulock(mutex_); in HandleRequests() 946 std::unique_lock<std::mutex> ulock(mutex_); in HandleRequests() 957 std::mutex mutex_; member in android::snapshot::LockTestConsumer
|