Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVSyncReactorTest.cpp203 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed)); in TEST_F()
308 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(5000, std::nullopt, &periodFlushed)); in TEST_F()
358 mReactor.addHwVsyncTimestamp(time, std::nullopt, &periodFlushed); in TEST_F()
362 mReactor.addHwVsyncTimestamp(time, std::nullopt, &periodFlushed); in TEST_F()
452 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(0, 0, &periodFlushed)); in TEST_F()
454 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(newPeriod, 0, &periodFlushed)); in TEST_F()
474 EXPECT_TRUE(idleReactor.addHwVsyncTimestamp(0, 0, &periodFlushed)); in TEST_F()
477 EXPECT_TRUE(idleReactor.addHwVsyncTimestamp(0, 10000, &periodFlushed)); in TEST_F()
480 EXPECT_FALSE(idleReactor.addHwVsyncTimestamp(10000, 10000, &periodFlushed)); in TEST_F()
488 EXPECT_TRUE(idleReactor.addHwVsyncTimestamp(20000, 10000, &periodFlushed)); in TEST_F()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/
H A DMockVsyncController.h31 MOCK_METHOD3(addHwVsyncTimestamp, bool(nsecs_t, std::optional<nsecs_t>, bool*));
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DVsyncController.h59 virtual bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
H A DVSyncReactor.h45 bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
H A DVSyncReactor.cpp171 bool VSyncReactor::addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addHwVsyncTimestamp() function in android::scheduler::VSyncReactor
H A DScheduler.cpp558 needsHwVsync = mVsyncSchedule.controller->addHwVsyncTimestamp(timestamp, hwcVsyncPeriod, in addResyncSample()