/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SmartspaceDedupingCoordinatorTest.kt | 160 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 …]
|
D | MediaCoordinatorTest.java | 98 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 …]
|
D | PreparationCoordinatorTest.java | 198 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 …]
|
D | KeyguardCoordinatorTest.kt | 111 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 …]
|
D | DreamCoordinatorTest.kt | 101 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()
|
D | DeviceProvisionedCoordinatorTest.java | 97 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()
|
D | RankingCoordinatorTest.java | 147 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()
|
D | HideNotifsForOtherUsersCoordinatorTest.java | 88 assertTrue(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testFilterOutNotifsFromOtherProfiles() 97 assertFalse(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testPreserveNotifsFromThisProfile()
|
D | SensitiveContentCoordinatorTest.kt | 146 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/ |
D | DebugModeCoordinator.kt | 38 override fun shouldFilterOut(entry: NotificationEntry, now: Long) = method in com.android.systemui.statusbar.notification.collection.coordinator.DebugModeCoordinator 39 debugModeFilterProvider.shouldFilterOut(entry)
|
D | HideLocallyDismissedNotifsCoordinator.java | 45 public boolean shouldFilterOut(NotificationEntry entry, long now) {
|
D | RankingCoordinator.java | 175 public boolean shouldFilterOut(NotificationEntry entry, long now) { 183 public boolean shouldFilterOut(NotificationEntry entry, long now) {
|
D | DeviceProvisionedCoordinator.java | 60 public boolean shouldFilterOut(NotificationEntry entry, long now) {
|
D | HideNotifsForOtherUsersCoordinator.java | 59 public boolean shouldFilterOut(NotificationEntry entry, long now) {
|
D | DreamCoordinator.kt | 57 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.DreamCoordinator
|
D | BubbleCoordinator.java | 87 public boolean shouldFilterOut(NotificationEntry entry, long now) {
|
D | MediaCoordinator.java | 59 public boolean shouldFilterOut(@NonNull NotificationEntry entry, long now) {
|
D | SensitiveContentCoordinator.kt | 76 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in bindCoordinator() method in com.android.systemui.statusbar.notification.collection.coordinator.SensitiveContentCoordinatorImpl
|
D | SmartspaceDedupingCoordinator.kt | 71 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.SmartspaceDedupingCoordinator
|
D | PreparationCoordinator.java | 202 public boolean shouldFilterOut(NotificationEntry entry, long now) { 215 public boolean shouldFilterOut(NotificationEntry entry, long now) {
|
D | KeyguardCoordinator.kt | 450 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/ |
D | ShadeListBuilderTest.java | 488 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/ |
D | NotifFilter.java | 50 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/ |
D | DebugModeFilterProvider.kt | 85 fun shouldFilterOut(entry: NotificationEntry): Boolean { in shouldFilterOut() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | NotificationHelper.java | 241 public static boolean shouldFilterOut( in shouldFilterOut() method in NotificationHelper
|