Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp259 using DisplayModeChoice = TestableScheduler::DisplayModeChoice; in TEST_F() typedef
266 EXPECT_EQ(choice->get(), DisplayModeChoice({60_Hz, kDisplay1Mode60}, globalSignals)); in TEST_F()
276 EXPECT_EQ(choice->get(), DisplayModeChoice({120_Hz, kDisplay1Mode120}, globalSignals)); in TEST_F()
287 EXPECT_EQ(choice->get(), DisplayModeChoice({120_Hz, kDisplay1Mode120}, globalSignals)); in TEST_F()
295 using DisplayModeChoice = TestableScheduler::DisplayModeChoice; in TEST_F() typedef
314 EXPECT_EQ(choice->get(), DisplayModeChoice({60_Hz, kDisplay1Mode60}, {.touch = false})); in TEST_F()
328 EXPECT_EQ(choice->get(), DisplayModeChoice({120_Hz, kDisplay1Mode120}, {.touch = true})); in TEST_F()
342 EXPECT_EQ(choice->get(), DisplayModeChoice({120_Hz, kDisplay1Mode120}, {.touch = true})); in TEST_F()
359 using DisplayModeChoice = TestableScheduler::DisplayModeChoice; in TEST_F() typedef
366 DisplayModeChoice>(kDisplayId1, in TEST_F()
[all …]
DTestableScheduler.h184 using Scheduler::DisplayModeChoice;
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.h420 struct DisplayModeChoice { struct
421 DisplayModeChoice(FrameRateMode mode, GlobalSignals consideredSignals) in DisplayModeChoice() argument
424 static DisplayModeChoice from(RefreshRateSelector::RankedFrameRates rankedFrameRates) { in from() argument
432 bool operator==(const DisplayModeChoice& other) const { argument
437 friend std::ostream& operator<<(std::ostream& stream, const DisplayModeChoice& choice) {
443 using DisplayModeChoiceMap = ui::PhysicalDisplayMap<PhysicalDisplayId, DisplayModeChoice>;
DScheduler.cpp1122 .transform([](const DisplayModeChoice& choice) { in applyPolicy()
1171 DisplayModeChoice::from(std::move(rankedFrameRates))); in chooseDisplayModes()
1184 modeChoices.try_emplace(id, DisplayModeChoice::from(std::move(rankedFrameRates))); in chooseDisplayModes()