Home
last modified time | relevance | path

Searched refs:isInSection (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinatorTest.kt119 assertTrue(sectioner.isInSection(makeEntryOfPeopleType(TYPE_IMPORTANT_PERSON))) in priorityPeopleSectionerClaimsOnlyImportantConversations()
120 assertFalse(sectioner.isInSection(makeEntryOfPeopleType(TYPE_FULL_PERSON))) in priorityPeopleSectionerClaimsOnlyImportantConversations()
121 assertFalse(sectioner.isInSection(makeEntryOfPeopleType(TYPE_PERSON))) in priorityPeopleSectionerClaimsOnlyImportantConversations()
122 assertFalse(sectioner.isInSection(makeEntryOfPeopleType(TYPE_NON_PERSON))) in priorityPeopleSectionerClaimsOnlyImportantConversations()
123 assertFalse(sectioner.isInSection(NotificationEntryBuilder().build())) in priorityPeopleSectionerClaimsOnlyImportantConversations()
174 assertThat(peopleAlertingSectioner.isInSection(alertingEntry)).isTrue() in testInAlertingPeopleSectionWhenTheImportanceIsAtLeastDefault()
184 assertThat(peopleAlertingSectioner.isInSection(silentEntry)).isTrue() in testInAlertingPeopleSectionWhenTheImportanceIsLowerThanDefault()
194 assertThat(peopleSilentSectioner.isInSection(silentEntry)).isTrue() in testInSilentPeopleSectionWhenTheImportanceIsLowerThanDefault()
198 assertThat(peopleAlertingSectioner.isInSection(silentEntry)).isFalse() in testInSilentPeopleSectionWhenTheImportanceIsLowerThanDefault()
210 assertThat(peopleSilentSectioner.isInSection(entry)).isFalse() in testNotInPeopleSection()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DColorizedFgsCoordinatorTest.java86 assertTrue(mFgsSection.isInSection(mEntryBuilder.build())); in testIncludeFGSInSection_importanceDefault()
99 assertFalse(mFgsSection.isInSection(mEntryBuilder.build())); in testDiscludeFGSInSection_importanceMin()
112 assertFalse(mFgsSection.isInSection(mEntryBuilder.build())); in testDiscludeNonFGSInSection()
124 assertTrue(mFgsSection.isInSection(mEntryBuilder.build())); in testIncludeCallInSection_importanceDefault()
136 assertFalse(mFgsSection.isInSection(mEntryBuilder.build())); in testDiscludeCallInSection_importanceMin()
DRankingCoordinatorTest.java214 assertTrue(mAlertingSectioner.isInSection(mEntry)); in testIncludeInSectionAlerting()
215 assertFalse(mSilentSectioner.isInSection(mEntry)); in testIncludeInSectionAlerting()
225 assertFalse(mAlertingSectioner.isInSection(mEntry)); in testIncludeInSectionSilent()
226 assertTrue(mSilentSectioner.isInSection(mEntry)); in testIncludeInSectionSilent()
307 assertTrue(current.isInSection(entry)); in assertInSection()
309 assertFalse(current.isInSection(entry)); in assertInSection()
DHeadsUpCoordinatorTest.kt340 assertTrue(notifSectioner.isInSection(entry)) in <lambda>()
341 assertFalse(notifSectioner.isInSection(NotificationEntryBuilder() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinator.kt88 override fun isInSection(entry: ListEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinator
95 override fun isInSection(entry: ListEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinator
114 override fun isInSection(entry: ListEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinator
DRankingCoordinator.java95 public boolean isInSection(ListEntry entry) {
113 public boolean isInSection(ListEntry entry) {
142 public boolean isInSection(ListEntry entry) {
DColorizedFgsCoordinator.java60 public boolean isInSection(ListEntry entry) {
DKeyguardCoordinator.kt397 override fun isInSection(entry: ListEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
407 override fun isInSection(entry: ListEntry): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
DHeadsUpCoordinator.kt691 override fun isInSection(entry: ListEntry): 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/
DShadeListBuilderTest.java788 verify(pkg1Sectioner).isInSection(mEntrySet.get(1)); in testNotifSections()
789 verify(pkg1Sectioner).isInSection(mEntrySet.get(2)); in testNotifSections()
790 verify(pkg1Sectioner).isInSection(mEntrySet.get(3)); in testNotifSections()
791 verify(pkg1Sectioner).isInSection(mEntrySet.get(7)); in testNotifSections()
792 verify(pkg1Sectioner).isInSection(mEntrySet.get(8)); in testNotifSections()
793 verify(pkg1Sectioner).isInSection(mEntrySet.get(9)); in testNotifSections()
794 verify(pkg1Sectioner).isInSection(mBuiltList.get(3)); in testNotifSections()
796 verify(pkg1Sectioner, never()).isInSection(mEntrySet.get(0)); in testNotifSections()
797 verify(pkg1Sectioner, never()).isInSection(mEntrySet.get(4)); in testNotifSections()
798 verify(pkg1Sectioner, never()).isInSection(mEntrySet.get(5)); in testNotifSections()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifSectioner.java55 public abstract boolean isInSection(ListEntry entry); in isInSection() method in NotifSectioner
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
DNodeSpecBuilderTest.kt409 override fun isInSection(entry: ListEntry?): Boolean { in buildSection() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java1357 if (section.getSectioner().isInSection(entry)) { in findSection()
1510 public boolean isInSection(ListEntry entry) {