Searched refs:notif2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 251 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifUpdated() local 255 final NotificationEntry entry = mCollectionListener.getEntry(notif2.key); in testEventDispatchedWhenNotifUpdated() 260 assertEquals(notif2.key, entry.getKey()); in testEventDispatchedWhenNotifUpdated() 261 assertEquals(notif2.sbn, entry.getSbn()); in testEventDispatchedWhenNotifUpdated() 262 assertEquals(notif2.ranking, entry.getRanking()); in testEventDispatchedWhenNotifUpdated() 309 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE2, 8) in testRankingUpdateIsProperlyIssuedToEveryone() local 315 NotificationEntry entry2 = mCollectionListener.getEntry(notif2.key); in testRankingUpdateIsProperlyIssuedToEveryone() 323 Ranking newRanking2 = new RankingBuilder(notif2.ranking) in testRankingUpdateIsProperlyIssuedToEveryone() 337 mNoMan.setRanking(notif2.sbn.getKey(), newRanking2); in testRankingUpdateIsProperlyIssuedToEveryone() 370 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE2, 88, "barTag")); in testDismissNotificationSentToSystemServer() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | GroupCoalescerTest.java | 149 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() local 172 new CoalescedEvent(notif2.key, 1, notif2.sbn, notif2.ranking, null), in testCoalescedNotificationsArePosted() 186 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() local 210 new CoalescedEvent(notif2.key, 1, notif2.sbn, notif2.ranking, null), in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() 296 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testRankingsAreUpdated() local 307 .setKey(notif2.key) in testRankingsAreUpdated() 311 mNoMan.setRanking(notif2.key, ranking2b); in testRankingsAreUpdated() 320 new CoalescedEvent(notif2.key, 1, notif2.sbn, ranking2b, null) in testRankingsAreUpdated() 333 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testMaxLingerDuration() local 363 new CoalescedEvent(notif2.key, 1, notif2.sbn, notif2.ranking, null), in testMaxLingerDuration()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 4319 final NotificationRecord notif2 = generateNotificationRecord( in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast() local 4322 mService.addNotification(notif2); in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast() 4342 final NotificationRecord notif2 = generateNotificationRecord( in testNoNotificationsHiddenOnSuspendedPackageBroadcast() local 4345 mService.addNotification(notif2); in testNoNotificationsHiddenOnSuspendedPackageBroadcast() 6243 NotificationRecord notif2 = mService.getNotificationRecord( in testNotificationBubbles_flagRemoved_whenShortcutRemoved() local 6245 assertNull(notif2.getShortcutInfo()); in testNotificationBubbles_flagRemoved_whenShortcutRemoved() 6246 assertFalse(notif2.getNotification().isBubbleNotification()); in testNotificationBubbles_flagRemoved_whenShortcutRemoved()
|