Searched refs:mPeriod (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | DispSync.cpp | 57 mPeriod(0), in DispSyncThread() 66 mPeriod = period; in updateModel() 94 if (mPeriod == 0) { in threadLoop() 165 listener.mLastEventTime = systemTime(SYSTEM_TIME_MONOTONIC) - mPeriod / 2; in addEventListener() 223 nsecs_t ref = now - mPeriod; in gatherCallbackInvocationsLocked() 250 nsecs_t t = (((ref - phase) / mPeriod) + 1) * mPeriod + phase; in computeListenerNextEventTimeLocked() 252 if (t - listener.mLastEventTime < mPeriod / 2) { in computeListenerNextEventTimeLocked() 253 t += mPeriod; in computeListenerNextEventTimeLocked() 267 nsecs_t mPeriod; member in android::DispSyncThread 343 return mPeriod == 0 || mError > kErrorThreshold; in addPresentFence() [all …]
|
D | DispSync.h | 146 nsecs_t mPeriod; variable
|
/frameworks/av/media/libmediaplayerservice/ |
D | VideoFrameScheduler.cpp | 67 : mPeriod(-1), in PLL() 83 mPeriod = -1; in reset() 87 mPeriod = (nsecs_t)(1e9 / fps + 0.5); in reset() 257 mPeriod = delta; in prime() 261 ALOGV("priming[%zu] phase:%lld period:%lld", numSamplesToUse, mPhase, mPeriod); in prime() 276 if ((mPeriod <= 0 || !mPrimed) && mNumSamples >= kMinSamplesToStartPrime) { in addSample() 281 if (mPeriod > 0 && mNumSamples >= kMinSamplesToEstimatePeriod) { in addSample() 287 int64_t err = periodicError(time - mPhase, mPeriod); in addSample() 288 doFit = err > mPeriod / kReFitThresholdDiv; in addSample() 293 if (!fit(mPhase, mPeriod, kMaxSamplesToEstimatePeriod, &a, &b, &err)) { in addSample() [all …]
|
D | VideoFrameScheduler.h | 61 nsecs_t mPeriod;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 96 e.mPeriod = e.mMaxPeriod / minPeriod * minPeriod; in recalculatePeriods() 118 event.mTriggerTime = now + event.mPeriod; in insertEvent() 123 int minPeriod = firstEvent.mPeriod; in insertEvent() 125 event.mPeriod = event.mMaxPeriod / minPeriod * minPeriod; in insertEvent() 132 long triggerTime = now + event.mPeriod; in insertEvent() 135 event.mLastTriggerTime -= event.mPeriod; in insertEvent() 195 firstEvent.mPeriod = firstEvent.mMaxPeriod; in cancel() 197 + firstEvent.mPeriod; in cancel() 263 event.mTriggerTime += event.mPeriod; in execute() 288 int mPeriod; field in SipWakeupTimer.MyEvent [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
D | ThroughputFilter.java | 34 private int mPeriod = 5; field in ThroughputFilter 87 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in process() 92 mPeriod, in process()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ThroughputFilter.java | 27 private int mPeriod = 3; field in ThroughputFilter 79 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in onProcess()
|