Searched refs:elapsedNow (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 176 final long elapsedNow = sElapsedRealtimeClock.millis(); in getRtcCorrectedJobsLocked() local 184 convertRtcBoundsToElapsed(utcTimes, elapsedNow); in getRtcCorrectedJobsLocked() 778 final long elapsedNow = sElapsedRealtimeClock.millis(); in restoreJobFromXml() local 779 Pair<Long, Long> elapsedRuntimes = convertRtcBoundsToElapsed(rtcRuntimes, elapsedNow); in restoreJobFromXml() 792 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml() 793 final long clampedLateRuntimeElapsed = elapsedNow + flexMillis in restoreJobFromXml() 818 jobBuilder.setMinimumLatency(elapsedRuntimes.first - elapsedNow); in restoreJobFromXml() 822 elapsedRuntimes.second - elapsedNow); in restoreJobFromXml() 869 sourceUserId, elapsedNow); in restoreJobFromXml()
|
D | JobSchedulerService.java | 1428 final long elapsedNow = sElapsedRealtimeClock.millis(); in getRescheduleJobForPeriodic() local 1434 runEarly = Math.max(periodicToReschedule.getLatestRunTimeElapsed() - elapsedNow, 0L); in getRescheduleJobForPeriodic() 1438 long newLatestRuntimeElapsed = elapsedNow + runEarly + period; in getRescheduleJobForPeriodic() 2444 public static int standbyBucketForPackage(String packageName, int userId, long elapsedNow) { in standbyBucketForPackage() argument 2448 ? usageStats.getAppStandbyBucket(packageName, userId, elapsedNow) in standbyBucketForPackage()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 441 final long elapsedNow = sElapsedRealtimeClock.millis(); in createFromJobInfo() local 444 latestRunTimeElapsedMillis = elapsedNow + job.getIntervalMillis(); in createFromJobInfo() 448 elapsedNow + job.getMinLatencyMillis() : NO_EARLIEST_RUNTIME; in createFromJobInfo() 450 elapsedNow + job.getMaxExecutionDelayMillis() : NO_LATEST_RUNTIME; in createFromJobInfo() 455 sourceUserId, elapsedNow); in createFromJobInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 810 final long elapsedNow = SystemClock.elapsedRealtime(); in collectOps() local 817 ? (elapsedNow - curOp.startRealtime) in collectOps() 832 ? (elapsedNow - curOp.startRealtime) in collectOps()
|