Home
last modified time | relevance | path

Searched refs:NotifStats (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DNotifStackController.kt24 fun setNotifStats(stats: NotifStats) in setNotifStats()
28 data class NotifStats( in setNotifStats() class
37 @JvmStatic val empty = NotifStats(0, false, false, false, false) in setNotifStats()
48 override fun setNotifStats(stats: NotifStats) {} in setNotifStats()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DActiveNotificationsInteractorTest.kt26 import com.android.systemui.statusbar.notification.collection.render.NotifStats
100 NotifStats( in clearableNotifications_whenHasClearableAlertingNotifs()
118 NotifStats( in hasClearableNotifications_whenHasClearableSilentNotifs()
136 NotifStats( in testHasClearableNotifications_whenHasNoNotifs()
154 NotifStats( in hasClearableAlertingNotifications_whenHasClearableSilentNotifs()
172 NotifStats( in hasClearableAlertingNotifications_whenHasNoClearableNotifs()
190 NotifStats( in hasClearableAlertingNotifications_whenHasAlertingNotifs()
208 NotifStats( in hasNonClearableSilentNotifications_whenHasNonClearableSilentNotifs()
226 NotifStats( in testHasNonClearableSilentNotifications_whenHasClearableSilentNotifs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DStackCoordinatorTest.kt33 import com.android.systemui.statusbar.notification.collection.render.NotifStats
120 verify(stackController).setNotifStats(NotifStats(1, false, true, false, false)) in testSetNotificationStats_clearableAlerting()
131 verify(stackController).setNotifStats(NotifStats(1, true, false, false, false)) in testSetNotificationStats_isSensitiveStateActive_nonClearableAlerting()
140 verify(stackController).setNotifStats(NotifStats(1, false, false, false, true)) in testSetNotificationStats_clearableSilent()
151 verify(stackController).setNotifStats(NotifStats(1, false, false, true, false)) in testSetNotificationStats_isSensitiveStateActive_nonClearableSilent()
161 .setNotifStats(NotifStats(1, false, true, false, false)) in testSetNotificationStats_footerFlagOn_clearableAlerting()
176 .setNotifStats(NotifStats(1, true, false, false, false)) in testSetNotificationStats_footerFlagOn_isSensitiveStateActive_nonClearableAlerting()
186 .setNotifStats(NotifStats(1, false, false, false, true)) in testSetNotificationStats_footerFlagOn_clearableSilent()
201 .setNotifStats(NotifStats(1, false, false, true, false)) in testSetNotificationStats_footerFlagOn_isSensitiveStateActive_nonClearableSilent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModelTest.kt39 import com.android.systemui.statusbar.notification.collection.render.NotifStats
116 NotifStats( in clearAllButtonVisible_whenHasClearableNotifs()
134 NotifStats( in clearAllButtonVisible_whenHasNoClearableNotifs()
152 NotifStats( in clearAllButtonVisible_whenMessageVisible()
184 NotifStats( in clearAllButtonAnimating_whenShadeExpandedAndTouchable()
218 NotifStats( in clearAllButtonAnimating_whenShadeNotExpanded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DStackCoordinator.kt27 import com.android.systemui.statusbar.notification.collection.render.NotifStats
74 private fun calculateNotifStats(entries: List<ListEntry>): NotifStats { in calculateNotifStats()
96 return NotifStats( in calculateNotifStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/
DActiveNotificationsInteractor.kt19 import com.android.systemui.statusbar.notification.collection.render.NotifStats in <lambda>()
117 fun setNotifStats(notifStats: NotifStats) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/data/repository/
DActiveNotificationListRepository.kt19 import com.android.systemui.statusbar.notification.collection.render.NotifStats
43 val notifStats = MutableStateFlow(NotifStats.empty)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutControllerTest.java90 import com.android.systemui.statusbar.notification.collection.render.NotifStats;
761 mController.getNotifStackController().setNotifStats(NotifStats.getEmpty()); in testSetNotifStats_updatesHasFilteredOutSeenNotifications()
805 mController.getNotifStackController().setNotifStats(NotifStats.getEmpty()); in updateImportantForAccessibility_noChild_onKeyGuard_notImportantForA11y()
820 new NotifStats( in updateImportantForAccessibility_hasChild_onKeyGuard_importantForA11y()
841 new NotifStats( in updateImportantForAccessibility_hasChild_notOnKeyGuard_importantForA11y()
861 mController.getNotifStackController().setNotifStats(NotifStats.getEmpty()); in updateImportantForAccessibility_noChild_notOnKeyGuard_importantForA11y()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java113 import com.android.systemui.statusbar.notification.collection.render.NotifStats;
356 private NotifStats mNotifStats = NotifStats.getEmpty();
2129 public void setNotifStats(@NonNull NotifStats notifStats) {