Searched refs:shouldProtectNotification (Results 1 – 7 of 7) sorted by relevance
355 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionInactive_false()365 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_singleActivity_false()374 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_fgsNotificationFromProjectionApp_false()383 assertTrue(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_fgsNotificationNotFromProjectionApp_true()392 assertTrue(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_notFgsNotification_true()402 assertTrue(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_isFromCoreApp_fixDisabled_true()412 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_isFromCoreApp_false()422 assertTrue(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_isFromEmergencyPackage_fixDisabled_true()432 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_isFromEmergencyPackage_false()444 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_sysuiExempt_false()[all …]
139 val shouldProtectNotification = screenshareNotificationHiding() && in bindCoordinator() constant140 sensitiveNotificationProtectionController.shouldProtectNotification(entry) in bindCoordinator()144 entry.setSensitive(isSensitive || shouldProtectNotification, deviceSensitive) in bindCoordinator()146 entry.row?.setPublicExpanderVisible(!shouldProtectNotification) in bindCoordinator()
212 whenever(sensitiveNotifProtectionController.shouldProtectNotification(entry)) in changeSensitiveNotifProtection_screenshareNotificationHidingEnabled_needReinflate()217 whenever(sensitiveNotifProtectionController.shouldProtectNotification(entry)) in changeSensitiveNotifProtection_screenshareNotificationHidingEnabled_needReinflate()229 whenever(sensitiveNotifProtectionController.shouldProtectNotification(entry)) in changeSensitiveNotifProtection_screenshareNotificationHidingDisabled_noNeedReinflate()234 whenever(sensitiveNotifProtectionController.shouldProtectNotification(entry)) in changeSensitiveNotifProtection_screenshareNotificationHidingDisabled_noNeedReinflate()
40 boolean shouldProtectNotification(NotificationEntry entry); in shouldProtectNotification() method
352 public boolean shouldProtectNotification(NotificationEntry entry) { in shouldProtectNotification() method in SensitiveNotificationProtectionControllerImpl
224 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_shouldProtectNotification()292 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceUnlocked_notifWouldNeedRedaction_shouldProtectNotification()360 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceLocked_userAllowsPublicNotifs_shouldProtectNotification()430 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceLocked_userDisallowsPublicNotifs_notifDoesNotNeedRedaction_shouldProtectNotification()498 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceLocked_notifNeedsRedaction_shouldProtectNotification()567 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceDynamicallyUnlocked_notifNeedsRedaction_shouldProtectNotification()639 sensitiveNotificationProtectionController.shouldProtectNotification( in onBeforeRenderList_deviceDynamicallyUnlocked_notifUserNeedsWorkChallenge_shouldProtectNotification()668 whenever(sensitiveNotificationProtectionController.shouldProtectNotification(any())) in onBeforeRenderList_deviceDynamicallyUnlocked_deviceBiometricBypassingLockScreen()
146 sensitiveNotifProtectionController.shouldProtectNotification(entry)),