Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt94 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction()
112 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false) in onBeforeRenderList_deviceUnlocked_notifWouldNeedRedaction()
130 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true) in onBeforeRenderList_deviceLocked_userAllowsPublicNotifs()
148 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true) in onBeforeRenderList_deviceLocked_userDisallowsPublicNotifs_notifDoesNotNeedRedaction()
166 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true) in onBeforeRenderList_deviceLocked_notifNeedsRedaction()
184 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true) in onBeforeRenderList_deviceDynamicallyUnlocked_notifNeedsRedaction()
202 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true) in onBeforeRenderList_deviceDynamicallyUnlocked_notifUserNeedsWorkChallenge()
222 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true) in onBeforeRenderList_deviceDynamicallyUnlocked_deviceBiometricBypassingLockScreen()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java302 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(mCurrentUser.id)); in testIsLockscreenPublicMode()
304 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(mCurrentUser.id)); in testIsLockscreenPublicMode()
317 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
323 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
329 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
335 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode()
DLockscreenShadeTransitionControllerTest.kt141 whenever(lockScreenUserManager.isLockscreenPublicMode(anyInt())).thenReturn(true) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinator.kt84 val devicePublic = lockscreenUserManager.isLockscreenPublicMode(currentUserId) in bindCoordinator()
91 lockscreenUserManager.isLockscreenPublicMode(notifUserId) in bindCoordinator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java33 boolean isLockscreenPublicMode(int userId); in isLockscreenPublicMode() method
DNotificationLockscreenUserManagerImpl.java419 public boolean isLockscreenPublicMode(int userId) { in isLockscreenPublicMode() method in NotificationLockscreenUserManagerImpl
513 if (isLockscreenPublicMode(mCurrentProfiles.valueAt(i).id)) { in isAnyProfilePublicMode()
527 if (isLockscreenPublicMode(mCurrentManagedProfiles.valueAt(i).id)) { in isAnyManagedProfilePublicMode()
DNotificationRemoteInputManager.java503 if ((mLockscreenUserManager.isLockscreenPublicMode(userId) in showBouncerForRemoteInput()
DLockscreenShadeTransitionController.kt581 if (lockScreenUserManager.isLockscreenPublicMode(userId) && fullShadeNeedsBouncer) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java314 if (mLockscreenUserManager.isLockscreenPublicMode(sbn.getUser().getIdentifier())
349 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
351 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
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()
575 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(false); in setupUnfilteredState()
576 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(false); in setupUnfilteredState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProvider.kt201 !lockscreenUserManager.isLockscreenPublicMode(user) -> false in userSettingsDisallowNotification()