Lines Matching refs:VSyncPredictor
57 VSyncPredictor::~VSyncPredictor() = default;
59 VSyncPredictor::VSyncPredictor(std::unique_ptr<Clock> clock, ftl::NonNull<DisplayModePtr> modePtr, in VSyncPredictor() function in android::scheduler::VSyncPredictor
73 inline void VSyncPredictor::traceInt64If(const char* name, int64_t value) const { in traceInt64If()
79 inline void VSyncPredictor::traceInt64(const char* name, int64_t value) const { in traceInt64()
83 inline size_t VSyncPredictor::next(size_t i) const { in next()
87 nsecs_t VSyncPredictor::idealPeriod() const { in idealPeriod()
91 bool VSyncPredictor::validate(nsecs_t timestamp) const { in validate()
118 nsecs_t VSyncPredictor::currentPeriod() const { in currentPeriod()
123 Period VSyncPredictor::minFramePeriod() const { in minFramePeriod()
132 Period VSyncPredictor::minFramePeriodLocked() const { in minFramePeriodLocked()
137 bool VSyncPredictor::addVsyncTimestamp(nsecs_t timestamp) { in addVsyncTimestamp()
262 nsecs_t VSyncPredictor::snapToVsync(nsecs_t timePoint) const { in snapToVsync()
298 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint, in nextAnticipatedVSyncTimeFrom()
348 bool VSyncPredictor::isVSyncInPhase(nsecs_t timePoint, Fps frameRate) { in isVSyncInPhase()
372 void VSyncPredictor::setRenderRate(Fps renderRate, bool applyImmediately) { in setRenderRate()
405 void VSyncPredictor::setDisplayModePtr(ftl::NonNull<DisplayModePtr> modePtr) { in setDisplayModePtr()
434 Duration VSyncPredictor::ensureMinFrameDurationIsKept(TimePoint expectedPresentTime, in ensureMinFrameDurationIsKept()
478 void VSyncPredictor::onFrameBegin(TimePoint expectedPresentTime, in onFrameBegin()
516 void VSyncPredictor::onFrameMissed(TimePoint expectedPresentTime) { in onFrameMissed()
533 VSyncPredictor::Model VSyncPredictor::getVSyncPredictionModel() const { in getVSyncPredictionModel()
535 return VSyncPredictor::getVSyncPredictionModelLocked(); in getVSyncPredictionModel()
538 VSyncPredictor::Model VSyncPredictor::getVSyncPredictionModelLocked() const { in getVSyncPredictionModelLocked()
542 void VSyncPredictor::clearTimestamps() { in clearTimestamps()
576 bool VSyncPredictor::needsMoreSamples() const { in needsMoreSamples()
581 void VSyncPredictor::resetModel() { in resetModel()
587 void VSyncPredictor::dump(std::string& result) const { in dump()
600 void VSyncPredictor::purgeTimelines(android::TimePoint now) { in purgeTimelines()
624 auto VSyncPredictor::VsyncTimeline::makeVsyncSequence(TimePoint knownVsync) in makeVsyncSequence()
630 VSyncPredictor::VsyncTimeline::VsyncTimeline(TimePoint knownVsync, Period idealPeriod, in VsyncTimeline()
636 void VSyncPredictor::VsyncTimeline::freeze(TimePoint lastVsync) { in freeze()
644 std::optional<TimePoint> VSyncPredictor::VsyncTimeline::nextAnticipatedVSyncTimeFrom( in nextAnticipatedVSyncTimeFrom()
693 auto VSyncPredictor::VsyncTimeline::getVsyncSequenceLocked(Model model, nsecs_t vsync) in getVsyncSequenceLocked()
704 nsecs_t VSyncPredictor::VsyncTimeline::snapToVsyncAlignedWithRenderRate(Model model, in snapToVsyncAlignedWithRenderRate()
735 bool VSyncPredictor::VsyncTimeline::isVSyncInPhase(Model model, nsecs_t vsync, Fps frameRate) { in isVSyncInPhase()
753 void VSyncPredictor::VsyncTimeline::shiftVsyncSequence(Duration phase) { in shiftVsyncSequence()