Home
last modified time | relevance | path

Searched refs:awaitExecution (Results 1 – 17 of 17) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTimingConstraintsTest.java41 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()
DStorageConstraintTest.java81 kTestEnvironment.awaitExecution()); in testNotLowConstraintExecutes()
102 kTestEnvironment.awaitExecution(250)); in testNotLowConstraintFails()
111 kTestEnvironment.awaitExecution()); in testNotLowConstraintFails()
129 kTestEnvironment.awaitExecution()); in testJobStoppedWhenStorageLow()
DJobParametersTest.java47 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()
DIdleConstraintTest.java117 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()
DBatteryConstraintTest.java174 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()
DTriggerContentTest.java258 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()
DConnectivityConstraintTest.java197 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 …]
DComponentConstraintTest.java43 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()
DJobWorkItemTest.java67 assertTrue("Job didn't fire immediately", kTestEnvironment.awaitExecution()); in testDeliveryCountBumped()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DEnqueueJobWorkTest.java116 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 …]
DClipDataJobTest.java91 kTestEnvironment.awaitExecution()); in testClipDataGrant()
151 kTestEnvironment.awaitExecution()); in testClipDataGrantReschedule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraContentJobService.java87 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in CameraContentJobService.TestEnvironment
DCameraIntentsActivity.java539 boolean executed = mTestEnv.awaitExecution(); in doInBackground()
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java423 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
DTriggerContentJobService.java134 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in TriggerContentJobService.TestEnvironment
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java418 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
DTriggerContentJobService.java134 public boolean awaitExecution() throws InterruptedException { in awaitExecution() method in TriggerContentJobService.TestEnvironment