Home
last modified time | relevance | path

Searched refs:DecisionImpl (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DFullScreenIntentDecisionProvider.kt25 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_DEVICE_DREA…
26 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_DEVICE_NOT_…
27 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_DEVICE_NOT_…
28 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_KEYGUARD_OC…
29 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_KEYGUARD_SH…
30 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_LOCKED_SHADE
31 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.FSI_USER_SETUP_…
32 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.NO_FSI_EXPECTED…
33 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.NO_FSI_NOT_IMPO…
34 ….statusbar.notification.interruption.FullScreenIntentDecisionProvider.DecisionImpl.NO_FSI_NO_FULL_…
[all …]
DNotificationInterruptStateProviderWrapper.kt40 enum class DecisionImpl(override val shouldInterrupt: Boolean) : Decision { class in com.android.systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper
87 wrapped.checkHeadsUp(entry, /* log= */ false).let { DecisionImpl.of(it) } in makeUnloggedHeadsUpDecision()
92 wrapped.checkHeadsUp(entry, /* log= */ true).let { DecisionImpl.of(it) } in makeAndLogHeadsUpDecision()
113 wrapped.shouldBubbleUp(entry).let { DecisionImpl.of(it) } in makeAndLogBubbleDecision()
DVisualInterruptionDecisionProviderImpl.kt83 private class DecisionImpl( class
90 val decision: DecisionImpl,
96 LoggableDecision(DecisionImpl(shouldInterrupt = true, logReason = "not suppressed"))
100 DecisionImpl( in suppressed()
108 DecisionImpl(shouldInterrupt = false, logReason = suppressor.reason), in suppressed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderWrapperTest.kt28 …systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper.DecisionImpl
69 assertTrue(DecisionImpl.of(true).shouldInterrupt) in decisionOfTrue()
74 assertFalse(DecisionImpl.of(false).shouldInterrupt) in decisionOfFalse()
79 assertEquals(DecisionImpl.of(true), DecisionImpl.of(true)) in decisionOfTrueInterned()
84 assertEquals(DecisionImpl.of(false), DecisionImpl.of(false)) in decisionOfFalseInterned()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.kt42 …systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper.DecisionImpl in <lambda>()
1036 .thenReturn(DecisionImpl.of(should)) in <lambda>()
1038 .thenReturn(DecisionImpl.of(should)) in <lambda>()
1043 .thenReturn(DecisionImpl.of(should)) in <lambda>()
1045 .thenReturn(DecisionImpl.of(should)) in <lambda>()