Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt178 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java77 boolean userAllowsPrivateNotificationsInPublic(int currentUserId); in userAllowsPrivateNotificationsInPublic() method
DNotificationLockscreenUserManagerImpl.java552 public boolean userAllowsPrivateNotificationsInPublic(int userHandle) { in userAllowsPrivateNotificationsInPublic() method in NotificationLockscreenUserManagerImpl
580 if (!userAllowsPrivateNotificationsInPublic( in allowsManagedPrivateNotificationsInPublic()
655 !userAllowsPrivateNotificationsInPublic(mCurrentUserId); in needsRedaction()
657 boolean isNotifUserRedacted = !userAllowsPrivateNotificationsInPublic(userId); in needsRedaction()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java308 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinator.kt117 !lockscreenUserManager.userAllowsPrivateNotificationsInPublic(currentUserId)) || in bindCoordinator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerTest.kt130 whenever(lockScreenUserManager.userAllowsPrivateNotificationsInPublic(anyInt())) in setup()