Home
last modified time | relevance | path

Searched refs:mHeadsUpSuppressor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java88 NotificationInterruptionStateProvider.HeadsUpSuppressor mHeadsUpSuppressor; field in NotificationInterruptionStateProviderTest
110 mHeadsUpSuppressor); in setup()
144 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(true); in ensureStateForHeadsUpWhenAwake()
195 mHeadsUpSuppressor); in testHunSettingsChange_enabled_butAlertsDisabled()
427 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(false); in testShouldHeadsUp_false_suppressed()
431 verify(mHeadsUpSuppressor).canHeadsUp(any(), any()); in testShouldHeadsUp_false_suppressed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java72 private HeadsUpSuppressor mHeadsUpSuppressor; field in NotificationInterruptionStateProvider
146 mHeadsUpSuppressor = headsUpSuppressor; in setUpWithPresenter()
275 if (!mHeadsUpSuppressor.canHeadsUp(entry, sbn)) { in shouldHeadsUpWhenAwake()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java149 private NotificationInterruptionStateProvider.HeadsUpSuppressor mHeadsUpSuppressor; field in StatusBarTest
256 mHeadsUpManager, mHeadsUpSuppressor); in setup()
415 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(true); in testShouldHeadsUp_nonSuppressedGroupSummary()
436 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(true); in testShouldHeadsUp_suppressedGroupSummary()
457 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(true); in testShouldHeadsUp_suppressedHeadsUp()
475 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(true); in testShouldHeadsUp_noSuppressedHeadsUp()