Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DConversationCoordinatorTest.kt117 assertTrue(promoter.shouldPromoteToTopLevel(entry))
118 assertFalse(promoter.shouldPromoteToTopLevel(NotificationEntryBuilder().build()))
131 assertTrue(promoter.shouldPromoteToTopLevel(entry))
132 assertFalse(promoter.shouldPromoteToTopLevel(altChildA))
133 assertFalse(promoter.shouldPromoteToTopLevel(altChildB))
H A DHeadsUpCoordinatorTest.kt304 assertTrue(notifPromoter.shouldPromoteToTopLevel(entry))
319 assertTrue(notifPromoter.shouldPromoteToTopLevel(entry))
328 assertTrue(notifPromoter.shouldPromoteToTopLevel(entry))
329 assertFalse(notifPromoter.shouldPromoteToTopLevel(NotificationEntryBuilder()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
H A DNotifPromoter.java41 public abstract boolean shouldPromoteToTopLevel(NotificationEntry child); in shouldPromoteToTopLevel() method in NotifPromoter
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DShadeListBuilderTest.java638 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifsArePromoted()
639 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(2)); in testNotifsArePromoted()
640 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifsArePromoted()
641 verify(promoter).shouldPromoteToTopLevel(mEntrySet.get(4)); in testNotifsArePromoted()
679 verify(promoter1).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifPromotersCanBePreempted()
680 verify(promoter1).shouldPromoteToTopLevel(mEntrySet.get(2)); in testNotifPromotersCanBePreempted()
681 verify(promoter1).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifPromotersCanBePreempted()
683 verify(promoter2).shouldPromoteToTopLevel(mEntrySet.get(1)); in testNotifPromotersCanBePreempted()
684 verify(promoter2).shouldPromoteToTopLevel(mEntrySet.get(3)); in testNotifPromotersCanBePreempted()
1003 .shouldPromoteToTopLevel(any(NotificationEntry.class)); in testListenersAndPluggablesAreFiredInOrder()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DConversationCoordinator.kt71 override fun shouldPromoteToTopLevel(entry: NotificationEntry): Boolean {
H A DHeadsUpCoordinator.kt680 override fun shouldPromoteToTopLevel(entry: NotificationEntry): Boolean =
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DShadeListBuilder.java1311 if (promoter.shouldPromoteToTopLevel(entry)) { in findPromoter()