Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp203 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed)); in TEST_F()
205 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(newPeriod, std::nullopt, &periodFlushed)); in TEST_F()
217 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(10000, std::nullopt, &periodFlushed)); in TEST_F()
220 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(20000, std::nullopt, &periodFlushed)); in TEST_F()
226 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()
245 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
256 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
258 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
[all …]
DVsyncScheduleTest.cpp198 EXPECT_CALL(getController(), addHwVsyncTimestamp(_, _, _)).Times(0); in TEST_F()
209 EXPECT_CALL(getController(), addHwVsyncTimestamp(_, _, _)).Times(0); in TEST_F()
223 addHwVsyncTimestamp(timestamp.ns(), std::optional<nsecs_t>(period.ns()), _)) in TEST_F()
238 addHwVsyncTimestamp(timestamp.ns(), std::optional<nsecs_t>(period.ns()), _)) in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockVsyncController.h31 MOCK_METHOD(bool, addHwVsyncTimestamp, (nsecs_t, std::optional<nsecs_t>, bool*), (override));
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncController.h59 virtual bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DVSyncReactor.h51 bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DVSyncReactor.cpp188 bool VSyncReactor::addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addHwVsyncTimestamp() function in android::scheduler::VSyncReactor
DVsyncSchedule.cpp165 needsHwVsync = mController->addHwVsyncTimestamp(timestamp.ns(), in addResyncSample()