Searched refs:elapsedNow (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 182 final long elapsedNow = sElapsedRealtimeClock.millis(); in getRtcCorrectedJobsLocked() local 191 convertRtcBoundsToElapsed(utcTimes, elapsedNow); in getRtcCorrectedJobsLocked() 832 final long elapsedNow = sElapsedRealtimeClock.millis(); in restoreJobFromXml() local 833 Pair<Long, Long> elapsedRuntimes = convertRtcBoundsToElapsed(rtcRuntimes, elapsedNow); in restoreJobFromXml() 846 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml() 847 final long clampedLateRuntimeElapsed = elapsedNow + flexMillis in restoreJobFromXml() 872 jobBuilder.setMinimumLatency(elapsedRuntimes.first - elapsedNow); in restoreJobFromXml() 876 elapsedRuntimes.second - elapsedNow); in restoreJobFromXml() 932 sourceUserId, elapsedNow); in restoreJobFromXml()
|
D | JobSchedulerService.java | 1656 final long elapsedNow = sElapsedRealtimeClock.millis(); in getRescheduleJobForPeriodic() local 1669 olrte = elapsedNow; in getRescheduleJobForPeriodic() 1673 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed); in getRescheduleJobForPeriodic() 1674 if (elapsedNow > latestRunTimeElapsed) { in getRescheduleJobForPeriodic() 1700 if (newLatestRuntimeElapsed < elapsedNow) { in getRescheduleJobForPeriodic() 1704 elapsedNow + period - flex, elapsedNow + period, in getRescheduleJobForPeriodic() 2630 public static int standbyBucketForPackage(String packageName, int userId, long elapsedNow) { in standbyBucketForPackage() argument 2634 ? usageStats.getAppStandbyBucket(packageName, userId, elapsedNow) in standbyBucketForPackage()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 511 final long elapsedNow = sElapsedRealtimeClock.millis(); in createFromJobInfo() local 517 latestRunTimeElapsedMillis = elapsedNow + period; in createFromJobInfo() 523 elapsedNow + job.getMinLatencyMillis() : NO_EARLIEST_RUNTIME; in createFromJobInfo() 525 elapsedNow + job.getMaxExecutionDelayMillis() : NO_LATEST_RUNTIME; in createFromJobInfo() 530 sourceUserId, elapsedNow); in createFromJobInfo()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1034 final long elapsedNow = SystemClock.elapsedRealtime(); in collectOps() local 1039 resOps.add(getOpEntryForResult(curOp, elapsedNow)); in collectOps() 1048 resOps.add(getOpEntryForResult(curOp, elapsedNow)); in collectOps() 1079 private static @NonNull OpEntry getOpEntryForResult(@NonNull Op op, long elapsedNow) { in getOpEntryForResult() argument 1081 op.continuing(elapsedNow - op.startRealtime, in getOpEntryForResult()
|