Searched refs:job2 (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | PendingJobQueue.java | 267 final JobStatus job2 = aj2.job; 268 if (job1 == job2) { 273 if (job1.overrideState != job2.overrideState) { 276 return Integer.compare(job2.overrideState, job1.overrideState); 280 final boolean job2UI = job2.getJob().isUserInitiated(); 287 final boolean job2EJ = job2.isRequestedExpeditedJob(); 294 if (Objects.equals(job1.getNamespace(), job2.getNamespace())) { 296 final int job2Priority = job2.getEffectivePriority(); 304 if (job1.lastEvaluatedBias != job2.lastEvaluatedBias) { 306 return Integer.compare(job2.lastEvaluatedBias, job1.lastEvaluatedBias); [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BatteryControllerTest.java | 196 JobStatus job2 = createJobStatus("testBatteryNotLow", SOURCE_PACKAGE, CALLING_UID, in testBatteryNotLow() local 206 trackJobs(job2); in testBatteryNotLow() 207 assertTrue(job2.isConstraintSatisfied(JobStatus.CONSTRAINT_BATTERY_NOT_LOW)); in testBatteryNotLow() 273 JobStatus job2 = createJobStatus("testCharging_BatteryNotLow", SOURCE_PACKAGE, CALLING_UID, in testCharging_BatteryNotLow() local 280 trackJobs(job1, job2); in testCharging_BatteryNotLow() 282 assertFalse(job2.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testCharging_BatteryNotLow() 286 assertTrue(job2.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testCharging_BatteryNotLow()
|
D | QuotaControllerTest.java | 2350 JobStatus job2 = createJobStatus("testIsWithinQuotaLocked_WithQuotaBump_Duration", 2); in testIsWithinQuotaLocked_WithQuotaBump_Duration() local 2363 mQuotaController.maybeStartTrackingJobLocked(job2, null); in testIsWithinQuotaLocked_WithQuotaBump_Duration() 2364 mQuotaController.prepareForExecutionLocked(job2); in testIsWithinQuotaLocked_WithQuotaBump_Duration() 2370 mQuotaController.maybeStopTrackingJobLocked(job2, null); in testIsWithinQuotaLocked_WithQuotaBump_Duration() 2436 JobStatus job2 = createJobStatus("testIsWithinQuotaLocked_WithQuotaBump_JobCount", 2); in testIsWithinQuotaLocked_WithQuotaBump_JobCount() local 2449 mQuotaController.maybeStartTrackingJobLocked(job2, null); in testIsWithinQuotaLocked_WithQuotaBump_JobCount() 2450 mQuotaController.prepareForExecutionLocked(job2); in testIsWithinQuotaLocked_WithQuotaBump_JobCount() 2456 mQuotaController.maybeStopTrackingJobLocked(job2, null); in testIsWithinQuotaLocked_WithQuotaBump_JobCount() 2523 JobStatus job2 = createJobStatus("testIsWithinQuotaLocked_WithQuotaBump_JobCount", 2); in testIsWithinQuotaLocked_WithQuotaBump_SessionCount() local 2541 mQuotaController.maybeStartTrackingJobLocked(job2, null); in testIsWithinQuotaLocked_WithQuotaBump_SessionCount() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardTransitionRepositoryTest.kt | 114 val job2 = underTest.transition(LOCKSCREEN, AOD).onEach { steps.add(it) }.launchIn(this) in <lambda>() constant 134 job2.cancel() in <lambda>() 149 val job2 = underTest.transition(LOCKSCREEN, AOD).onEach { steps.add(it) }.launchIn(this) in <lambda>() constant 169 job2.cancel() in <lambda>() 184 val job2 = underTest.transition(LOCKSCREEN, AOD).onEach { steps.add(it) }.launchIn(this) in <lambda>() constant 204 job2.cancel() in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | PendingJobQueueTest.java | 238 JobStatus job2 = createJobStatus("testRemove", createJobInfo(2), 1); in testRemove_outOfOrder() local 246 job2.enqueueTime = 3; in testRemove_outOfOrder() 258 jobs.add(job2); in testRemove_outOfOrder() 289 jobs.add(job2); in testRemove_outOfOrder() 312 jobs.add(job2); in testRemove_outOfOrder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/ |
D | FlowUtilTests.kt | 145 val job2 = launch { assertThatFlow(stoppable.pairwise()).emitsNothing() } in <lambda>() constant 150 assertThatJob(job2).isCompleted() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepositoryImplTest.kt | 228 val job2 = underTest.forceHiddenSlots.onEach { latest2 = it }.launchIn(this) in forceHiddenSlots_newSubscriberGetsCurrentValue() constant 234 job2.cancel() in forceHiddenSlots_newSubscriberGetsCurrentValue()
|