Home
last modified time | relevance | path

Searched refs:mPolicyLock (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.h157 void onPrimaryDisplayModeChanged(Cycle, const FrameRateMode&) EXCLUDES(mPolicyLock);
329 bool updateFrameRateOverrides(GlobalSignals, Fps displayRefreshRate) EXCLUDES(mPolicyLock);
407 EXCLUDES(mDisplayLock, mPolicyLock);
418 GlobalSignals applyPolicy(S Policy::*, T&&) EXCLUDES(mPolicyLock);
447 REQUIRES(mPolicyLock, mDisplayLock, kMainThreadContext);
449 GlobalSignals makeGlobalSignals() const REQUIRES(mPolicyLock);
452 REQUIRES(mPolicyLock);
460 void dispatchCachedReportedMode() REQUIRES(mPolicyLock) EXCLUDES(mDisplayLock);
501 mutable std::mutex mPolicyLock; variable
593 } mPolicy GUARDED_BY(mPolicyLock);
DScheduler.cpp423 std::lock_guard<std::mutex> lock(mPolicyLock); in onPrimaryDisplayModeChanged()
715 std::scoped_lock lock(mPolicyLock); in chooseRefreshRateForContent()
743 std::lock_guard<std::mutex> lock(mPolicyLock); in setDisplayPowerMode()
911 std::scoped_lock lock(mPolicyLock); in updateFrameRateOverrides()
990 std::scoped_lock lock(mPolicyLock); in demotePacesetterDisplay()
1103 std::scoped_lock lock(mPolicyLock); in applyPolicy()
1163 const Fps pacesetterFps = [&]() REQUIRES(mPolicyLock, mDisplayLock, kMainThreadContext) { in chooseDisplayModes()
1201 std::lock_guard<std::mutex> lock(mPolicyLock); in getPreferredDisplayMode()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h169 std::lock_guard<std::mutex> lock(mPolicyLock); in isTouchActive()
174 std::lock_guard<std::mutex> lock(mPolicyLock); in setTouchStateAndIdleTimerPolicy()
180 std::lock_guard<std::mutex> lock(mPolicyLock); in setContentRequirements()
192 std::lock_guard<std::mutex> lock(mPolicyLock); in dispatchCachedReportedMode()
197 std::lock_guard<std::mutex> lock(mPolicyLock); in clearCachedReportedMode()