Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java95 mStatusBar.canHeadsUp(entry, sbn)); in testHeadsUp_disabledStatusBar()
109 mStatusBar.canHeadsUp(entry, sbn)); in testHeadsUp_disabledNotificationShade()
DStatusBarTest.java415 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java144 when(mHeadsUpSuppressor.canHeadsUp(any(), any())).thenReturn(true); in ensureStateForHeadsUpWhenAwake()
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.java275 if (!mHeadsUpSuppressor.canHeadsUp(entry, sbn)) { in shouldHeadsUpWhenAwake()
442 boolean canHeadsUp(NotificationEntry entry, StatusBarNotification sbn); in canHeadsUp() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java221 this, mHeadsUpManager, this::canHeadsUp); in StatusBarNotificationPresenter()
343 public boolean canHeadsUp(NotificationEntry entry, StatusBarNotification sbn) { in canHeadsUp() method in StatusBarNotificationPresenter