Home
last modified time | relevance | path

Searched refs:NotificationHelper (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/
DNotificationManagerApi34Test.kt23 import android.app.stubs.shared.NotificationHelper
43 private lateinit var helper: NotificationHelper
50 helper = NotificationHelper(context) in setUp()
79 NotificationHelper.SEARCH_TYPE.APP in testMediaStyle_noClearFlagNotSet()
96 NotificationHelper.SEARCH_TYPE.APP in testCustomMediaStyle_noClearFlagNotSet()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNotificationTest.java158 TestNotificationListener.NotificationHelper notificationHelper = in testNotificationRemovedOnForceStop()
159 new TestNotificationListener.NotificationHelper( in testNotificationRemovedOnForceStop()
188 TestNotificationListener.NotificationHelper notificationHelper = in testNotificationRemovedOnPackageRestriction()
189 new TestNotificationListener.NotificationHelper( in testNotificationRemovedOnPackageRestriction()
237 TestNotificationListener.NotificationHelper notificationHelper = in testNotificationRemovedOnTaskManagerStop()
238 new TestNotificationListener.NotificationHelper( in testNotificationRemovedOnTaskManagerStop()
275 TestNotificationListener.NotificationHelper notificationHelper = in testNotification_userInitiated_anrWhenNotProvided()
276 new TestNotificationListener.NotificationHelper(mContext, TEST_APP_PACKAGE)) { in testNotification_userInitiated_anrWhenNotProvided()
305 TestNotificationListener.NotificationHelper notificationHelper = in testNotification_userInitiated_noAnrWhenProvided()
306 new TestNotificationListener.NotificationHelper(mContext, TEST_APP_PACKAGE)) { in testNotification_userInitiated_noAnrWhenProvided()
[all …]
DUserInitiatedJobTest.java134 try (TestNotificationListener.NotificationHelper notificationHelper = in testJobUidState()
135 new TestNotificationListener.NotificationHelper( in testJobUidState()
196 try (TestNotificationListener.NotificationHelper notificationHelper = in testRestrictedBalToTop()
197 new TestNotificationListener.NotificationHelper( in testRestrictedBalToTop()
242 try (TestNotificationListener.NotificationHelper notificationHelper = in testRestrictedToggling()
243 new TestNotificationListener.NotificationHelper( in testRestrictedToggling()
314 try (TestNotificationListener.NotificationHelper notificationHelper = in testRestrictedUidState()
315 new TestNotificationListener.NotificationHelper( in testRestrictedUidState()
344 try (TestNotificationListener.NotificationHelper notificationHelper = in testSchedulingBal()
345 new TestNotificationListener.NotificationHelper( in testSchedulingBal()
DTestNotificationListener.java146 public static class NotificationHelper implements AutoCloseable { class in TestNotificationListener
151 public NotificationHelper(Context context, String testPackage) throws Exception { in NotificationHelper() method in TestNotificationListener.NotificationHelper
DConnectivityConstraintTest.java580 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobExecutes_DozeOn()
581 new TestNotificationListener.NotificationHelper( in testUserInitiatedJobExecutes_DozeOn()
945 try (TestNotificationListener.NotificationHelper notificationHelper = in testBgUiJobBypassesDataSaver()
946 new TestNotificationListener.NotificationHelper( in testBgUiJobBypassesDataSaver()
986 try (TestNotificationListener.NotificationHelper notificationHelper = in testBgNonUiJobDoesNotBypassDataSaverWhenUiJobRunning()
987 new TestNotificationListener.NotificationHelper( in testBgNonUiJobDoesNotBypassDataSaverWhenUiJobRunning()
DJobThrottlingTest.java459 try (TestNotificationListener.NotificationHelper notificationHelper = in testBackgroundUIJsThermal()
460 new TestNotificationListener.NotificationHelper( in testBackgroundUIJsThermal()
978 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesBatterySaverOn()
979 new TestNotificationListener.NotificationHelper( in testUserInitiatedJobBypassesBatterySaverOn()
1001 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesBatterySaver_toggling()
1002 new TestNotificationListener.NotificationHelper( in testUserInitiatedJobBypassesBatterySaver_toggling()
1028 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesDeviceIdle()
1029 new TestNotificationListener.NotificationHelper( in testUserInitiatedJobBypassesDeviceIdle()
1050 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesDeviceIdle_toggling()
1051 new TestNotificationListener.NotificationHelper( in testUserInitiatedJobBypassesDeviceIdle_toggling()
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/
DNotificationManager28Test.java30 import android.app.stubs.shared.NotificationHelper;
59 private NotificationHelper mHelper;
69 mHelper = new NotificationHelper(mContext); in setUp()
102 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java41 import android.app.stubs.shared.NotificationHelper;
89 private NotificationHelper mHelper;
107 mHelper = new NotificationHelper(mContext); in setUp()
142 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testOnNotificationEnqueued()
154 sbn = mHelper.findPostedNotification(null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testOnNotificationEnqueued()
170 null, 6, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_userSentimentKey()
199 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_proposedImportanceKey()
224 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_sensitiveContentKey()
249 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_importanceKey()
277 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotifications_rankingScoreKey()
[all …]
DNotificationManager29Test.java36 import android.app.stubs.shared.NotificationHelper;
72 NotificationHelper mHelper;
82 mHelper = new NotificationHelper(mContext); in setUp()
154 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java39 import android.app.stubs.shared.NotificationHelper;
79 private NotificationHelper mHelper;
86 mHelper = new NotificationHelper(mContext); in setUp()
205 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testSuspendPackage()
217 null, 1, NotificationHelper.SEARCH_TYPE.POSTED)); in testSuspendPackage()
238 null, 1, NotificationHelper.SEARCH_TYPE.POSTED)); in testSuspendedPackageSendNotification()
321 null, 566, NotificationHelper.SEARCH_TYPE.POSTED); in testChannelDeletion_cancelReason()
/cts/tests/app/shared/src/android/app/stubs/shared/
DNotificationHelper.java46 public class NotificationHelper { class
48 private static final String TAG = NotificationHelper.class.getSimpleName();
86 public NotificationHelper(Context context) { in NotificationHelper() method in NotificationHelper
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveNotificationAppHidingTest.kt24 import android.app.stubs.shared.NotificationHelper in <lambda>()
65 private lateinit var notificationHelper: NotificationHelper in <lambda>()
116 NotificationHelper.SEARCH_TYPE.POSTED in <lambda>()
171 notificationHelper = NotificationHelper(context) in <lambda>()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DBaseNotificationManagerTest.java41 import android.app.stubs.shared.NotificationHelper;
42 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
110 protected NotificationHelper mNotificationHelper;
117 mNotificationHelper = new NotificationHelper(mContext); in baseSetUp()
DSensitiveNotificationRedactionTest.kt35 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE
DNotificationManagerBubbleTest.java52 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
DNotificationManagerZenTest.java84 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
DNotificationManagerTest.java61 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java37 import android.app.stubs.shared.NotificationHelper;
116 private NotificationHelper mNotificationHelper;
130 mNotificationHelper = new NotificationHelper(mContext); in setUp()
DActivityManagerFgsBgStartTest.java51 import android.app.stubs.shared.NotificationHelper;
2440 NotificationHelper notificationHelper = new NotificationHelper(mContext); in testStartMediaPlaybackFromBg()