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.cpp191 std::lock_guard lock(mThreadControlMutex); in ~RegionSamplingThread()
220 std::lock_guard lock(mThreadControlMutex); in checkForStaleLuma()
238 std::lock_guard lock(mThreadControlMutex); in doSample()
493 std::unique_lock<std::mutex> lock(mThreadControlMutex); in threadMain()
501 mCondition.wait(lock, [this]() REQUIRES(mThreadControlMutex) { in threadMain()