Searched refs:MIN_EARLY_TRANSACTION_FRAMES (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncModulatorTest.cpp | 55 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/ |
D | VsyncModulator.h | 41 static constexpr int MIN_EARLY_TRANSACTION_FRAMES = 2;
|
D | VsyncModulator.cpp | 79 mEarlyTransactionFrames = MIN_EARLY_TRANSACTION_FRAMES; in setTransactionSchedule()
|