Searched refs:mCollectionListener (Results 1 – 6 of 6) sorted by relevance
111 @Spy private RecordingCollectionListener mCollectionListener; field in NotifCollectionTest147 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 …]
68 private NotifCollectionListener mCollectionListener; field in PreparationCoordinatorTest108 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 …]
63 private NotifCollectionListener mCollectionListener; field in HeadsUpCoordinatorTest109 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()
43 collection.addCollectionListener(mCollectionListener); in NotifRemoteViewCacheImpl()95 private final NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in NotifRemoteViewCacheImpl
93 collection.addCollectionListener(mCollectionListener); in NotifBindPipeline()210 private final NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in NotifBindPipeline
79 entryManager.addCollectionListener(mCollectionListener); in attach()83 private NotifCollectionListener mCollectionListener = new NotifCollectionListener() { field in HeadsUpController