/cts/tests/app/shared/src/android/app/stubs/shared/ |
D | NotificationHelper.java | 52 public enum SEARCH_TYPE { enum in NotificationHelper 93 searchAll ? SEARCH_TYPE.LISTENER : SEARCH_TYPE.APP) in clickNotification() 98 SEARCH_TYPE searchType) { in findPostedNotification() 119 public boolean isNotificationGone(int id, SEARCH_TYPE searchType) { in isNotificationGone() 162 SEARCH_TYPE searchType) { in findNotificationNoWait() 171 private ArrayList<StatusBarNotification> getNotifications(SEARCH_TYPE searchType) { in getNotifications()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 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() 282 null, 2, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotifications_rankingScoreKey() 329 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_smartActionKey() 369 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_smartReplyKey() [all …]
|
D | NotificationManager29Test.java | 154 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerTest.java | 61 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE; 899 assertThat(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)).isNull(); in testNotify_nonexistentChannel_ignored() 1304 SEARCH_TYPE.POSTED); in testKeyChannelGroupOverrideImportanceExplanation_ranking() 1344 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testNotify_blockedChannel() 1358 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testCancel() 1378 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testCancelAll() 1398 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in testNotifyWithTimeout() 1405 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testNotifyWithTimeout() 1482 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in testMediaStyle() 1505 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in testInboxStyle() [all …]
|
D | NotificationManagerZenTest.java | 84 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE; 342 mNotificationHelper.findPostedNotification(ALICE, 1, SEARCH_TYPE.POSTED); in sendNotifications() 343 mNotificationHelper.findPostedNotification(BOB, 2, SEARCH_TYPE.POSTED); in sendNotifications() 344 mNotificationHelper.findPostedNotification(CHARLIE, 3, SEARCH_TYPE.POSTED); in sendNotifications() 385 mNotificationHelper.findPostedNotification(ALICE, 4, SEARCH_TYPE.POSTED); in sendEventAlarmReminderNotifications() 386 mNotificationHelper.findPostedNotification(BOB, 5, SEARCH_TYPE.POSTED); in sendEventAlarmReminderNotifications() 387 mNotificationHelper.findPostedNotification(CHARLIE, 6, SEARCH_TYPE.POSTED); in sendEventAlarmReminderNotifications() 427 mNotificationHelper.findPostedNotification(ALICE, 7, SEARCH_TYPE.POSTED); in sendAlarmOtherMediaNotifications() 428 mNotificationHelper.findPostedNotification(BOB, 8, SEARCH_TYPE.POSTED); in sendAlarmOtherMediaNotifications() 429 mNotificationHelper.findPostedNotification(CHARLIE, 9, SEARCH_TYPE.POSTED); in sendAlarmOtherMediaNotifications() [all …]
|
D | NotificationManagerBubbleTest.java | 52 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE; 191 mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.POSTED); in verifyNotificationBubbleState() 349 mNotificationHelper.findPostedNotification(null, 1, SEARCH_TYPE.POSTED); in testCanBubble_ranking() 951 SEARCH_TYPE.POSTED); in testNotificationManagerBubble_setSuppressBubble() 996 BUBBLE_NOTIF_ID, SEARCH_TYPE.LISTENER); in testNotificationManagerBubble_setSuppressBubble_notSuppressable() 1040 BUBBLE_NOTIF_ID, SEARCH_TYPE.LISTENER); in testNotificationManagerBubble_setSuppressBubble_activityNoLocusId() 1086 BUBBLE_NOTIF_ID, SEARCH_TYPE.LISTENER); in testNotificationManagerBubble_setSuppressBubble_notificationNoLocusId() 1120 SEARCH_TYPE.POSTED); in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity() 1134 sbn = mNotificationHelper.findPostedNotification(null, notifId, SEARCH_TYPE.LISTENER); in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity() 1143 sbn = mNotificationHelper.findPostedNotification(null, notifId, SEARCH_TYPE.LISTENER); in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity()
|
D | SensitiveNotificationRedactionTest.kt | 35 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE 157 searchType: SEARCH_TYPE = SEARCH_TYPE.POSTED, in waitForNotification() 345 val snoozedSbn = waitForNotification(SEARCH_TYPE.SNOOZED) in testGetSnoozedNotificationsRedacted()
|
D | BaseNotificationManagerTest.java | 42 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE; 303 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in cancelAndPoll() 350 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in sendNotification()
|
/cts/tests/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/ |
D | NotificationManagerApi34Test.kt | 79 NotificationHelper.SEARCH_TYPE.APP in testMediaStyle_noClearFlagNotSet() 96 NotificationHelper.SEARCH_TYPE.APP in testCustomMediaStyle_noClearFlagNotSet()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 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/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/ |
D | NotificationManager28Test.java | 102 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
|
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/ |
D | SensitiveNotificationAppHidingTest.kt | 116 NotificationHelper.SEARCH_TYPE.POSTED in <lambda>()
|