Home
last modified time | relevance | path

Searched refs:SEARCH_TYPE (Results 1 – 12 of 12) sorted by relevance

/cts/tests/app/shared/src/android/app/stubs/shared/
DNotificationHelper.java52 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/
DNotificationAssistantServiceTest.java253 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testOnNotificationEnqueued()
265 sbn = mHelper.findPostedNotification(null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testOnNotificationEnqueued()
281 null, 6, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_userSentimentKey()
310 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_proposedImportanceKey()
335 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_sensitiveContentKey()
360 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_importanceKey()
388 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotifications_rankingScoreKey()
393 null, 2, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotifications_rankingScoreKey()
440 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_smartActionKey()
480 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testAdjustNotification_smartReplyKey()
[all …]
DNotificationManager29Test.java170 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java64 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
1038 assertThat(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)).isNull(); in testNotify_nonexistentChannel_ignored()
1458 SEARCH_TYPE.POSTED); in testKeyChannelGroupOverrideImportanceExplanation_ranking()
1498 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testNotify_blockedChannel()
1512 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testCancel()
1532 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testCancelAll()
1552 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in testNotifyWithTimeout()
1559 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in testNotifyWithTimeout()
1636 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in testMediaStyle()
1659 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in testInboxStyle()
[all …]
DNotificationManagerBubbleTest.java52 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()
DNotificationManagerZenTest.java89 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
391 mNotificationHelper.findPostedNotification(ALICE, 1, SEARCH_TYPE.POSTED); in sendNotifications()
392 mNotificationHelper.findPostedNotification(BOB, 2, SEARCH_TYPE.POSTED); in sendNotifications()
393 mNotificationHelper.findPostedNotification(CHARLIE, 3, SEARCH_TYPE.POSTED); in sendNotifications()
434 mNotificationHelper.findPostedNotification(ALICE, 4, SEARCH_TYPE.POSTED); in sendEventAlarmReminderNotifications()
435 mNotificationHelper.findPostedNotification(BOB, 5, SEARCH_TYPE.POSTED); in sendEventAlarmReminderNotifications()
436 mNotificationHelper.findPostedNotification(CHARLIE, 6, SEARCH_TYPE.POSTED); in sendEventAlarmReminderNotifications()
476 mNotificationHelper.findPostedNotification(ALICE, 7, SEARCH_TYPE.POSTED); in sendAlarmOtherMediaNotifications()
477 mNotificationHelper.findPostedNotification(BOB, 8, SEARCH_TYPE.POSTED); in sendAlarmOtherMediaNotifications()
478 mNotificationHelper.findPostedNotification(CHARLIE, 9, SEARCH_TYPE.POSTED); in sendAlarmOtherMediaNotifications()
[all …]
DBaseNotificationManagerTest.java42 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE;
303 assertTrue(mNotificationHelper.isNotificationGone(id, SEARCH_TYPE.APP)); in cancelAndPoll()
356 assertNotNull(mNotificationHelper.findPostedNotification(null, id, SEARCH_TYPE.APP)); in sendNotification()
DSensitiveNotificationRedactionTest.kt36 import android.app.stubs.shared.NotificationHelper.SEARCH_TYPE in <lambda>()
169 searchType: SEARCH_TYPE = SEARCH_TYPE.POSTED, in <lambda>()
357 val snoozedSbn = waitForNotification(SEARCH_TYPE.SNOOZED) in <lambda>()
/cts/tests/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/
DNotificationManagerApi34Test.kt79 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/
DLegacyNotificationManagerTest.java223 null, 1, NotificationHelper.SEARCH_TYPE.POSTED); in testSuspendPackage()
235 null, 1, NotificationHelper.SEARCH_TYPE.POSTED)); in testSuspendPackage()
260 null, 1, NotificationHelper.SEARCH_TYPE.POSTED)); in testSuspendedPackageSendNotification()
346 null, 566, NotificationHelper.SEARCH_TYPE.POSTED); in testChannelDeletion_cancelReason()
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/
DNotificationManager28Test.java110 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveNotificationAppHidingTest.kt116 NotificationHelper.SEARCH_TYPE.POSTED in <lambda>()