Home
last modified time | relevance | path

Searched refs:powerOnImminent (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.h211 bool powerOnImminent = false; member
215 powerOnImminent == other.powerOnImminent;
220 ", powerOnImminent=", powerOnImminent, '}'); in toString()
DScheduler.cpp1191 const bool powerOnImminent = mDisplayPowerTimer && in makeGlobalSignals() local
1197 .powerOnImminent = powerOnImminent}; in makeGlobalSignals()
DRefreshRateSelector.cpp521 if (signals.powerOnImminent) { in getRankedFrameRatesLocked()
526 return {ranking, GlobalSignals{.powerOnImminent = true}}; in getRankedFrameRatesLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectorTest.cpp1392 EXPECT_FALSE(signals.powerOnImminent); in TEST_P()
1416 selector.getRankedRefreshRatesAsPair({}, {.powerOnImminent = true}); in TEST_P()
1417 EXPECT_TRUE(signals.powerOnImminent); in TEST_P()
1436 selector.getRankedRefreshRatesAsPair(layers, {.powerOnImminent = true}); in TEST_P()
1437 EXPECT_TRUE(signals.powerOnImminent); in TEST_P()
1450 selector.getRankedRefreshRatesAsPair(layers, {.powerOnImminent = false}); in TEST_P()
1451 EXPECT_FALSE(signals.powerOnImminent); in TEST_P()