Searched refs:promoter (Results 1 – 5 of 5) sorted by relevance
49 var promoter: NotifPromoter? variable in com.android.systemui.statusbar.notification.collection.ListAttachState58 promoter = other.promoter in clone()67 promoter = null in reset()
183 void addPromoter(NotifPromoter promoter) { in addPromoter() argument187 mNotifPromoters.add(promoter); in addPromoter()188 promoter.setInvalidationListener(this::onPromoterInvalidated); in addPromoter()239 private void onPromoterInvalidated(NotifPromoter promoter) { in onPromoterInvalidated() argument242 mLogger.logPromoterInvalidated(promoter.getName(), mPipelineState.getState()); in onPromoterInvalidated()741 NotifPromoter promoter = findPromoter(entry); in applyTopLevelPromoters() local742 entry.getAttachState().setPromoter(promoter); in applyTopLevelPromoters()743 return promoter != null; in applyTopLevelPromoters()748 NotifPromoter promoter = mNotifPromoters.get(i); in findPromoter() local749 if (promoter.shouldPromoteToTopLevel(entry)) { in findPromoter()[all …]
141 public void addPromoter(NotifPromoter promoter) { in addPromoter() argument142 mShadeListBuilder.addPromoter(promoter); in addPromoter()
47 private var promoter: NotifPromoter? = null variable in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinatorTest65 promoter = notifPromoterCaptor.value in setUp()74 assertTrue(promoter!!.shouldPromoteToTopLevel(entry)) in testPromotesCurrentHUN()75 assertFalse(promoter!!.shouldPromoteToTopLevel(NotificationEntryBuilder().build())) in testPromotesCurrentHUN()
540 NotifPromoter promoter = spy(new IdPromoter(1, 2)); in testNotifsArePromoted() local541 mListBuilder.addPromoter(promoter); in testNotifsArePromoted()554 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifsArePromoted()555 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(2)); in testNotifsArePromoted()556 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifsArePromoted()557 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(4)); in testNotifsArePromoted()572 assertEquals(promoter, mEntrySet.get(2).getNotifPromoter()); in testNotifsArePromoted()573 assertEquals(promoter, mEntrySet.get(3).getNotifPromoter()); in testNotifsArePromoted()765 NotifPromoter promoter = spy(new IdPromoter(3)); in testListenersAndPluggablesAreFiredInOrder() local771 mListBuilder.addPromoter(promoter); in testListenersAndPluggablesAreFiredInOrder()[all …]