Home
last modified time | relevance | path

Searched refs:mLockscreenUserManager (Results 1 – 16 of 16) 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.java80 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationViewHierarchyManagerTest
100 mLockscreenUserManager); in setUp()
110 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp()
DNotificationRemoteInputManagerTest.java60 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest
74 mLockscreenUserManager, mSmartReplyController, mEntryManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java36 private final NotificationLockscreenUserManager mLockscreenUserManager; field in DynamicPrivacyController
51 mLockscreenUserManager = notificationLockscreenUserManager; in DynamicPrivacyController()
75 return !mLockscreenUserManager.shouldHideNotifications( in isDynamicPrivacyEnabled()
76 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardEnvironmentImpl.java32 private final NotificationLockscreenUserManager mLockscreenUserManager = field in KeyguardEnvironmentImpl
50 mLockscreenUserManager.getCurrentUserId(), notificationUserId)); in isNotificationForCurrentProfiles()
52 return mLockscreenUserManager.isCurrentProfile(notificationUserId); in isNotificationForCurrentProfiles()
DStatusBarRemoteInputCallback.java64 private final NotificationLockscreenUserManager mLockscreenUserManager = field in StatusBarRemoteInputCallback
114 mLockscreenUserManager.updatePublicMode(); in onWorkChallengeChanged()
116 && !mLockscreenUserManager.isAnyProfilePublicMode()) { in onWorkChallengeChanged()
234 pendingIntent.getIntent(), mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick()
265 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
266 && mLockscreenUserManager.isCurrentProfile(userId)) { in onReceive()
DStatusBarNotificationPresenter.java95 private final NotificationLockscreenUserManager mLockscreenUserManager = field in StatusBarNotificationPresenter
224 mLockscreenUserManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
234 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter()
351 boolean devicePublic = mLockscreenUserManager. in canHeadsUp()
352 isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId()); in canHeadsUp()
354 || mLockscreenUserManager.isLockscreenPublicMode(sbn.getUserId()); in canHeadsUp()
355 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry); in canHeadsUp()
496 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.java471 protected NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBar
631 mLockscreenUserManager = Dependency.get(NotificationLockscreenUserManager.class); in start()
1078 mLockscreenUserManager, mShadeController, mKeyguardMonitor, in setUpPresenter()
2447 intent, mLockscreenUserManager.getCurrentUserId()); in startActivityDismissingKeyguard()
2552 if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
3133 mLockscreenUserManager.updatePublicMode(); in hideKeyguardImpl()
3532 int userId = mLockscreenUserManager.getCurrentUserId(); in goToLockedShade()
3545 boolean fullShadeNeedsBouncer = !mLockscreenUserManager. in goToLockedShade()
3546 userAllowsPrivateNotificationsInPublic(mLockscreenUserManager.getCurrentUserId()) in goToLockedShade()
3547 || !mLockscreenUserManager.shouldShowLockscreenNotifications() in goToLockedShade()
[all …]
DNotificationPanelView.java335 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationPanelView
737 if (!mLockscreenUserManager.shouldShowOnKeyguard(row.getEntry())) { in computeMaxKeyguardNotifications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java72 protected final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationViewHierarchyManager
111 mLockscreenUserManager = notificationLockscreenUserManager; in NotificationViewHierarchyManager()
157 int currentUserId = mLockscreenUserManager.getCurrentUserId(); in updateNotificationViews()
158 boolean devicePublic = mLockscreenUserManager.isLockscreenPublicMode(currentUserId); in updateNotificationViews()
160 || mLockscreenUserManager.isLockscreenPublicMode(userId); in updateNotificationViews()
163 || !mLockscreenUserManager.needsSeparateWorkChallenge(userId))) { in updateNotificationViews()
166 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews()
169 && !mLockscreenUserManager.userAllowsPrivateNotificationsInPublic( in updateNotificationViews()
397 boolean showOnKeyguard = mLockscreenUserManager.shouldShowOnKeyguard(entry); in updateRowStatesInternal()
403 if (summary != null && mLockscreenUserManager.shouldShowOnKeyguard(summary)) { in updateRowStatesInternal()
[all …]
DNotificationRemoteInputManager.java114 private final NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManager
264 mLockscreenUserManager = lockscreenUserManager; in NotificationRemoteInputManager()
381 if (!mLockscreenUserManager.shouldAllowLockscreenRemoteInput()) { in activateRemoteInput()
383 if (mLockscreenUserManager.isLockscreenPublicMode(userId)) { in activateRemoteInput()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java155 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarTest
264 mLockscreenUserManager, mCommandQueue, mNotificationPresenter, in setup()
592 when(mStatusBar.mLockscreenUserManager.getCurrentProfiles()).thenReturn( in testUpdateKeyguardState_DoesNotCrash()
713 when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>()); in testShowKeyguardImplementation_setsState()
818 mLockscreenUserManager = notificationLockscreenUserManager; in TestableStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java83 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationGutsManager
305 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java125 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationEntryManagerTest
214 mLockscreenUserManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java478 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationStackScrollLayout
5318 boolean publicMode = mLockscreenUserManager.isAnyProfilePublicMode();
5547 mBarService.onClearAllNotifications(mLockscreenUserManager.getCurrentUserId());