Searched refs:getLatestRunTimeElapsed (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 180 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/ |
D | TimeController.java | 123 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()
|
D | JobStatus.java | 445 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/ |
D | JobStoreTest.java | 138 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/ |
D | JobServiceContext.java | 212 (job.getLatestRunTimeElapsed() < sElapsedRealtimeClock.millis()); in executeRunnableJob()
|
D | JobStore.java | 576 ? nowRTC + (jobStatus.getLatestRunTimeElapsed() - nowElapsed)
|