Searched refs:DEFAULT_WAIT_TIMEOUT (Results 1 – 1 of 1) sorted by relevance
64 private static final long DEFAULT_WAIT_TIMEOUT = 1000; field in DeviceIdleJobsTest149 Thread.sleep(DEFAULT_WAIT_TIMEOUT); in testAllowWhileIdleJobInTempwhitelist()154 awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testAllowWhileIdleJobInTempwhitelist()162 assertTrue("Job did not start after scheduling", awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testForegroundJobsStartImmediately()164 assertTrue("Job did not stop on entering doze", awaitJobStop(DEFAULT_WAIT_TIMEOUT)); in testForegroundJobsStartImmediately()177 assertTrue("Job did not start after scheduling", awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()179 assertTrue("Job did not stop on entering doze", awaitJobStop(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()183 awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()184 Thread.sleep(BACKGROUND_JOBS_EXPECTED_DELAY - DEFAULT_WAIT_TIMEOUT); in testBackgroundJobsDelayed()186 + BACKGROUND_JOBS_EXPECTED_DELAY + "ms", awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()[all …]