Searched refs:isVSyncInPhase (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncPredictorTest.cpp | 509 TEST_F(VSyncPredictorTest, isVSyncInPhase) { in TEST_F() argument 530 tracker.isVSyncInPhase(mNow + i * mPeriod - bias, in TEST_F() 554 EXPECT_FALSE(tracker.isVSyncInPhase(mNow, renderRateFps)); in TEST_F() 555 EXPECT_TRUE(tracker.isVSyncInPhase(mNow + mPeriod, renderRateFps)); in TEST_F() 556 EXPECT_FALSE(tracker.isVSyncInPhase(mNow + 2 * mPeriod, renderRateFps)); in TEST_F() 557 EXPECT_TRUE(tracker.isVSyncInPhase(mNow + 3 * mPeriod, renderRateFps)); in TEST_F() 571 EXPECT_TRUE(tracker.isVSyncInPhase(mNow + 1 * mPeriod, Fps::fromPeriodNsecs(mPeriod * 2))); in TEST_F() 572 EXPECT_FALSE(tracker.isVSyncInPhase(mNow + 2 * mPeriod, Fps::fromPeriodNsecs(mPeriod * 2))); in TEST_F() 573 EXPECT_TRUE(tracker.isVSyncInPhase(mNow + 3 * mPeriod, Fps::fromPeriodNsecs(mPeriod * 2))); in TEST_F() 575 EXPECT_FALSE(tracker.isVSyncInPhase(mNow + 5 * mPeriod, Fps::fromPeriodNsecs(mPeriod * 4))); in TEST_F() [all …]
|
D | VSyncDispatchRealtimeTest.cpp | 51 bool isVSyncInPhase(nsecs_t, Fps) final { return false; } in isVSyncInPhase() function in android::scheduler::StubTracker
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockVSyncTracker.h | 37 MOCK_METHOD(bool, isVSyncInPhase, (nsecs_t, Fps), (override));
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncTracker.h | 90 virtual bool isVSyncInPhase(nsecs_t timePoint, Fps frameRate) = 0;
|
D | VSyncPredictor.h | 67 bool isVSyncInPhase(nsecs_t timePoint, Fps frameRate) final EXCLUDES(mMutex); 105 bool isVSyncInPhase(Model, nsecs_t vsync, Fps frameRate);
|
D | VSyncPredictor.cpp | 348 bool VSyncPredictor::isVSyncInPhase(nsecs_t timePoint, Fps frameRate) { in isVSyncInPhase() function in android::scheduler::VSyncPredictor 364 return timeline.isVSyncInPhase(model, vsync, frameRate); in isVSyncInPhase() 369 return mTimelines.back().isVSyncInPhase(model, vsync, frameRate); in isVSyncInPhase() 735 bool VSyncPredictor::VsyncTimeline::isVSyncInPhase(Model model, nsecs_t vsync, Fps frameRate) { in isVSyncInPhase() function in android::scheduler::VSyncPredictor::VsyncTimeline
|
D | Scheduler.cpp | 294 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), *frameRate); in isVsyncValid() 298 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), frameRate); in isVsyncInPhase()
|
D | EventThread.cpp | 577 .isVSyncInPhase(vsyncData.preferredExpectedPresentationTime(), in shouldConsumeEvent()
|