Home
last modified time | relevance | path

Searched refs:mNotificationFilter (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java86 private NotificationFilter mNotificationFilter; field in NotificationFilterTest
126 mNotificationFilter = new NotificationFilter(mStatusBarStateController, mMediaFeatureFlag); in setUp()
178 assertTrue(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testSuppressSystemAlertNotification()
191 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
196 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
201 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
209 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
217 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
233 assertTrue(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
239 assertFalse(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java78 NotificationFilter mNotificationFilter; field in NotificationInterruptStateProviderImplTest
100 mNotificationFilter, in setup()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java62 private final NotificationFilter mNotificationFilter; field in NotificationInterruptStateProviderImpl
90 mNotificationFilter = notificationFilter; in NotificationInterruptStateProviderImpl()
314 if (mNotificationFilter.shouldFilterOut(entry)) { in canAlertCommon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java194 @Mock private NotificationFilter mNotificationFilter; field in StatusBarTest
259 mDependency.injectTestDependency(NotificationFilter.class, mNotificationFilter); in setup()
269 mDreamManager, mAmbientDisplayConfiguration, mNotificationFilter, in setup()
562 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
586 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
610 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
631 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java288 @Inject Lazy<NotificationFilter> mNotificationFilter; field in Dependency
484 mProviders.put(NotificationFilter.class, mNotificationFilter::get); in start()