/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 337 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 357 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked() 367 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked() 378 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob) { in maybeStopTrackingJobLocked() 394 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked() 403 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked() 495 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked() 699 private boolean isInsane(JobStatus jobStatus, Network network, in isInsane() 784 private boolean isMeteredAllowed(@NonNull JobStatus jobStatus, in isMeteredAllowed() 870 public long getEstimatedTransferTimeMs(JobStatus jobStatus) { in getEstimatedTransferTimeMs() [all …]
|
D | StateController.java | 78 public abstract void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob); in maybeStartTrackingJobLocked() 83 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked() 89 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked() 95 public abstract void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob); in maybeStopTrackingJobLocked() 132 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked() 157 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked()
|
D | ComponentController.java | 128 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 133 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob) { in maybeStopTrackingJobLocked() 150 private String getServiceProcessLocked(JobStatus jobStatus) { in getServiceProcessLocked() 182 private boolean updateComponentEnabledStateLocked(JobStatus jobStatus) { in updateComponentEnabledStateLocked() 243 public void accept(JobStatus jobStatus) { in accept()
|
D | RestrictingController.java | 34 public abstract void startTrackingRestrictedJobLocked(JobStatus jobStatus); in startTrackingRestrictedJobLocked() 40 public abstract void stopTrackingRestrictedJobLocked(JobStatus jobStatus); in stopTrackingRestrictedJobLocked()
|
D | BackgroundJobsController.java | 146 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 152 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob) { in maybeStopTrackingJobLocked() 157 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked() 334 boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, final long nowElapsed, in updateSingleJobRestrictionLocked() 410 public void accept(JobStatus jobStatus) { in accept()
|
D | BatteryController.java | 94 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked() 100 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked() 120 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked() 133 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
|
D | DeviceIdleJobsController.java | 221 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 229 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob) { in maybeStopTrackingJobLocked() 298 public void accept(JobStatus jobStatus) { in accept()
|
D | IdleController.java | 77 public void startTrackingRestrictedJobLocked(JobStatus jobStatus) { in startTrackingRestrictedJobLocked() 89 public void stopTrackingRestrictedJobLocked(JobStatus jobStatus) { in stopTrackingRestrictedJobLocked()
|
D | PrefetchController.java | 152 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 173 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob) { in maybeStopTrackingJobLocked() 216 public long getNextEstimatedLaunchTimeLocked(@NonNull JobStatus jobStatus) { in getNextEstimatedLaunchTimeLocked() 326 private boolean updateConstraintLocked(@NonNull JobStatus jobStatus, in updateConstraintLocked()
|
D | QuotaController.java | 587 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 616 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked() 648 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked() 664 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob) { in maybeStopTrackingJobLocked() 769 private boolean isTopStartedJobLocked(@NonNull final JobStatus jobStatus) { in isTopStartedJobLocked() 775 public long getMaxJobExecutionTimeMsLocked(@NonNull final JobStatus jobStatus) { in getMaxJobExecutionTimeMsLocked() 840 public boolean isWithinEJQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinEJQuotaLocked() 970 long getRemainingExecutionTimeLocked(@NonNull final JobStatus jobStatus) { in getRemainingExecutionTimeLocked() 1769 public void accept(JobStatus jobStatus) { in accept()
|
D | ContentObserverController.java | 275 JobInstance(JobStatus jobStatus) { in JobInstance()
|
D | FlexibilityController.java | 396 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked() 418 public void unprepareFromExecutionLocked(JobStatus jobStatus) { in unprepareFromExecutionLocked()
|
D | JobStatus.java | 732 public JobStatus(JobStatus jobStatus) { in JobStatus() method in JobStatus
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | StateChangedListener.java | 57 public void onRunJobNow(JobStatus jobStatus); in onRunJobNow() 61 void onNetworkChanged(JobStatus jobStatus, Network newNetwork); in onNetworkChanged()
|
D | JobCompletedListener.java | 37 void onJobCompletedLocked(JobStatus jobStatus, int stopReason, int internalStopReason, in onJobCompletedLocked()
|
D | PendingJobQueue.java | 318 void add(@NonNull JobStatus jobStatus) { in add() 401 private int indexOf(@NonNull JobStatus jobStatus) { in indexOf() 436 boolean remove(@NonNull JobStatus jobStatus) { in remove()
|
D | JobNotificationCoordinator.java | 117 final JobStatus jobStatus = hostingContext.getRunningJobLocked(); in enqueueNotification() local 266 final JobStatus jobStatus = associatedContexts.valueAt(i).getRunningJobLocked(); in isNotificationUsedForAnyUij() local 303 final JobStatus jobStatus = jsc.getRunningJobLocked(); in maybeDeleteNotificationChannelAssociation() local
|
D | JobStore.java | 287 public void add(JobStatus jobStatus) { in add() 305 public void addForTesting(JobStatus jobStatus) { in addForTesting() 315 boolean containsJob(JobStatus jobStatus) { in containsJob() 337 public boolean remove(JobStatus jobStatus, boolean removeFromPersisted) { in remove() 357 public void removeForTesting(JobStatus jobStatus) { in removeForTesting() 376 void touchJob(@NonNull JobStatus jobStatus) { in touchJob() 1975 final JobStatus jobStatus = jobs.valueAt(i); in forEachJob() local
|
D | JobConcurrencyManager.java | 688 final JobStatus jobStatus = jsc.getRunningJobLocked(); in isJobInOvertimeLocked() local 1359 final JobStatus jobStatus = jsc.getRunningJobLocked(); in stopOvertimeJobsLocked() local 1376 final JobStatus jobStatus = jsc.getRunningJobLocked(); in maybeStopOvertimeJobsLocked() local 1395 final JobStatus jobStatus = jsc.getRunningJobLocked(); in markJobsForUserStopLocked() local 1489 boolean isPkgConcurrencyLimitedLocked(@NonNull JobStatus jobStatus) { in isPkgConcurrencyLimitedLocked() 1518 private void startJobLocked(@NonNull JobServiceContext worker, @NonNull JobStatus jobStatus, in startJobLocked() 1564 void onJobCompletedLocked(@NonNull JobServiceContext worker, @NonNull JobStatus jobStatus, in onJobCompletedLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | PrefetchControllerTest.java | 277 JobStatus jobStatus = createJobStatus("testConstantsUpdating_ThresholdChangesAlarms", 1); in testConstantsUpdating_ThresholdChangesAlarms() local 407 JobStatus jobStatus = createJobStatus("testEstimatedLaunchTimeChangedToLate", 1); in testEstimatedLaunchTimeChangedToLate() local 438 JobStatus jobStatus = createJobStatus("testEstimatedLaunchTimeChangedToSoon", 1); in testEstimatedLaunchTimeChangedToSoon() local 465 JobStatus jobStatus = createJobStatus("testEstimatedLaunchTimeAllowance", 1); in testEstimatedLaunchTimeAllowance() local 507 JobStatus jobStatus = createJobStatus("testRegisterOnPrefetchChangedListener", 1); in testRegisterOnPrefetchChangedListener() local
|
D | QuotaControllerTest.java | 863 JobStatus jobStatus = createJobStatus("testUpdateExecutionStatsLocked_WithTimer", i); in testUpdateExecutionStatsLocked_WithTimer() local 908 JobStatus jobStatus = createJobStatus("testUpdateExecutionStatsLocked_WithTimer", 0); in testUpdateExecutionStatsLocked_WithTimer() local 2052 JobStatus jobStatus = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() local 2841 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_Active", 1); in testMaybeScheduleStartAlarmLocked_Active() local 2908 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_WorkingSet", 1); in testMaybeScheduleStartAlarmLocked_WorkingSet() local 3150 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_Rare", 1); in testMaybeScheduleStartAlarmLocked_Rare() local 3252 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked_BucketChange", 1); in testMaybeScheduleStartAlarmLocked_BucketChange() local 3346 JobStatus jobStatus = createJobStatus("testMaybeScheduleStartAlarmLocked", 1); in testMaybeScheduleStartAlarmLocked_JobCount_RateLimitingWindow() local 3858 JobStatus jobStatus = createJobStatus("testTimerTracking_Charging", 1); in testTimerTracking_Charging() local 3881 JobStatus jobStatus = createJobStatus("testTimerTracking_Discharging", 1); in testTimerTracking_Discharging() 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 | 127 private static void assertEffectiveBucketForMediaExemption(JobStatus jobStatus, in assertEffectiveBucketForMediaExemption() 1368 JobStatus jobStatus = JobStatus.createFromJobInfo(job, 0, null, -1, "JobStatusTest", null); in createJobStatus() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 653 JobStatus jobStatus = jobStatusSet.getAllJobs().iterator().next(); in testNonPersistedTaskIsNotPersisted() local 840 JobStatus jobStatus = in testJobWorkItems() local
|