Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerTest.java208 assertTrue(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testCurrentUserPrivateNotificationsNotRedacted()
219 assertFalse(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testCurrentUserPrivateNotificationsRedacted()
230 assertTrue(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkPrivateNotificationsRedacted()
241 assertFalse(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkPrivateNotificationsNotRedacted()
257 assertFalse(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
260 assertTrue(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
261 assertTrue(mLockscreenUserManager.needsRedaction(mSecondaryUserNotif)); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
277 assertTrue(mLockscreenUserManager.needsRedaction(mWorkProfileNotif)); in testWorkProfileRedacted_otherUsersNotRedacted()
280 assertFalse(mLockscreenUserManager.needsRedaction(mCurrentUserNotif)); in testWorkProfileRedacted_otherUsersNotRedacted()
281 assertFalse(mLockscreenUserManager.needsRedaction(mSecondaryUserNotif)); in testWorkProfileRedacted_otherUsersNotRedacted()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinator.kt87 val needsRedaction = lockscreenUserManager.needsRedaction(entry) regex
88 val isSensitive = userPublic && needsRedaction
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSensitiveContentCoordinatorTest.kt193 private fun fakeNotification(notifUserId: Int, needsRedaction: Boolean): ListEntry {
203 whenever(lockscreenUserManager.needsRedaction(mockEntry)).thenReturn(needsRedaction)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationViewHierarchyManager.java189 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews()
190 boolean sensitive = userPublic && needsRedaction; in updateNotificationViews()
195 ent.getRow().setNeedsRedaction(needsRedaction); in updateNotificationViews()
H A DNotificationLockscreenUserManager.java78 boolean needsRedaction(NotificationEntry entry); in needsRedaction() method
H A DNotificationLockscreenUserManagerImpl.java506 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() method in NotificationLockscreenUserManagerImpl
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationPresenter.java465 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry);
466 if (userPublic && needsRedaction) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotificationRowBinderImpl.java235 row.setNeedsRedaction(mNotificationLockscreenUserManager.needsRedaction(entry)); in inflateContentViews()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRow.java1522 public void setNeedsRedaction(boolean needsRedaction) {
1524 if (mNeedsRedaction != needsRedaction) {
1525 mNeedsRedaction = needsRedaction;
1528 if (needsRedaction) {