Home
last modified time | relevance | path

Searched refs:mLockscreenUserManager (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java76 private TestNotificationLockscreenUserManager mLockscreenUserManager; field in NotificationLockscreenUserManagerTest
94 mLockscreenUserManager = new TestNotificationLockscreenUserManager(mContext); in setUp()
95 mLockscreenUserManager.setUpWithPresenter(mPresenter); in setUp()
100 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenShowNotificationsChangeUpdatesNotifications()
108 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenShowNotificationsFalse()
109 assertFalse(mLockscreenUserManager.shouldShowLockscreenNotifications()); in testLockScreenShowNotificationsFalse()
116 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenShowNotificationsTrue()
117 assertTrue(mLockscreenUserManager.shouldShowLockscreenNotifications()); in testLockScreenShowNotificationsTrue()
124 mLockscreenUserManager.getLockscreenSettingsObserverForTest().onChange(false); in testLockScreenAllowPrivateNotificationsTrue()
125 assertTrue(mLockscreenUserManager.userAllowsPrivateNotificationsInPublic(mCurrentUserId)); in testLockScreenAllowPrivateNotificationsTrue()
[all …]
DNotificationViewHierarchyManagerTest.java81 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationViewHierarchyManagerTest
101 mLockscreenUserManager); in setUp()
111 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp()
DNotificationRemoteInputManagerTest.java64 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest
78 mLockscreenUserManager, mSmartReplyController, mEntryManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java73 protected final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationViewHierarchyManager
114 mLockscreenUserManager = notificationLockscreenUserManager; in NotificationViewHierarchyManager()
161 int currentUserId = mLockscreenUserManager.getCurrentUserId(); in updateNotificationViews()
162 boolean devicePublic = mLockscreenUserManager.isLockscreenPublicMode(currentUserId); in updateNotificationViews()
164 || mLockscreenUserManager.isLockscreenPublicMode(userId); in updateNotificationViews()
167 || !mLockscreenUserManager.needsSeparateWorkChallenge(userId))) { in updateNotificationViews()
170 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews()
173 && !mLockscreenUserManager.userAllowsPrivateNotificationsInPublic( in updateNotificationViews()
400 boolean showOnKeyguard = mLockscreenUserManager.shouldShowOnKeyguard(entry); in updateRowStatesInternal()
406 if (summary != null && mLockscreenUserManager.shouldShowOnKeyguard(summary)) { in updateRowStatesInternal()
[all …]
DNotificationRemoteInputManager.java115 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManager
267 mLockscreenUserManager = lockscreenUserManager; in NotificationRemoteInputManager()
385 if (!mLockscreenUserManager.shouldAllowLockscreenRemoteInput()) { in activateRemoteInput()
387 if (mLockscreenUserManager.isLockscreenPublicMode(userId) in activateRemoteInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java40 private final NotificationLockscreenUserManager mLockscreenUserManager; field in DynamicPrivacyController
64 mLockscreenUserManager = notificationLockscreenUserManager; in DynamicPrivacyController()
90 return !mLockscreenUserManager.shouldHideNotifications( in isDynamicPrivacyEnabled()
91 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardEnvironmentImpl.java36 private final NotificationLockscreenUserManager mLockscreenUserManager = field in KeyguardEnvironmentImpl
55 mLockscreenUserManager.getCurrentUserId(), notificationUserId)); in isNotificationForCurrentProfiles()
57 return mLockscreenUserManager.isCurrentProfile(notificationUserId); in isNotificationForCurrentProfiles()
DStatusBarRemoteInputCallback.java65 private final NotificationLockscreenUserManager mLockscreenUserManager = field in StatusBarRemoteInputCallback
119 mLockscreenUserManager.updatePublicMode(); in onWorkChallengeChanged()
121 && !mLockscreenUserManager.isAnyProfilePublicMode()) { in onWorkChallengeChanged()
239 pendingIntent.getIntent(), mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick()
270 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
271 && mLockscreenUserManager.isCurrentProfile(userId)) { in onReceive()
DStatusBarNotificationPresenter.java95 private final NotificationLockscreenUserManager mLockscreenUserManager = field in StatusBarNotificationPresenter
222 mLockscreenUserManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
232 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter()
345 boolean devicePublic = mLockscreenUserManager. in canHeadsUp()
346 isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId()); in canHeadsUp()
348 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId()); in canHeadsUp()
349 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry); in canHeadsUp()
492 if (mLockscreenUserManager.isLockscreenPublicMode(sbn.getUser().getIdentifier())
DStatusBarNotificationActivityStarter.java85 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarNotificationActivityStarter
146 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationActivityStarter()
205 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
209 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
DStatusBar.java487 protected NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBar
1082 mLockscreenUserManager, mShadeController, mKeyguardMonitor, in setUpPresenter()
1113 mLockscreenUserManager = Dependency.get(NotificationLockscreenUserManager.class); in getDependencies()
2549 intent, mLockscreenUserManager.getCurrentUserId()); in startActivityDismissingKeyguard()
2654 if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
3252 mLockscreenUserManager.updatePublicMode(); in hideKeyguardImpl()
3657 int userId = mLockscreenUserManager.getCurrentUserId(); in goToLockedShade()
3670 boolean fullShadeNeedsBouncer = !mLockscreenUserManager. in goToLockedShade()
3671 userAllowsPrivateNotificationsInPublic(mLockscreenUserManager.getCurrentUserId()) in goToLockedShade()
3672 || !mLockscreenUserManager.shouldShowLockscreenNotifications() in goToLockedShade()
[all …]
DNotificationPanelView.java405 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationPanelView
882 if (!mLockscreenUserManager.shouldShowOnKeyguard(row.getEntry())) { in computeMaxKeyguardNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java124 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationStackScrollLayoutTest
146 mLockscreenUserManager); in setUp()
185 verify(mLockscreenUserManager).addUserChangedListener(userChangedCaptor.capture()); in setUp()
262 verify(mLockscreenUserManager).isAnyProfilePublicMode(); in testOnStatePostChange_verifyIfProfileIsPublic()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java156 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarTest
268 mLockscreenUserManager, mCommandQueue, mNotificationPresenter, in setup()
590 when(mStatusBar.mLockscreenUserManager.getCurrentProfiles()).thenReturn( in testUpdateKeyguardState_DoesNotCrash()
712 when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>()); in testShowKeyguardImplementation_setsState()
816 mLockscreenUserManager = notificationLockscreenUserManager; in TestableStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java83 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationGutsManager
306 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleControllerTest.java114 private NotificationLockscreenUserManager mLockscreenUserManager; field in BubbleControllerTest
190 mLockscreenUserManager, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java127 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationEntryManagerTest
216 mLockscreenUserManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java475 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationStackScrollLayout
569 mLockscreenUserManager.addUserChangedListener(userId -> in NotificationStackScrollLayout()
4615 boolean hideSensitive = mLockscreenUserManager.isAnyProfilePublicMode();
5311 boolean publicMode = mLockscreenUserManager.isAnyProfilePublicMode();
5535 mBarService.onClearAllNotifications(mLockscreenUserManager.getCurrentUserId());
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java430 mLockscreenUserManager = Dependency.get(NotificationLockscreenUserManager.class); in getDependencies()