Home
last modified time | relevance | path

Searched refs:userAllowsNotificationsInPublic (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java548 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mCurrentUser.id)); in testDevicePolicyDoesNotAllowNotifications()
570 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mCurrentUser.id)); in testDevicePolicyDoesNotAllowNotifications_deviceOwnerSetsForUserAll()
571 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mSecondaryUser.id)); in testDevicePolicyDoesNotAllowNotifications_deviceOwnerSetsForUserAll()
590 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(USER_ALL)); in testDevicePolicyDoesNotAllowNotifications_userAll()
610 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mSecondaryUser.id)); in testDevicePolicyDoesNotAllowNotifications_secondary()
728 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mCurrentUser.id)); in testHideNotifications_primary()
736 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mSecondaryUser.id)); in testHideNotifications_secondary()
746 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mWorkUser.id)); in testHideNotifications_workProfile()
756 assertFalse(mLockscreenUserManager.userAllowsNotificationsInPublic(mSecondaryUser.id)); in testHideNotifications_secondary_userSwitch()
766 assertTrue(mLockscreenUserManager.userAllowsNotificationsInPublic(mSecondaryUser.id)); in testShowNotifications_secondary_userSwitch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java83 boolean userAllowsNotificationsInPublic(int userId); in userAllowsNotificationsInPublic() method
DNotificationLockscreenUserManagerImpl.java622 public boolean userAllowsNotificationsInPublic(int userHandle) { in userAllowsNotificationsInPublic() method in NotificationLockscreenUserManagerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java80 return mLockscreenUserManager.userAllowsNotificationsInPublic( in isDynamicPrivacyEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyControllerTest.java122 when(mLockScreenUserManager.userAllowsNotificationsInPublic(anyInt())).thenReturn(allow); in allowNotificationsInPublic()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProviderTest.java439 when(mLockscreenUserManager.userAllowsNotificationsInPublic(NOTIF_USER_ID)) in publicMode_settingsDisallow()
686 when(mLockscreenUserManager.userAllowsNotificationsInPublic(CURR_USER_ID)).thenReturn(true); in setupUnfilteredState()
687 when(mLockscreenUserManager.userAllowsNotificationsInPublic(NOTIF_USER_ID)) in setupUnfilteredState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProvider.kt226 else -> !lockscreenUserManager.userAllowsNotificationsInPublic(user) in userSettingsDisallowNotification()