Home
last modified time | relevance | path

Searched refs:addResyncSample (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp259 EXPECT_TRUE(mReactor.addResyncSample(0, std::nullopt, &periodFlushed)); in TEST_F()
261 EXPECT_FALSE(mReactor.addResyncSample(newPeriod, std::nullopt, &periodFlushed)); in TEST_F()
311 EXPECT_TRUE(mReactor.addResyncSample(10000, std::nullopt, &periodFlushed)); in TEST_F()
314 EXPECT_TRUE(mReactor.addResyncSample(20000, std::nullopt, &periodFlushed)); in TEST_F()
320 EXPECT_FALSE(mReactor.addResyncSample(25000, std::nullopt, &periodFlushed)); in TEST_F()
329 EXPECT_TRUE(mReactor.addResyncSample(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
332 EXPECT_TRUE(mReactor.addResyncSample(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
336 EXPECT_FALSE(mReactor.addResyncSample(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
347 EXPECT_TRUE(mReactor.addResyncSample(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
349 EXPECT_TRUE(mReactor.addResyncSample(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h52 virtual bool addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
129 bool addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DVSyncReactor.h54 bool addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DScheduler.h127 void addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
DScheduler.cpp378 void Scheduler::addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addResyncSample() function in android::Scheduler
386 mPrimaryDispSync->addResyncSample(timestamp, hwcVsyncPeriod, periodFlushed); in addResyncSample()
DVSyncReactor.cpp300 bool VSyncReactor::addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addResyncSample() function in android::scheduler::VSyncReactor
DDispSync.cpp566 bool DispSync::addResyncSample(nsecs_t timestamp, std::optional<nsecs_t> /*hwcVsyncPeriod*/, in addResyncSample() function in android::impl::DispSync
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockDispSync.h34 MOCK_METHOD3(addResyncSample, bool(nsecs_t, std::optional<nsecs_t>, bool*));
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1599 mScheduler->addResyncSample(timestamp, vsyncPeriod, &periodFlushed); in onVsyncReceived()