Searched refs:isSystemAlertWarningNeeded (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilterTest.java | 171 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/ |
D | ForegroundServiceControllerTest.java | 412 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/ |
D | NotificationFilter.java | 138 if (!getFsc().isSystemAlertWarningNeeded(sbn.getUserId(), apps[0])) { in shouldFilterOut()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServiceController.java | 81 public boolean isSystemAlertWarningNeeded(int userId, String pkg) { in isSystemAlertWarningNeeded() method in ForegroundServiceController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | AppOpsCoordinator.java | 110 if (!mForegroundServiceController.isSystemAlertWarningNeeded(
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | AppOpsCoordinatorTest.java | 155 when(mForegroundServiceController.isSystemAlertWarningNeeded(sbn.getUserId(), TEST_PKG)) in filterTest_systemAlertNotificationUnnecessary()
|