/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 161 private TestNotificationLockscreenUserManager mLockscreenUserManager; field in NotificationLockscreenUserManagerTest 238 mLockscreenUserManager = new TestNotificationLockscreenUserManager(mContext); in setUp() 239 mLockscreenUserManager.setUpWithPresenter(mPresenter); in setUp() 253 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false, in changeSetting() 261 mLockscreenUserManager = new TestNotificationLockscreenUserManager(mContext); in testInit() 262 mLockscreenUserManager.setUpWithPresenter(mPresenter); in testInit() 266 assertTrue(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testInit() 267 assertTrue(mLockscreenUserManager.needsRedaction(mSecondaryUserNotif)); in testInit() 278 assertTrue(mLockscreenUserManager.getCurrentProfiles().contentEquals(expectedCurProfiles)); in testGetCurrentProfiles() 280 mLockscreenUserManager.mUserChangedCallback.onUserChanging(mSecondaryUser.id, mContext); in testGetCurrentProfiles() [all …]
|
/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 | 43 private val mLockscreenUserManager: NotificationLockscreenUserManager, in <lambda>() constant in com.android.systemui.statusbar.notification.collection.coordinator.ViewConfigCoordinator 79 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/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationPresenter.java | 85 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarNotificationPresenter 149 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationPresenter() 188 mLockscreenUserManager.setUpWithPresenter(this); in StatusBarNotificationPresenter() 192 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter() 299 boolean devicePublic = mLockscreenUserManager 300 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId()); 302 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId()); 303 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry); 356 if (!mLockscreenUserManager.needsRedaction(entry)) { 360 final int currentUserId = mLockscreenUserManager.getCurrentUserId(); [all …]
|
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() 281 mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick() 314 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive() 315 && mLockscreenUserManager.isCurrentProfile(userId)) { in onReceive()
|
D | StatusBarNotificationActivityStarter.java | 130 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarNotificationActivityStarter 202 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationActivityStarter() 291 mLockscreenUserManager.getCurrentUserId()); in performActionAfterKeyguardDismissed() 296 mLockscreenUserManager.getCurrentUserId()); in performActionAfterKeyguardDismissed()
|
D | CentralSurfacesImpl.java | 528 private final NotificationLockscreenUserManager mLockscreenUserManager; field in CentralSurfacesImpl 744 mLockscreenUserManager = lockScreenUserManager; in CentralSurfacesImpl() 1891 if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) { 2188 mLockscreenUserManager.updatePublicMode(); in hideKeyguardImpl() 2621 mLockscreenUserManager.updatePublicMode(); 2701 mLockscreenUserManager.getCurrentUserId())) { in isCameraAllowedByAdmin() 2707 mLockscreenUserManager.getCurrentUserId()) in isCameraAllowedByAdmin()
|
/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 | 111 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in PreparationCoordinatorTest 136 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/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProviderTest.java | 96 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in KeyguardNotificationVisibilityProviderTest 118 mLockscreenUserManager, in setup() 413 when(mLockscreenUserManager.shouldShowLockscreenNotifications()).thenReturn(false); in doNotShowLockscreenNotifications() 438 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(true); in publicMode_settingsDisallow() 439 when(mLockscreenUserManager.userAllowsNotificationsInPublic(NOTIF_USER_ID)) in publicMode_settingsDisallow() 458 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(true); in publicMode_nullChannel_allowed() 476 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(true); in publicMode_notifDisallowed() 573 when(mLockscreenUserManager.isLockscreenPublicMode(CURR_USER_ID)).thenReturn(true); in notificationChannelVisibilitySecret() 574 when(mLockscreenUserManager.isLockscreenPublicMode(NOTIF_USER_ID)).thenReturn(true); in notificationChannelVisibilitySecret() 666 when(mLockscreenUserManager.shouldShowLockscreenNotifications()).thenReturn(true); 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/tests/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManagerTest.java | 70 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest 82 mLockscreenUserManager, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 101 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationGutsManager 181 mLockscreenUserManager = notificationLockscreenUserManager; in NotificationGutsManager() 395 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo() 441 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializePartialConversationNotificationInfo() 495 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeConversationNotificationInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 97 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManager 276 mLockscreenUserManager = lockscreenUserManager; in NotificationRemoteInputManager() 512 if ((mLockscreenUserManager.isLockscreenPublicMode(userId) in showBouncerForRemoteInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutController.java | 197 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationStackScrollLayoutController 431 boolean isAnyProfilePublic = mLockscreenUserManager.isAnyProfilePublicMode(); in updateSensitivenessWithAnimation() 440 mView.updateSensitiveness(animate, mLockscreenUserManager.isAnyProfilePublicMode()); in updateSensitivenessWithAnimation() 773 mLockscreenUserManager = lockscreenUserManager; in NotificationStackScrollLayoutController() 873 mLockscreenUserManager.addUserChangedListener(mLockscreenUserChangeListener); in setUpView() 1675 mLockscreenUserManager.getCurrentUserId());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanel.java | 239 private final NotificationLockscreenUserManager mLockscreenUserManager; field in MediaControlPanel 336 mLockscreenUserManager = lockscreenUserManager; in MediaControlPanel() 578 mLockscreenUserManager.getCurrentUserId()); in bindPlayer() 755 deviceIntent, mLockscreenUserManager.getCurrentUserId()); in bindOutputSwitcherAndBroadcastButton()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | BubblesTest.java | 232 private NotificationLockscreenUserManager mLockscreenUserManager; field in BubblesTest 527 mLockscreenUserManager, in setUp() 1276 when(mLockscreenUserManager.isCurrentProfile(firstUserId)).thenReturn(true); in testOnUserChanged_bubblesRestored() 1277 when(mLockscreenUserManager.isCurrentProfile(secondUserId)).thenReturn(false); in testOnUserChanged_bubblesRestored() 2478 when(mLockscreenUserManager.isCurrentProfile(anyInt())).thenAnswer( in switchUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImplTest.java | 264 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in CentralSurfacesImplTest 528 mLockscreenUserManager, in createCentralSurfaces() 968 when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>()); in testShowKeyguardImplementation_setsState()
|