Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DStateController.java70 public abstract void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob); in maybeStartTrackingJobLocked()
75 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked()
81 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked()
87 public abstract void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
125 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked()
143 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked()
DRestrictingController.java34 public abstract void startTrackingRestrictedJobLocked(JobStatus jobStatus); in startTrackingRestrictedJobLocked()
40 public abstract void stopTrackingRestrictedJobLocked(JobStatus jobStatus); in stopTrackingRestrictedJobLocked()
DBackgroundJobsController.java74 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
79 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
84 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked()
199 boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, final long nowElapsed, in updateSingleJobRestrictionLocked()
239 public void accept(JobStatus jobStatus) { in accept()
DComponentController.java120 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
125 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
143 private ServiceInfo getServiceInfoLocked(JobStatus jobStatus) { in getServiceInfoLocked()
174 private boolean updateComponentEnabledStateLocked(JobStatus jobStatus) { in updateComponentEnabledStateLocked()
234 public void accept(JobStatus jobStatus) { in accept()
DConnectivityController.java247 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
267 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked()
277 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked()
288 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
305 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked()
314 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
404 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked()
550 private boolean isInsane(JobStatus jobStatus, Network network, in isInsane()
603 private static boolean isCongestionDelayed(JobStatus jobStatus, Network network, in isCongestionDelayed()
622 private static boolean isStrictSatisfied(JobStatus jobStatus, Network network, in isStrictSatisfied()
[all …]
DDeviceIdleJobsController.java217 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
225 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
295 public void accept(JobStatus jobStatus) { in accept()
DQuotaController.java625 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
653 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked()
682 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked()
698 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
798 private boolean isTopStartedJobLocked(@NonNull final JobStatus jobStatus) { in isTopStartedJobLocked()
804 public long getMaxJobExecutionTimeMsLocked(@NonNull final JobStatus jobStatus) { in getMaxJobExecutionTimeMsLocked()
838 public boolean isWithinEJQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinEJQuotaLocked()
DIdleController.java71 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked()
84 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
DBatteryController.java78 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked()
90 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
DContentObserverController.java275 JobInstance(JobStatus jobStatus) { in JobInstance()
DJobStatus.java556 public JobStatus(JobStatus jobStatus) { in JobStatus() method in JobStatus
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobCompletedListener.java32 void onJobCompletedLocked(JobStatus jobStatus, int stopReason, boolean needsReschedule); in onJobCompletedLocked()
DStateChangedListener.java43 public void onRunJobNow(JobStatus jobStatus); in onRunJobNow()
DJobStore.java213 public boolean add(JobStatus jobStatus) { in add()
225 boolean containsJob(JobStatus jobStatus) { in containsJob()
247 public boolean remove(JobStatus jobStatus, boolean removeFromPersisted) { in remove()
1350 final JobStatus jobStatus = jobs.valueAt(i); in forEachJob() local
DJobConcurrencyManager.java726 final JobStatus jobStatus = jsc.getRunningJobLocked(); in stopLongRunningJobsLocked() local
775 private boolean isPkgConcurrencyLimitedLocked(@NonNull JobStatus jobStatus) { in isPkgConcurrencyLimitedLocked()
803 private void startJobLocked(@NonNull JobServiceContext worker, @NonNull JobStatus jobStatus, in startJobLocked()
833 void onJobCompletedLocked(@NonNull JobServiceContext worker, @NonNull JobStatus jobStatus, in onJobCompletedLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DStateControllerTest.java81 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
84 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
DQuotaControllerTest.java830 JobStatus jobStatus = createJobStatus("testUpdateExecutionStatsLocked_WithTimer", i); in testUpdateExecutionStatsLocked_WithTimer() local
875 JobStatus jobStatus = createJobStatus("testUpdateExecutionStatsLocked_WithTimer", 0); in testUpdateExecutionStatsLocked_WithTimer() local
1738 JobStatus jobStatus = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() local
2155 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_Active", 1); in testMaybeScheduleStartAlarmLocked_Active() local
2918 JobStatus jobStatus = createJobStatus("testTimerTracking_Charging", 1); in testTimerTracking_Charging() local
2941 JobStatus jobStatus = createJobStatus("testTimerTracking_Discharging", 1); in testTimerTracking_Discharging() local
3011 JobStatus jobStatus = createJobStatus("testTimerTracking_ChargingAndDischarging", 1); in testTimerTracking_ChargingAndDischarging() local
3109 JobStatus jobStatus = createJobStatus("testTimerTracking_AllBackground", 1); in testTimerTracking_AllBackground() local
3176 JobStatus jobStatus = createJobStatus("testTimerTracking_AllForeground", 1); in testTimerTracking_AllForeground() local
3712 JobStatus jobStatus = createJobStatus("testTracking_OutOfQuota", 1); in testTracking_OutOfQuota() local
[all …]
DJobStatusTest.java116 private static void assertEffectiveBucketForMediaExemption(JobStatus jobStatus, in assertEffectiveBucketForMediaExemption()
696 JobStatus jobStatus = JobStatus.createFromJobInfo(job, 0, null, -1, "JobStatusTest"); in createJobStatus() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java182 JobStatus jobStatus = JobStatus.createFromJobInfo( in createJob() local
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java351 JobStatus jobStatus = jobStatusSet.getAllJobs().iterator().next(); in testNonPersistedTaskIsNotPersisted() local