Searched refs:isLockscreenPublicMode (Results 1 – 11 of 11) sorted by relevance
94 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()
302 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()
141 whenever(lockScreenUserManager.isLockscreenPublicMode(anyInt())).thenReturn(true) in setup()
84 val devicePublic = lockscreenUserManager.isLockscreenPublicMode(currentUserId) in bindCoordinator()91 lockscreenUserManager.isLockscreenPublicMode(notifUserId) in bindCoordinator()
33 boolean isLockscreenPublicMode(int userId); in isLockscreenPublicMode() method
419 public boolean isLockscreenPublicMode(int userId) { in isLockscreenPublicMode() method in NotificationLockscreenUserManagerImpl513 if (isLockscreenPublicMode(mCurrentProfiles.valueAt(i).id)) { in isAnyProfilePublicMode()527 if (isLockscreenPublicMode(mCurrentManagedProfiles.valueAt(i).id)) { in isAnyManagedProfilePublicMode()
503 if ((mLockscreenUserManager.isLockscreenPublicMode(userId) in showBouncerForRemoteInput()
581 if (lockScreenUserManager.isLockscreenPublicMode(userId) && fullShadeNeedsBouncer) { in <lambda>()
314 if (mLockscreenUserManager.isLockscreenPublicMode(sbn.getUser().getIdentifier())349 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());351 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId());
429 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()
201 !lockscreenUserManager.isLockscreenPublicMode(user) -> false in userSettingsDisallowNotification()