Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderWrapperTest.kt69 assertTrue(DecisionImpl.of(true).shouldInterrupt) in decisionOfTrue()
74 assertFalse(DecisionImpl.of(false).shouldInterrupt) in decisionOfFalse()
90 assertTrue(it.shouldInterrupt) in fullScreenIntentDecisionShouldInterrupt()
98 assertFalse(it.shouldInterrupt) in fullScreenIntentDecisionShouldNotInterrupt()
106 assertFalse(it.shouldInterrupt) in fullScreenIntentDecisionWouldInterruptWithoutDnd()
114 assertFalse(it.shouldInterrupt) in fullScreenIntentDecisionWouldNotInterruptEvenWithoutDnd()
DVisualInterruptionDecisionProviderTestBase.kt1111 assertTrue("unexpected suppressed HUN: ${it.logReason}", it.shouldInterrupt) in <lambda>()
1116 assertFalse("unexpected unsuppressed HUN: ${it.logReason}", it.shouldInterrupt) in <lambda>()
1121 assertTrue("unexpected suppressed bubble: ${it.logReason}", it.shouldInterrupt) in <lambda>()
1126 assertFalse("unexpected unsuppressed bubble: ${it.logReason}", it.shouldInterrupt) in <lambda>()
1132 assertTrue("unexpected suppressed FSI: ${it.logReason}", it.shouldInterrupt) in <lambda>()
1141 assertFalse("unexpected unsuppressed FSI: ${it.logReason}", it.shouldInterrupt) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderWrapper.kt40 enum class DecisionImpl(override val shouldInterrupt: Boolean) : Decision { constant in com.android.systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper.DecisionImpl
41 SHOULD_INTERRUPT(shouldInterrupt = true),
42 SHOULD_NOT_INTERRUPT(shouldInterrupt = false);
57 override val shouldInterrupt = originalDecision.shouldLaunch in of() constant in com.android.systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper.FullScreenIntentDecisionImpl
DVisualInterruptionDecisionProviderImpl.kt84 override val shouldInterrupt: Boolean, constant in DecisionImpl
96 LoggableDecision(DecisionImpl(shouldInterrupt = true, logReason = "not suppressed"))
101 shouldInterrupt = false, in suppressed()
108 DecisionImpl(shouldInterrupt = false, logReason = suppressor.reason), in suppressed()
121 override val shouldInterrupt in suppressed() constant in FullScreenIntentDecisionImpl
288 val couldHeadsUp = makeUnloggedHeadsUpDecision(entry).shouldInterrupt in makeUnloggedFullScreenIntentDecision()
DVisualInterruptionDecisionLogger.kt55 bool1 = decision.shouldInterrupt in logDecision()
75 bool1 = decision.shouldInterrupt in logFullScreenIntentDecision()
DVisualInterruptionDecisionProvider.kt42 val shouldInterrupt: Boolean constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.kt399 if (fsiDecision.shouldInterrupt) { in <lambda>()
410 mVisualInterruptionDecisionProvider.makeAndLogHeadsUpDecision(entry).shouldInterrupt in <lambda>()
432 mVisualInterruptionDecisionProvider.makeAndLogHeadsUpDecision(entry).shouldInterrupt in <lambda>()
525 if (decision.shouldInterrupt) { in <lambda>()
553 val shouldHeadsUpEver = decision.shouldInterrupt in <lambda>()