Searched refs:getJob (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 132 assertTasksEqual(task, loadedTaskStatus.getJob()); in testMaybeWriteStatusToDisk() 178 assertTasksEqual(task1, loaded1.getJob()); in testWritingTwoFilesToDisk() 179 assertTasksEqual(task2, loaded2.getJob()); in testWritingTwoFilesToDisk() 216 assertTasksEqual(task, loaded.getJob()); in testWritingTaskWithExtras() 258 assertEquals("Period not equal.", loaded.getJob().getIntervalMillis(), in testWritingTaskWithFlex() 259 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex() 260 assertEquals("Flex not equal.", loaded.getJob().getFlexMillis(), in testWritingTaskWithFlex() 261 taskStatus.getJob().getFlexMillis()); in testWritingTaskWithFlex() 396 assertTasksEqual(first, second.getJob()); in assertPersistedEquals()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 157 return jobStatus.getJob().getRequiredNetwork().networkCapabilities in isStrictSatisfied() 165 if (!jobStatus.getJob().isPrefetch()) { in isRelaxedSatisfied() 171 jobStatus.getJob().getRequiredNetwork().networkCapabilities) in isRelaxedSatisfied() 344 pw.print(js.getJob().getRequiredNetwork()); in dumpControllerStateLocked() 366 NetworkRequest rn = js.getJob().getRequiredNetwork(); in dumpControllerStateLocked()
|
D | ContentObserverController.java | 255 final JobInfo.TriggerContentUri[] uris = jobStatus.getJob().getTriggerContentUris(); in JobInstance()
|
D | JobStatus.java | 371 this(jobStatus.getJob(), jobStatus.getUid(), jobStatus.targetSdkVersion, in JobStatus() 600 public JobInfo getJob() { in getJob() method in JobStatus
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 846 if (toCancel.getJob().equals(job)) { in scheduleAsPackage() 918 outList.add(job.getJob()); in getPendingJobs() 930 return job.getJob(); in getPendingJob() 1081 && (job.getJob().getFlags() & JobInfo.FLAG_WILL_BE_FOREGROUND) == 0 in reportActiveLocked() 1362 final JobInfo job = failureToReschedule.getJob(); in getRescheduleJobForFailureLocked() 1436 long flex = periodicToReschedule.getJob().getFlexMillis(); in getRescheduleJobForPeriodic() 1437 long period = periodicToReschedule.getJob().getIntervalMillis(); in getRescheduleJobForPeriodic() 1526 if (!stopTrackingJobLocked(jobStatus, rescheduledJob, !jobStatus.getJob().isPeriodic())) { in onJobCompletedLocked() 1543 } else if (jobStatus.getJob().isPeriodic()) { in onJobCompletedLocked() 1754 job.getJob().getService().getPackageName())) { in accept() [all …]
|
D | JobStore.java | 384 writeBundleToXml(jobStatus.getJob().getExtras(), out); 477 final NetworkRequest network = jobStatus.getJob().getRequiredNetwork(); 500 final JobInfo job = jobStatus.getJob(); 501 if (jobStatus.getJob().isPeriodic()) { 536 … if (jobStatus.getJob().getInitialBackoffMillis() != JobInfo.DEFAULT_INITIAL_BACKOFF_MILLIS 537 || jobStatus.getJob().getBackoffPolicy() != JobInfo.DEFAULT_BACKOFF_POLICY) {
|
D | JobPackageTracker.java | 475 addEvent(job.getJob().isPeriodic() ? EVENT_START_PERIODIC_JOB : EVENT_START_JOB, in noteActive() 488 addEvent(job.getJob().isPeriodic() ? EVENT_STOP_JOB : EVENT_STOP_PERIODIC_JOB, in noteInactive()
|
D | JobServiceContext.java | 223 final JobInfo ji = job.getJob(); in executeRunnableJob()
|