Searched refs:nextTime (Results 1 – 10 of 10) sorted by relevance
211 long nextTime = mLastLockTime + 100; in internalLockCanvas() local212 if (nextTime > now) { in internalLockCanvas()214 Thread.sleep(nextTime-now); in internalLockCanvas()
300 int64_t nextTime = timestampScheduler.nextAbsoluteTime(); in run() local304 if (AudioClock::getNanoseconds() >= nextTime) { in run()310 nextTime = timestampScheduler.nextAbsoluteTime(); in run()314 AudioClock::sleepUntilNanoTime(nextTime); in run()
457 long nextTime = SystemClock.elapsedRealtime() + mPeriodSecs * 1000; in scheduleNext() local458 mAlarmMgr.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextTime, mPushPendingIntent); in scheduleNext()483 long nextTime = SystemClock.elapsedRealtime() + mDurationMins * 60 * 1000; in startLoadtest() local484 mAlarmMgr.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextTime, mStopPendingIntent); in startLoadtest()
147 long nextTime = SystemClock.elapsedRealtimeNanos(); in countFrame() local149 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()
174 final long nextTime = scheduler.getNextTimeMillis(options); in testExponentialBackoffBoundedByMoratorium() local177 nextTime < timeAfterOperation + options.maxMoratoriumMillis); in testExponentialBackoffBoundedByMoratorium()
1305 long nextTime = mLastLockTime + 100;1306 if (nextTime > now) {1308 Thread.sleep(nextTime-now);
2063 long nextTime = 0; in idleUidsLocked() local2077 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()
3879 long nextTime = 0; in serviceTimeout() local3886 if (sr.executingStart > nextTime) { in serviceTimeout()3887 nextTime = sr.executingStart; in serviceTimeout()3906 ? (nextTime+SERVICE_TIMEOUT) : (nextTime + SERVICE_BACKGROUND_TIMEOUT)); in serviceTimeout()
4271 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local4275 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()
4435 long nextTime; in queueNextSignalStrengthPoll() local