Searched refs:shouldFilterOut (Results 1 – 25 of 30) sorted by relevance
12
174 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 …]
102 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()
143 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 …]
93 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()
79 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()
98 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()
87 assertTrue(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testFilterOutNotifsFromOtherProfiles()96 assertFalse(mCapturedNotifFilter.shouldFilterOut(mEntry, 0)); in testPreserveNotifsFromThisProfile()
113 assertTrue(mForegroundFilter.shouldFilterOut(entry, 0)); in filterTest_disclosureUnnecessary()
411 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 …]
193 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()
110 public boolean shouldFilterOut(NotificationEntry entry, long now) {118 public boolean shouldFilterOut(NotificationEntry entry, long now) {
37 public boolean shouldFilterOut(NotificationEntry entry, long now) {
38 public boolean shouldFilterOut(NotificationEntry entry, long now) {
60 public boolean shouldFilterOut(NotificationEntry entry, long now) {
62 public boolean shouldFilterOut(NotificationEntry entry, long now) {
89 public boolean shouldFilterOut(NotificationEntry entry, long now) {
174 public boolean shouldFilterOut(NotificationEntry entry, long now) {187 public boolean shouldFilterOut(NotificationEntry entry, long now) {
90 public boolean shouldFilterOut(NotificationEntry entry, long now) {
81 override fun shouldFilterOut(entry: NotificationEntry, now: Long): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.SmartspaceDedupingCoordinator
98 public boolean shouldFilterOut(NotificationEntry entry, long now) {
50 public abstract boolean shouldFilterOut(@NonNull NotificationEntry entry, long now); in shouldFilterOut() method in NotifFilter
115 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()
70 public boolean shouldFilterOut(NotificationEntry entry) { in shouldFilterOut() method in NotificationFilter
601 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()
241 public static boolean shouldFilterOut( in shouldFilterOut() method in NotificationHelper