Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNotificationTest.java187 try (TestAppInterface testAppInterface = new TestAppInterface(mContext, JOB_ID); in testNotificationRemovedOnPackageRestriction() argument
200 testAppInterface.setTestPackageRestricted(true); in testNotificationRemovedOnPackageRestriction()
201 testAppInterface.startAndKeepTestActivity(true); in testNotificationRemovedOnPackageRestriction()
202 testAppInterface.scheduleJob( in testNotificationRemovedOnPackageRestriction()
210 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotificationRemovedOnPackageRestriction()
220 testAppInterface.closeActivity(true); in testNotificationRemovedOnPackageRestriction()
225 assertTrue(testAppInterface.awaitJobStop(DEFAULT_WAIT_TIMEOUT_MS)); in testNotificationRemovedOnPackageRestriction()
272 try (TestAppInterface testAppInterface = new TestAppInterface(mContext, JOB_ID); in testNotification_userInitiated_anrWhenNotProvided() argument
278 testAppInterface.postUiInitiatingNotification( in testNotification_userInitiated_anrWhenNotProvided()
289 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotification_userInitiated_anrWhenNotProvided()
[all …]
DTimingConstraintsTest.java120 try (TestAppInterface testAppInterface = in testJobParameters_expiredDeadline() argument
122 testAppInterface.scheduleJob( in testJobParameters_expiredDeadline()
129 testAppInterface.awaitJobStart(deadlineMs + 10_000L)); in testJobParameters_expiredDeadline()
131 testAppInterface.getLastParams().isOverrideDeadlineExpired()); in testJobParameters_expiredDeadline()