Lines Matching refs:mReferenceTime
70 mReferenceTime(0), in DispSyncThread()
82 const bool referenceTimeChanged = mReferenceTime != referenceTime; in updateModel()
83 mReferenceTime = referenceTime; in updateModel()
84 if (mPeriod != 0 && mPeriod != period && mReferenceTime != 0) { in updateModel()
88 const nsecs_t baseTime = now - mReferenceTime; in updateModel()
90 mReferenceTime = mReferenceTime + (numOldPeriods)*mPeriod; in updateModel()
95 eventListener.mLastEventTime = mReferenceTime + mPhase + eventListener.mPhase; in updateModel()
98 if (eventListener.mLastEventTime > mReferenceTime) { in updateModel()
106 ATRACE_INT64("DispSync:Reference Time", mReferenceTime); in updateModel()
110 mName, ns2us(mPeriod), ns2us(mPhase), ns2us(mReferenceTime)); in updateModel()
234 const nsecs_t baseTime = now - mReferenceTime; in addEventListener()
236 const nsecs_t predictedReference = mReferenceTime + numPeriodsSinceReference * mPeriod; in addEventListener()
385 baseTime -= mReferenceTime; in computeListenerNextEventTimeLocked()
408 t += mReferenceTime; in computeListenerNextEventTimeLocked()
438 nsecs_t mReferenceTime; member in android::impl::DispSyncThread
512 mReferenceTime = mResyncSamples[lastSampleIdx]; in resetLocked()
583 mReferenceTime = timestamp; in addResyncSample()
584 mThread->updateModel(mPeriod, mPhase, mReferenceTime); in addResyncSample()
697 nsecs_t sample = mResyncSamples[idx] - mReferenceTime; in updateModelLocked()
718 mThread->updateModel(mPeriod, mPhase, mReferenceTime); in updateModelLocked()
745 nsecs_t sample = time - mReferenceTime; in updateErrorLocked()
789 nsecs_t phase = mReferenceTime + mPhase; in computeNextRefresh()