Searched refs:addHwVsyncTimestamp (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncReactorTest.cpp | 204 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed)); in TEST_F() 206 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(newPeriod, std::nullopt, &periodFlushed)); in TEST_F() 218 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(10000, std::nullopt, &periodFlushed)); in TEST_F() 221 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(20000, std::nullopt, &periodFlushed)); in TEST_F() 227 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() 243 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 254 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 256 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockVsyncController.h | 31 MOCK_METHOD3(addHwVsyncTimestamp, bool(nsecs_t, std::optional<nsecs_t>, bool*));
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VsyncController.h | 58 virtual bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
|
D | VSyncReactor.h | 49 bool addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod,
|
D | VSyncReactor.cpp | 177 bool VSyncReactor::addHwVsyncTimestamp(nsecs_t timestamp, std::optional<nsecs_t> hwcVsyncPeriod, in addHwVsyncTimestamp() function in android::scheduler::VSyncReactor
|
D | Scheduler.cpp | 479 mVsyncSchedule->getController().addHwVsyncTimestamp(timestamp, hwcVsyncPeriod, in addResyncSample()
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_scheduler_fuzzer.cpp | 260 reactor.addHwVsyncTimestamp(0, std::nullopt, &periodFlushed); in fuzzVSyncReactor() 261 reactor.addHwVsyncTimestamp(mFdp.ConsumeIntegral<nsecs_t>() /*newPeriod*/, std::nullopt, in fuzzVSyncReactor()
|