Searched refs:mTestAppInterface (Results 1 – 2 of 2) sorted by relevance
91 private TestAppInterface mTestAppInterface; field in JobThrottlingTest122 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 …]
69 private TestAppInterface mTestAppInterface; field in ConnectivityConstraintTest93 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()