Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSmartspaceDedupingCoordinatorTest.kt174 assertTrue(filter.shouldFilterOut(entry2HasNotRecentlyAlerted, now)) in testBasicFiltering()
175 assertFalse(filter.shouldFilterOut(entry3NotAssociatedWithTarget, now)) in testBasicFiltering()
176 assertFalse(filter.shouldFilterOut(entry4HasNotRecentlyAlerted, now)) in testBasicFiltering()
190 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, now)) in testDoNotFilterRecentlyAlertedNotifs()
191 assertFalse(filter.shouldFilterOut(entry2HasNotRecentlyAlerted, now)) in testDoNotFilterRecentlyAlertedNotifs()
208 assertTrue(filter.shouldFilterOut(entryOldAlert, now)) in testFilterAlertedButNotRecentNotifs()
235 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, now)) in testExceptionIsEventuallyFiltered()
241 assertTrue(filter.shouldFilterOut(entry1HasRecentlyAlerted, clock.uptimeMillis())) in testExceptionIsEventuallyFiltered()
250 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, clock.uptimeMillis())) in testExceptionIsUpdated()
257 assertFalse(filter.shouldFilterOut(entry1HasRecentlyAlerted, clock.uptimeMillis())) in testExceptionIsUpdated()
[all …]
DKeyguardCoordinatorTest.java102 assertFalse(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in unfilteredState()
112 assertFalse(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in keyguardNotShowing()
124 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in doNotShowLockscreenNotifications()
136 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in lockdown()
151 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in publicMode_settingsDisallow()
167 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in publicMode_notifDisallowed()
183 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in doesNotExceedThresholdToShow()
212 assertFalse(mKeyguardFilter.shouldFilterOut(entryWithParent, 0)); in summaryExceedsThresholdToShow()
221 assertTrue(mKeyguardFilter.shouldFilterOut(entryWithParent, 0)); in summaryExceedsThresholdToShow()
DPreparationCoordinatorTest.java143 assertTrue(mInflationErrorFilter.shouldFilterOut(mEntry, 0)); in testFiltersOutErroredNotifications()
156 assertTrue(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testInflatesNewNotification()
175 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testRebindsInflatedNotificationsOnUpdate()
187 assertFalse(mUninflatedFilter.shouldFilterOut(mEntry, 0)); in testDoesntFilterInflatedNotifs()
251 assertTrue(mUninflatedFilter.shouldFilterOut(child0, 401)); in testPartiallyInflatedGroupsAreFilteredOut()
274 assertTrue(mUninflatedFilter.shouldFilterOut(summary, 401)); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
275 assertTrue(mUninflatedFilter.shouldFilterOut(child0, 401)); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
276 assertTrue(mUninflatedFilter.shouldFilterOut(child1, 401)); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
300 assertFalse(mUninflatedFilter.shouldFilterOut(summary, 401)); in testCompletedInflatedGroupsAreReleased()
301 assertFalse(mUninflatedFilter.shouldFilterOut(child0, 401)); in testCompletedInflatedGroupsAreReleased()
[all …]
DRankingCoordinatorTest.java93 assertFalse(mCapturedSuspendedFilter.shouldFilterOut(mEntry, 0)); in testUnfilteredState()
104 assertTrue(mCapturedSuspendedFilter.shouldFilterOut(mEntry, 0)); in filterSuspended()
118 assertTrue(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient()
124 assertFalse(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient()
138 assertFalse(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressNotificationList()
144 assertTrue(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressNotificationList()
DMediaCoordinatorTest.java79 final boolean shouldFilter = filter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenDisabled()
91 final boolean shouldFilter = filter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenEnabled()
103 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenDisabled()
115 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenEnabled()
DDeviceProvisionedCoordinatorTest.java98 assertFalse(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceProvisioned()
107 assertTrue(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisioned()
125 assertFalse(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisionedCanBypass()
143 assertTrue(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisionedTryBypassWithoutPermission()
DHideNotifsForOtherUsersCoordinatorTest.java87 assertTrue(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testFilterOutNotifsFromOtherProfiles()
96 assertFalse(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testPreserveNotifsFromThisProfile()
DAppOpsCoordinatorTest.java113 assertTrue(mForegroundFilter.shouldFilterOut(entry, 0)); in filterTest_disclosureUnnecessary()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java411 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(0)), anyLong()); in testPreGroupNotifsAreFiltered()
412 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(1)), anyLong()); in testPreGroupNotifsAreFiltered()
413 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(2)), anyLong()); in testPreGroupNotifsAreFiltered()
414 verify(preGroupFilter).shouldFilterOut(eq(mEntrySet.get(3)), anyLong()); in testPreGroupNotifsAreFiltered()
417 verify(preRenderFilter).shouldFilterOut(eq(mEntrySet.get(0)), anyLong()); in testPreGroupNotifsAreFiltered()
418 verify(preRenderFilter, never()).shouldFilterOut(eq(mEntrySet.get(1)), anyLong()); in testPreGroupNotifsAreFiltered()
419 verify(preRenderFilter).shouldFilterOut(eq(mEntrySet.get(2)), anyLong()); in testPreGroupNotifsAreFiltered()
420 verify(preRenderFilter, never()).shouldFilterOut(eq(mEntrySet.get(3)), anyLong()); in testPreGroupNotifsAreFiltered()
447 verify(filter1).shouldFilterOut(eq(mEntrySet.get(0)), anyLong()); in testPreRenderNotifsAreFiltered()
448 verify(filter1).shouldFilterOut(eq(mEntrySet.get(1)), anyLong()); in testPreRenderNotifsAreFiltered()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java193 assertTrue(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
199 assertFalse(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
214 final boolean shouldFilter = filter.shouldFilterOut(otherEntry); in shouldFilterOtherNotificationWhenDisabled()
231 final boolean shouldFilter = filter.shouldFilterOut(otherEntry); in shouldFilterOtherNotificationWhenEnabled()
247 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry); in shouldFilterMediaNotificationWhenDisabled()
263 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry); in shouldFilterMediaNotificationWhenEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRankingCoordinator.java110 public boolean shouldFilterOut(NotificationEntry entry, long now) {
118 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DHideLocallyDismissedNotifsCoordinator.java37 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DMediaCoordinator.java38 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DHideNotifsForOtherUsersCoordinator.java60 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DDeviceProvisionedCoordinator.java62 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DAppOpsCoordinator.java89 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DPreparationCoordinator.java174 public boolean shouldFilterOut(NotificationEntry entry, long now) {
187 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DBubbleCoordinator.java90 public boolean shouldFilterOut(NotificationEntry entry, long now) {
DSmartspaceDedupingCoordinator.kt81 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.SmartspaceDedupingCoordinator
DKeyguardCoordinator.java98 public boolean shouldFilterOut(NotificationEntry entry, long now) {
/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/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java115 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in ensureStateForAlertCommon()
187 when(mNotificationFilter.shouldFilterOut(entry)).thenReturn(true); in testShouldNotHeadsUpAwake_flteredOut()
305 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(true); in testShouldNotHeadsUp_filtered()
472 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(true); in shouldNotBubbleUp_filteredOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java70 public boolean shouldFilterOut(NotificationEntry entry) { in shouldFilterOut() method in NotificationFilter
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java601 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
625 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
649 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
670 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java241 public static boolean shouldFilterOut( in shouldFilterOut() method in NotificationHelper

12