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.java74 private NotificationFilter mNotificationFilter; field in NotificationFilterTest
99 mNotificationFilter = new NotificationFilter(); in setUp()
146 assertTrue(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testSuppressSystemAlertNotification()
159 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
164 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
169 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
177 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
185 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
199 assertTrue(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
204 assertFalse(mNotificationFilter.shouldFilterOut(entry)); in testShouldFilterHiddenNotifications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java58 private final NotificationFilter mNotificationFilter = Dependency.get(NotificationFilter.class); field in NotificationInterruptionStateProvider
317 if (mNotificationFilter.shouldFilterOut(entry)) { in canAlertCommon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java164 private NotificationFilter mNotificationFilter; field in StatusBarTest
201 mDependency.injectTestDependency(NotificationFilter.class, mNotificationFilter); in setup()
415 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
436 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
457 when(mNotificationFilter.shouldFilterOut(any())).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
475 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.java277 @Inject Lazy<NotificationFilter> mNotificationFilter; field in Dependency
460 mProviders.put(NotificationFilter.class, mNotificationFilter::get); in start()