Searched refs:canHeadsUp (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationPresenterTest.java | 95 mStatusBar.canHeadsUp(entry, sbn)); in testHeadsUp_disabledStatusBar() 109 mStatusBar.canHeadsUp(entry, sbn)); in testHeadsUp_disabledNotificationShade()
|
D | StatusBarTest.java | 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 144 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/ |
D | NotificationInterruptionStateProvider.java | 275 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/ |
D | StatusBarNotificationPresenter.java | 221 this, mHeadsUpManager, this::canHeadsUp); in StatusBarNotificationPresenter() 343 public boolean canHeadsUp(NotificationEntry entry, StatusBarNotification sbn) { in canHeadsUp() method in StatusBarNotificationPresenter
|