Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java171 when(mFsc.isSystemAlertWarningNeeded(anyInt(), anyString())).thenReturn(false); in testSuppressSystemAlertNotification()
188 when(mFsc.isSystemAlertWarningNeeded(anyInt(), anyString())).thenReturn(true); in testDoNotSuppressSystemAlertNotification()
193 when(mFsc.isSystemAlertWarningNeeded(anyInt(), anyString())).thenReturn(true); in testDoNotSuppressSystemAlertNotification()
198 when(mFsc.isSystemAlertWarningNeeded(anyInt(), anyString())).thenReturn(false); in testDoNotSuppressSystemAlertNotification()
206 when(mFsc.isSystemAlertWarningNeeded(anyInt(), anyString())).thenReturn(true); in testDoNotSuppressMalformedSystemAlertNotification()
224 when(mFsc.isSystemAlertWarningNeeded(anyInt(), anyString())).thenReturn(false); in testShouldFilterHiddenNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java412 assertFalse(mFsc.isSystemAlertWarningNeeded(USERID_ONE, "any")); in testNoNotifsNorAppOps_noSystemAlertWarningRequired()
427 assertTrue(mFsc.isSystemAlertWarningNeeded(USERID_ONE, pkg)); in testCustomLayouts_systemAlertWarningRequired()
444 assertFalse(mFsc.isSystemAlertWarningNeeded(USERID_ONE, pkg)); in testStandardLayoutExists_noSystemAlertWarningRequired()
462 assertTrue(mFsc.isSystemAlertWarningNeeded(USERID_ONE, pkg)); in testStandardLayoutRemoved_systemAlertWarningRequired()
478 assertTrue(mFsc.isSystemAlertWarningNeeded(USERID_ONE, pkg)); in testStandardLayoutUpdatedToCustomLayout_systemAlertWarningRequired()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java138 if (!getFsc().isSystemAlertWarningNeeded(sbn.getUserId(), apps[0])) { in shouldFilterOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java81 public boolean isSystemAlertWarningNeeded(int userId, String pkg) { in isSystemAlertWarningNeeded() method in ForegroundServiceController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DAppOpsCoordinator.java110 if (!mForegroundServiceController.isSystemAlertWarningNeeded(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DAppOpsCoordinatorTest.java155 when(mForegroundServiceController.isSystemAlertWarningNeeded(sbn.getUserId(), TEST_PKG)) in filterTest_systemAlertNotificationUnnecessary()