/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TimingConstraintsTest.java | 41 final boolean executed = kTestEnvironment.awaitExecution(); in testScheduleOnce() 54 kTestEnvironment.awaitExecution()); in testSchedulePeriodic() 71 kTestEnvironment.awaitExecution()); in testSchedulePeriodic_lowFlex() 99 final boolean executed = kTestEnvironment.awaitExecution(); in testExplicitZeroLatency() 101 kTestEnvironment.awaitExecution()); in testExplicitZeroLatency() 119 assertTrue("Failed to execute deadline job", kTestEnvironment.awaitExecution()); in testJobParameters_expiredDeadline() 138 assertTrue("Failed to execute non-deadline job", kTestEnvironment.awaitExecution()); in testJobParameters_unexpiredDeadline()
|
D | StorageConstraintTest.java | 81 kTestEnvironment.awaitExecution()); in testNotLowConstraintExecutes() 102 kTestEnvironment.awaitExecution(250)); in testNotLowConstraintFails() 111 kTestEnvironment.awaitExecution()); in testNotLowConstraintFails() 129 kTestEnvironment.awaitExecution()); in testJobStoppedWhenStorageLow()
|
D | JobParametersTest.java | 47 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testClipData() 65 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testExtras() 82 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testExpedited() 94 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testExpedited() 107 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testJobId() 155 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in verifyStopReason() 176 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testTransientExtras()
|
D | IdleConstraintTest.java | 117 kTestEnvironment.awaitExecution()); in verifyIdleState() 134 kTestEnvironment.awaitExecution(250)); in verifyActiveState() 261 assertFalse("Job fired when the device was active.", kTestEnvironment.awaitExecution(500)); in runIdleJobStartsOnlyWhenIdle() 274 kTestEnvironment.awaitExecution(500)); in runIdleJobStartsOnlyWhenIdle() 286 kTestEnvironment.awaitExecution()); in runIdleJobStartsOnlyWhenIdle() 298 kTestEnvironment.awaitExecution()); in runIdleJobStartsOnlyWhenIdle()
|
D | BatteryConstraintTest.java | 174 kTestEnvironment.awaitExecution()); in testChargingConstraintExecutes() 194 kTestEnvironment.awaitExecution()); in testBatteryNotLowConstraintExecutes_withPower() 219 kTestEnvironment.awaitExecution()); in testBatteryNotLowConstraintExecutes_withoutPower() 247 kTestEnvironment.awaitExecution(250)); in testChargingConstraintFails() 261 kTestEnvironment.awaitExecution()); in testChargingConstraintFails() 301 kTestEnvironment.awaitExecution(250)); in testBatteryNotLowConstraintFails_withoutPower() 317 kTestEnvironment.awaitExecution()); in testBatteryNotLowConstraintFails_withoutPower()
|
D | TriggerContentTest.java | 258 boolean executed = kTriggerTestEnvironment.awaitExecution(); in testDescendantsObserver() 276 executed = kTriggerTestEnvironment.awaitExecution(); in testDescendantsObserver() 305 boolean executed = kTriggerTestEnvironment.awaitExecution(); in testNonDescendantsObserver() 322 executed = kTriggerTestEnvironment.awaitExecution(); in testNonDescendantsObserver() 347 boolean executed = kTriggerTestEnvironment.awaitExecution(); in testPhotoAdded_Reschedule() 367 executed = kTriggerTestEnvironment.awaitExecution(); in testPhotoAdded_Reschedule() 389 executed = kTriggerTestEnvironment.awaitExecution(); in testPhotoAdded_Reschedule() 416 boolean executed = kTriggerTestEnvironment.awaitExecution(); in xxxtestPhotoAdded_FinishTrue() 435 executed = kTriggerTestEnvironment.awaitExecution(); in xxxtestPhotoAdded_FinishTrue() 456 executed = kTriggerTestEnvironment.awaitExecution(); in xxxtestPhotoAdded_FinishTrue()
|
D | ConnectivityConstraintTest.java | 197 kTestEnvironment.awaitExecution()); in testUnmeteredConstraintExecutes_withWifi() 218 kTestEnvironment.awaitExecution()); in testConnectivityConstraintExecutes_withWifi() 241 kTestEnvironment.awaitExecution()); in testConnectivityConstraintExecutes_withWifi_DataSaverOn() 262 kTestEnvironment.awaitExecution()); in testConnectivityConstraintExecutes_withMobile() 282 kTestEnvironment.awaitExecution()); in testConnectivityConstraintExecutes_withMeteredWifi() 308 kTestEnvironment.awaitExecution()); in testConnectivityConstraintExecutes_transitionNetworks() 333 kTestEnvironment.awaitExecution()); in testConnectivityConstraintExecutes_metered_mobile() 422 kTestEnvironment.awaitExecution()); in testExpeditedJobExecutes_IdleApp() 455 kTestEnvironment.awaitExecution()); in testExpeditedJobExecutes_BatterySaverOn() 523 kTestEnvironment.awaitExecution()); in testExpeditedJobBypassesSimultaneousFirewalls_noDataSaver() [all …]
|
D | ComponentConstraintTest.java | 43 assertTrue("Job with enabled service didn't fire.", kTestEnvironment.awaitExecution()); in testScheduleAfterComponentEnabled() 78 assertTrue("Job with enabled service didn't fire.", kTestEnvironment.awaitExecution()); in testComponentDisabledAndReenabledAfterSchedule()
|
D | JobWorkItemTest.java | 67 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testDeliveryCountBumped()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | EnqueueJobWorkTest.java | 116 kTestEnvironment.awaitExecution()); in testEnqueueOneWork() 152 kTestEnvironment.awaitExecution()); in testEnqueueMultipleWork() 184 kTestEnvironment.awaitExecution()); in testEnqueueMultipleSubWork() 217 kTestEnvironment.awaitExecution()); in testEnqueuedWorkNewConstraints() 237 kTestEnvironment.awaitExecution()); in testEnqueueParallel2Work() 258 kTestEnvironment.awaitExecution()); in testEnqueueParallel2ReverseWork() 298 kTestEnvironment.awaitExecution()); in testEnqueueMultipleParallelWork() 334 kTestEnvironment.awaitExecution()); in testEnqueueMultipleRedeliver() 351 kTestEnvironment.awaitExecution()); in testEnqueueMultipleRedeliver() 389 kTestEnvironment.awaitExecution()); in testEnqueueMultipleParallelRedeliver() [all …]
|
D | ClipDataJobTest.java | 91 kTestEnvironment.awaitExecution()); in testClipDataGrant() 151 kTestEnvironment.awaitExecution()); in testClipDataGrantReschedule()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraContentJobService.java | 87 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in CameraContentJobService.TestEnvironment
|
D | CameraIntentsActivity.java | 539 boolean executed = mTestEnv.awaitExecution(); in doInBackground()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 423 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in MockJobService.TestEnvironment 424 return awaitExecution(DEFAULT_TIMEOUT_MILLIS); in awaitExecution() 427 public boolean awaitExecution(long timeoutMillis) throws InterruptedException { in awaitExecution() method in MockJobService.TestEnvironment
|
D | TriggerContentJobService.java | 134 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in TriggerContentJobService.TestEnvironment
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 418 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in MockJobService.TestEnvironment 419 return awaitExecution(DEFAULT_TIMEOUT_MILLIS); in awaitExecution() 422 public boolean awaitExecution(long timeoutMillis) throws InterruptedException { in awaitExecution() method in MockJobService.TestEnvironment
|
D | TriggerContentJobService.java | 134 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in TriggerContentJobService.TestEnvironment
|