/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 36 import com.android.server.job.controllers.JobStatus; 119 final JobStatus ts = JobStatus.createFromJobInfo(task, SOME_UID, null, -1, null); in testMaybeWriteStatusToDisk() 120 ts.addInternalFlags(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in testMaybeWriteStatusToDisk() 129 final JobStatus loadedTaskStatus = jobStatusSet.getAllJobs().get(0); in testMaybeWriteStatusToDisk() 133 assertEquals(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION, in testMaybeWriteStatusToDisk() 156 final JobStatus taskStatus1 = JobStatus.createFromJobInfo(task1, SOME_UID, null, -1, null); in testWritingTwoFilesToDisk() 157 final JobStatus taskStatus2 = JobStatus.createFromJobInfo(task2, SOME_UID, null, -1, null); in testWritingTwoFilesToDisk() 165 Iterator<JobStatus> it = jobStatusSet.getAllJobs().iterator(); in testWritingTwoFilesToDisk() 166 JobStatus loaded1 = it.next(); in testWritingTwoFilesToDisk() 167 JobStatus loaded2 = it.next(); in testWritingTwoFilesToDisk() [all …]
|
D | JobSetTest.java | 42 import com.android.server.job.controllers.JobStatus; 76 private JobStatus getJobStatusWithCallinUid(int jobId, int callingUid) { in getJobStatusWithCallinUid() 81 return JobStatus.createFromJobInfo(jobInfo, callingUid, mContext.getPackageName(), in getJobStatusWithCallinUid() 89 final JobStatus testJob1 = getJobStatusWithCallinUid(1, callingUid1); in testBothMapsHaveSameJobs() 90 final JobStatus testJob2 = getJobStatusWithCallinUid(2, callingUid2); in testBothMapsHaveSameJobs() 107 private static void assertHaveSameJobs(SparseArray<ArraySet<JobStatus>> map1, in assertHaveSameJobs() 108 SparseArray<ArraySet<JobStatus>> map2) { in assertHaveSameJobs() 109 final ArraySet<JobStatus> set1 = new ArraySet<>(); in assertHaveSameJobs() 110 final ArraySet<JobStatus> set2 = new ArraySet<>(); in assertHaveSameJobs() 113 final ArraySet<JobStatus> jobs = map1.valueAt(i); in assertHaveSameJobs() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 51 import com.android.server.job.controllers.JobStatus; 180 public void getRtcCorrectedJobsLocked(final ArrayList<JobStatus> toAdd, in getRtcCorrectedJobsLocked() 181 final ArrayList<JobStatus> toRemove) { in getRtcCorrectedJobsLocked() 192 JobStatus newJob = new JobStatus(job, job.getBaseHeartbeat(), in getRtcCorrectedJobsLocked() 208 public boolean add(JobStatus jobStatus) { in add() 220 boolean containsJob(JobStatus jobStatus) { in containsJob() 241 public boolean remove(JobStatus jobStatus, boolean writeBack) { in remove() 273 public List<JobStatus> getJobsByUser(int userHandle) { in getJobsByUser() 281 public List<JobStatus> getJobsByUid(int uid) { in getJobsByUid() 290 public JobStatus getJobByUidAndJobId(int uid, int jobId) { in getJobByUidAndJobId() [all …]
|
D | JobSchedulerService.java | 105 import com.android.server.job.controllers.JobStatus; 200 final ArrayList<JobStatus> mPendingJobs = new ArrayList<>(); 778 static final Comparator<JobStatus> mEnqueueTimeComparator = (o1, o2) -> { 890 List<JobStatus> jobsForUid; 1008 final JobStatus toCancel = mJobs.getJobByUidAndJobId(uId, job.getId()); in scheduleAsPackage() 1025 JobStatus jobStatus = JobStatus.createFromJobInfo(job, uId, packageName, userId, tag); in scheduleAsPackage() 1087 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJobs() 1090 JobStatus job = jobs.get(i); in getPendingJobs() 1099 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJob() 1101 JobStatus job = jobs.get(i); in getPendingJob() [all …]
|
D | JobConcurrencyManager.java | 40 import com.android.server.job.controllers.JobStatus; 76 JobStatus[] mRecycledAssignContextIdToJobMap = new JobStatus[MAX_JOB_CONTEXTS_COUNT]; 207 private boolean isFgJob(JobStatus job) { in isFgJob() 279 final List<JobStatus> pendingJobs = mService.mPendingJobs; in assignJobsToContextsInternalLocked() 286 JobStatus[] contextIdToJobMap = mRecycledAssignContextIdToJobMap; in assignJobsToContextsInternalLocked() 299 final JobStatus status = js.getRunningJobLocked(); in assignJobsToContextsInternalLocked() 314 final JobStatus pending = pendingJobs.get(i); in assignJobsToContextsInternalLocked() 331 final JobStatus nextPending = pendingJobs.get(i); in assignJobsToContextsInternalLocked() 348 JobStatus job = contextIdToJobMap[j]; in assignJobsToContextsInternalLocked() 404 JobStatus js = activeServices.get(i).getRunningJobLocked(); in assignJobsToContextsInternalLocked() [all …]
|
D | JobCompletedListener.java | 19 import com.android.server.job.controllers.JobStatus; 30 void onJobCompletedLocked(JobStatus jobStatus, boolean needsReschedule); in onJobCompletedLocked()
|
D | StateChangedListener.java | 19 import com.android.server.job.controllers.JobStatus; 39 public void onRunJobNow(JobStatus jobStatus); in onRunJobNow()
|
D | JobServiceContext.java | 51 import com.android.server.job.controllers.JobStatus; 121 private JobStatus mRunningJob; 199 boolean executeRunnableJob(JobStatus job) { in executeRunnableJob() 301 JobStatus getRunningJobLocked() { in getRunningJobLocked() 342 final JobStatus executing = getRunningJobLocked(); in timeoutIfExecutingLocked() 411 JobStatus runningJob; in onServiceConnected() 447 private WorkSource deriveWorkSource(JobStatus runningJob) { in deriveWorkSource() 779 final JobStatus completedJob; in closeAndCleanupJobLocked()
|
D | JobPackageTracker.java | 34 import com.android.server.job.controllers.JobStatus; 453 public void notePending(JobStatus job) { in notePending() 460 public void noteNonpending(JobStatus job) { in noteNonpending() 466 public void noteActive(JobStatus job) { in noteActive() 479 public void noteInactive(JobStatus job, int stopReason, String debugReason) { in noteInactive() 501 public float getLoadFactor(JobStatus job) { in getLoadFactor()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
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() 84 public void rescheduleForFailureLocked(JobStatus newJob, JobStatus failureToReschedule) { in rescheduleForFailureLocked() 105 public void evaluateStateLocked(JobStatus jobStatus) { in evaluateStateLocked() 115 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked() 134 Predicate<JobStatus> predicate); in dumpControllerStateLocked() 136 Predicate<JobStatus> predicate); in dumpControllerStateLocked()
|
D | ConnectivityController.java | 78 private final SparseArray<ArraySet<JobStatus>> mTrackedJobs = new SparseArray<>(); 85 private final SparseArray<ArraySet<JobStatus>> mRequestedWhitelistJobs = new SparseArray<>(); 114 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 117 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStartTrackingJobLocked() 123 jobStatus.setTrackingController(JobStatus.TRACKING_CONNECTIVITY); in maybeStartTrackingJobLocked() 129 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 131 if (jobStatus.clearTrackingController(JobStatus.TRACKING_CONNECTIVITY)) { in maybeStopTrackingJobLocked() 132 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStopTrackingJobLocked() 158 public boolean isNetworkAvailable(JobStatus job) { in isNetworkAvailable() 183 void requestStandbyExceptionLocked(JobStatus job) { in requestStandbyExceptionLocked() [all …]
|
D | TimeController.java | 76 private final List<JobStatus> mTrackedJobs = new LinkedList<>(); 99 public void maybeStartTrackingJobLocked(JobStatus job, JobStatus lastJob) { in maybeStartTrackingJobLocked() 120 ListIterator<JobStatus> it = mTrackedJobs.listIterator(mTrackedJobs.size()); in maybeStartTrackingJobLocked() 122 JobStatus ts = it.previous(); in maybeStartTrackingJobLocked() 134 job.setTrackingController(JobStatus.TRACKING_TIME); in maybeStartTrackingJobLocked() 141 if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in maybeStartTrackingJobLocked() 144 if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in maybeStartTrackingJobLocked() 159 public void maybeStopTrackingJobLocked(JobStatus job, JobStatus incomingJob, in maybeStopTrackingJobLocked() 161 if (job.clearTrackingController(JobStatus.TRACKING_TIME)) { in maybeStopTrackingJobLocked() 170 public void evaluateStateLocked(JobStatus job) { in evaluateStateLocked() [all …]
|
D | StorageController.java | 47 private final ArraySet<JobStatus> mTrackedTasks = new ArraySet<JobStatus>(); 62 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 65 taskStatus.setTrackingController(JobStatus.TRACKING_STORAGE); in maybeStartTrackingJobLocked() 71 public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 73 if (taskStatus.clearTrackingController(JobStatus.TRACKING_STORAGE)) { in maybeStopTrackingJobLocked() 83 final JobStatus ts = mTrackedTasks.valueAt(i); in maybeReportNewStorageState() 156 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 162 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() 176 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 186 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked()
|
D | IdleController.java | 40 final ArraySet<JobStatus> mTrackedTasks = new ArraySet<>(); 52 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 55 taskStatus.setTrackingController(JobStatus.TRACKING_IDLE); in maybeStartTrackingJobLocked() 61 public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 63 if (taskStatus.clearTrackingController(JobStatus.TRACKING_IDLE)) { in maybeStopTrackingJobLocked() 98 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 104 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() 118 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 125 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked()
|
D | BackgroundJobsController.java | 68 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 73 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 79 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 103 & JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpControllerStateLocked() 113 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 145 JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0); in dumpControllerStateLocked() 189 boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, int activeState) { in updateSingleJobRestrictionLocked() 195 (jobStatus.getInternalFlags() & JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) in updateSingleJobRestrictionLocked() 209 private final class UpdateJobFunctor implements Consumer<JobStatus> { 220 public void accept(JobStatus jobStatus) { in accept()
|
D | DeviceIdleJobsController.java | 64 private final ArraySet<JobStatus> mAllowInIdleJobs; 193 boolean isWhitelistedLocked(JobStatus job) { in isWhitelistedLocked() 201 boolean isTempWhitelistedLocked(JobStatus job) { in isTempWhitelistedLocked() 206 private boolean updateTaskStateLocked(JobStatus task) { in updateTaskStateLocked() 215 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 223 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 232 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 244 & JobStatus.CONSTRAINT_DEVICE_NOT_DOZING) != 0 in dumpControllerStateLocked() 258 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 273 JobStatus.CONSTRAINT_DEVICE_NOT_DOZING) != 0); in dumpControllerStateLocked() [all …]
|
D | BatteryController.java | 51 private final ArraySet<JobStatus> mTrackedTasks = new ArraySet<>(); 66 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 69 taskStatus.setTrackingController(JobStatus.TRACKING_BATTERY); in maybeStartTrackingJobLocked() 76 …public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, boolean forUpd… in maybeStopTrackingJobLocked() 77 if (taskStatus.clearTrackingController(JobStatus.TRACKING_BATTERY)) { in maybeStopTrackingJobLocked() 90 final JobStatus ts = mTrackedTasks.valueAt(i); in maybeReportNewChargingStateLocked() 228 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 239 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() 253 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 268 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked()
|
D | ContentObserverController.java | 61 final private ArraySet<JobStatus> mTrackedTasks = new ArraySet<>(); 75 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 84 taskStatus.setTrackingController(JobStatus.TRACKING_CONTENT); in maybeStartTrackingJobLocked() 125 public void prepareForExecutionLocked(JobStatus taskStatus) { in prepareForExecutionLocked() 138 public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 140 if (taskStatus.clearTrackingController(JobStatus.TRACKING_CONTENT)) { in maybeStopTrackingJobLocked() 179 public void rescheduleForFailureLocked(JobStatus newJob, JobStatus failureToReschedule) { in rescheduleForFailureLocked() 242 final JobStatus mJobStatus; 251 JobInstance(JobStatus jobStatus) { in JobInstance() 357 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() [all …]
|
D | QuotaController.java | 380 private final UserPackageMap<ArraySet<JobStatus>> mTrackedJobs = new UserPackageMap<>(); 408 private final ArraySet<JobStatus> mTopStartedJobs = new ArraySet<>(); 606 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 611 ArraySet<JobStatus> jobs = mTrackedJobs.get(userId, pkgName); in maybeStartTrackingJobLocked() 617 jobStatus.setTrackingController(JobStatus.TRACKING_QUOTA); in maybeStartTrackingJobLocked() 632 public void prepareForExecutionLocked(JobStatus jobStatus) { in prepareForExecutionLocked() 658 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 660 if (jobStatus.clearTrackingController(JobStatus.TRACKING_QUOTA)) { in maybeStopTrackingJobLocked() 666 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUserId(), in maybeStopTrackingJobLocked() 736 private boolean isTopStartedJobLocked(@NonNull final JobStatus jobStatus) { in isTopStartedJobLocked() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | TimeControllerTest.java | 138 private JobStatus createJobStatus(String testTag, JobInfo.Builder job) { in createJobStatus() 140 return JobStatus.createFromJobInfo( in createJobStatus() 146 JobStatus delaySatisfied = createJobStatus( in testMaybeStartTrackingJobLocked_AlreadySatisfied() 149 JobStatus deadlineSatisfied = createJobStatus( in testMaybeStartTrackingJobLocked_AlreadySatisfied() 182 JobStatus jobLatest = createJobStatus("testMaybeStartTrackingJobLocked_DelayInOrder", in runTestMaybeStartTrackingJobLocked_DelayInOrder() 184 JobStatus jobMiddle = createJobStatus("testMaybeStartTrackingJobLocked_DelayInOrder", in runTestMaybeStartTrackingJobLocked_DelayInOrder() 186 JobStatus jobEarliest = createJobStatus("testMaybeStartTrackingJobLocked_DelayInOrder", in runTestMaybeStartTrackingJobLocked_DelayInOrder() 209 JobStatus jobLatest = createJobStatus("testMaybeStartTrackingJobLocked_DelayInOrder", in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() 211 JobStatus jobMiddle = createJobStatus("testMaybeStartTrackingJobLocked_DelayInOrder", in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() 213 JobStatus jobEarliest = createJobStatus("testMaybeStartTrackingJobLocked_DelayInOrder", in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() [all …]
|
D | ConnectivityControllerTest.java | 156 final JobStatus early = createJobStatus(job, now - 1000, now + 2000); in testCongestion() 157 final JobStatus late = createJobStatus(job, now - 2000, now + 1000); in testCongestion() 183 final JobStatus early = createJobStatus(job, now - 1000, now + 2000); in testRelaxed() 184 final JobStatus late = createJobStatus(job, now - 2000, now + 1000); in testRelaxed() 187 final JobStatus earlyPrefetch = createJobStatus(job, now - 1000, now + 2000); in testRelaxed() 188 final JobStatus latePrefetch = createJobStatus(job, now - 2000, now + 1000); in testRelaxed() 228 final JobStatus red = createJobStatus(createJob() in testUpdates() 231 final JobStatus blue = createJobStatus(createJob() in testUpdates() 244 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() 245 assertFalse(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() [all …]
|
D | JobStatusTest.java | 22 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED; 23 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BATTERY_NOT_LOW; 24 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CHARGING; 25 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONNECTIVITY; 26 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONTENT_TRIGGER; 27 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEADLINE; 28 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEVICE_NOT_DOZING; 29 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_IDLE; 30 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_STORAGE_NOT_LOW; 31 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_TIMING_DELAY; [all …]
|
D | StateControllerTest.java | 81 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) { in maybeStartTrackingJobLocked() 84 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, in maybeStopTrackingJobLocked() 89 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 93 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 135 private JobStatus createJobStatus(String testTag, int jobId) { in createJobStatus() 140 return JobStatus.createFromJobInfo( in createJobStatus() 146 JobStatus job = spy(createJobStatus("testWouldBeReadyWithConstraintLocked", 1)); in testWouldBeReadyWithConstraintLocked()
|
D | QuotaControllerTest.java | 272 private void setStandbyBucket(int bucketIndex, JobStatus... jobs) { in setStandbyBucket() 274 for (JobStatus job : jobs) { in setStandbyBucket() 282 private void trackJobs(JobStatus... jobs) { in trackJobs() 283 for (JobStatus job : jobs) { in trackJobs() 289 private JobStatus createJobStatus(String testTag, int jobId) { in createJobStatus() 297 private JobStatus createJobStatus(String testTag, String packageName, int callingUid, in createJobStatus() 299 JobStatus js = JobStatus.createFromJobInfo( in createJobStatus() 1194 JobStatus jobStatus = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() 1236 JobStatus unaffected = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 1247 JobStatus fgStateChanger = createJobStatus( in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 56 import com.android.server.job.controllers.JobStatus; 159 private JobStatus createJobStatus(String testTag, JobInfo.Builder jobInfoBuilder) { in createJobStatus() 160 return JobStatus.createFromJobInfo( in createJobStatus() 172 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_minPeriod() 178 JobStatus rescheduledJob = mService.getRescheduleJobForPeriodic(job); in testGetRescheduleJobForPeriodic_minPeriod() 186 JobStatus rescheduledJob = mService.getRescheduleJobForPeriodic(job); in testGetRescheduleJobForPeriodic_minPeriod() 201 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_largePeriod() 209 JobStatus rescheduledJob = mService.getRescheduleJobForPeriodic(job); in testGetRescheduleJobForPeriodic_largePeriod() 222 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_insideWindow() 227 JobStatus rescheduledJob = mService.getRescheduleJobForPeriodic(job); in testGetRescheduleJobForPeriodic_insideWindow() [all …]
|