Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java816 final long elapsedNow = sElapsedRealtimeClock.millis(); in createFromJobInfo() local
822 latestRunTimeElapsedMillis = elapsedNow + period; in createFromJobInfo()
828 elapsedNow + job.getMinLatencyMillis() : NO_EARLIEST_RUNTIME; in createFromJobInfo()
830 elapsedNow + job.getMaxExecutionDelayMillis() : NO_LATEST_RUNTIME; in createFromJobInfo()
835 sourceUserId, elapsedNow); in createFromJobInfo()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java3090 final long elapsedNow = sElapsedRealtimeClock.millis();
3103 olrte = elapsedNow;
3107 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed);
3108 if (elapsedNow > latestRunTimeElapsed) {
3137 if (newLatestRuntimeElapsed < elapsedNow) {
3141 elapsedNow + period - flex, elapsedNow + period,
4648 public static int standbyBucketForPackage(String packageName, int userId, long elapsedNow) {
4650 ? sUsageStatsManagerInternal.getAppStandbyBucket(packageName, userId, elapsedNow)
DJobStore.java261 final long elapsedNow = sElapsedRealtimeClock.millis(); in getRtcCorrectedJobsLocked() local
269 convertRtcBoundsToElapsed(utcTimes, elapsedNow); in getRtcCorrectedJobsLocked()