/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationLockscreenUserManagerTest.java | 111 private TestNotificationLockscreenUserManager mLockscreenUserManager; field in NotificationLockscreenUserManagerTest 151 mLockscreenUserManager.setUpWithPresenter(mPresenter); in setUp() 207 assertTrue(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testCurrentUserPrivateNotificationsNotRedacted() 328 mLockscreenUserManager.updatePublicMode(); in testUpdateIsPublicMode() 329 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode() 334 mLockscreenUserManager.updatePublicMode(); in testUpdateIsPublicMode() 335 assertFalse(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode() 340 mLockscreenUserManager.updatePublicMode(); in testUpdateIsPublicMode() 341 assertTrue(mLockscreenUserManager.isLockscreenPublicMode(0)); in testUpdateIsPublicMode() 346 mLockscreenUserManager.updatePublicMode(); in testUpdateIsPublicMode() [all …]
|
H A D | NotificationRemoteInputManagerTest.java | 69 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest 81 mLockscreenUserManager, in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | HideNotifsForOtherUsersCoordinator.java | 43 private final NotificationLockscreenUserManager mLockscreenUserManager; field in HideNotifsForOtherUsersCoordinator 48 mLockscreenUserManager = lockscreenUserManager; in HideNotifsForOtherUsersCoordinator() 54 mLockscreenUserManager.addUserChangedListener(mUserChangedListener); in attach() 60 return !mLockscreenUserManager 71 sb.append(" user=").append(mLockscreenUserManager.getCurrentUserId());
|
H A D | ViewConfigCoordinator.kt | 41 private val mLockscreenUserManager: NotificationLockscreenUserManager, 73 mLockscreenUserManager.addUserChangedListener(mUserChangedListener)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | DynamicPrivacyController.java | 38 private final NotificationLockscreenUserManager mLockscreenUserManager; field in DynamicPrivacyController 49 mLockscreenUserManager = notificationLockscreenUserManager; in DynamicPrivacyController() 80 return mLockscreenUserManager.userAllowsNotificationsInPublic( in isDynamicPrivacyEnabled() 81 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
H A D | DreamMediaEntryComplicationTest.java | 82 private NotificationLockscreenUserManager mLockscreenUserManager; field in DreamMediaEntryComplicationTest 121 mLockscreenUserManager, in testClickToOpenUMO() 150 mLockscreenUserManager, in testOnViewDetached() 169 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testClickToOpenMediaOverLockscreen() 180 mLockscreenUserManager, in testClickToOpenMediaOverLockscreen() 206 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testClickToOpenMediaDismissingLockscreen() 217 mLockscreenUserManager, in testClickToOpenMediaDismissingLockscreen()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | HideNotifsForOtherUsersCoordinatorTest.java | 53 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in HideNotifsForOtherUsersCoordinatorTest 70 new HideNotifsForOtherUsersCoordinator(mLockscreenUserManager); in setUp() 73 verify(mLockscreenUserManager).addUserChangedListener(mUserChangedListenerCaptor.capture()); in setUp() 85 when(mLockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false); in testFilterOutNotifsFromOtherProfiles() 94 when(mLockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(true); in testPreserveNotifsFromThisProfile()
|
H A D | PreparationCoordinatorTest.java | 108 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in PreparationCoordinatorTest 128 mLockscreenUserManager, in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarNotificationPresenter.java | 73 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarNotificationPresenter 134 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationPresenter() 166 mLockscreenUserManager.setUpWithPresenter(this); in StatusBarNotificationPresenter() 170 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter() 283 boolean devicePublic = mLockscreenUserManager 284 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId()); 286 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId()); 287 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry);
|
H A D | StatusBarRemoteInputCallback.java | 68 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarRemoteInputCallback 105 mLockscreenUserManager = notificationLockscreenUserManager; in StatusBarRemoteInputCallback() 143 mLockscreenUserManager.updatePublicMode(); in onWorkChallengeChanged() 145 && !mLockscreenUserManager.isAnyProfilePublicMode()) { in onWorkChallengeChanged() 266 mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick() 299 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive() 300 && mLockscreenUserManager.isCurrentProfile(userId)) { in onReceive()
|
H A D | StatusBarNotificationActivityStarter.java | 114 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarNotificationActivityStarter 186 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationActivityStarter() 241 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked() 246 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
|
H A D | CentralSurfacesImpl.java | 593 private final NotificationLockscreenUserManager mLockscreenUserManager; field in CentralSurfacesImpl 814 mLockscreenUserManager = lockScreenUserManager; in CentralSurfacesImpl() 2115 if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) { 2501 mLockscreenUserManager.updatePublicMode(); in hideKeyguardImpl() 2953 mLockscreenUserManager.updatePublicMode(); 3088 mLockscreenUserManager.getCurrentUserId())) { in isCameraAllowedByAdmin() 3093 mLockscreenUserManager.getCurrentUserId()) in isCameraAllowedByAdmin()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | KeyguardNotificationVisibilityProviderTest.java | 91 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in KeyguardNotificationVisibilityProviderTest 111 mLockscreenUserManager, in setup() 404 when(mLockscreenUserManager.shouldShowLockscreenNotifications()).thenReturn(false); in doNotShowLockscreenNotifications() 429 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(true); in publicMode_settingsDisallow() 430 when(mLockscreenUserManager.userAllowsNotificationsInPublic(NOTIF_USER_ID)) in publicMode_settingsDisallow() 444 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(true); in publicMode_notifDisallowed() 587 when(mLockscreenUserManager.shouldShowLockscreenNotifications()).thenReturn(true); in setupUnfilteredState() 590 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(CURR_USER_ID); in setupUnfilteredState() 595 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(false); in setupUnfilteredState() 596 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(false); in setupUnfilteredState() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
H A D | DreamMediaEntryComplication.java | 108 private final NotificationLockscreenUserManager mLockscreenUserManager; field in DreamMediaEntryComplication.DreamMediaEntryViewController 133 mLockscreenUserManager = lockscreenUserManager; in DreamMediaEntryViewController() 162 mLockscreenUserManager.getCurrentUserId()); in onClickMediaEntry()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationGutsManager.java | 97 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationGutsManager 169 mLockscreenUserManager = notificationLockscreenUserManager; in NotificationGutsManager() 362 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo() 409 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializePartialConversationNotificationInfo() 464 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeConversationNotificationInfo()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationRemoteInputManager.java | 91 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManager 266 mLockscreenUserManager = lockscreenUserManager; in NotificationRemoteInputManager() 485 if (mLockscreenUserManager.shouldAllowLockscreenRemoteInput()) { in showBouncerForRemoteInput() 504 if ((mLockscreenUserManager.isLockscreenPublicMode(userId) in showBouncerForRemoteInput()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackScrollLayoutController.java | 185 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationStackScrollLayoutController 343 mLockscreenUserManager.isAnyProfilePublicMode()); 352 mView.updateSensitiveness(false, mLockscreenUserManager.isAnyProfilePublicMode()); 362 mView.updateSensitiveness(false, mLockscreenUserManager.isAnyProfilePublicMode()); in updateSensitivenessForOccludedWakeup() 699 mLockscreenUserManager = lockscreenUserManager; in NotificationStackScrollLayoutController() 789 mLockscreenUserManager.addUserChangedListener(mLockscreenUserChangeListener); in setUpView() 1533 mLockscreenUserManager.getCurrentUserId());
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | BubblesTest.java | 197 private NotificationLockscreenUserManager mLockscreenUserManager; field in BubblesTest 428 mLockscreenUserManager, in setUp() 1160 when(mLockscreenUserManager.isCurrentProfile(firstUserId)).thenReturn(true); in testOnUserChanged_bubblesRestored() 1161 when(mLockscreenUserManager.isCurrentProfile(secondUserId)).thenReturn(false); in testOnUserChanged_bubblesRestored() 2068 when(mLockscreenUserManager.isCurrentProfile(anyInt())).thenAnswer( in switchUser()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
H A D | MediaControlPanel.java | 224 private final NotificationLockscreenUserManager mLockscreenUserManager; field in MediaControlPanel 300 mLockscreenUserManager = lockscreenUserManager; in MediaControlPanel() 536 mLockscreenUserManager.getCurrentUserId()); in bindPlayer() 684 deviceIntent, mLockscreenUserManager.getCurrentUserId()); in bindOutputSwitcherAndBroadcastButton()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | CentralSurfacesImplTest.java | 245 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in CentralSurfacesImplTest 498 mLockscreenUserManager, in setup() 1097 when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>()); in testShowKeyguardImplementation_setsState()
|