Searched refs:shouldPromoteToTopLevel (Results 1 – 8 of 8) sorted by relevance
128 assertTrue(promoter.shouldPromoteToTopLevel(makeEntryOfPeopleType(TYPE_IMPORTANT_PERSON))) in testPromotesImportantConversations()129 assertFalse(promoter.shouldPromoteToTopLevel(makeEntryOfPeopleType(TYPE_FULL_PERSON))) in testPromotesImportantConversations()130 assertFalse(promoter.shouldPromoteToTopLevel(makeEntryOfPeopleType(TYPE_PERSON))) in testPromotesImportantConversations()131 assertFalse(promoter.shouldPromoteToTopLevel(makeEntryOfPeopleType(TYPE_NON_PERSON))) in testPromotesImportantConversations()132 assertFalse(promoter.shouldPromoteToTopLevel(NotificationEntryBuilder().build())) in testPromotesImportantConversations()159 assertTrue(promoter.shouldPromoteToTopLevel(importantChild)) in testPromotedImportantConversationsMakesSummaryUnimportant()160 assertFalse(promoter.shouldPromoteToTopLevel(altChildA)) in testPromotedImportantConversationsMakesSummaryUnimportant()161 assertFalse(promoter.shouldPromoteToTopLevel(altChildB)) in testPromotedImportantConversationsMakesSummaryUnimportant()
41 public abstract boolean shouldPromoteToTopLevel(NotificationEntry child); in shouldPromoteToTopLevel() method in NotifPromoter
635 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifsArePromoted()636 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(2)); in testNotifsArePromoted()637 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifsArePromoted()638 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(4)); in testNotifsArePromoted()676 verify(promoter1).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifPromotersCanBePreempted()677 verify(promoter1).shouldPromoteToTopLevel(mEntrySet.get(2)); in testNotifPromotersCanBePreempted()678 verify(promoter1).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifPromotersCanBePreempted()680 verify(promoter2).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifPromotersCanBePreempted()681 verify(promoter2).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifPromotersCanBePreempted()1000 .shouldPromoteToTopLevel(any(NotificationEntry.class)); in testListenersAndPluggablesAreFiredInOrder()[all …]
74 override fun shouldPromoteToTopLevel(entry: NotificationEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinator
387 override fun shouldPromoteToTopLevel(child: NotificationEntry): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
686 override fun shouldPromoteToTopLevel(entry: NotificationEntry): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.HeadsUpCoordinator
304 assertTrue(notifPromoter.shouldPromoteToTopLevel(entry)) in <lambda>()319 assertTrue(notifPromoter.shouldPromoteToTopLevel(entry)) in <lambda>()328 assertTrue(notifPromoter.shouldPromoteToTopLevel(entry)) in <lambda>()329 assertFalse(notifPromoter.shouldPromoteToTopLevel(NotificationEntryBuilder() in <lambda>()
1312 if (promoter.shouldPromoteToTopLevel(entry)) { in findPromoter()