Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinatorTest.kt74 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true)
92 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true)
110 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true)
128 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(false)
146 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(false)
164 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(false)
182 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(false)
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerTest.java173 assertTrue(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUser.id)); in testLockScreenAllowPrivateNotificationsTrue()
181 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUser.id)); in testLockScreenAllowPrivateNotificationsFalse()
189 assertFalse(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mWorkUser.id)); in testLockScreenAllowsWorkPrivateNotificationsFalse()
197 assertTrue(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mWorkUser.id)); in testLockScreenAllowsWorkPrivateNotificationsTrue()
H A DLockscreenShadeTransitionControllerTest.kt114 whenever(lockScreenUserManager.userAllowsPrivateNotificationsInPublic(anyInt())).thenReturn(
193 whenever(lockScreenUserManager.userAllowsPrivateNotificationsInPublic(anyInt())).thenReturn(
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java84 boolean userAllowsPrivateNotificationsInPublic(int currentUserId); in userAllowsPrivateNotificationsInPublic() method
H A DNotificationLockscreenUserManagerImpl.java419 public boolean userAllowsPrivateNotificationsInPublic(int userHandle) { in userAllowsPrivateNotificationsInPublic() method in NotificationLockscreenUserManagerImpl
444 if (!userAllowsPrivateNotificationsInPublic( in allowsManagedPrivateNotificationsInPublic()
510 !userAllowsPrivateNotificationsInPublic(mCurrentUserId); in needsRedaction()
512 boolean isNotifUserRedacted = !userAllowsPrivateNotificationsInPublic(userId); in needsRedaction()
H A DNotificationViewHierarchyManager.java192 && !mLockscreenUserManager.userAllowsPrivateNotificationsInPublic( in updateNotificationViews()
H A DLockscreenShadeTransitionController.kt474 var fullShadeNeedsBouncer = (!lockScreenUserManager.userAllowsPrivateNotificationsInPublic(
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DDynamicPrivacyController.java83 return !mLockscreenUserManager.userAllowsPrivateNotificationsInPublic( in isDynamicPrivacyEnabled()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinator.kt67 !lockscreenUserManager.userAllowsPrivateNotificationsInPublic(currentUserId)
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DDynamicPrivacyControllerTest.java127 when(mLockScreenUserManager.userAllowsPrivateNotificationsInPublic(anyInt())).thenReturn( in allowPrivateNotificationsInPublic()