Home
last modified time | relevance | path

Searched refs:isSensitiveStateActive (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerImpl.java99 mLogger.logProjectionStart(isSensitiveStateActive(), info.getPackageName());
112 new Random().nextLong(), packageUid, !isSensitiveStateActive());
294 boolean wasSensitive = isSensitiveStateActive(); in updateProjectionStateAndNotifyListeners()
300 if (wasSensitive || isSensitiveStateActive()) { in updateProjectionStateAndNotifyListeners()
347 public boolean isSensitiveStateActive() { in isSensitiveStateActive() method in SensitiveNotificationProtectionControllerImpl
353 if (!isSensitiveStateActive()) { in shouldProtectNotification()
DSensitiveNotificationProtectionController.java37 boolean isSensitiveStateActive(); in isSensitiveStateActive() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DStackCoordinatorTest.kt76 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive) in setUp()
128 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in testSetNotificationStats_isSensitiveStateActive_nonClearableAlerting()
148 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in testSetNotificationStats_isSensitiveStateActive_nonClearableSilent()
172 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in testSetNotificationStats_footerFlagOn_isSensitiveStateActive_nonClearableAlerting()
197 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in testSetNotificationStats_footerFlagOn_isSensitiveStateActive_nonClearableSilent()
DSensitiveContentCoordinatorTest.kt136 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
154 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in screenshareSecretFilter_sensitiveActive_filtersSecret()
201 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction_sensitiveActive()
269 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceUnlocked_notifWouldNeedRedaction_sensitiveActive()
337 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceLocked_userAllowsPublicNotifs_sensitiveActive()
406 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceLocked_userDisallowsPublicNotifs_notifDoesNotNeedRedaction_sensitiveActive()
475 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceLocked_notifNeedsRedaction_sensitiveActive()
543 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceDynamicallyUnlocked_notifNeedsRedaction_sensitiveActive()
614 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceDynamicallyUnlocked_notifUserNeedsWorkChallenge_sensitiveActive()
667 whenever(sensitiveNotificationProtectionController.isSensitiveStateActive).thenReturn(true) in onBeforeRenderList_deviceDynamicallyUnlocked_deviceBiometricBypassingLockScreen()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt260 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionInactive_false()
267 assertTrue(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_true()
275 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionInactiveAfterActive_false()
284 assertTrue(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActiveAfterInactive_true()
292 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_singleActivity_false()
302 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_sysuiExempt_false()
317 assertTrue(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_permissionExempt_flagDisabled_true()
332 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_permissionExempt_false()
340 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_bugReportHandlerExempt_false()
348 assertFalse(controller.isSensitiveStateActive) in isSensitiveStateActive_projectionActive_disabledViaDevOption_false()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutControllerTest.java379 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in testOnUserChange_verifyNotSensitive_screenshareNotificationHidingEnabled()
399 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in testOnUserChange_verifySensitiveProfile_screenshareNotificationHidingEnabled()
419 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(true); in testOnUserChange_verifySensitiveActive_screenshareNotificationHidingEnabled()
468 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in testOnStatePostChange_verifyNotSensitive_screenshareNotificationHidingEnabled()
486 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in testOnStatePostChange_verifyIfProfileIsPublic_screenshareNotificationHidingEnabled()
504 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(true); in testOnStatePostChange_verifyIfSensitiveActive_screenshareNotificationHidingEnabled()
555 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in testOnStatePostChange_goingFullShade_verifyNotSensitive_screenshareHideEnabled()
574 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in testOnStatePostChange_goingFullShade_verifyProfileIsPublic_screenshareHideEnabled()
593 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(true); in testOnStatePostChange_goingFullShade_verifySensitiveActive_screenshareHideEnabled()
610 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()) in testOnProjectionStateChanged_verifyNotSensitive()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinator.kt78 sensitiveNotificationProtectionController.isSensitiveStateActive && in bindCoordinator()
113 sensitiveNotificationProtectionController.isSensitiveStateActive in bindCoordinator()
DStackCoordinator.kt81 sensitiveNotificationProtectionController.isSensitiveStateActive in calculateNotifStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java287 mSensitiveNotifProtectionController.isSensitiveStateActive()); in BubblesManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java2299 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(true); in onSensitiveNotificationProtectionStateChanged()
2303 when(mSensitiveNotificationProtectionController.isSensitiveStateActive()).thenReturn(false); in onSensitiveNotificationProtectionStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java433 mSensitiveNotificationProtectionController.isSensitiveStateActive(); in updateSensitivenessWithAnimation()