Home
last modified time | relevance | path

Searched refs:mTestAppInterface (Results 1 – 2 of 2) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java91 private TestAppInterface mTestAppInterface; field in JobThrottlingTest
122 mTestAppInterface = new TestAppInterface(mContext, testJobId); in setUp()
150 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
153 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
162 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testForegroundJobsStartImmediately()
165 mTestAppInterface.awaitJobStop(DEFAULT_WAIT_TIMEOUT)); in testForegroundJobsStartImmediately()
167 mTestAppInterface.startAndKeepTestActivity(); in testForegroundJobsStartImmediately()
170 mTestAppInterface.awaitJobStart(3_000)); in testForegroundJobsStartImmediately()
179 mTestAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()
182 mTestAppInterface.awaitJobStop(DEFAULT_WAIT_TIMEOUT)); in testBackgroundJobsDelayed()
[all …]
DConnectivityConstraintTest.java69 private TestAppInterface mTestAppInterface; field in ConnectivityConstraintTest
93 if (mTestAppInterface != null) { in tearDown()
94 mTestAppInterface.cleanup(); in tearDown()
264 mTestAppInterface = new TestAppInterface(mContext, CONNECTIVITY_JOB_ID); in testCellularConstraintExecutedAndStopped_Foreground()
265 mTestAppInterface.startAndKeepTestActivity(); in testCellularConstraintExecutedAndStopped_Foreground()
267 mTestAppInterface.scheduleJob(false, true); in testCellularConstraintExecutedAndStopped_Foreground()
271 mTestAppInterface.awaitJobStart(30_000)); in testCellularConstraintExecutedAndStopped_Foreground()
277 mTestAppInterface.awaitJobStop(30_000)); in testCellularConstraintExecutedAndStopped_Foreground()