Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinatorTest.kt73 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false)
91 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false)
109 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
127 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
145 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
163 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
181 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(true)
H A DKeyguardCoordinatorTest.java146 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(true); in publicMode_settingsDisallow()
161 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(true); in publicMode_notifDisallowed()
241 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(false); in setupUnfilteredState()
242 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(false); in setupUnfilteredState()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinator.kt65 val devicePublic = lockscreenUserManager.isLockscreenPublicMode(currentUserId)
72 lockscreenUserManager.isLockscreenPublicMode(notifUserId)
H A DKeyguardCoordinator.java121 if (mLockscreenUserManager.isLockscreenPublicMode(currUserId)
122 || mLockscreenUserManager.isLockscreenPublicMode(notifUserId)) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerImpl.java333 boolean hide = isLockscreenPublicMode(userId) && !userAllowsNotificationsInPublic(userId) in shouldHideNotifications()
350 return isLockscreenPublicMode(mCurrentUserId) && visibleEntry != null in shouldHideNotifications()
469 public boolean isLockscreenPublicMode(int userId) { in isLockscreenPublicMode() method in NotificationLockscreenUserManagerImpl
564 if (isLockscreenPublicMode(mCurrentProfiles.valueAt(i).id)) { in isAnyProfilePublicMode()
578 if (isLockscreenPublicMode(mCurrentManagedProfiles.valueAt(i).id)) { in isAnyManagedProfilePublicMode()
H A DNotificationLockscreenUserManager.java33 boolean isLockscreenPublicMode(int userId); in isLockscreenPublicMode() method
H A DNotificationViewHierarchyManager.java181 boolean devicePublic = mLockscreenUserManager.isLockscreenPublicMode(currentUserId); in updateNotificationViews()
183 || mLockscreenUserManager.isLockscreenPublicMode(userId); in updateNotificationViews()
H A DLockscreenShadeTransitionController.kt481 if (lockScreenUserManager.isLockscreenPublicMode(userId) && fullShadeNeedsBouncer) {
H A DNotificationRemoteInputManager.java548 if ((mLockscreenUserManager.isLockscreenPublicMode(userId) in showBouncerForRemoteInput()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationPresenter.java427 if (mLockscreenUserManager.isLockscreenPublicMode(sbn.getUser().getIdentifier())
462 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
464 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId());
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationFilter.java81 if (mUserManager.isLockscreenPublicMode(sbn.getUserId()) in shouldFilterOut()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerTest.java318 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(mCurrentUser.id)); in testIsLockscreenPublicMode()
320 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(mCurrentUser.id)); in testIsLockscreenPublicMode()
H A DLockscreenShadeTransitionControllerTest.kt117 whenever(lockScreenUserManager.isLockscreenPublicMode(anyInt())).thenReturn(true)