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.java1160 long nextTime = mLastLockTime + 100;
1161 if (nextTime > now) {
1163 Thread.sleep(nextTime-now);
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java2027 long nextTime = 0; in idleUidsLocked() local
2041 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked()
2042 nextTime = bgTime; in idleUidsLocked()
2050 if (nextTime > 0) { in idleUidsLocked()
2053 nextTime + mConstants.BACKGROUND_SETTLE_TIME - nowElapsed); in idleUidsLocked()
DActiveServices.java3848 long nextTime = 0; in serviceTimeout() local
3855 if (sr.executingStart > nextTime) { in serviceTimeout()
3856 nextTime = sr.executingStart; in serviceTimeout()
3875 ? (nextTime+SERVICE_TIMEOUT) : (nextTime + SERVICE_BACKGROUND_TIMEOUT)); in serviceTimeout()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java4274 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local
4278 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4231 long nextTime; in queueNextSignalStrengthPoll() local