Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProvider.java186 void addSuppressor(NotificationInterruptSuppressor suppressor); in addSuppressor()
191 void removeSuppressor(NotificationInterruptSuppressor suppressor); in removeSuppressor()
DVisualInterruptionDecisionProvider.kt68 fun addLegacySuppressor(suppressor: NotificationInterruptSuppressor)
77 @VisibleForTesting fun removeLegacySuppressor(suppressor: NotificationInterruptSuppressor)
DNotificationInterruptStateProviderWrapper.kt62 override fun addLegacySuppressor(suppressor: NotificationInterruptSuppressor) { in addLegacySuppressor()
66 override fun removeLegacySuppressor(suppressor: NotificationInterruptSuppressor) { in removeLegacySuppressor()
DNotificationInterruptSuppressor.java24 public interface NotificationInterruptSuppressor { interface
DVisualInterruptionDecisionProviderImpl.kt98 fun suppressed(legacySuppressor: NotificationInterruptSuppressor, methodName: String) = in suppressed()
151 private val legacySuppressors = mutableSetOf<NotificationInterruptSuppressor>()
189 override fun addLegacySuppressor(suppressor: NotificationInterruptSuppressor) { in addLegacySuppressor()
193 override fun removeLegacySuppressor(suppressor: NotificationInterruptSuppressor) { in removeLegacySuppressor()
DNotificationInterruptLogger.kt162 suppressor: NotificationInterruptSuppressor in logNoHeadsUpSuppressedBy()
198 suppressor: NotificationInterruptSuppressor, in logNoAlertingSuppressedBy()
DNotificationInterruptStateProviderImpl.java72 private final List<NotificationInterruptSuppressor> mSuppressors = new ArrayList<>();
186 public void addSuppressor(NotificationInterruptSuppressor suppressor) { in addSuppressor()
191 public void removeSuppressor(NotificationInterruptSuppressor suppressor) { in removeSuppressor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java66 import com.android.systemui.statusbar.notification.interruption.NotificationInterruptSuppressor;
94 private NotificationInterruptSuppressor mInterruptSuppressor;
352 final ArgumentCaptor<NotificationInterruptSuppressor> suppressorCaptor = in verifyAndCaptureLegacySuppressor()
353 ArgumentCaptor.forClass(NotificationInterruptSuppressor.class); in verifyAndCaptureLegacySuppressor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java62 import com.android.systemui.statusbar.notification.interruption.NotificationInterruptSuppressor;
288 private final NotificationInterruptSuppressor mInterruptSuppressor =
289 new NotificationInterruptSuppressor() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java199 final NotificationInterruptSuppressor defaultSuppressor = in testDefaultSuppressorDoesNotSuppress()
200 new NotificationInterruptSuppressor() { in testDefaultSuppressorDoesNotSuppress()
1118 private final NotificationInterruptSuppressor
1120 new NotificationInterruptSuppressor() {
1132 private final NotificationInterruptSuppressor
1134 new NotificationInterruptSuppressor() {
1146 private final NotificationInterruptSuppressor
1148 new NotificationInterruptSuppressor() {
DVisualInterruptionDecisionProviderTestBase.kt139 private val neverSuppresses = object : NotificationInterruptSuppressor {} in <lambda>()
142 object : NotificationInterruptSuppressor { in <lambda>()
147 object : NotificationInterruptSuppressor { in <lambda>()
152 object : NotificationInterruptSuppressor { in <lambda>()
1101 suppressor: NotificationInterruptSuppressor, in <lambda>()