Home
last modified time | relevance | path

Searched refs:isLockscreenPublicMode (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinatorTest.kt94 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false)
112 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false)
130 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
148 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
166 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
184 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
202 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
222 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerTest.java314 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(mCurrentUser.id)); in testIsLockscreenPublicMode()
316 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(mCurrentUser.id)); in testIsLockscreenPublicMode()
329 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
335 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
341 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
347 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
H A DLockscreenShadeTransitionControllerTest.kt186 whenever(lockScreenUserManager.isLockscreenPublicMode(anyInt())).thenReturn(true)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinator.kt84 val devicePublic = lockscreenUserManager.isLockscreenPublicMode(currentUserId)
91 lockscreenUserManager.isLockscreenPublicMode(notifUserId)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java33 boolean isLockscreenPublicMode(int userId); in isLockscreenPublicMode() method
H A DNotificationLockscreenUserManagerImpl.java444 public boolean isLockscreenPublicMode(int userId) { in isLockscreenPublicMode() method in NotificationLockscreenUserManagerImpl
538 if (isLockscreenPublicMode(mCurrentProfiles.valueAt(i).id)) { in isAnyProfilePublicMode()
552 if (isLockscreenPublicMode(mCurrentManagedProfiles.valueAt(i).id)) { in isAnyManagedProfilePublicMode()
H A DNotificationRemoteInputManager.java504 if ((mLockscreenUserManager.isLockscreenPublicMode(userId) in showBouncerForRemoteInput()
H A DLockscreenShadeTransitionController.kt584 if (lockScreenUserManager.isLockscreenPublicMode(userId) && fullShadeNeedsBouncer) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
H A DKeyguardNotificationVisibilityProviderTest.java429 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(true); in publicMode_settingsDisallow()
444 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(true); in publicMode_notifDisallowed()
595 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(false); in setupUnfilteredState()
596 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(false); in setupUnfilteredState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationPresenter.java284 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
286 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId());
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
H A DKeyguardNotificationVisibilityProvider.kt201 !lockscreenUserManager.isLockscreenPublicMode(user) -> false