Home
last modified time | relevance | path

Searched refs:mPeriod (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDispSync.cpp65 mPeriod(0), in DispSyncThread()
74 mPeriod = period; in updateModel()
102 if (mPeriod == 0) { in threadLoop()
173 listener.mLastEventTime = systemTime(SYSTEM_TIME_MONOTONIC) - mPeriod / 2; in addEventListener()
232 nsecs_t ref = now - mPeriod; in gatherCallbackInvocationsLocked()
259 nsecs_t t = (((ref - phase) / mPeriod) + 1) * mPeriod + phase; in computeListenerNextEventTimeLocked()
261 if (t - listener.mLastEventTime < mPeriod / 2) { in computeListenerNextEventTimeLocked()
262 t += mPeriod; in computeListenerNextEventTimeLocked()
276 nsecs_t mPeriod; member in android::DispSyncThread
349 return mPeriod == 0 || mError > errorThreshold; in addPresentFence()
[all …]
DDispSync.h115 nsecs_t mPeriod; variable
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java96 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/
DThroughputFilter.java34 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/
DThroughputFilter.java27 private int mPeriod = 3; field in ThroughputFilter
79 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in onProcess()