Home
last modified time | relevance | path

Searched refs:elapsedNow (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java232 final long elapsedNow = SystemClock.elapsedRealtime(); in createFromJobInfo() local
235 latestRunTimeElapsedMillis = elapsedNow + job.getIntervalMillis(); in createFromJobInfo()
239 elapsedNow + job.getMinLatencyMillis() : NO_EARLIEST_RUNTIME; in createFromJobInfo()
241 elapsedNow + job.getMaxExecutionDelayMillis() : NO_LATEST_RUNTIME; in createFromJobInfo()
505 long elapsedNow = SystemClock.elapsedRealtime(); in formatRunTime() local
506 long nextRuntime = runtime - elapsedNow; in formatRunTime()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java600 final long elapsedNow = SystemClock.elapsedRealtime(); in restoreJobFromXml() local
612 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml()
613 final long clampedLateRuntimeElapsed = elapsedNow + flexMillis in restoreJobFromXml()
638 jobBuilder.setMinimumLatency(elapsedRuntimes.first - elapsedNow); in restoreJobFromXml()
642 elapsedRuntimes.second - elapsedNow); in restoreJobFromXml()
DJobSchedulerService.java938 final long elapsedNow = SystemClock.elapsedRealtime(); in getRescheduleJobForPeriodic() local
944 runEarly = Math.max(periodicToReschedule.getLatestRunTimeElapsed() - elapsedNow, 0L); in getRescheduleJobForPeriodic()
948 long newLatestRuntimeElapsed = elapsedNow + runEarly + period; in getRescheduleJobForPeriodic()