Searched refs:testAppInterface (Results 1 – 2 of 2) sorted by relevance
187 try (TestAppInterface testAppInterface = new TestAppInterface(mContext, JOB_ID); in testNotificationRemovedOnPackageRestriction() argument200 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() argument278 testAppInterface.postUiInitiatingNotification( in testNotification_userInitiated_anrWhenNotProvided()289 testAppInterface.awaitJobStart(DEFAULT_WAIT_TIMEOUT_MS)); in testNotification_userInitiated_anrWhenNotProvided()[all …]
120 try (TestAppInterface testAppInterface = in testJobParameters_expiredDeadline() argument122 testAppInterface.scheduleJob( in testJobParameters_expiredDeadline()129 testAppInterface.awaitJobStart(deadlineMs + 10_000L)); in testJobParameters_expiredDeadline()131 testAppInterface.getLastParams().isOverrideDeadlineExpired()); in testJobParameters_expiredDeadline()