Home
last modified time | relevance | path

Searched refs:activeNotificationListRepository (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DActiveNotificationsInteractorTest.kt30 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
46 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant
55 activeNotificationListRepository.setActiveNotifs(5) in testAllNotificationsCount()
73 activeNotificationListRepository.activeNotifications.value = in ongoingCallNotification_noCallNotifs_null()
86 activeNotificationListRepository.activeNotifications.value = in ongoingCallNotification_incomingCallNotif_null()
106 activeNotificationListRepository.activeNotifications.value = in ongoingCallNotification_screeningCallNotif_null()
129 activeNotificationListRepository.activeNotifications.value = in ongoingCallNotification_ongoingCallNotif_hasNotif()
155 activeNotificationListRepository.activeNotifications.value = in ongoingCallNotification_multipleCallNotifs_usesEarlierNotif()
177 activeNotificationListRepository.activeNotifications.value = in promotedOngoingNotifications_flagOff_empty()
192 activeNotificationListRepository.activeNotifications.value = in promotedOngoingNotifications_nonePromoted_empty()
[all …]
DRenderNotificationsListInteractorTest.kt30 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModelTest.kt38 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
68 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant
108 activeNotificationListRepository.setActiveNotifs(count = 0) in isImportantForAccessibility_falseWhenNoNotifs()
123 activeNotificationListRepository.setActiveNotifs(count = 2) in isImportantForAccessibility_trueWhenNotifs()
138 activeNotificationListRepository.setActiveNotifs(count = 0) in isImportantForAccessibility_trueWhenNotKeyguard()
154 activeNotificationListRepository.setActiveNotifs(count = 0) in shouldShowEmptyShadeView_trueWhenNoNotifs()
168 activeNotificationListRepository.setActiveNotifs(count = 2) in shouldShowEmptyShadeView_falseWhenNotifs()
181 activeNotificationListRepository.setActiveNotifs(count = 0) in shouldShowEmptyShadeView_falseWhenQsExpandedDefault()
197 activeNotificationListRepository.setActiveNotifs(count = 0) in shouldShowEmptyShadeView_trueWhenQsExpandedInSplitShade()
218 activeNotificationListRepository.setActiveNotifs(count = 0) in shouldShowEmptyShadeView_trueWhenLockedShade()
[all …]
DNotificationLoggerViewModelTest.kt35 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository in <lambda>()
52 private val activeNotificationListRepository = kosmos.activeNotificationListRepository in <lambda>() constant
158 activeNotificationListRepository.setActiveNotifs(5) in <lambda>()
171 activeNotificationListRepository.setActiveNotifs(0) in <lambda>()
182 activeNotificationListRepository.setActiveNotifs(5) in <lambda>()
193 activeNotificationListRepository.setActiveNotifs(0) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModelTest.kt39 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
62 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant
93 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = true in messageVisible_whenFilteredNotifications()
103 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = false in messageVisible_whenNoFilteredNotifications()
113 activeNotificationListRepository.notifStats.value = in clearAllButtonVisible_whenHasClearableNotifs()
130 activeNotificationListRepository.notifStats.value = in clearAllButtonVisible_whenHasNoClearableNotifs()
147 activeNotificationListRepository.notifStats.value = in clearAllButtonVisible_whenMessageVisible()
154 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = true in clearAllButtonVisible_whenMessageVisible()
178 activeNotificationListRepository.notifStats.value = in clearAllButtonAnimating_whenShadeExpandedAndTouchable()
211 activeNotificationListRepository.notifStats.value = in clearAllButtonAnimating_whenShadeNotExpanded()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractorTest.kt42 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
111 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockSize_sceneContainerFlagOn_shadeModeSingle_hasNotifs_SMALL()
194 kosmos.activeNotificationListRepository.setActiveNotifs(0) in clockShouldBeCentered_sceneContainerFlagOn_splitMode_noActiveNotifications_true()
204 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockShouldBeCentered_sceneContainerFlagOn_splitMode_hasPulsingNotifications_false()
216 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockShouldBeCentered_sceneContainerFlagOn_splitMode_onAod_true()
230 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockShouldBeCentered_sceneContainerFlagOn_splitMode_offAod_false()
253 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockShouldBeCentered_sceneContainerFlagOff_splitMode_lockscreen_withNotifs_false()
267 kosmos.activeNotificationListRepository.setActiveNotifs(0) in clockShouldBeCentered_sceneContainerFlagOff_splitMode_lockscreen_withoutNotifs_true()
281 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockShouldBeCentered_sceneContainerFlagOff_splitMode_LsToAod_withNotifs_true()
300 kosmos.activeNotificationListRepository.setActiveNotifs(1) in clockShouldBeCentered_sceneContainerFlagOff_splitMode_AodToLs_withNotifs_false()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DLockScreenMinimalismCoordinatorTest.kt45 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository in <lambda>()
96 kosmos.activeNotificationListRepository.topUnseenNotificationKey.value = solo.key in <lambda>()
103 kosmos.activeNotificationListRepository.topUnseenNotificationKey.value = child1.key in <lambda>()
110 kosmos.activeNotificationListRepository.topUnseenNotificationKey.value = parent.key in <lambda>()
117 kosmos.activeNotificationListRepository.topOngoingNotificationKey.value = solo.key in <lambda>()
118 kosmos.activeNotificationListRepository.topUnseenNotificationKey.value = null in <lambda>()
136 kosmos.activeNotificationListRepository.topOngoingNotificationKey.value = solo.key in <lambda>()
143 kosmos.activeNotificationListRepository.topOngoingNotificationKey.value = child1.key in <lambda>()
150 kosmos.activeNotificationListRepository.topOngoingNotificationKey.value = parent.key in <lambda>()
157 kosmos.activeNotificationListRepository.topOngoingNotificationKey.value = null in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/domain/interactor/
DActiveNotificationsInteractorKosmos.kt21 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
25 ActiveNotificationsInteractor(activeNotificationListRepository, testDispatcher) in <lambda>()
DRenderNotificationListInteractorKosmos.kt22 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
27 activeNotificationListRepository, in <lambda>()
DSeenNotificationsInteractorKosmos.kt24 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
30 notificationListRepository = activeNotificationListRepository, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/emptyshade/ui/viewmodel/
DEmptyShadeViewModelTest.kt37 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
58 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant
124 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = true in hasFilteredOutSeenNotifications_true()
135 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = false in hasFilteredOutSeenNotifications_false()
241 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = false in footer_isVisibleWhenSeenNotifsAreFilteredOut()
246 activeNotificationListRepository.hasFilteredOutSeenNotifications.value = true in footer_isVisibleWhenSeenNotifsAreFilteredOut()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModelTest.kt39 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
92 kosmos.activeNotificationListRepository.setActiveNotifs(0) in currentClockLayout_splitShadeOn_clockCentered_largeClock()
111 activeNotificationListRepository.setActiveNotifs(1) in currentClockLayout_splitShadeOn_clockNotCentered_largeClock_splitShadeLargeClock()
130 activeNotificationListRepository.setActiveNotifs(1) in currentClockLayout_splitShadeOn_clockNotCentered_forceSmallClock_splitShadeSmallClock()
149 activeNotificationListRepository.setActiveNotifs(1) in currentClockLayout_singleShade_withNotifs_smallClock()
162 activeNotificationListRepository.setActiveNotifs(0) in currentClockLayout_singleShade_withoutNotifs_largeClock()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/phone/ongoingcall/shared/model/
DOngoingCallTestHelper.kt27 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
67 activeNotificationListRepository.removeNotif(key) in inCallModel()
92 activeNotificationListRepository.addNotif( in inCallModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractorTest.kt31 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
65 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant
81 activeNotificationListRepository.activeNotifications.value = in setup()
185 kosmos.activeNotificationListRepository.activeNotifications.value = in setup()
277 kosmos.activeNotificationListRepository.activeNotifications.value = in setup()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/row/
DNotificationRebindingTrackerTest.kt25 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
40 private val activeNotificationRepository = kosmos.activeNotificationListRepository
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/data/repository/
DActiveNotificationListRepositoryKosmos.kt21 val Kosmos.activeNotificationListRepository by Kosmos.Fixture { ActiveNotificationListRepository() } in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipsWithNotifsViewModelTest.kt63 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
98 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant
368 activeNotificationListRepository.addNotif( in chips_threeChips_isSmallPortrait_allSquished()
1000 activeNotificationListRepository.addNotifs( in chipsLegacy_callAndPromotedNotifs_primaryIsCallSecondaryIsNotif()
1032 activeNotificationListRepository.addNotifs( in chips_callAndPromotedNotifs_callAndFirstTwoNotifsActive_thirdNotifInOverflow()
1072 activeNotificationListRepository.addNotif( in chipsLegacy_screenRecordAndCallAndPromotedNotif_notifNotShown()
1094 activeNotificationListRepository.addNotif( in visibleChipKeys_chipsModOff_screenRecordAndCallAndPromotedNotifs_topTwoInList()
1101 activeNotificationListRepository.addNotif( in visibleChipKeys_chipsModOff_screenRecordAndCallAndPromotedNotifs_topTwoInList()
1126 activeNotificationListRepository.addNotif( in visibleChipKeys_chipsModOn_screenRecordAndCallAndPromotedNotifs_topThreeInList()
1133 activeNotificationListRepository.addNotif( in visibleChipKeys_chipsModOn_screenRecordAndCallAndPromotedNotifs_topThreeInList()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallControllerTest.kt41 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
79 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant in com.android.systemui.statusbar.phone.ongoingcall.OngoingCallControllerTest
535 activeNotificationListRepository.activeNotifications.value = in setNotifOnRepo()
541 activeNotificationListRepository.activeNotifications.value = in setNoNotifsOnRepo()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/promoted/domain/interactor/
DPromotedNotificationsInteractorTest.kt43 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
561 activeNotificationListRepository.addNotif( in orderedChipNotificationKeys_maintainsPromotedNotifOrder()
568 activeNotificationListRepository.addNotif( in orderedChipNotificationKeys_maintainsPromotedNotifOrder()
597 activeNotificationListRepository.addNotif( in orderedChipNotificationKeys_rankingIsCorrect()
607 activeNotificationListRepository.addNotif( in orderedChipNotificationKeys_rankingIsCorrect()
614 activeNotificationListRepository.addNotif( in orderedChipNotificationKeys_rankingIsCorrect()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/wallpapers/ui/viewmodel/
DWallpaperFocalAreaViewModelTest.kt33 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
143 kosmos.activeNotificationListRepository.setActiveNotifs(0) in setTestFocalAreaBounds()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeDisplaysInteractorTest.kt32 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
64 private val activeNotificationRepository = kosmos.activeNotificationListRepository
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/notification/domain/interactor/
DStatusBarNotificationChipsInteractorTest.kt36 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
427 activeNotificationListRepository.addNotif( in allNotificationChips_lastAppVisibleTimeMaintainedAcrossNotifAddsAndRemoves()
443 activeNotificationListRepository.addNotif( in allNotificationChips_lastAppVisibleTimeMaintainedAcrossNotifAddsAndRemoves()
463 activeNotificationListRepository.removeNotif(notif1Info.key) in allNotificationChips_lastAppVisibleTimeMaintainedAcrossNotifAddsAndRemoves()
767 activeNotificationListRepository.activeNotifications.value = in setNotifs()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DWindowRootViewVisibilityInteractorTest.kt34 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
72 private val activeNotificationsRepository = kosmos.activeNotificationListRepository
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt44 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
88 private val activeNotificationsRepository = kosmos.activeNotificationListRepository
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/notification/ui/viewmodel/
DNotifChipsViewModelTest.kt47 import com.android.systemui.statusbar.notification.data.repository.activeNotificationListRepository
77 private val activeNotificationListRepository = kosmos.activeNotificationListRepository constant in com.android.systemui.statusbar.chips.notification.ui.viewmodel.NotifChipsViewModelTest
1051 activeNotificationListRepository.activeNotifications.value = in setNotifs()

12