Home
last modified time | relevance | path

Searched refs:needsRedaction (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerTest.java207 assertTrue(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testCurrentUserPrivateNotificationsNotRedacted()
218 assertFalse(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testCurrentUserPrivateNotificationsRedacted()
229 assertTrue(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkPrivateNotificationsRedacted()
240 assertFalse(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkPrivateNotificationsNotRedacted()
255 assertFalse(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
258 assertTrue(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
259 assertTrue(mLockscreenUserManager.needsRedaction(mSecondaryUserNotif)); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
274 assertTrue(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkProfileRedacted_otherUsersNotRedacted()
277 assertFalse(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testWorkProfileRedacted_otherUsersNotRedacted()
278 assertFalse(mLockscreenUserManager.needsRedaction(mSecondaryUserNotif)); in testWorkProfileRedacted_otherUsersNotRedacted()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotifUiAdjustment.kt36 val needsRedaction: Boolean,
48 oldAdjustment.needsRedaction != newAdjustment.needsRedaction -> true
H A DNotifUiAdjustmentProvider.kt123 needsRedaction = lockscreenUserManager.needsRedaction(entry),
H A DNotificationRowBinderImpl.java225 if (mNotificationLockscreenUserManager.needsRedaction(entry)) { in inflateContentViews()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinator.kt106 val needsRedaction = lockscreenUserManager.needsRedaction(entry) regex
107 val isSensitive = userPublic && needsRedaction
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinatorTest.kt236 private fun fakeNotification(notifUserId: Int, needsRedaction: Boolean): ListEntry {
246 whenever(lockscreenUserManager.needsRedaction(mockEntry)).thenReturn(needsRedaction)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationPresenter.java287 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry);
288 if (userPublic && needsRedaction) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java66 boolean needsRedaction(NotificationEntry entry); in needsRedaction() method
H A DNotificationLockscreenUserManagerImpl.java480 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() method in NotificationLockscreenUserManagerImpl