Home
last modified time | relevance | path

Searched refs:mThreadControlMutex (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h116 std::mutex mThreadControlMutex; variable
118 bool mRunning GUARDED_BY(mThreadControlMutex) = true;
119 bool mSampleRequested GUARDED_BY(mThreadControlMutex) = false;
120 uint32_t mDiscardedFrames GUARDED_BY(mThreadControlMutex) = 0;
121 std::chrono::nanoseconds lastSampleTime GUARDED_BY(mThreadControlMutex);
DRegionSamplingThread.cpp192 std::lock_guard lock(mThreadControlMutex); in ~RegionSamplingThread()
216 std::lock_guard lock(mThreadControlMutex); in checkForStaleLuma()
234 std::lock_guard lock(mThreadControlMutex); in doSample()
461 std::unique_lock<std::mutex> lock(mThreadControlMutex); in threadMain()
469 mCondition.wait(lock, [this]() REQUIRES(mThreadControlMutex) { in threadMain()