Searched refs:needsRedaction (Results 1 – 9 of 9) sorted by relevance
208 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 …]
87 val needsRedaction = lockscreenUserManager.needsRedaction(entry) regex88 val isSensitive = userPublic && needsRedaction
193 private fun fakeNotification(notifUserId: Int, needsRedaction: Boolean): ListEntry {203 whenever(lockscreenUserManager.needsRedaction(mockEntry)).thenReturn(needsRedaction)
189 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews()190 boolean sensitive = userPublic && needsRedaction; in updateNotificationViews()195 ent.getRow().setNeedsRedaction(needsRedaction); in updateNotificationViews()
78 boolean needsRedaction(NotificationEntry entry); in needsRedaction() method
506 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() method in NotificationLockscreenUserManagerImpl
465 boolean needsRedaction = mLockscreenUserManager.needsRedaction(entry);466 if (userPublic && needsRedaction) {
235 row.setNeedsRedaction(mNotificationLockscreenUserManager.needsRedaction(entry)); in inflateContentViews()
1522 public void setNeedsRedaction(boolean needsRedaction) {1524 if (mNeedsRedaction != needsRedaction) {1525 mNeedsRedaction = needsRedaction;1528 if (needsRedaction) {