Home
last modified time | relevance | path

Searched refs:getNumPreviousAttempts (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/
DThermalStatusRestriction.java118 return job.getNumPreviousAttempts() > 0 in isJobRestricted()
128 return job.getNumPreviousAttempts() > 0 in isJobRestricted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java197 when(ejRetried.getNumPreviousAttempts()).thenReturn(1); in JobStatusContainer()
198 when(uiRetried.getNumPreviousAttempts()).thenReturn(2); in JobStatusContainer()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java622 if (js.getJob().isPeriodic() && js.getNumPreviousAttempts() == 0) { in getLifeCycleBeginningElapsedLocked()
678 if (js.getNumPreviousAttempts() > 1) { in getLifeCycleEndElapsedLocked()
680 (long) Math.scalb(mRescheduledJobDeadline, js.getNumPreviousAttempts() - 2), in getLifeCycleEndElapsedLocked()
DJobStatus.java1130 public int getNumPreviousAttempts() { in getNumPreviousAttempts() method in JobStatus
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java502 job.getNumPreviousAttempts(), in executeRunnableJob()
1557 completedJob.getNumPreviousAttempts(), in closeAndCleanupJobLocked()
DJobSchedulerService.java1921 jobStatus.getNumPreviousAttempts(),
2371 cancelled.getNumPreviousAttempts(),
3655 } else if (job.getNumPreviousAttempts() > 0) {
/frameworks/base/services/
Dart-wear-profile13287 HPLcom/android/server/job/controllers/JobStatus;->getNumPreviousAttempts()I