Searched refs:newJob (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ReviewNotificationPermissionsJobService.java | 47 JobInfo newJob = new JobInfo.Builder(JOB_ID, component) in scheduleJob() local 51 jobScheduler.schedule(newJob); in scheduleJob()
|
D | NotificationHistoryJobService.java | 50 JobInfo newJob = new JobInfo.Builder(BASE_JOB_ID, component) in scheduleJob() local 54 if (jobScheduler.schedule(newJob) != RESULT_SUCCESS) { in scheduleJob()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataMaintenanceService.java | 49 JobInfo newJob = new JobInfo.Builder(jobId, component) in scheduleJob() local 53 jobScheduler.schedule(newJob); in scheduleJob()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ContentObserverController.java | 203 public void rescheduleForFailureLocked(JobStatus newJob, JobStatus failureToReschedule) { in rescheduleForFailureLocked() argument 205 && newJob.hasContentTriggerConstraint()) { in rescheduleForFailureLocked() 209 newJob.changedAuthorities = failureToReschedule.changedAuthorities; in rescheduleForFailureLocked() 210 newJob.changedUris = failureToReschedule.changedUris; in rescheduleForFailureLocked()
|
D | StateController.java | 100 public void rescheduleForFailureLocked(JobStatus newJob, JobStatus failureToReschedule) { in rescheduleForFailureLocked() argument
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobConcurrencyManager.java | 974 assignment.newJob = nextPending; in determineAssignmentsLocked() 1024 assignment.newJob = nextPending; in determineAssignmentsLocked() 1069 selectedContext.newJob = nextPending; in determineAssignmentsLocked() 1084 selectedContext.newJob = null; in determineAssignmentsLocked() 1099 selectedContext.newJob = nextPending; in determineAssignmentsLocked() 1135 selectedContext.newJob = nextPending; in determineAssignmentsLocked() 1157 if (selectedContext.newJob != null) { in determineAssignmentsLocked() 1158 selectedContext.newJob.startedWithImmediacyPrivilege = hasImmediacyPrivilege; in determineAssignmentsLocked() 1161 mService.getMinJobExecutionGuaranteeMs(selectedContext.newJob)); in determineAssignmentsLocked() 1189 final JobStatus pendingJob = assignment.newJob; in carryOutAssignmentChangesLocked() [all …]
|
D | JobSchedulerService.java | 2740 final JobStatus newJob = toAdd.get(i); 2742 Slog.v(TAG, " replacing " + oldJob + " with " + newJob); 2744 cancelJobImplLocked(oldJob, newJob, JobParameters.STOP_REASON_SYSTEM_PROCESSING, 3040 JobStatus newJob = new JobStatus(failureToReschedule, 3047 newJob.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); 3049 if (newJob.getCumulativeExecutionTimeMs() >= mConstants.RUNTIME_CUMULATIVE_UI_LIMIT_MS 3050 && newJob.shouldTreatAsUserInitiatedJob()) { 3051 newJob.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_SYSTEM_UIJ); 3054 newJob.setOriginalLatestRunTimeElapsed( 3059 controller.rescheduleForFailureLocked(newJob, failureToReschedule); [all …]
|
D | JobStore.java | 270 JobStatus newJob = new JobStatus(job, in getRtcCorrectedJobsLocked() 274 newJob.prepareLocked(); in getRtcCorrectedJobsLocked() 275 toAdd.add(newJob); in getRtcCorrectedJobsLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 332 jobs.remove(changed.valueAt(i).newJob); in testDetermineAssignments_allRegular() 440 jobs.remove(changed.valueAt(i).newJob); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning() 445 JobStatus assignedJob1 = changed.valueAt(0).newJob; in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning() 446 JobStatus assignedJob2 = changed.valueAt(1).newJob; in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning() 512 jobs.remove(changed.valueAt(i).newJob); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning() 518 JobStatus assignedJob = changed.valueAt(0).newJob; in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning() 576 JobStatus assignedJob = changed.valueAt(i).newJob; in testDetermineAssignments_allPreferredUidOnly_longTimeLeft()
|