Home
last modified time | relevance | path

Searched refs:notif2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java150 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() local
173 new CoalescedEvent(notif2.key, 1, notif2.sbn, notif2.ranking, null), in testCoalescedNotificationsArePosted()
187 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() local
211 new CoalescedEvent(notif2.key, 1, notif2.sbn, notif2.ranking, null), in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
297 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testRankingsAreUpdated() local
308 .setKey(notif2.key) in testRankingsAreUpdated()
312 mNoMan.setRanking(notif2.key, ranking2b); in testRankingsAreUpdated()
321 new CoalescedEvent(notif2.key, 1, notif2.sbn, ranking2b, null) in testRankingsAreUpdated()
334 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testMaxLingerDuration() local
364 new CoalescedEvent(notif2.key, 1, notif2.sbn, notif2.ranking, null), in testMaxLingerDuration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java316 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifUpdated() local
320 final NotificationEntry entry = mCollectionListener.getEntry(notif2.key); in testEventDispatchedWhenNotifUpdated()
325 assertEquals(notif2.key, entry.getKey()); in testEventDispatchedWhenNotifUpdated()
326 assertEquals(notif2.sbn, entry.getSbn()); in testEventDispatchedWhenNotifUpdated()
327 assertEquals(notif2.ranking, entry.getRanking()); in testEventDispatchedWhenNotifUpdated()
489 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE2, 8) in testRankingUpdateIsProperlyIssuedToEveryone() local
495 NotificationEntry entry2 = mCollectionListener.getEntry(notif2.key); in testRankingUpdateIsProperlyIssuedToEveryone()
503 Ranking newRanking2 = new RankingBuilder(notif2.ranking) in testRankingUpdateIsProperlyIssuedToEveryone()
517 mNoMan.setRanking(notif2.sbn.getKey(), newRanking2); in testRankingUpdateIsProperlyIssuedToEveryone()
550 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE2, 88, "barTag")); in testDismissNotificationSentToSystemServer() local
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java7443 final NotificationRecord notif2 = generateNotificationRecord( in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast() local
7446 mService.addNotification(notif2); in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast()
7466 final NotificationRecord notif2 = generateNotificationRecord( in testNoNotificationsHiddenOnSuspendedPackageBroadcast() local
7469 mService.addNotification(notif2); in testNoNotificationsHiddenOnSuspendedPackageBroadcast()
7483 final NotificationRecord notif2 = generateNotificationRecord( in testNotificationFromDifferentUserHidden() local
7486 mService.addNotification(notif2); in testNotificationFromDifferentUserHidden()
10816 NotificationRecord notif2 = mService.getNotificationRecord(
10818 assertNull(notif2.getShortcutInfo());
10819 assertFalse(notif2.getNotification().isBubbleNotification());