Searched refs:addHwVsyncTimestamp (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | VSyncReactorTest.cpp | 203 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 D | MockVsyncController.h | 31 MOCK_METHOD3(addHwVsyncTimestamp, bool(nsecs_t, std::optional<nsecs_t>, bool*));
|
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | VsyncController.h | 59 virtual bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
|
H A D | VSyncReactor.h | 45 bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
|
H A D | VSyncReactor.cpp | 171 bool VSyncReactor::addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addHwVsyncTimestamp() function in android::scheduler::VSyncReactor
|
H A D | Scheduler.cpp | 558 needsHwVsync = mVsyncSchedule.controller->addHwVsyncTimestamp(timestamp, hwcVsyncPeriod, in addResyncSample()
|