Home
last modified time | relevance | path

Searched refs:expectedVsyncTime (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp32 void MessageQueue::Handler::dispatchFrame(VsyncId vsyncId, TimePoint expectedVsyncTime) { in dispatchFrame() argument
35 mExpectedVsyncTime = expectedVsyncTime; in dispatchFrame()
64 const auto expectedVsyncTime = TimePoint::fromNs(vsyncTime); in vsyncCallback() local
67 mVsync.lastCallbackTime = expectedVsyncTime; in vsyncCallback()
74 mHandler->dispatchFrame(vsyncId, expectedVsyncTime); in vsyncCallback()
DMessageQueue.h101 virtual void dispatchFrame(VsyncId, TimePoint expectedVsyncTime);
114 virtual void onFrameSignal(ICompositor&, VsyncId, TimePoint expectedVsyncTime) = 0;
DScheduler.cpp201 TimePoint expectedVsyncTime) { in onFrameSignal() argument
205 .expectedVsyncTime = expectedVsyncTime, in onFrameSignal()
219 expectedVsyncTime = pacesetterPtr->targeterPtr->target().expectedPresentTime(); in onFrameSignal()
225 followerBeginFrameArgs.expectedVsyncTime = in onFrameSignal()
226 display.schedulePtr->vsyncDeadlineAfter(expectedVsyncTime); in onFrameSignal()
287 bool Scheduler::isVsyncValid(TimePoint expectedVsyncTime, uid_t uid) const { in isVsyncValid() argument
294 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), *frameRate); in isVsyncValid()
297 bool Scheduler::isVsyncInPhase(TimePoint expectedVsyncTime, Fps frameRate) const { in isVsyncInPhase() argument
298 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), frameRate); in isVsyncInPhase()
DScheduler.h267 bool isVsyncValid(TimePoint expectedVsyncTime, uid_t uid) const;
269 bool isVsyncInPhase(TimePoint expectedVsyncTime, Fps frameRate) const;
350 void onFrameSignal(ICompositor&, VsyncId, TimePoint expectedVsyncTime) override
/frameworks/native/services/surfaceflinger/Scheduler/src/
DFrameTargeter.cpp72 mScheduledPresentTime = args.expectedVsyncTime; in beginFrame()
79 if (args.expectedVsyncTime >= args.frameBeginTime) { in beginFrame()
80 mExpectedPresentTime = args.expectedVsyncTime; in beginFrame()
95 mExpectedPresentTime == args.expectedVsyncTime ? "" : " (adjusted)"); in beginFrame()
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DFrameTargeter.h149 TimePoint expectedVsyncTime; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h372 void commit(TimePoint frameTime, VsyncId vsyncId, TimePoint expectedVsyncTime,
385 .expectedVsyncTime = expectedVsyncTime,
415 void commitAndComposite(TimePoint frameTime, VsyncId vsyncId, TimePoint expectedVsyncTime) { in commitAndComposite() argument
417 commit(frameTime, vsyncId, expectedVsyncTime, kComposite); in commitAndComposite()
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DFrameTargeterTest.cpp71 .expectedVsyncTime = in Frame()
81 args.expectedVsyncTime)); in Frame()