Home
last modified time | relevance | path

Searched refs:mPendingPeriod (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp560 } else if (mPendingPeriod > 0) { in addResyncSample()
566 if (std::abs(observedVsync - mPendingPeriod) <= std::abs(observedVsync - mIntendedPeriod)) { in addResyncSample()
572 mIntendedPeriod = mPendingPeriod; in addResyncSample()
573 mPeriod = mPendingPeriod; in addResyncSample()
574 mPendingPeriod = 0; in addResyncSample()
576 ATRACE_INT("DispSync:PendingPeriod", mPendingPeriod); in addResyncSample()
607 bool modelLocked = mModelUpdated && mError < (kErrorThreshold / 2) && mPendingPeriod == 0; in addResyncSample()
647 period != mIntendedPeriod || (period == mIntendedPeriod && mPendingPeriod != 0); in setPeriod()
650 mPendingPeriod = period; in setPeriod()
654 ATRACE_INT("DispSync:PendingPeriod", mPendingPeriod); in setPeriod()
DDispSync.h219 nsecs_t mPendingPeriod = 0; variable