/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 | 81 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationViewHierarchyManagerTest 101 mLockscreenUserManager); in setUp() 111 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp()
|
D | NotificationRemoteInputManagerTest.java | 64 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationRemoteInputManagerTest 78 mLockscreenUserManager, mSmartReplyController, mEntryManager, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 73 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 …]
|
D | NotificationRemoteInputManager.java | 115 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/ |
D | DynamicPrivacyController.java | 40 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/ |
D | KeyguardEnvironmentImpl.java | 36 private final NotificationLockscreenUserManager mLockscreenUserManager = field in KeyguardEnvironmentImpl 55 mLockscreenUserManager.getCurrentUserId(), notificationUserId)); in isNotificationForCurrentProfiles() 57 return mLockscreenUserManager.isCurrentProfile(notificationUserId); in isNotificationForCurrentProfiles()
|
D | StatusBarRemoteInputCallback.java | 65 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()
|
D | StatusBarNotificationPresenter.java | 95 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())
|
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 | 487 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 …]
|
D | NotificationPanelView.java | 405 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/ |
D | NotificationStackScrollLayoutTest.java | 124 @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/ |
D | StatusBarTest.java | 156 @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/ |
D | NotificationGutsManager.java | 83 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/ |
D | BubbleControllerTest.java | 114 private NotificationLockscreenUserManager mLockscreenUserManager; field in BubbleControllerTest 190 mLockscreenUserManager, in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManagerTest.java | 127 @Mock private NotificationLockscreenUserManager mLockscreenUserManager; field in NotificationEntryManagerTest 216 mLockscreenUserManager); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 475 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/ |
D | CarStatusBar.java | 430 mLockscreenUserManager = Dependency.get(NotificationLockscreenUserManager.class); in getDependencies()
|