Searched refs:userAllowsNotificationsInPublic (Results 1 – 7 of 7) sorted by relevance
548 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 …]
83 boolean userAllowsNotificationsInPublic(int userId); in userAllowsNotificationsInPublic() method
622 public boolean userAllowsNotificationsInPublic(int userHandle) { in userAllowsNotificationsInPublic() method in NotificationLockscreenUserManagerImpl
80 return mLockscreenUserManager.userAllowsNotificationsInPublic( in isDynamicPrivacyEnabled()
122 when(mLockScreenUserManager.userAllowsNotificationsInPublic(anyInt())).thenReturn(allow); in allowNotificationsInPublic()
439 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()
226 else -> !lockscreenUserManager.userAllowsNotificationsInPublic(user) in userSettingsDisallowNotification()