Home
last modified time | relevance | path

Searched refs:nextTime (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/
DBaseSurfaceHolder.java211 long nextTime = mLastLockTime + 100; in internalLockCanvas() local
212 if (nextTime > now) { in internalLockCanvas()
214 Thread.sleep(nextTime-now); in internalLockCanvas()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp300 int64_t nextTime = timestampScheduler.nextAbsoluteTime(); in run() local
304 if (AudioClock::getNanoseconds() >= nextTime) { in run()
310 nextTime = timestampScheduler.nextAbsoluteTime(); in run()
314 AudioClock::sleepUntilNanoTime(nextTime); in run()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java457 long nextTime = SystemClock.elapsedRealtime() + mPeriodSecs * 1000; in scheduleNext() local
458 mAlarmMgr.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextTime, mPushPendingIntent); in scheduleNext()
483 long nextTime = SystemClock.elapsedRealtime() + mDurationMins * 60 * 1000; in startLoadtest() local
484 mAlarmMgr.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextTime, mStopPendingIntent); in startLoadtest()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java147 long nextTime = SystemClock.elapsedRealtimeNanos(); in countFrame() local
149 mLastTime = nextTime; in countFrame()
151 if (nextTime > mLastTime + NANO_PER_SECOND) { in countFrame()
152 long elapsed = nextTime - mLastTime; in countFrame()
155 mLastTime = nextTime; in countFrame()
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java174 final long nextTime = scheduler.getNextTimeMillis(options); in testExponentialBackoffBoundedByMoratorium() local
177 nextTime < timeAfterOperation + options.maxMoratoriumMillis); in testExponentialBackoffBoundedByMoratorium()
/frameworks/base/core/java/android/view/
DSurfaceView.java1305 long nextTime = mLastLockTime + 100;
1306 if (nextTime > now) {
1308 Thread.sleep(nextTime-now);
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java2063 long nextTime = 0; in idleUidsLocked() local
2077 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked()
2078 nextTime = bgTime; in idleUidsLocked()
2086 if (nextTime > 0) { in idleUidsLocked()
2089 nextTime + mConstants.BACKGROUND_SETTLE_TIME - nowElapsed); in idleUidsLocked()
DActiveServices.java3879 long nextTime = 0; in serviceTimeout() local
3886 if (sr.executingStart > nextTime) { in serviceTimeout()
3887 nextTime = sr.executingStart; in serviceTimeout()
3906 ? (nextTime+SERVICE_TIMEOUT) : (nextTime + SERVICE_BACKGROUND_TIMEOUT)); in serviceTimeout()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java4271 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local
4275 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4435 long nextTime; in queueNextSignalStrengthPoll() local