Home
last modified time | relevance | path

Searched refs:shouldSuppress (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DCommonVisualInterruptionSuppressors.kt65 override fun shouldSuppress(): Boolean = !isEnabled in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PeekDisabledSuppressor
105 override fun shouldSuppress(): Boolean = in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PulseDisabledSuppressor
111 override fun shouldSuppress() = batteryController.isAodPowerSave() in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PulseBatterySaverSuppressor
116 override fun shouldSuppress(entry: NotificationEntry) = in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PeekPackageSnoozedSuppressor
131 override fun shouldSuppress(entry: NotificationEntry) = in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PeekAlreadyBubbledSuppressor
144 override fun shouldSuppress(entry: NotificationEntry) = entry.shouldSuppressPeek() in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PeekDndSuppressor
149 override fun shouldSuppress(entry: NotificationEntry) = entry.importance < IMPORTANCE_HIGH in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PeekNotImportantSuppressor
156 override fun shouldSuppress() = in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PeekDeviceNotInUseSuppressor
172 override fun shouldSuppress(entry: NotificationEntry): Boolean = in whenAge() method in com.android.systemui.statusbar.notification.interruption.PeekOldWhenSuppressor
190 override fun shouldSuppress(entry: NotificationEntry) = entry.shouldSuppressAmbient() in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.PulseEffectSuppressor
[all …]
DVisualInterruptionSuppressor.kt82 abstract fun shouldSuppress(): Boolean in shouldSuppress() method
101 abstract fun shouldSuppress(entry: NotificationEntry): Boolean in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.VisualInterruptionFilter
DVisualInterruptionDecisionProviderImpl.kt342 .firstOrNull { it.types.contains(type) && it.shouldSuppress() } in checkConditions()
347 .firstOrNull { it.types.contains(type) && it.shouldSuppress(entry) } in checkFilters()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java156 assertFalse(mAlertsDisabledCondition.shouldSuppress()); in testNoSuppressHeadsUp_default_refactorEnabled()
157 assertFalse(mVrModeCondition.shouldSuppress()); in testNoSuppressHeadsUp_default_refactorEnabled()
158 assertFalse(mNeedsRedactionFilter.shouldSuppress(createNotificationEntry())); in testNoSuppressHeadsUp_default_refactorEnabled()
159 assertFalse(mAlertsDisabledCondition.shouldSuppress()); in testNoSuppressHeadsUp_default_refactorEnabled()
181 mPanelsDisabledCondition.shouldSuppress()); in testSuppressHeadsUp_disabledStatusBar_refactorEnabled()
203 mPanelsDisabledCondition.shouldSuppress()); in testSuppressHeadsUp_disabledNotificationShade_refactorEnabled()
230 assertFalse(mNeedsRedactionFilter.shouldSuppress(createFsiNotificationEntry())); in testNoSuppressHeadsUp_FSI_nonOccludedKeyguard_refactorEnabled()
252 assertTrue("Vr mode should suppress interruptions", mVrModeCondition.shouldSuppress()); in testSuppressInterruptions_vrMode_refactorEnabled()
275 mAlertsDisabledCondition.shouldSuppress()); in testSuppressInterruptions_statusBarAlertsDisabled_refactorEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java335 public boolean shouldSuppress() {
343 public boolean shouldSuppress() {
351 public boolean shouldSuppress(@NonNull NotificationEntry entry) {
376 public boolean shouldSuppress() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderImplTest.kt413 override fun shouldSuppress(): Boolean = onShouldSuppress() in shouldSuppress() method in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderImplTest
420 override fun shouldSuppress(entry: NotificationEntry) = onShouldSuppress(entry) method