Searched refs:elapsedNow (Results 1 – 3 of 3) sorted by relevance
232 final long elapsedNow = SystemClock.elapsedRealtime(); in createFromJobInfo() local235 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() local506 long nextRuntime = runtime - elapsedNow; in formatRunTime()
600 final long elapsedNow = SystemClock.elapsedRealtime(); in restoreJobFromXml() local612 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()
938 final long elapsedNow = SystemClock.elapsedRealtime(); in getRescheduleJobForPeriodic() local944 runEarly = Math.max(periodicToReschedule.getLatestRunTimeElapsed() - elapsedNow, 0L); in getRescheduleJobForPeriodic()948 long newLatestRuntimeElapsed = elapsedNow + runEarly + period; in getRescheduleJobForPeriodic()