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.java142 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 …]
DNotificationManager29Test.java154 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java61 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 …]
DNotificationManagerZenTest.java84 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 …]
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()
DSensitiveNotificationRedactionTest.kt35 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()
DBaseNotificationManagerTest.java42 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/
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.java205 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/
DNotificationManager28Test.java102 null, id, NotificationHelper.SEARCH_TYPE.POSTED); in testPostFullScreenIntent_noPermission()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveNotificationAppHidingTest.kt116 NotificationHelper.SEARCH_TYPE.POSTED in <lambda>()