Searched refs:shouldTreatAsExpeditedJob (Results 1 – 14 of 14) sorted by relevance
175 return job.shouldTreatAsExpeditedJob() in setUp()349 doReturn(i % 3 == 1).when(job).shouldTreatAsExpeditedJob(); in testDetermineAssignments_allPreferredUidOnly_shortTimeLeft()401 doReturn(i % 3 == 1).when(job).shouldTreatAsExpeditedJob(); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()447 boolean ejFirst = assignedJob1.shouldTreatAsExpeditedJob(); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()449 assertTrue(assignedJob1.shouldTreatAsExpeditedJob()); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()453 assertTrue(assignedJob2.shouldTreatAsExpeditedJob()); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()473 doReturn(i % 3 == 1).when(job).shouldTreatAsExpeditedJob(); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning()519 assertTrue(assignedJob.shouldTreatAsExpeditedJob()); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning()535 doReturn(i % 3 == 1).when(job).shouldTreatAsExpeditedJob(); in testDetermineAssignments_allPreferredUidOnly_longTimeLeft()580 } else if (assignedJob.shouldTreatAsExpeditedJob()) { in testDetermineAssignments_allPreferredUidOnly_longTimeLeft()[all …]
297 when(ejMax.shouldTreatAsExpeditedJob()).thenReturn(true); in testGetMinJobExecutionGuaranteeMs()298 when(ejHigh.shouldTreatAsExpeditedJob()).thenReturn(true); in testGetMinJobExecutionGuaranteeMs()299 when(ejMaxDowngraded.shouldTreatAsExpeditedJob()).thenReturn(false); in testGetMinJobExecutionGuaranteeMs()300 when(ejHighDowngraded.shouldTreatAsExpeditedJob()).thenReturn(false); in testGetMinJobExecutionGuaranteeMs()301 when(jobHigh.shouldTreatAsExpeditedJob()).thenReturn(false); in testGetMinJobExecutionGuaranteeMs()302 when(jobDef.shouldTreatAsExpeditedJob()).thenReturn(false); in testGetMinJobExecutionGuaranteeMs()371 when(jobEj.shouldTreatAsExpeditedJob()).thenReturn(true); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled()491 when(jobEj.shouldTreatAsExpeditedJob()).thenReturn(true); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_enabled()624 when(jobEj.shouldTreatAsExpeditedJob()).thenReturn(true); in testGetMaxJobExecutionTimeMs()657 when(jobEj.shouldTreatAsExpeditedJob()).thenReturn(true); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_disabled()[all …]
117 if (job.shouldTreatAsExpeditedJob()) { in isJobRestricted()
1007 } else if (nextPending.shouldTreatAsExpeditedJob()) { in determineAssignmentsLocked()1110 } else if (nextPending.shouldTreatAsExpeditedJob() && allowMaxWaitContextBypassEj) { in determineAssignmentsLocked()1163 packageStats.adjustStagedCount(true, nextPending.shouldTreatAsExpeditedJob()); in determineAssignmentsLocked()1239 if (!job.shouldTreatAsExpeditedJob() && !job.shouldTreatAsUserInitiatedJob()) { in hasImmediacyPrivilegeLocked()1265 if (job.shouldTreatAsExpeditedJob()) { in hasImmediacyPrivilegeLocked()1509 if (jobStatus.shouldTreatAsExpeditedJob()) { in isPkgConcurrencyLimitedLocked()1537 packageStats.adjustStagedCount(false, jobStatus.shouldTreatAsExpeditedJob()); in startJobLocked()1549 packageStats.adjustRunningCount(true, jobStatus.shouldTreatAsExpeditedJob()); in startJobLocked()1853 if (js.shouldTreatAsExpeditedJob() || js.startedAsExpeditedJob) { in shouldStopRunningJobLocked()2271 if (js.shouldTreatAsExpeditedJob()) { in getJobWorkTypes()[all …]
372 isDeadlineExpired, job.shouldTreatAsExpeditedJob(), in executeRunnableJob()431 } else if (job.shouldTreatAsExpeditedJob() || job.shouldTreatAsUserInitiatedJob()) { in executeRunnableJob()497 job.shouldTreatAsExpeditedJob(), in executeRunnableJob()563 job.startedAsExpeditedJob = job.shouldTreatAsExpeditedJob(); in executeRunnableJob()
3640 } else if (job.shouldTreatAsExpeditedJob() || job.shouldTreatAsUserInitiatedJob()) {4154 } else if (job.shouldTreatAsExpeditedJob()) {4180 final String timeoutTag = job.shouldTreatAsExpeditedJob()4185 final long normalUpperLimitMs = job.shouldTreatAsExpeditedJob()
189 when(ej.shouldTreatAsExpeditedJob()).thenReturn(true); in JobStatusContainer()190 when(ejRetried.shouldTreatAsExpeditedJob()).thenReturn(true); in JobStatusContainer()191 when(ejRunning.shouldTreatAsExpeditedJob()).thenReturn(true); in JobStatusContainer()192 when(ejRunningLong.shouldTreatAsExpeditedJob()).thenReturn(true); in JobStatusContainer()
503 if (jobStatus.shouldTreatAsExpeditedJob() || jobStatus.shouldTreatAsUserInitiatedJob()) { in evaluateStateLocked()513 } else if (((jobStatus.isRequestedExpeditedJob() && !jobStatus.shouldTreatAsExpeditedJob()) in evaluateStateLocked()1251 if (job.shouldTreatAsExpeditedJob() || job.startedAsExpeditedJob) { in maybeAdjustRegisteredCallbacksLocked()1259 if (job.shouldTreatAsExpeditedJob() || job.startedAsExpeditedJob) { in maybeAdjustRegisteredCallbacksLocked()1374 } else if (jobStatus.shouldTreatAsExpeditedJob() || jobStatus.startedAsExpeditedJob) { in getNetworkLocked()1556 if (jobStatus.shouldTreatAsExpeditedJob() || jobStatus.shouldTreatAsUserInitiatedJob() in isNetworkInStateForJobRunLocked()
1741 public boolean shouldTreatAsExpeditedJob() { in shouldTreatAsExpeditedJob() method in JobStatus1789 || ((shouldTreatAsExpeditedJob() || startedAsExpeditedJob) in canRunInDoze()1797 || ((shouldTreatAsExpeditedJob() || startedAsExpeditedJob) in canRunInBatterySaver()2317 && !mReadyDynamicSatisfied && !shouldTreatAsExpeditedJob()) in isReady()
637 jobStatus.shouldTreatAsExpeditedJob() ? mEJPkgTimers : mPkgTimers; in prepareForExecutionLocked()640 timer = new Timer(uid, userId, packageName, !jobStatus.shouldTreatAsExpeditedJob()); in prepareForExecutionLocked()776 if (!jobStatus.shouldTreatAsExpeditedJob()) { in getMaxJobExecutionTimeMsLocked()4577 if (js.shouldTreatAsExpeditedJob()) { in dumpControllerStateLocked()4587 if (js.shouldTreatAsExpeditedJob()) { in dumpControllerStateLocked()
197 when(job.shouldTreatAsExpeditedJob()).thenReturn(false); in testCanRunInBatterySaver_expedited()244 when(job.shouldTreatAsExpeditedJob()).thenReturn(false); in testCanRunInDoze_expedited()
1666 doReturn(true).when(expeditedJob).shouldTreatAsExpeditedJob(); in testIsNetworkInStateForJobRunLocked_JobStatus()
1857 HSPLcom/android/server/job/controllers/JobStatus;->shouldTreatAsExpeditedJob()Z+]Lcom/android/serve…
13352 HPLcom/android/server/job/controllers/JobStatus;->shouldTreatAsExpeditedJob()Z