Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java75 private NotificationFilter mNotificationFilter; field in NotificationFilterTest
100 mNotificationFilter = new NotificationFilter(); in setUp()
147 assertTrue(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testSuppressSystemAlertNotification()
160 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
165 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
170 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
178 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
186 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
200 assertTrue(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
205 assertFalse(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java80 NotificationFilter mNotificationFilter; field in NotificationInterruptionStateProviderTest
103 mNotificationFilter, in setup()
119 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in ensureStateForAlertCommon()
224 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(true); in testCanAlertCommon_false_filteredOut()
371 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(true); in testShouldHeadsUp_false_alertCommonFalse()
541 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(true); in shouldBubbleUp_false_alertCommonFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java62 private final NotificationFilter mNotificationFilter; field in NotificationInterruptionStateProvider
106 mNotificationFilter = notificationFilter; in NotificationInterruptionStateProvider()
342 if (mNotificationFilter.shouldFilterOut(entry)) { in canAlertCommon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java166 private NotificationFilter mNotificationFilter; field in StatusBarTest
203 mDependency.injectTestDependency(NotificationFilter.class, mNotificationFilter); in setup()
213 mDreamManager, mAmbientDisplayConfiguration, mNotificationFilter, in setup()
413 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
434 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
455 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
473 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java48 private final NotificationFilter mNotificationFilter = Dependency.get(NotificationFilter.class); field in NotificationData
417 if (mNotificationFilter.shouldFilterOut(entry)) { in filterAndSort()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java270 @Inject Lazy<NotificationFilter> mNotificationFilter; field in Dependency
464 mProviders.put(NotificationFilter.class, mNotificationFilter::get); in start()