Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutor.java100 long nextTime = mQueuedRunnables.peek().mWhen; in advanceClockToNext() local
101 if (nextTime <= startTime) { in advanceClockToNext()
104 updateClock(nextTime); in advanceClockToNext()
106 return nextTime - startTime; in advanceClockToNext()
124 long nextTime = Collections.max(mQueuedRunnables).mWhen; in advanceClockToLast() local
125 if (nextTime <= startTime) { in advanceClockToLast()
129 updateClock(nextTime); in advanceClockToLast()
131 return nextTime - startTime; in advanceClockToLast()
181 private void updateClock(long nextTime) { in updateClock() argument
183 mClock.setUptimeMillis(nextTime); in updateClock()
/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.cpp411 int64_t nextTime = timestampScheduler.nextAbsoluteTime(); in run() local
415 if (AudioClock::getNanoseconds() >= nextTime) { in run()
421 nextTime = timestampScheduler.nextAbsoluteTime(); in run()
425 AudioClock::sleepUntilNanoTime(nextTime); in run()
/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.java1576 long nextTime = mLastLockTime + 100;
1577 if (nextTime > now) {
1579 Thread.sleep(nextTime-now);
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java2501 long nextTime = 0; in idleUidsLocked() local
2515 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked()
2516 nextTime = bgTime; in idleUidsLocked()
2524 if (nextTime > 0) { in idleUidsLocked()
2527 nextTime + mConstants.BACKGROUND_SETTLE_TIME - nowElapsed); in idleUidsLocked()
DActiveServices.java4197 long nextTime = 0; in serviceTimeout() local
4204 if (sr.executingStart > nextTime) { in serviceTimeout()
4205 nextTime = sr.executingStart; in serviceTimeout()
4224 ? (nextTime+SERVICE_TIMEOUT) : (nextTime + SERVICE_BACKGROUND_TIMEOUT)); in serviceTimeout()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java4314 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local
4318 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4422 long nextTime; in queueNextSignalStrengthPoll() local