Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java111 @Spy private RecordingCollectionListener mCollectionListener; field in NotifCollectionTest
147 mListenerInOrder = inOrder(mCollectionListener); in setUp()
157 mCollection.addCollectionListener(mCollectionListener); in setUp()
179 final NotificationEntry entry = mCollectionListener.getEntry(notif1.key); in testEventDispatchedWhenNotifPosted()
181 mListenerInOrder.verify(mCollectionListener).onEntryInit(entry); in testEventDispatchedWhenNotifPosted()
182 mListenerInOrder.verify(mCollectionListener).onEntryAdded(entry); in testEventDispatchedWhenNotifPosted()
183 mListenerInOrder.verify(mCollectionListener).onRankingApplied(); in testEventDispatchedWhenNotifPosted()
197 clearInvocations(mCollectionListener); in testEventDispatchedWhenNotifBatchPosted()
220 verify(mCollectionListener, times(2)).onEntryAdded(mEntryCaptor.capture()); in testEventDispatchedWhenNotifBatchPosted()
231 verify(mCollectionListener).onEntryUpdated(mEntryCaptor.capture()); in testEventDispatchedWhenNotifBatchPosted()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinatorTest.java68 private NotifCollectionListener mCollectionListener; field in PreparationCoordinatorTest
108 mCollectionListener = mCollectionListenerCaptor.getValue(); in setUp()
114 mCollectionListener.onEntryInit(mEntry); in setUp()
145 mCollectionListener.onEntryAdded(mEntry); in testInflatesNewNotification()
158 mCollectionListener.onEntryAdded(mEntry); in testRebindsInflatedNotificationsOnUpdate()
164 mCollectionListener.onEntryUpdated(mEntry); in testRebindsInflatedNotificationsOnUpdate()
177 mCollectionListener.onEntryAdded(mEntry); in testDoesntFilterInflatedNotifs()
204 mCollectionListener.onEntryInit(summary); in testCutoffGroupChildrenNotInflated()
206 mCollectionListener.onEntryInit(entry); in testCutoffGroupChildrenNotInflated()
209 mCollectionListener.onEntryAdded(summary); in testCutoffGroupChildrenNotInflated()
[all …]
DHeadsUpCoordinatorTest.java63 private NotifCollectionListener mCollectionListener; field in HeadsUpCoordinatorTest
109 mCollectionListener = notifCollectionCaptor.getValue(); in setUp()
186 mCollectionListener.onEntryAdded(mEntry); in testShowHUNOnInflationFinished()
201 mCollectionListener.onEntryAdded(mEntry); in testNoHUNOnInflationFinished()
215 mCollectionListener.onEntryRemoved(mEntry, /* cancellation reason */ 0); in testOnEntryRemovedRemovesHeadsUpNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotifRemoteViewCacheImpl.java43 collection.addCollectionListener(mCollectionListener); in NotifRemoteViewCacheImpl()
95 private final NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in NotifRemoteViewCacheImpl
DNotifBindPipeline.java93 collection.addCollectionListener(mCollectionListener); in NotifBindPipeline()
210 private final NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in NotifBindPipeline
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DHeadsUpController.java79 entryManager.addCollectionListener(mCollectionListener); in attach()
83 private NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in HeadsUpController