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 bool mDiscardedFrames GUARDED_BY(mThreadControlMutex) = false;
121 std::chrono::nanoseconds lastSampleTime GUARDED_BY(mThreadControlMutex);
DRegionSamplingThread.cpp188 std::lock_guard lock(mThreadControlMutex); in ~RegionSamplingThread()
217 std::lock_guard lock(mThreadControlMutex); in checkForStaleLuma()
235 std::lock_guard lock(mThreadControlMutex); in doSample()
468 std::unique_lock<std::mutex> lock(mThreadControlMutex); in threadMain()
476 mCondition.wait(lock, [this]() REQUIRES(mThreadControlMutex) { in threadMain()