Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java117 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
132 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
144 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked()
153 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
219 boolean wouldBeReadyWithConnectivityLocked(JobStatus jobStatus) { in wouldBeReadyWithConnectivityLocked()
237 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked()
320 private boolean isInsane(JobStatus jobStatus, Network network, in isInsane()
363 private static boolean isCongestionDelayed(JobStatus jobStatus, Network network, in isCongestionDelayed()
374 private static boolean isStrictSatisfied(JobStatus jobStatus, Network network, in isStrictSatisfied()
390 private static boolean isRelaxedSatisfied(JobStatus jobStatus, Network network, in isRelaxedSatisfied()
[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()
DRestrictingController.java34 public abstract void startTrackingRestrictedJobLocked(JobStatus jobStatus); in startTrackingRestrictedJobLocked()
40 public abstract void stopTrackingRestrictedJobLocked(JobStatus jobStatus); in stopTrackingRestrictedJobLocked()
DBackgroundJobsController.java70 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
75 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
186 boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, int activeState) { in updateSingleJobRestrictionLocked()
219 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()
287 public void accept(JobStatus jobStatus) { in accept()
DIdleController.java68 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked()
81 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
DBatteryController.java76 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked()
88 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
DQuotaController.java519 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
537 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked()
563 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
627 private boolean isTopStartedJobLocked(@NonNull final JobStatus jobStatus) { in isTopStartedJobLocked()
632 public long getMaxJobExecutionTimeMsLocked(@NonNull final JobStatus jobStatus) { in getMaxJobExecutionTimeMsLocked()
643 boolean isWithinQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinQuotaLocked()
695 long getRemainingExecutionTimeLocked(@NonNull final JobStatus jobStatus) { in getRemainingExecutionTimeLocked()
1232 public void accept(JobStatus jobStatus) { in accept()
1328 private boolean setConstraintSatisfied(@NonNull JobStatus jobStatus, boolean isWithinQuota) { in setConstraintSatisfied()
1473 void startTrackingJobLocked(@NonNull JobStatus jobStatus) { in startTrackingJobLocked()
[all …]
DContentObserverController.java251 JobInstance(JobStatus jobStatus) { in JobInstance()
DJobStatus.java498 public JobStatus(JobStatus jobStatus) { in JobStatus() method in JobStatus
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java640 JobStatus jobStatus = createJobStatus("testUpdateExecutionStatsLocked_WithTimer", i); in testUpdateExecutionStatsLocked_WithTimer() local
677 JobStatus jobStatus = createJobStatus("testUpdateExecutionStatsLocked_WithTimer", 0); in testUpdateExecutionStatsLocked_WithTimer() local
1302 JobStatus jobStatus = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() local
1502 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_Active", 1); in testMaybeScheduleStartAlarmLocked_Active() local
2022 JobStatus jobStatus = createJobStatus("testTimerTracking_Charging", 1); in testTimerTracking_Charging() local
2039 JobStatus jobStatus = createJobStatus("testTimerTracking_Discharging", 1); in testTimerTracking_Discharging() local
2087 JobStatus jobStatus = createJobStatus("testTimerTracking_ChargingAndDischarging", 1); in testTimerTracking_ChargingAndDischarging() local
2159 JobStatus jobStatus = createJobStatus("testTimerTracking_AllBackground", 1); in testTimerTracking_AllBackground() local
2205 JobStatus jobStatus = createJobStatus("testTimerTracking_AllForeground", 1); in testTimerTracking_AllForeground() local
2530 JobStatus jobStatus = createJobStatus("testTracking_OutOfQuota", 1); in testTracking_OutOfQuota() local
[all …]
DStateControllerTest.java81 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked()
84 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
DJobStatusTest.java114 private static void assertEffectiveBucketForMediaExemption(JobStatus jobStatus, in assertEffectiveBucketForMediaExemption()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobCompletedListener.java30 void onJobCompletedLocked(JobStatus jobStatus, boolean needsReschedule); in onJobCompletedLocked()
DStateChangedListener.java43 public void onRunJobNow(JobStatus jobStatus); in onRunJobNow()
DJobStore.java205 public boolean add(JobStatus jobStatus) { in add()
217 boolean containsJob(JobStatus jobStatus) { in containsJob()
239 public boolean remove(JobStatus jobStatus, boolean removeFromPersisted) { in remove()
1245 final JobStatus jobStatus = jobs.valueAt(i); in forEachJob() local
DJobConcurrencyManager.java437 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