Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeExecutor.java103 long nextTime = mQueuedRunnables.peek().mWhen; in advanceClockToNext() local
104 if (nextTime <= startTime) { in advanceClockToNext()
107 updateClock(nextTime); in advanceClockToNext()
109 return nextTime - startTime; in advanceClockToNext()
127 long nextTime = Collections.max(mQueuedRunnables).mWhen; in advanceClockToLast() local
128 if (nextTime <= startTime) { in advanceClockToLast()
132 updateClock(nextTime); in advanceClockToLast()
134 return nextTime - startTime; in advanceClockToLast()
188 private void updateClock(long nextTime) { in updateClock() argument
190 mClock.setUptimeMillis(nextTime); in updateClock()
/frameworks/base/libs/hwui/
DSkiaInterpolator.cpp137 float SkiaInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime, in ComputeRelativeT() argument
139 LOG_FATAL_IF(time < prevTime || time > nextTime); in ComputeRelativeT()
141 float t = (float)(time - prevTime) / (float)(nextTime - prevTime); in ComputeRelativeT()
219 const SkTimeCode* nextTime = &fTimes[index]; in timeToT() local
220 SkMSec nextT = nextTime[0].fTime; in timeToT()
224 SkMSec prevT = nextTime[-1].fTime; in timeToT()
225 *T = ComputeRelativeT(time, prevT, nextT, nextTime[-1].fBlend); in timeToT()
DSkiaInterpolator.h69 static float ComputeRelativeT(uint32_t time, uint32_t prevTime, uint32_t nextTime,
/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/native/services/gpuservice/gpuwork/
DGpuWork.cpp441 auto nextTime = std::chrono::steady_clock::now(); in periodicallyClearMap() local
443 std::chrono::duration_cast<std::chrono::seconds>(nextTime - previousTime); in periodicallyClearMap()
448 previousTime = nextTime; in periodicallyClearMap()
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java175 final long nextTime = scheduler.getNextTimeMillis(options); in testExponentialBackoffBoundedByMoratorium() local
178 nextTime < timeAfterOperation + options.maxMoratoriumMillis); in testExponentialBackoffBoundedByMoratorium()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java3768 long nextTime = 0; in idleUidsLocked() local
3787 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked()
3788 nextTime = bgTime; in idleUidsLocked()
3808 if (bgTime > 0 && (nextTime == 0 || nextTime > bgTime)) { in idleUidsLocked()
3809 nextTime = bgTime; in idleUidsLocked()
3813 if (nextTime > 0) { in idleUidsLocked()
3814 long delay = nextTime + mConstants.BACKGROUND_SETTLE_TIME - nowElapsed; in idleUidsLocked()
DActiveServices.java7513 long nextTime = 0; in serviceTimeout() local
7520 if (sr.executingStart > nextTime) { in serviceTimeout()
7521 nextTime = sr.executingStart; in serviceTimeout()
7542 ? (nextTime + mAm.mConstants.SERVICE_TIMEOUT) : in serviceTimeout()
7543 (nextTime + mAm.mConstants.SERVICE_BACKGROUND_TIMEOUT) in serviceTimeout()
/frameworks/base/core/java/android/view/
DSurfaceView.java1888 long nextTime = mLastLockTime + 100;
1889 if (nextTime > now) {
1891 Thread.sleep(nextTime-now);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java4858 final long nextTime = 60000 * ((currentTime / 60000) + 1); in scheduleTimeTickEvent() local
4862 final long tickEventDelay = nextTime - currentTime; in scheduleTimeTickEvent()