Searched refs:elapsedNow (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobStore.java | 180 final long elapsedNow = sElapsedRealtimeClock.millis(); in getRtcCorrectedJobsLocked() local 188 convertRtcBoundsToElapsed(utcTimes, elapsedNow); in getRtcCorrectedJobsLocked() 842 final long elapsedNow = sElapsedRealtimeClock.millis(); in restoreJobFromXml() local 843 Pair<Long, Long> elapsedRuntimes = convertRtcBoundsToElapsed(rtcRuntimes, elapsedNow); in restoreJobFromXml() 856 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml() 857 final long clampedLateRuntimeElapsed = elapsedNow + flexMillis in restoreJobFromXml() 882 jobBuilder.setMinimumLatency(elapsedRuntimes.first - elapsedNow); in restoreJobFromXml() 886 elapsedRuntimes.second - elapsedNow); in restoreJobFromXml() 942 sourceUserId, elapsedNow); in restoreJobFromXml()
|
D | JobSchedulerService.java | 1753 final long elapsedNow = sElapsedRealtimeClock.millis(); 1766 olrte = elapsedNow; 1770 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed); 1771 if (elapsedNow > latestRunTimeElapsed) { 1797 if (newLatestRuntimeElapsed < elapsedNow) { 1801 elapsedNow + period - flex, elapsedNow + period, 2533 public static int standbyBucketForPackage(String packageName, int userId, long elapsedNow) { 2537 ? usageStats.getAppStandbyBucket(packageName, userId, elapsedNow)
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | JobStatus.java | 569 final long elapsedNow = sElapsedRealtimeClock.millis(); in createFromJobInfo() local 575 latestRunTimeElapsedMillis = elapsedNow + period; in createFromJobInfo() 581 elapsedNow + job.getMinLatencyMillis() : NO_EARLIEST_RUNTIME; in createFromJobInfo() 583 elapsedNow + job.getMaxExecutionDelayMillis() : NO_LATEST_RUNTIME; in createFromJobInfo() 588 sourceUserId, elapsedNow); in createFromJobInfo()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1900 final long elapsedNow = SystemClock.elapsedRealtime(); in collectOps() local 1905 resOps.add(getOpEntryForResult(curOp, elapsedNow)); in collectOps() 1914 resOps.add(getOpEntryForResult(curOp, elapsedNow)); in collectOps() 1954 private static @NonNull OpEntry getOpEntryForResult(@NonNull Op op, long elapsedNow) { in getOpEntryForResult() argument
|