/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 76 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 …]
|
D | NotificationViewHierarchyManagerTest.java | 80 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationViewHierarchyManagerTest 100 mLockscreenUserManager); in setUp() 110 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp()
|
D | NotificationRemoteInputManagerTest.java | 60 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest 74 mLockscreenUserManager, mSmartReplyController, mEntryManager, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicPrivacyController.java | 36 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/ |
D | KeyguardEnvironmentImpl.java | 32 private final NotificationLockscreenUserManager mLockscreenUserManager = field in KeyguardEnvironmentImpl 50 mLockscreenUserManager.getCurrentUserId(), notificationUserId)); in isNotificationForCurrentProfiles() 52 return mLockscreenUserManager.isCurrentProfile(notificationUserId); in isNotificationForCurrentProfiles()
|
D | StatusBarRemoteInputCallback.java | 64 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()
|
D | StatusBarNotificationPresenter.java | 95 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())
|
D | StatusBarNotificationActivityStarter.java | 85 private final NotificationLockscreenUserManager mLockscreenUserManager; field in StatusBarNotificationActivityStarter 146 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationActivityStarter() 205 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked() 209 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
|
D | StatusBar.java | 471 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 …]
|
D | NotificationPanelView.java | 335 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationPanelView 737 if (!mLockscreenUserManager.shouldShowOnKeyguard(row.getEntry())) { in computeMaxKeyguardNotifications()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 72 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 …]
|
D | NotificationRemoteInputManager.java | 114 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/ |
D | StatusBarTest.java | 155 @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/ |
D | NotificationGutsManager.java | 83 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/ |
D | NotificationEntryManagerTest.java | 125 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationEntryManagerTest 214 mLockscreenUserManager); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 478 private final NotificationLockscreenUserManager mLockscreenUserManager = field in NotificationStackScrollLayout 5318 boolean publicMode = mLockscreenUserManager.isAnyProfilePublicMode(); 5547 mBarService.onClearAllNotifications(mLockscreenUserManager.getCurrentUserId());
|