/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SensitiveContentCoordinatorTest.kt | 65 val lockscreenUserManager: NotificationLockscreenUserManager = mock() constant in com.android.systemui.statusbar.notification.collection.coordinator.SensitiveContentCoordinatorTest 78 lockscreenUserManager, 176 whenever(lockscreenUserManager.currentUserId).thenReturn(1) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction() 177 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction() 178 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction() 196 whenever(lockscreenUserManager.currentUserId).thenReturn(1) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_sensitiveActive() 197 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_sensitiveActive() 198 whenever(lockscreenUserManager.userAllowsPrivateNotificationsInPublic(1)).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_sensitiveActive() 218 whenever(lockscreenUserManager.currentUserId).thenReturn(1) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_shouldProtectNotification() 219 whenever(lockscreenUserManager.isLockscreenPublicMode(1)).thenReturn(false) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_shouldProtectNotification() [all …]
|
D | ViewConfigCoordinatorTest.kt | 58 private val lockscreenUserManager: NotificationLockscreenUserManager = mock() constant in com.android.systemui.statusbar.notification.collection.coordinator.ViewConfigCoordinatorTest 69 lockscreenUserManager, in setUp() 76 verify(lockscreenUserManager).addUserChangedListener(capture()) in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SensitiveContentCoordinator.kt | 57 private val lockscreenUserManager: NotificationLockscreenUserManager, in bindCoordinator() constant in com.android.systemui.statusbar.notification.collection.coordinator.SensitiveContentCoordinatorImpl 114 val currentUserId = lockscreenUserManager.currentUserId in bindCoordinator() 115 val devicePublic = lockscreenUserManager.isLockscreenPublicMode(currentUserId) in bindCoordinator() 117 !lockscreenUserManager.userAllowsPrivateNotificationsInPublic(currentUserId)) || in bindCoordinator() 123 lockscreenUserManager.isLockscreenPublicMode(notifUserId) in bindCoordinator() 135 else -> lockscreenUserManager.needsSeparateWorkChallenge(notifUserId) in bindCoordinator() 142 val needsRedaction = lockscreenUserManager.needsRedaction(entry) in bindCoordinator()
|
D | HideNotifsForOtherUsersCoordinator.java | 47 NotificationLockscreenUserManager lockscreenUserManager) { in HideNotifsForOtherUsersCoordinator() argument 48 mLockscreenUserManager = lockscreenUserManager; in HideNotifsForOtherUsersCoordinator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotifUiAdjustmentProvider.kt | 49 private val lockscreenUserManager: NotificationLockscreenUserManager, constant in com.android.systemui.statusbar.notification.collection.inflation.NotifUiAdjustmentProvider 72 lockscreenUserManager.addNotificationStateChangedListener(notifStateChangedListener) in addDirtyListener() 91 lockscreenUserManager.removeNotificationStateChangedListener(notifStateChangedListener) in removeDirtyListener() 144 lockscreenUserManager.needsRedaction(entry) ||
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProvider.kt | 79 private val lockscreenUserManager: NotificationLockscreenUserManager, constant in com.android.systemui.statusbar.notification.interruption.KeyguardNotificationVisibilityProviderImpl 191 !lockscreenUserManager.shouldShowLockscreenNotifications() -> true in shouldHideNotification() 222 !lockscreenUserManager.isLockscreenPublicMode(user) -> false in userSettingsDisallowNotification() 226 else -> !lockscreenUserManager.userAllowsNotificationsInPublic(user) in userSettingsDisallowNotification() 228 val currentUser = lockscreenUserManager.currentUserId in userSettingsDisallowNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | LegacyMediaDataFilterImpl.kt | 70 private val lockscreenUserManager: NotificationLockscreenUserManager, in <lambda>() constant in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImpl 118 !lockscreenUserManager.isCurrentProfile(data.userId) || in <lambda>() 119 !lockscreenUserManager.isProfileAvailable(data.userId) in <lambda>() 245 if (!lockscreenUserManager.isProfileAvailable(data.userId)) { in <lambda>() 268 if (lockscreenUserManager.isCurrentProfile(data.userId)) { in <lambda>()
|
D | MediaDataFilterImpl.kt | 67 private val lockscreenUserManager: NotificationLockscreenUserManager, in <lambda>() constant 113 !lockscreenUserManager.isCurrentProfile(data.userId) || in <lambda>() 114 !lockscreenUserManager.isProfileAvailable(data.userId) in <lambda>() 286 if (!lockscreenUserManager.isProfileAvailable(data.userId)) { in <lambda>() 319 if (lockscreenUserManager.isCurrentProfile(data.userId)) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | LegacyMediaDataFilterImplTest.kt | 75 @Mock private lateinit var lockscreenUserManager: NotificationLockscreenUserManager variable in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImplTest 99 lockscreenUserManager, in setup() 135 whenever(lockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false) in setUser() 136 whenever(lockscreenUserManager.isProfileAvailable(anyInt())).thenReturn(false) in setUser() 137 whenever(lockscreenUserManager.isCurrentProfile(eq(id))).thenReturn(true) in setUser() 138 whenever(lockscreenUserManager.isProfileAvailable(eq(id))).thenReturn(true) in setUser() 139 whenever(lockscreenUserManager.isProfileAvailable(eq(PRIVATE_PROFILE))).thenReturn(true) in setUser() 144 whenever(lockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false) in setPrivateProfileUnavailable() 145 whenever(lockscreenUserManager.isCurrentProfile(eq(USER_MAIN))).thenReturn(true) in setPrivateProfileUnavailable() 146 whenever(lockscreenUserManager.isCurrentProfile(eq(PRIVATE_PROFILE))).thenReturn(true) in setPrivateProfileUnavailable() [all …]
|
D | MediaDataFilterImplTest.kt | 90 @Mock private lateinit var lockscreenUserManager: NotificationLockscreenUserManager variable in com.android.systemui.media.controls.domain.pipeline.MediaDataFilterImplTest 118 lockscreenUserManager, in setup() 156 whenever(lockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false) in setUser() 157 whenever(lockscreenUserManager.isProfileAvailable(anyInt())).thenReturn(false) in setUser() 158 whenever(lockscreenUserManager.isCurrentProfile(eq(id))).thenReturn(true) in setUser() 159 whenever(lockscreenUserManager.isProfileAvailable(eq(id))).thenReturn(true) in setUser() 160 whenever(lockscreenUserManager.isProfileAvailable(eq(PRIVATE_PROFILE))).thenReturn(true) in setUser() 165 whenever(lockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false) in setPrivateProfileUnavailable() 166 whenever(lockscreenUserManager.isCurrentProfile(eq(USER_MAIN))).thenReturn(true) in setPrivateProfileUnavailable() 167 whenever(lockscreenUserManager.isCurrentProfile(eq(PRIVATE_PROFILE))).thenReturn(true) in setPrivateProfileUnavailable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | DreamMediaEntryComplication.java | 124 NotificationLockscreenUserManager lockscreenUserManager, in DreamMediaEntryViewController() argument 133 mLockscreenUserManager = lockscreenUserManager; in DreamMediaEntryViewController()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotifUiAdjustmentProviderTest.kt | 60 private val lockscreenUserManager: NotificationLockscreenUserManager = mock() constant in com.android.systemui.statusbar.notification.collection.inflation.NotifUiAdjustmentProviderTest 81 lockscreenUserManager, 106 verify(lockscreenUserManager).addNotificationStateChangedListener(capture()) in notifLockscreenStateChangeWillNotifDirty()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManagerTest.java | 141 NotificationLockscreenUserManager lockscreenUserManager, in TestableNotificationRemoteInputManager() argument 155 lockscreenUserManager, in TestableNotificationRemoteInputManager()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaControlInteractorKosmos.kt | 41 lockscreenUserManager = notificationLockscreenUserManager, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaControlInteractor.kt | 60 private val lockscreenUserManager: NotificationLockscreenUserManager, in <lambda>() constant 141 lockscreenUserManager.currentUserId in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataFilterKosmos.kt | 42 lockscreenUserManager = notificationLockscreenUserManager, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/factory/ |
D | MediaControlInteractorFactoryKosmos.kt | 44 lockscreenUserManager = notificationLockscreenUserManager, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBypassController.kt | 58 lockscreenUserManager: NotificationLockscreenUserManager, in <lambda>() 152 lockscreenUserManager.addUserChangedListener( in <lambda>()
|
D | StatusBarNotificationPresenter.java | 127 NotificationLockscreenUserManager lockscreenUserManager, in StatusBarNotificationPresenter() argument 149 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationPresenter()
|
D | StatusBarNotificationActivityStarter.java | 169 NotificationLockscreenUserManager lockscreenUserManager, in StatusBarNotificationActivityStarter() argument 202 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationActivityStarter()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBypassControllerTest.kt | 79 @Mock private lateinit var lockscreenUserManager: NotificationLockscreenUserManager variable 165 lockscreenUserManager, in initKeyguardBypassController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 263 NotificationLockscreenUserManager lockscreenUserManager, in NotificationRemoteInputManager() argument 276 mLockscreenUserManager = lockscreenUserManager; in NotificationRemoteInputManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProviderTest.java | 708 @BindsInstance NotificationLockscreenUserManager lockscreenUserManager, in create() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutController.java | 722 NotificationLockscreenUserManager lockscreenUserManager, in NotificationStackScrollLayoutController() argument 773 mLockscreenUserManager = lockscreenUserManager; in NotificationStackScrollLayoutController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanel.java | 316 NotificationLockscreenUserManager lockscreenUserManager, in MediaControlPanel() argument 336 mLockscreenUserManager = lockscreenUserManager; in MediaControlPanel()
|