Searched refs:userAllowsPrivateNotificationsInPublic (Results 1 – 6 of 6) sorted by relevance
178 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction()198 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_sensitiveActive()220 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_shouldProtectNotification()246 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifWouldNeedRedaction()266 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifWouldNeedRedaction_sensitiveActive()288 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifWouldNeedRedaction_shouldProtectNotification()314 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceLocked_userAllowsPublicNotifs()334 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceLocked_userAllowsPublicNotifs_sensitiveActive()356 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceLocked_userAllowsPublicNotifs_shouldProtectNotification()382 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(false) in onBeforeRenderList_deviceLocked_userDisallowsPublicNotifs_notifDoesNotNeedRedaction()[all …]
77 boolean userAllowsPrivateNotificationsInPublic(int currentUserId); in userAllowsPrivateNotificationsInPublic() method
552 public boolean userAllowsPrivateNotificationsInPublic(int userHandle) { in userAllowsPrivateNotificationsInPublic() method in NotificationLockscreenUserManagerImpl580 if (!userAllowsPrivateNotificationsInPublic( in allowsManagedPrivateNotificationsInPublic()655 !userAllowsPrivateNotificationsInPublic(mCurrentUserId); in needsRedaction()657 boolean isNotifUserRedacted = !userAllowsPrivateNotificationsInPublic(userId); in needsRedaction()
308 assertTrue(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUser.id)); in testLockScreenAllowPrivateNotificationsTrue()316 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUser.id)); in testLockScreenAllowPrivateNotificationsFalse()324 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mWorkUser.id)); in testLockScreenAllowsWorkPrivateNotificationsFalse()332 assertTrue(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mWorkUser.id)); in testLockScreenAllowsWorkPrivateNotificationsTrue()644 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUser.id)); in testKeyguardManager_noPrivateNotifications()645 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic( in testKeyguardManager_noPrivateNotifications()892 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(newUserId)); in testNewUserAdded()
117 !lockscreenUserManager.userAllowsPrivateNotificationsInPublic(currentUserId)) || in bindCoordinator()
130 whenever(lockScreenUserManager.userAllowsPrivateNotificationsInPublic(anyInt())) in setup()