Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifEvent.kt31 sealed class NotifEvent { class
44 ) : NotifEvent() { in dispatchToListener()
52 ) : NotifEvent() {
60 ) : NotifEvent() {
68 ) : NotifEvent() {
77 ) : NotifEvent() {
85 ) : NotifEvent() {
93 ) : NotifEvent() {
99 class RankingAppliedEvent() : NotifEvent() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java40 import com.android.systemui.statusbar.notification.collection.NoManSimulator.NotifEvent;
95 NotifEvent notif1 = mNoMan.postNotif( in testUngroupedNotificationsAreNotCoalesced()
111 NotifEvent notif1 = mNoMan.postNotif( in testGroupedNotificationsAreCoalesced()
129 NotifEvent notif1 = mNoMan.postNotif( in testCoalescedNotificationsStillPassThroughRankingUpdate()
142 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted()
149 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted()
157 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted()
181 NotifEvent notif1a = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
186 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
190 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java72 import com.android.systemui.statusbar.notification.collection.NoManSimulator.NotifEvent;
174 NotifEvent notif1 = mNoMan.postNotif( in testEventDispatchedWhenNotifPosted()
251 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifUpdated()
271 NotifEvent notif = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 47)); in testEventDispatchedWhenNotifRemoved()
290 NotifEvent notif1 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testRankingsAreUpdatedForOtherNotifs()
307 NotifEvent notif1 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testRankingUpdateIsProperlyIssuedToEveryone()
309 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE2, 8) in testRankingUpdateIsProperlyIssuedToEveryone()
311 NotifEvent notif3 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 77) in testRankingUpdateIsProperlyIssuedToEveryone()
354 NotifEvent notif1 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3)); in testNotifEntriesAreNotPersistedAcrossRemovalAndReposting()
369 NotifEvent notif1 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 47, "myTag")); in testDismissNotificationSentToSystemServer()
[all …]
DNoManSimulator.java49 public NotifEvent postNotif(NotificationEntryBuilder builder) { in postNotif()
56 return new NotifEvent(entry.getSbn(), entry.getRanking(), rankingMap); in postNotif()
59 public NotifEvent retractNotif(StatusBarNotification sbn, int reason) { in retractNotif()
65 return new NotifEvent(sbn, null, rankingMap); in retractNotif()
83 public static class NotifEvent { class in NoManSimulator
89 private NotifEvent( in NotifEvent() method in NoManSimulator.NotifEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java79 import com.android.systemui.statusbar.notification.collection.notifcollection.NotifEvent;
143 private Queue<NotifEvent> mEventQueue = new ArrayDeque<>();