Home
last modified time | relevance | path

Searched refs:shouldFilterOut (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSmartspaceDedupingCoordinatorTest.kt160 assertTrue(filter.shouldFilterOut(entry2HasNotRecentlyAlerted, now)) in testBasicFiltering()
161 assertFalse(filter.shouldFilterOut(entry3NotAssociatedWithTarget, now)) in testBasicFiltering()
162 assertFalse(filter.shouldFilterOut(entry4HasNotRecentlyAlerted, now)) in testBasicFiltering()
176 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, now)) in testDoNotFilterRecentlyAlertedNotifs()
177 assertFalse(filter.shouldFilterOut(entry2HasNotRecentlyAlerted, now)) in testDoNotFilterRecentlyAlertedNotifs()
194 assertTrue(filter.shouldFilterOut(entryOldAlert, now)) in testFilterAlertedButNotRecentNotifs()
221 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, now)) in testExceptionIsEventuallyFiltered()
227 assertTrue(filter.shouldFilterOut(entry1HasRecentlyAlerted, clock.uptimeMillis())) in testExceptionIsEventuallyFiltered()
236 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, clock.uptimeMillis())) in testExceptionIsUpdated()
243 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, clock.uptimeMillis())) in testExceptionIsUpdated()
[all …]
DMediaCoordinatorTest.java98 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenDisabled()
108 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenEnabled()
118 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenDisabled()
128 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenEnabled()
138 mFilter.shouldFilterOut(mOtherEntry, 0); in inflateNotificationIconsMediaDisabled()
147 mFilter.shouldFilterOut(mOtherEntry, 0); in inflateNotificationIconsMediaEnabled()
156 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaDisabled()
170 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaEnabled_old()
174 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaEnabled_old()
184 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaEnabled_old()
[all …]
DPreparationCoordinatorTest.java198 assertTrue(mInflationErrorFilter.shouldFilterOut(mEntry, 0)); in testFiltersOutErroredNotifications()
211 assertTrue(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testInflatesNewNotification()
230 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testRebindsInflatedNotificationsOnUpdate()
249 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testEntrySmartReplyAdditionWillRebindViews()
270 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testEntryChangedToMinimizedSectionWillRebindViews()
292 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testMinimizedEntryMovedIntoGroupWillRebindViews()
311 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testEntryRankChangeWillNotRebindViews()
347 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testEntryCancellationWillRebindViews()
359 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testDoesntFilterInflatedNotifs()
423 assertTrue(mUninflatedFilter.shouldFilterOut(child0, 401)); in testPartiallyInflatedGroupsAreFilteredOut()
[all …]
DKeyguardCoordinatorTest.kt111 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isTrue() in unseenFilterSuppressesSeenNotifWhileKeyguardShowing()
118 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isFalse() in unseenFilterSuppressesSeenNotifWhileKeyguardShowing()
174 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isTrue() in unseenFilter_headsUpMarkedAsSeen()
186 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isFalse() in unseenFilter_headsUpMarkedAsSeen()
207 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isFalse() in unseenFilterDoesNotSuppressSeenOngoingNotifWhileKeyguardShowing()
231 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isFalse() in unseenFilterDoesNotSuppressSeenMediaNotifWhileKeyguardShowing()
249 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isTrue() in unseenFilterUpdatesSeenProviderWhenSuppressing()
281 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isFalse() in unseenFilterInvalidatesWhenSettingChanges()
290 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isTrue() in unseenFilterInvalidatesWhenSettingChanges()
304 assertThat(unseenFilter.shouldFilterOut(fakeEntry, 0L)).isFalse() in unseenFilterAllowsNewNotif()
[all …]
DDreamCoordinatorTest.kt101 assertThat(filter.shouldFilterOut(fakeEntry, 0L)).isFalse() in hideNotifications_whenDreamingAndOnKeyguard()
109 assertThat(filter.shouldFilterOut(fakeEntry, 0L)).isTrue() in hideNotifications_whenDreamingAndOnKeyguard()
123 assertThat(filter.shouldFilterOut(fakeEntry, 0L)).isTrue() in showNotifications_whenDreamingAndNotOnKeyguard()
130 assertThat(filter.shouldFilterOut(fakeEntry, 0L)).isFalse() in showNotifications_whenDreamingAndNotOnKeyguard()
144 assertThat(filter.shouldFilterOut(fakeEntry, 0L)).isTrue() in showNotifications_whenOnKeyguardAndNotDreaming()
152 assertThat(filter.shouldFilterOut(fakeEntry, 0L)).isFalse() in showNotifications_whenOnKeyguardAndNotDreaming()
DDeviceProvisionedCoordinatorTest.java97 assertFalse(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceProvisioned()
106 assertTrue(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisioned()
120 assertFalse(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisionedCanBypass()
133 assertTrue(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisionedTryBypassWithoutPermission()
DRankingCoordinatorTest.java147 assertFalse(mCapturedSuspendedFilter.shouldFilterOut(mEntry, 0)); in testUnfilteredState()
158 assertTrue(mCapturedSuspendedFilter.shouldFilterOut(mEntry, 0)); in filterSuspended()
172 assertTrue(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient()
178 assertFalse(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient()
185 assertTrue(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient()
199 assertFalse(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressNotificationList()
205 assertTrue(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressNotificationList()
DHideNotifsForOtherUsersCoordinatorTest.java88 assertTrue(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testFilterOutNotifsFromOtherProfiles()
97 assertFalse(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testPreserveNotifsFromThisProfile()
DSensitiveContentCoordinatorTest.kt146 assertFalse(filter.shouldFilterOut(defaultNotification, 0)) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
147 assertFalse(filter.shouldFilterOut(notificationWithSecretVisibility, 0)) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
148 assertFalse(filter.shouldFilterOut(notificationOnSecretChannel, 0)) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
163 assertFalse(filter.shouldFilterOut(defaultNotification, 0)) in screenshareSecretFilter_sensitiveActive_filtersSecret()
164 assertTrue(filter.shouldFilterOut(notificationWithSecretVisibility, 0)) in screenshareSecretFilter_sensitiveActive_filtersSecret()
165 assertTrue(filter.shouldFilterOut(notificationOnSecretChannel, 0)) in screenshareSecretFilter_sensitiveActive_filtersSecret()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDebugModeCoordinator.kt38 override fun shouldFilterOut(entry: NotificationEntry, now: Long) = method in com.android.systemui.statusbar.notification.collection.coordinator.DebugModeCoordinator
39 debugModeFilterProvider.shouldFilterOut(entry)
DHideLocallyDismissedNotifsCoordinator.java45 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DRankingCoordinator.java175 public boolean shouldFilterOut(NotificationEntry entry, long now) {
183 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DDeviceProvisionedCoordinator.java60 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DHideNotifsForOtherUsersCoordinator.java59 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DDreamCoordinator.kt57 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.DreamCoordinator
DBubbleCoordinator.java87 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DMediaCoordinator.java59 public boolean shouldFilterOut(@NonNull NotificationEntry entry, long now) {
DSensitiveContentCoordinator.kt76 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in bindCoordinator() method in com.android.systemui.statusbar.notification.collection.coordinator.SensitiveContentCoordinatorImpl
DSmartspaceDedupingCoordinator.kt71 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.SmartspaceDedupingCoordinator
DPreparationCoordinator.java202 public boolean shouldFilterOut(NotificationEntry entry, long now) {
215 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DKeyguardCoordinator.kt450 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
476 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java488 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(0)), anyLong()); in testPreGroupNotifsAreFiltered()
489 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(1)), anyLong()); in testPreGroupNotifsAreFiltered()
490 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(2)), anyLong()); in testPreGroupNotifsAreFiltered()
491 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(3)), anyLong()); in testPreGroupNotifsAreFiltered()
494 verify(preRenderFilter).shouldFilterOut(eq(mEntrySet.get(0)), anyLong()); in testPreGroupNotifsAreFiltered()
495 verify(preRenderFilter, never()).shouldFilterOut(eq(mEntrySet.get(1)), anyLong()); in testPreGroupNotifsAreFiltered()
496 verify(preRenderFilter).shouldFilterOut(eq(mEntrySet.get(2)), anyLong()); in testPreGroupNotifsAreFiltered()
497 verify(preRenderFilter, never()).shouldFilterOut(eq(mEntrySet.get(3)), anyLong()); in testPreGroupNotifsAreFiltered()
524 verify(filter1).shouldFilterOut(eq(mEntrySet.get(0)), anyLong()); in testPreRenderNotifsAreFiltered()
525 verify(filter1).shouldFilterOut(eq(mEntrySet.get(1)), anyLong()); in testPreRenderNotifsAreFiltered()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifFilter.java50 public abstract boolean shouldFilterOut(@NonNull NotificationEntry entry, long now); in shouldFilterOut() method in NotifFilter
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DDebugModeFilterProvider.kt85 fun shouldFilterOut(entry: NotificationEntry): Boolean { in shouldFilterOut() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java241 public static boolean shouldFilterOut( in shouldFilterOut() method in NotificationHelper

12