Searched refs:shouldHeadsUp (Results 1 – 7 of 7) sorted by relevance
259 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUpWhenDozing_true()271 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_pulseDisabled()283 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_notDozing()297 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_suppressingAmbient()309 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_lessImportant()320 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUp_true()335 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUp_false_noHunsAllowed()347 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUp_false_dozing()361 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(createBubble())).isFalse(); in testShouldHeadsUp_false_bubble()374 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUp_false_alertCommonFalse()[all …]
44 public boolean shouldHeadsUp(NotificationEntry entry) { in shouldHeadsUp() method in CarNotificationInterruptionStateProvider52 return super.shouldHeadsUp(entry); in shouldHeadsUp()
103 if (mNotificationInterruptionStateProvider.shouldHeadsUp(entry)) { in showAlertingView()118 shouldAlert = mNotificationInterruptionStateProvider.shouldHeadsUp(entry); in updateAlertState()
211 public boolean shouldHeadsUp(NotificationEntry entry) { in shouldHeadsUp() method in NotificationInterruptionStateProvider428 && (!shouldHeadsUp(entry) in shouldLaunchFullScreenIntentWhenAdded()
427 assertTrue(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_nonSuppressedGroupSummary()448 assertFalse(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_suppressedGroupSummary()466 assertFalse(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_suppressedHeadsUp()483 assertTrue(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_noSuppressedHeadsUp()
588 public void setHeadsUp(boolean shouldHeadsUp) { in setHeadsUp() argument589 if (row != null) row.setHeadsUp(shouldHeadsUp); in setHeadsUp()
259 if (mNotificationInterruptionStateProvider.shouldHeadsUp(entry)) { in updateNotification()