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.java130 @Spy private RecordingCollectionListener mCollectionListener; field in NotifCollectionTest
164 mListenerInOrder = inOrder(mCollectionListener); in setUp()
177 mCollection.addCollectionListener(mCollectionListener); in setUp()
235 final NotificationEntry entry = mCollectionListener.getEntry(notif1.key); in testEventDispatchedWhenNotifPosted()
237 mListenerInOrder.verify(mCollectionListener).onEntryInit(entry); in testEventDispatchedWhenNotifPosted()
238 mListenerInOrder.verify(mCollectionListener).onEntryAdded(entry); in testEventDispatchedWhenNotifPosted()
239 mListenerInOrder.verify(mCollectionListener).onRankingApplied(); in testEventDispatchedWhenNotifPosted()
249 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testCancelNonExistingNotification()
262 clearInvocations(mCollectionListener); in testEventDispatchedWhenNotifBatchPosted()
285 verify(mCollectionListener, times(2)).onEntryAdded(mEntryCaptor.capture()); in testEventDispatchedWhenNotifBatchPosted()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinatorTest.java94 private NotifCollectionListener mCollectionListener; field in PreparationCoordinatorTest
167 mCollectionListener = mCollectionListenerCaptor.getValue(); in setUp()
173 mCollectionListener.onEntryInit(mEntry); in setUp()
204 mCollectionListener.onEntryInit(mEntry); in testInflatesNewNotification()
217 mCollectionListener.onEntryInit(mEntry); in testRebindsInflatedNotificationsOnUpdate()
223 mCollectionListener.onEntryUpdated(mEntry); in testRebindsInflatedNotificationsOnUpdate()
236 mCollectionListener.onEntryInit(mEntry); in testEntrySmartReplyAdditionWillRebindViews()
255 mCollectionListener.onEntryInit(mEntry); in testEntryChangedToMinimizedSectionWillRebindViews()
277 mCollectionListener.onEntryInit(mEntry); in testMinimizedEntryMovedIntoGroupWillRebindViews()
298 mCollectionListener.onEntryInit(mEntry); in testEntryRankChangeWillNotRebindViews()
[all …]
/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.java89 collection.addCollectionListener(mCollectionListener); in NotifBindPipeline()
204 private final NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in NotifBindPipeline
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DMediaCoordinator.java72 private final NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in MediaCoordinator
168 pipeline.addCollectionListener(mCollectionListener); in attach()
DRemoteInputCoordinator.kt101 pipeline.addCollectionListener(mCollectionListener) in getLifetimeExtenders()
108 val mCollectionListener = object : NotifCollectionListener { constant