Searched refs:consideredSignals (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 477 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals; in chooseRefreshRateForContent() local 478 newConfigId = calculateRefreshRateConfigIndexType(&consideredSignals); in chooseRefreshRateForContent() 482 if (!consideredSignals.idle) { in chooseRefreshRateForContent() 490 consideredSignals.idle ? ConfigEvent::None in chooseRefreshRateForContent() 593 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals; in handleTimerStateChanged() local 600 newConfigId = calculateRefreshRateConfigIndexType(&consideredSignals); in handleTimerStateChanged() 604 if (!consideredSignals.idle) { in handleTimerStateChanged() 607 return consideredSignals.touch; in handleTimerStateChanged() 613 consideredSignals.idle ? ConfigEvent::None in handleTimerStateChanged() 615 return consideredSignals.touch; in handleTimerStateChanged() [all …]
|
D | Scheduler.h | 203 scheduler::RefreshRateConfigs::GlobalSignals* consideredSignals = nullptr)
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateConfigsTest.cpp | 1020 RefreshRateConfigs::GlobalSignals consideredSignals; in TEST_F() local 1025 refreshRateConfigs->getBestRefreshRate({}, {.touch = false, .idle = false}, &consideredSignals); in TEST_F() 1026 EXPECT_EQ(false, consideredSignals.touch); in TEST_F() 1028 refreshRateConfigs->getBestRefreshRate({}, {.touch = true, .idle = false}, &consideredSignals); in TEST_F() 1029 EXPECT_EQ(true, consideredSignals.touch); in TEST_F() 1043 &consideredSignals); in TEST_F() 1044 EXPECT_EQ(true, consideredSignals.touch); in TEST_F() 1053 &consideredSignals); in TEST_F() 1054 EXPECT_EQ(false, consideredSignals.touch); in TEST_F() 1063 &consideredSignals); in TEST_F() [all …]
|