Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java70 assertTasksEqual(task, loadedTaskStatus.getJob()); in testMaybeWriteStatusToDisk()
114 assertTasksEqual(task1, loaded1.getJob()); in testWritingTwoFilesToDisk()
115 assertTasksEqual(task2, loaded2.getJob()); in testWritingTwoFilesToDisk()
152 assertTasksEqual(task, loaded.getJob()); in testWritingTaskWithExtras()
191 assertEquals("Period not equal.", loaded.getJob().getIntervalMillis(), in testWritingTaskWithFlex()
192 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex()
193 assertEquals("Flex not equal.", loaded.getJob().getFlexMillis(), in testWritingTaskWithFlex()
194 taskStatus.getJob().getFlexMillis()); in testWritingTaskWithFlex()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java671 if (toCancel.getJob().equals(job)) { in scheduleAsPackage()
726 outList.add(job.getJob()); in getPendingJobs()
738 return job.getJob(); in getPendingJob()
874 && (job.getJob().getFlags() & JobInfo.FLAG_WILL_BE_FOREGROUND) == 0 in reportActiveLocked()
1083 final JobInfo job = failureToReschedule.getJob(); in getRescheduleJobForFailureLocked()
1153 long flex = periodicToReschedule.getJob().getFlexMillis(); in getRescheduleJobForPeriodic()
1154 long period = periodicToReschedule.getJob().getIntervalMillis(); in getRescheduleJobForPeriodic()
1189 if (!stopTrackingJobLocked(jobStatus, rescheduledJob, !jobStatus.getJob().isPeriodic())) { in onJobCompletedLocked()
1206 } else if (jobStatus.getJob().isPeriodic()) { in onJobCompletedLocked()
1379 job.getJob().getService().getPackageName())) { in process()
[all …]
DJobStore.java308 writeBundleToXml(jobStatus.getJob().getExtras(), out); in writeJobsMapImpl()
406 final JobInfo job = jobStatus.getJob(); in writeExecutionCriteriaToXml()
407 if (jobStatus.getJob().isPeriodic()) { in writeExecutionCriteriaToXml()
430 … if (jobStatus.getJob().getInitialBackoffMillis() != JobInfo.DEFAULT_INITIAL_BACKOFF_MILLIS in writeExecutionCriteriaToXml()
431 || jobStatus.getJob().getBackoffPolicy() != JobInfo.DEFAULT_BACKOFF_POLICY) { in writeExecutionCriteriaToXml()
DJobServiceContext.java216 final JobInfo ji = job.getJob(); in executeRunnableJob()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java270 this(jobStatus.getJob(), jobStatus.getUid(), in JobStatus()
451 public JobInfo getJob() { in getJob() method in JobStatus
DContentObserverController.java272 final JobInfo.TriggerContentUri[] uris = jobStatus.getJob().getTriggerContentUris(); in JobInstance()