Home
last modified time | relevance | path

Searched refs:shouldPromoteToTopLevel (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinatorTest.kt128 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifPromoter.java41 public abstract boolean shouldPromoteToTopLevel(NotificationEntry child); in shouldPromoteToTopLevel() method in NotifPromoter
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java635 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinator.kt74 override fun shouldPromoteToTopLevel(entry: NotificationEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinator
DKeyguardCoordinator.kt387 override fun shouldPromoteToTopLevel(child: NotificationEntry): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
DHeadsUpCoordinator.kt686 override fun shouldPromoteToTopLevel(entry: NotificationEntry): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.HeadsUpCoordinator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.kt304 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>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java1312 if (promoter.shouldPromoteToTopLevel(entry)) { in findPromoter()