Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncModulatorTest.cpp55 static constexpr auto MIN_EARLY_TRANSACTION_FRAMES = member in android::scheduler::VsyncModulatorTest
56 VsyncModulator::MIN_EARLY_TRANSACTION_FRAMES;
87 CHECK_REFRESH(MIN_EARLY_TRANSACTION_FRAMES, std::nullopt, kLate); in TEST_F()
95 CHECK_REFRESH(MIN_EARLY_TRANSACTION_FRAMES - 1, kEarly, kEarly); in TEST_F()
104 CHECK_REFRESH(5 * MIN_EARLY_TRANSACTION_FRAMES, std::nullopt, kEarly); in TEST_F()
109 CHECK_REFRESH(MIN_EARLY_TRANSACTION_FRAMES - 1, kEarly, kEarly); in TEST_F()
119 for (int i = 0; i < 5 * MIN_EARLY_TRANSACTION_FRAMES; i++) { in TEST_F()
127 CHECK_REFRESH(MIN_EARLY_TRANSACTION_FRAMES - 1, kEarly, kEarly); in TEST_F()
136 CHECK_REFRESH(MIN_EARLY_TRANSACTION_FRAMES - 1, kEarly, kEarly); in TEST_F()
142 CHECK_REFRESH(5 * MIN_EARLY_TRANSACTION_FRAMES, std::nullopt, kEarly); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncModulator.h41 static constexpr int MIN_EARLY_TRANSACTION_FRAMES = 2;
DVsyncModulator.cpp79 mEarlyTransactionFrames = MIN_EARLY_TRANSACTION_FRAMES; in setTransactionSchedule()