Home
last modified time | relevance | path

Searched refs:addHwVsyncTimestamp (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp204 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed)); in TEST_F()
206 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(newPeriod, std::nullopt, &periodFlushed)); in TEST_F()
218 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(10000, std::nullopt, &periodFlushed)); in TEST_F()
221 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(20000, std::nullopt, &periodFlushed)); in TEST_F()
227 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(25000, std::nullopt, &periodFlushed)); in TEST_F()
236 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
239 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
243 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
254 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
256 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockVsyncController.h31 MOCK_METHOD3(addHwVsyncTimestamp, bool(nsecs_t, std::optional<nsecs_t>, bool*));
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncController.h58 virtual bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DVSyncReactor.h49 bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DVSyncReactor.cpp177 bool VSyncReactor::addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addHwVsyncTimestamp() function in android::scheduler::VSyncReactor
DScheduler.cpp479 mVsyncSchedule->getController().addHwVsyncTimestamp(timestamp, hwcVsyncPeriod, in addResyncSample()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp260 reactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed); in fuzzVSyncReactor()
261 reactor.addHwVsyncTimestamp(mFdp.ConsumeIntegral<nsecs_t>() /*newPeriod*/, std::nullopt, in fuzzVSyncReactor()