Home
last modified time | relevance | path

Searched defs:jobStatus (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java114 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
129 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
212 boolean wouldBeReadyWithConnectivityLocked(JobStatus jobStatus) { in wouldBeReadyWithConnectivityLocked()
230 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked()
322 private static boolean isInsane(JobStatus jobStatus, Network network, in isInsane()
353 private static boolean isCongestionDelayed(JobStatus jobStatus, Network network, in isCongestionDelayed()
365 private static boolean isStrictSatisfied(JobStatus jobStatus, Network network, in isStrictSatisfied()
372 private static boolean isRelaxedSatisfied(JobStatus jobStatus, Network network, in isRelaxedSatisfied()
392 static boolean isSatisfied(JobStatus jobStatus, Network network, in isSatisfied()
412 private boolean updateConstraintsSatisfied(JobStatus jobStatus) { in updateConstraintsSatisfied()
[all …]
DStateController.java67 public abstract void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob); in maybeStartTrackingJobLocked()
72 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked()
78 public abstract void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
105 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked()
115 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked()
DBackgroundJobsController.java68 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
73 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
189 boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, int activeState) { in updateSingleJobRestrictionLocked()
220 public void accept(JobStatus jobStatus) { in accept()
DDeviceIdleJobsController.java215 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
223 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
288 public void accept(JobStatus jobStatus) { in accept()
DQuotaController.java606 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
632 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked()
658 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
736 private boolean isTopStartedJobLocked(@NonNull final JobStatus jobStatus) { in isTopStartedJobLocked()
744 private int getEffectiveStandbyBucket(@NonNull final JobStatus jobStatus) { in getEffectiveStandbyBucket()
754 boolean isWithinQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinQuotaLocked()
804 long getRemainingExecutionTimeLocked(@NonNull final JobStatus jobStatus) { in getRemainingExecutionTimeLocked()
1312 public void accept(JobStatus jobStatus) { in accept()
1437 private boolean setConstraintSatisfied(@NonNull JobStatus jobStatus, boolean isWithinQuota) { in setConstraintSatisfied()
1582 void startTrackingJobLocked(@NonNull JobStatus jobStatus) { in startTrackingJobLocked()
[all …]
DContentObserverController.java251 JobInstance(JobStatus jobStatus) { in JobInstance()
DJobStatus.java440 public JobStatus(JobStatus jobStatus) { in JobStatus() method in JobStatus
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java1194 JobStatus jobStatus = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() local
1391 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_Active", 1); in testMaybeScheduleStartAlarmLocked_Active() local
1787 JobStatus jobStatus = createJobStatus("testThrottleToggling", 1); in testThrottleToggling() local
1925 JobStatus jobStatus = createJobStatus("testTimerTracking_Charging", 1); in testTimerTracking_Charging() local
1942 JobStatus jobStatus = createJobStatus("testTimerTracking_Discharging", 1); in testTimerTracking_Discharging() local
1990 JobStatus jobStatus = createJobStatus("testTimerTracking_ChargingAndDischarging", 1); in testTimerTracking_ChargingAndDischarging() local
2062 JobStatus jobStatus = createJobStatus("testTimerTracking_AllBackground", 1); in testTimerTracking_AllBackground() local
2108 JobStatus jobStatus = createJobStatus("testTimerTracking_AllForeground", 1); in testTimerTracking_AllForeground() local
2433 JobStatus jobStatus = createJobStatus("testTracking_OutOfQuota", 1); in testTracking_OutOfQuota() local
2463 JobStatus jobStatus = createJobStatus("testTracking_OutOfQuota", 1); in testTracking_RollingQuota() local
DStateControllerTest.java81 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
84 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobCompletedListener.java30 void onJobCompletedLocked(JobStatus jobStatus, boolean needsReschedule); in onJobCompletedLocked()
DStateChangedListener.java39 public void onRunJobNow(JobStatus jobStatus); in onRunJobNow()
DJobStore.java208 public boolean add(JobStatus jobStatus) { in add()
220 boolean containsJob(JobStatus jobStatus) { in containsJob()
241 public boolean remove(JobStatus jobStatus, boolean writeBack) { in remove()
1242 final JobStatus jobStatus = jobs.valueAt(i); in forEachJob() local
DJobSchedulerService.java1025 JobStatus jobStatus = JobStatus.createFromJobInfo(job, uId, packageName, userId, tag); in scheduleAsPackage() local
1479 private void startTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in startTrackingJobLocked()
1500 private boolean stopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in stopTrackingJobLocked()
1786 public void onJobCompletedLocked(JobStatus jobStatus, boolean needsReschedule) { in onJobCompletedLocked()
1843 public void onRunJobNow(JobStatus jobStatus) { in onRunJobNow()
DJobConcurrencyManager.java436 private static int findJobContextIdFromMap(JobStatus jobStatus, JobStatus[] map) { in findJobContextIdFromMap()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java335 JobStatus jobStatus = jobStatusSet.getAllJobs().iterator().next(); in testNonPersistedTaskIsNotPersisted() local