Home
last modified time | relevance | path

Searched refs:NotifEvent (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifEvent.kt35 sealed class NotifEvent(private val traceName: String) { class
48 ) : NotifEvent("onEntryBind") { in dispatchToListener()
56 ) : NotifEvent("onEntryInit") {
64 ) : NotifEvent("onEntryAdded") {
73 ) : NotifEvent(if (fromSystem) "onEntryUpdated" else "onEntryUpdated fromSystem=true") {
82 ) : NotifEvent("onEntryRemoved ${cancellationReasonDebugString(reason)}") {
90 ) : NotifEvent("onEntryCleanUp") {
98 ) : NotifEvent("onRankingUpdate") {
104 class RankingAppliedEvent : NotifEvent("onRankingApplied") {
115 ) : NotifEvent("onNotificationChannelModified") {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java42 import com.android.systemui.statusbar.notification.collection.NoManSimulator.NotifEvent;
96 NotifEvent notif1 = mNoMan.postNotif( in testUngroupedNotificationsAreNotCoalesced()
112 NotifEvent notif1 = mNoMan.postNotif( in testGroupedNotificationsAreCoalesced()
130 NotifEvent notif1 = mNoMan.postNotif( in testCoalescedNotificationsStillPassThroughRankingUpdate()
143 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted()
150 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted()
158 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted()
182 NotifEvent notif1a = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
187 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
191 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java51 public NotifEvent postNotif(NotificationEntryBuilder builder) { in postNotif()
58 return new NotifEvent(entry.getSbn(), entry.getRanking(), rankingMap); in postNotif()
61 public NotifEvent retractNotif(StatusBarNotification sbn, int reason) { in retractNotif()
67 return new NotifEvent(sbn, null, rankingMap); in retractNotif()
97 public static class NotifEvent { class in NoManSimulator
103 private NotifEvent( in NotifEvent() method in NoManSimulator.NotifEvent
DNotifCollectionTest.java85 import com.android.systemui.statusbar.notification.collection.NoManSimulator.NotifEvent;
198 NotifEvent summary = mNoMan.postNotif(entryBuilder); in testGetGroupSummary()
210 NotifEvent notif1 = mNoMan.postNotif(entryBuilder); in testIsOnlyChildInGroup()
230 NotifEvent notif1 = mNoMan.postNotif( in testEventDispatchedWhenNotifPosted()
248 NotifEvent notif = mNoMan.postNotif(buildNotif(TEST_PACKAGE2, 88, "barTag")); in testCancelNonExistingNotification()
316 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifUpdated()
336 NotifEvent notif = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 47)); in testEventDispatchedWhenNotifRemoved()
362 NotifEvent notif = mNoMan.postNotif(neb); in testEventDispatchedWhenChannelChanged()
393 final NotifEvent notif = mNoMan.postNotif(neb); in testScheduleBuildNotificationListWhenChannelChanged()
447 final NotifEvent notif = mNoMan.postNotif(neb); in testBuildNotificationListWhenChannelChanged()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java118 import com.android.systemui.statusbar.notification.collection.NoManSimulator.NotifEvent;
425 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateAppWidgetIfNoWidgets()
446 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateAppWidgetIfNoShortcutInfo()
467 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateAppWidgetIfNoPackage()
535 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationPostedIfDifferentShortcutId()
554 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationPostedIfDifferentPackageName()
570 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationRemovedIfDifferentShortcutId()
574 NotifEvent notif1b = mNoMan.retractNotif(notif1.sbn, 0); in testDoNotUpdateNotificationRemovedIfDifferentShortcutId()
591 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationRemovedIfDifferentPackageName()
595 NotifEvent notif1b = mNoMan.retractNotif(notif1.sbn, 0); in testDoNotUpdateNotificationRemovedIfDifferentPackageName()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java96 import com.android.systemui.statusbar.notification.collection.notifcollection.NotifEvent;
171 private Queue<NotifEvent> mEventQueue = new ArrayDeque<>();