Searched refs:needsRedaction (Results 1 – 9 of 9) sorted by relevance
207 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 …]
36 val needsRedaction: Boolean,48 oldAdjustment.needsRedaction != newAdjustment.needsRedaction -> true
123 needsRedaction = lockscreenUserManager.needsRedaction(entry),
225 if (mNotificationLockscreenUserManager.needsRedaction(entry)) { in inflateContentViews()
106 val needsRedaction = lockscreenUserManager.needsRedaction(entry) regex107 val isSensitive = userPublic && needsRedaction
236 private fun fakeNotification(notifUserId: Int, needsRedaction: Boolean): ListEntry {246 whenever(lockscreenUserManager.needsRedaction(mockEntry)).thenReturn(needsRedaction)
287 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry);288 if (userPublic && needsRedaction) {
66 boolean needsRedaction(NotificationEntry entry); in needsRedaction() method
480 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() method in NotificationLockscreenUserManagerImpl