Searched refs:addHwVsyncTimestamp (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncReactorTest.cpp | 203 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 …]
|
D | VsyncScheduleTest.cpp | 198 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/ |
D | MockVsyncController.h | 31 MOCK_METHOD(bool, addHwVsyncTimestamp, (nsecs_t, std::optional<nsecs_t>, bool*), (override));
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VsyncController.h | 59 virtual bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
|
D | VSyncReactor.h | 51 bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
|
D | VSyncReactor.cpp | 188 bool VSyncReactor::addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addHwVsyncTimestamp() function in android::scheduler::VSyncReactor
|
D | VsyncSchedule.cpp | 165 needsHwVsync = mController->addHwVsyncTimestamp(timestamp.ns(), in addResyncSample()
|