Home
last modified time | relevance | path

Searched refs:lockscreenUserManager (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt65 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 …]
DViewConfigCoordinatorTest.kt58 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/
DSensitiveContentCoordinator.kt57 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()
DHideNotifsForOtherUsersCoordinator.java47 NotificationLockscreenUserManager lockscreenUserManager) { in HideNotifsForOtherUsersCoordinator() argument
48 mLockscreenUserManager = lockscreenUserManager; in HideNotifsForOtherUsersCoordinator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProvider.kt49 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/
DKeyguardNotificationVisibilityProvider.kt79 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/
DLegacyMediaDataFilterImpl.kt70 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>()
DMediaDataFilterImpl.kt67 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/
DLegacyMediaDataFilterImplTest.kt75 @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 …]
DMediaDataFilterImplTest.kt90 @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/
DDreamMediaEntryComplication.java124 NotificationLockscreenUserManager lockscreenUserManager, in DreamMediaEntryViewController() argument
133 mLockscreenUserManager = lockscreenUserManager; in DreamMediaEntryViewController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProviderTest.kt60 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/
DNotificationRemoteInputManagerTest.java141 NotificationLockscreenUserManager lockscreenUserManager, in TestableNotificationRemoteInputManager() argument
155 lockscreenUserManager, in TestableNotificationRemoteInputManager()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaControlInteractorKosmos.kt41 lockscreenUserManager = notificationLockscreenUserManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaControlInteractor.kt60 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/
DMediaDataFilterKosmos.kt42 lockscreenUserManager = notificationLockscreenUserManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/factory/
DMediaControlInteractorFactoryKosmos.kt44 lockscreenUserManager = notificationLockscreenUserManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBypassController.kt58 lockscreenUserManager: NotificationLockscreenUserManager, in <lambda>()
152 lockscreenUserManager.addUserChangedListener( in <lambda>()
DStatusBarNotificationPresenter.java127 NotificationLockscreenUserManager lockscreenUserManager, in StatusBarNotificationPresenter() argument
149 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationPresenter()
DStatusBarNotificationActivityStarter.java169 NotificationLockscreenUserManager lockscreenUserManager, in StatusBarNotificationActivityStarter() argument
202 mLockscreenUserManager = lockscreenUserManager; in StatusBarNotificationActivityStarter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBypassControllerTest.kt79 @Mock private lateinit var lockscreenUserManager: NotificationLockscreenUserManager variable
165 lockscreenUserManager, in initKeyguardBypassController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java263 NotificationLockscreenUserManager lockscreenUserManager, in NotificationRemoteInputManager() argument
276 mLockscreenUserManager = lockscreenUserManager; in NotificationRemoteInputManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProviderTest.java708 @BindsInstance NotificationLockscreenUserManager lockscreenUserManager, in create() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java722 NotificationLockscreenUserManager lockscreenUserManager, in NotificationStackScrollLayoutController() argument
773 mLockscreenUserManager = lockscreenUserManager; in NotificationStackScrollLayoutController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java316 NotificationLockscreenUserManager lockscreenUserManager, in MediaControlPanel() argument
336 mLockscreenUserManager = lockscreenUserManager; in MediaControlPanel()

12