/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 117 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 …]
|
D | StateController.java | 67 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()
|
D | RestrictingController.java | 34 public abstract void startTrackingRestrictedJobLocked(JobStatus jobStatus); in startTrackingRestrictedJobLocked() 40 public abstract void stopTrackingRestrictedJobLocked(JobStatus jobStatus); in stopTrackingRestrictedJobLocked()
|
D | BackgroundJobsController.java | 70 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()
|
D | DeviceIdleJobsController.java | 215 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()
|
D | IdleController.java | 68 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked() 81 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
|
D | BatteryController.java | 76 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked() 88 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
|
D | QuotaController.java | 519 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 …]
|
D | ContentObserverController.java | 251 JobInstance(JobStatus jobStatus) { in JobInstance()
|
D | JobStatus.java | 498 public JobStatus(JobStatus jobStatus) { in JobStatus() method in JobStatus
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 640 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 …]
|
D | StateControllerTest.java | 81 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 84 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked()
|
D | JobStatusTest.java | 114 private static void assertEffectiveBucketForMediaExemption(JobStatus jobStatus, in assertEffectiveBucketForMediaExemption()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobCompletedListener.java | 30 void onJobCompletedLocked(JobStatus jobStatus, boolean needsReschedule); in onJobCompletedLocked()
|
D | StateChangedListener.java | 43 public void onRunJobNow(JobStatus jobStatus); in onRunJobNow()
|
D | JobStore.java | 205 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
|
D | JobConcurrencyManager.java | 437 private static int findJobContextIdFromMap(JobStatus jobStatus, JobStatus[] map) { in findJobContextIdFromMap()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 335 JobStatus jobStatus = jobStatusSet.getAllJobs().iterator().next(); in testNonPersistedTaskIsNotPersisted() local
|