Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java498 assertEquals("Period not equal.", loaded.getJob().getIntervalMillis(), in testWritingTaskWithFlex()
499 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex()
500 assertEquals("Flex not equal.", loaded.getJob().getFlexMillis(), in testWritingTaskWithFlex()
501 taskStatus.getJob().getFlexMillis()); in testWritingTaskWithFlex()
593 expectedTags, loaded.getJob().getDebugTags()); in testDebugTagsPersisted()
713 assertEquals("Trace tag not correctly persisted", "tag", loaded.getJob().getTraceTag()); in testTraceTagPersisted()
761 loaded.getJob().isRequireDeviceIdle(), in testPersistedIdleConstraint()
762 taskStatus.getJob().isRequireDeviceIdle()); in testPersistedIdleConstraint()
781 loaded.getJob().isRequireCharging(), in testPersistedChargingConstraint()
782 taskStatus.getJob().isRequireCharging()); in testPersistedChargingConstraint()
[all …]
DPendingJobQueueTest.java765 } else if (!job.getJob().isUserInitiated()) {
770 if (job.getJob().isUserInitiated()) {
794 ? "e" : (job.getJob().isUserInitiated() ? "u" : "r"))
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java367 final JobInfo ji = job.getJob(); in executeRunnableJob()
499 job.getJob().isPrefetch(), in executeRunnableJob()
500 job.getJob().getPriority(), in executeRunnableJob()
503 job.getJob().getMaxExecutionDelayMillis(), in executeRunnableJob()
513 job.getJob().isUserInitiated(), in executeRunnableJob()
515 job.getJob().isPeriodic(), in executeRunnableJob()
516 job.getJob().getMinLatencyMillis(), in executeRunnableJob()
526 job.getJob().getIntervalMillis(), in executeRunnableJob()
527 job.getJob().getFlexMillis(), in executeRunnableJob()
571 if (job.getJob().getRequiredNetwork() == null) { in canGetNetworkInformation()
[all …]
DJobSchedulerService.java1781 if (toCancel.getJob().equals(job)) {
1803 if (toCancel.getJob().isUserInitiated()) {
1918 jobStatus.getJob().isPrefetch(),
1919 jobStatus.getJob().getPriority(),
1922 jobStatus.getJob().getMaxExecutionDelayMillis(),
1932 jobStatus.getJob().isUserInitiated(),
1934 jobStatus.getJob().isPeriodic(),
1935 jobStatus.getJob().getMinLatencyMillis(),
1945 jobStatus.getJob().getIntervalMillis(),
1946 jobStatus.getJob().getFlexMillis(),
[all …]
DJobStore.java808 writeBundleToXml(jobStatus.getJob().getExtras(), out);
861 out.attribute(null, "priority", String.valueOf(jobStatus.getJob().getPriority()));
910 final JobInfo job = jobStatus.getJob();
912 final NetworkRequest network = jobStatus.getJob().getRequiredNetwork();
949 final JobInfo job = jobStatus.getJob();
950 if (jobStatus.getJob().isPeriodic()) {
985 … if (jobStatus.getJob().getInitialBackoffMillis() != JobInfo.DEFAULT_INITIAL_BACKOFF_MILLIS
986 || jobStatus.getJob().getBackoffPolicy() != JobInfo.DEFAULT_BACKOFF_POLICY) {
999 final ArraySet<String> debugTags = jobStatus.getJob().getDebugTagsArraySet();
1001 final String traceTag = jobStatus.getJob().getTraceTag();
DPendingJobQueue.java279 final boolean job1UI = job1.getJob().isUserInitiated();
280 final boolean job2UI = job2.getJob().isUserInitiated();
DJobPackageTracker.java489 addEvent(job.getJob().isPeriodic() ? EVENT_START_PERIODIC_JOB : EVENT_START_JOB, in noteActive()
502 addEvent(job.getJob().isPeriodic() ? EVENT_STOP_PERIODIC_JOB : EVENT_STOP_JOB, in noteInactive()
DJobConcurrencyManager.java2000 .append(js.getJob().getId()) in printPendingQueueLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/
DThermalStatusRestriction.java127 && job.getJob().isImportantWhileForeground()) { in isJobRestricted()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java403 final int priority = jobStatus.getJob().getPriority(); in prepareForExecutionLocked()
430 final int priority = jobStatus.getJob().getPriority(); in unprepareFromExecutionLocked()
622 if (js.getJob().isPeriodic() && js.getNumPreviousAttempts() == 0) { in getLifeCycleBeginningElapsedLocked()
631 js.getLatestRunTimeElapsed() - js.getJob().getFlexMillis(); in getLifeCycleBeginningElapsedLocked()
636 if (js.getJob().isPrefetch()) { in getLifeCycleBeginningElapsedLocked()
660 if (js.getJob().isPrefetch()) { in getLifeCycleEndElapsedLocked()
768 hasPrefetch |= js.getJob().isPrefetch(); in onUidBiasChangedLocked()
980 + " prefetch=" + js.getJob().isPrefetch() in scheduleDropNumConstraintsAlarm()
981 + " periodic=" + js.getJob().isPeriodic()); in scheduleDropNumConstraintsAlarm()
DConnectivityController.java514 || (jobStatus.getJob().isUserInitiated() in evaluateStateLocked()
1009 copyCapabilities(jobStatus.getJob().getRequiredNetwork()); in isStrictSatisfied()
1013 return jobStatus.getJob().getRequiredNetwork().canBeSatisfiedBy(capabilities); in isStrictSatisfied()
1020 if (!jobStatus.getJob().isPrefetch() || jobStatus.getStandbyBucket() == RESTRICTED_INDEX) { in isRelaxedSatisfied()
1038 copyCapabilities(jobStatus.getJob().getRequiredNetwork()); in isRelaxedSatisfied()
2367 pw.print(js.getJob().getRequiredNetwork());
DJobStatus.java733 this(jobStatus.getJob(), jobStatus.getUid(), in JobStatus()
1045 public JobInfo getJob() { in getJob() method in JobStatus
1235 if (uidActive || getJob().isExemptedFromAppStandby()) { in getEffectiveStandbyBucket()
1754 return getJob().isUserInitiated() in shouldTreatAsUserInitiatedJob()
DContentObserverController.java279 final JobInfo.TriggerContentUri[] uris = jobStatus.getJob().getTriggerContentUris(); in JobInstance()
DPrefetchController.java153 if (jobStatus.getJob().isPrefetch()) { in maybeStartTrackingJobLocked()
/frameworks/base/services/
Dart-wear-profile13276 PLcom/android/server/job/controllers/JobStatus;->getJob()Landroid/app/job/JobInfo;