| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
| D | NotificationLockscreenUserManagerTest.java | 111 private TestNotificationLockscreenUserManager mLockscreenUserManager; field in NotificationLockscreenUserManagerTest 150 mLockscreenUserManager = new TestNotificationLockscreenUserManager(mContext); in setUp() 151 mLockscreenUserManager.setUpWithPresenter(mPresenter); in setUp() 157 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenShowNotificationsFalse() 158 assertFalse(mLockscreenUserManager.shouldShowLockscreenNotifications()); in testLockScreenShowNotificationsFalse() 164 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenShowNotificationsTrue() 165 assertTrue(mLockscreenUserManager.shouldShowLockscreenNotifications()); in testLockScreenShowNotificationsTrue() 171 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenAllowPrivateNotificationsTrue() 172 assertTrue(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUser.id)); in testLockScreenAllowPrivateNotificationsTrue() 179 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenAllowPrivateNotificationsFalse() [all …]
|
| D | NotificationRemoteInputManagerTest.java | 69 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest 81 mLockscreenUserManager, in setUp()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
| 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());
|
| D | ViewConfigCoordinator.kt | 41 private val mLockscreenUserManager: NotificationLockscreenUserManager, in <lambda>() constant in com.android.systemui.statusbar.notification.collection.coordinator.ViewConfigCoordinator 73 mLockscreenUserManager.addUserChangedListener(mUserChangedListener) in <lambda>()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
| 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()
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
| 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()
|
| D | PreparationCoordinatorTest.java | 108 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in PreparationCoordinatorTest 128 mLockscreenUserManager, in setUp()
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
| 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()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
| 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);
|
| 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()
|
| 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()
|
| 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()
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
| 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 …]
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
| D | DreamMediaEntryComplication.java | 108 private final NotificationLockscreenUserManager mLockscreenUserManager; field in DreamMediaEntryComplication.DreamMediaEntryViewController 133 mLockscreenUserManager = lockscreenUserManager; in DreamMediaEntryViewController() 162 mLockscreenUserManager.getCurrentUserId()); in onClickMediaEntry()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
| 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()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
| 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()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
| 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());
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
| 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()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
| 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()
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
| 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()
|