Home
last modified time | relevance | path

Searched refs:shouldProtectNotification (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt355 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinator.kt139 val shouldProtectNotification = screenshareNotificationHiding() && in bindCoordinator() constant
140 sensitiveNotificationProtectionController.shouldProtectNotification(entry) in bindCoordinator()
144 entry.setSensitive(isSensitive || shouldProtectNotification, deviceSensitive) in bindCoordinator()
146 entry.row?.setPublicExpanderVisible(!shouldProtectNotification) in bindCoordinator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProviderTest.kt212 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionController.java40 boolean shouldProtectNotification(NotificationEntry entry); in shouldProtectNotification() method
DSensitiveNotificationProtectionControllerImpl.java352 public boolean shouldProtectNotification(NotificationEntry entry) { in shouldProtectNotification() method in SensitiveNotificationProtectionControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt224 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProvider.kt146 sensitiveNotifProtectionController.shouldProtectNotification(entry)),