Home
last modified time | relevance | path

Searched refs:getLatestRunTimeElapsed (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java180 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_minPeriod()
188 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_minPeriod()
205 assertEquals(now + 365 * DAY_IN_MILLIS, job.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_largePeriod()
211 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_largePeriod()
229 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_insideWindow()
235 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_insideWindow()
241 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_insideWindow()
249 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_insideWindow()
257 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_insideWindow()
277 assertEquals(nextWindowEndTime, rescheduledJob.getLatestRunTimeElapsed()); in testGetRescheduleJobForPeriodic_closeToEndOfWindow()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java123 if (ts.getLatestRunTimeElapsed() < job.getLatestRunTimeElapsed()) { in maybeStartTrackingJobLocked()
137 job.hasDeadlineConstraint() ? job.getLatestRunTimeElapsed() : Long.MAX_VALUE; in maybeStartTrackingJobLocked()
181 && job.getLatestRunTimeElapsed() <= mNextJobExpiredElapsedMillis) { in evaluateStateLocked()
187 job.getLatestRunTimeElapsed() == mNextJobExpiredElapsedMillis; in evaluateStateLocked()
273 nextExpiryTime = job.getLatestRunTimeElapsed(); in checkExpiredDeadlinesAndResetAlarm()
286 final long jobDeadline = job.getLatestRunTimeElapsed(); in evaluateDeadlineConstraint()
588 TimeUtils.formatDuration(ts.getLatestRunTimeElapsed(), nowElapsed, pw); in dumpControllerStateLocked()
624 ts.getLatestRunTimeElapsed() - nowElapsed); in dumpControllerStateLocked()
DJobStatus.java445 jobStatus.getEarliestRunTime(), jobStatus.getLatestRunTimeElapsed(), in JobStatus()
882 public long getLatestRunTimeElapsed() { in getLatestRunTimeElapsed() method in JobStatus
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java138 ts.getLatestRunTimeElapsed(), loadedTaskStatus.getLatestRunTimeElapsed()); in testMaybeWriteStatusToDisk()
184 taskStatus1.getLatestRunTimeElapsed(), loaded1.getLatestRunTimeElapsed()); in testWritingTwoFilesToDisk()
188 taskStatus2.getLatestRunTimeElapsed(), loaded2.getLatestRunTimeElapsed()); in testWritingTwoFilesToDisk()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java212 (job.getLatestRunTimeElapsed() < sElapsedRealtimeClock.millis()); in executeRunnableJob()
DJobStore.java576 ? nowRTC + (jobStatus.getLatestRunTimeElapsed() - nowElapsed)