Home
last modified time | relevance | path

Searched refs:periodFlushed (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp197 bool periodFlushed = true; in TEST_F() local
203 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed)); in TEST_F()
204 EXPECT_FALSE(periodFlushed); in TEST_F()
205 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(newPeriod, std::nullopt, &periodFlushed)); in TEST_F()
206 EXPECT_TRUE(periodFlushed); in TEST_F()
216 bool periodFlushed = true; in TEST_F() local
217 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(10000, std::nullopt, &periodFlushed)); in TEST_F()
218 EXPECT_FALSE(periodFlushed); in TEST_F()
220 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(20000, std::nullopt, &periodFlushed)); in TEST_F()
221 EXPECT_FALSE(periodFlushed); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncReactor.cpp189 bool* periodFlushed) { in addHwVsyncTimestamp() argument
190 assert(periodFlushed); in addHwVsyncTimestamp()
197 *periodFlushed = true; in addHwVsyncTimestamp()
211 *periodFlushed = false; in addHwVsyncTimestamp()
214 *periodFlushed = false; in addHwVsyncTimestamp()
DVsyncSchedule.cpp161 bool periodFlushed = false; in addResyncSample() local
167 &periodFlushed); in addResyncSample()
176 return periodFlushed; in addResyncSample()
DVsyncController.h60 bool* periodFlushed) = 0;
DVSyncReactor.h52 bool* periodFlushed) final;