Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java130 assertTasksEqual(task, loadedTaskStatus.getJob()); in testMaybeWriteStatusToDisk()
176 assertTasksEqual(task1, loaded1.getJob()); in testWritingTwoFilesToDisk()
177 assertTasksEqual(task2, loaded2.getJob()); in testWritingTwoFilesToDisk()
214 assertTasksEqual(task, loaded.getJob()); in testWritingTaskWithExtras()
256 assertEquals("Period not equal.", loaded.getJob().getIntervalMillis(), in testWritingTaskWithFlex()
257 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex()
258 assertEquals("Flex not equal.", loaded.getJob().getFlexMillis(), in testWritingTaskWithFlex()
259 taskStatus.getJob().getFlexMillis()); in testWritingTaskWithFlex()
397 loaded.getJob().isRequireDeviceIdle(), in testPersistedIdleConstraint()
398 taskStatus.getJob().isRequireDeviceIdle()); in testPersistedIdleConstraint()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java367 return jobStatus.getJob().getRequiredNetwork().networkCapabilities in isStrictSatisfied()
375 if (!jobStatus.getJob().isPrefetch()) { in isRelaxedSatisfied()
381 jobStatus.getJob().getRequiredNetwork().networkCapabilities) in isRelaxedSatisfied()
630 pw.print(js.getJob().getRequiredNetwork()); in dumpControllerStateLocked()
656 NetworkRequest rn = js.getJob().getRequiredNetwork(); in dumpControllerStateLocked()
DContentObserverController.java255 final JobInfo.TriggerContentUri[] uris = jobStatus.getJob().getTriggerContentUris(); in JobInstance()
DJobStatus.java441 this(jobStatus.getJob(), jobStatus.getUid(), jobStatus.targetSdkVersion, in JobStatus()
675 public JobInfo getJob() { in getJob() method in JobStatus
DQuotaController.java745 if (jobStatus.uidActive || jobStatus.getJob().isExemptedFromAppStandby()) { in getEffectiveStandbyBucket()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1013 if (toCancel.getJob().equals(job)) { in scheduleAsPackage()
1091 outList.add(job.getJob()); in getPendingJobs()
1103 return job.getJob(); in getPendingJob()
1270 && (job.getJob().getFlags() & JobInfo.FLAG_WILL_BE_FOREGROUND) == 0 in reportActiveLocked()
1573 final JobInfo job = failureToReschedule.getJob(); in getRescheduleJobForFailureLocked()
1660 Math.min(MAX_ALLOWED_PERIOD_MS, periodicToReschedule.getJob().getIntervalMillis())); in getRescheduleJobForPeriodic()
1663 Math.min(period, periodicToReschedule.getJob().getFlexMillis())); in getRescheduleJobForPeriodic()
1799 if (!stopTrackingJobLocked(jobStatus, rescheduledJob, !jobStatus.getJob().isPeriodic())) { in onJobCompletedLocked()
1816 } else if (jobStatus.getJob().isPeriodic()) { in onJobCompletedLocked()
2042 job.getJob().getService().getPackageName())) { in accept()
[all …]
DJobStore.java436 writeBundleToXml(jobStatus.getJob().getExtras(), out);
528 final NetworkRequest network = jobStatus.getJob().getRequiredNetwork();
554 final JobInfo job = jobStatus.getJob();
555 if (jobStatus.getJob().isPeriodic()) {
590 … if (jobStatus.getJob().getInitialBackoffMillis() != JobInfo.DEFAULT_INITIAL_BACKOFF_MILLIS
591 || jobStatus.getJob().getBackoffPolicy() != JobInfo.DEFAULT_BACKOFF_POLICY) {
DJobPackageTracker.java475 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()
DJobConcurrencyManager.java452 .append(js.getJob().getId()) in printPendingQueueLocked()
DJobServiceContext.java223 final JobInfo ji = job.getJob(); in executeRunnableJob()