Searched refs:consideredSignals (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 619 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals; in chooseRefreshRateForContent() local 627 newModeId = calculateRefreshRateModeId(&consideredSignals); in chooseRefreshRateForContent() 630 updateFrameRateOverrides(consideredSignals, newRefreshRate.getFps()); in chooseRefreshRateForContent() 635 if (!consideredSignals.idle) { in chooseRefreshRateForContent() 647 consideredSignals.idle ? ModeEvent::None in chooseRefreshRateForContent() 768 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals, Fps displayRefreshRate) { in updateFrameRateOverrides() argument 773 if (!consideredSignals.idle) { in updateFrameRateOverrides() 777 consideredSignals.touch); in updateFrameRateOverrides() 796 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals; in handleTimerStateChanged() local 803 newModeId = calculateRefreshRateModeId(&consideredSignals); in handleTimerStateChanged() [all …]
|
D | Scheduler.h | 236 scheduler::RefreshRateConfigs::GlobalSignals* consideredSignals = nullptr) 240 bool updateFrameRateOverrides(scheduler::RefreshRateConfigs::GlobalSignals consideredSignals,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateConfigsTest.cpp | 1145 RefreshRateConfigs::GlobalSignals consideredSignals; in TEST_F() local 1150 refreshRateConfigs->getBestRefreshRate({}, {.touch = false, .idle = false}, &consideredSignals); in TEST_F() 1151 EXPECT_EQ(false, consideredSignals.touch); in TEST_F() 1153 refreshRateConfigs->getBestRefreshRate({}, {.touch = true, .idle = false}, &consideredSignals); in TEST_F() 1154 EXPECT_EQ(true, consideredSignals.touch); in TEST_F() 1168 &consideredSignals); in TEST_F() 1169 EXPECT_EQ(true, consideredSignals.touch); in TEST_F() 1178 &consideredSignals); in TEST_F() 1179 EXPECT_EQ(false, consideredSignals.touch); in TEST_F() 1188 &consideredSignals); in TEST_F() [all …]
|