Home
last modified time | relevance | path

Searched refs:collectLastValue (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModelTest.kt74 import com.android.systemui.coroutines.collectLastValue in <lambda>()
263 val authenticating by collectLastValue(viewModel.isAuthenticating) in <lambda>()
264 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>()
265 val modalities by collectLastValue(viewModel.modalities) in <lambda>()
266 val message by collectLastValue(viewModel.message) in <lambda>()
267 val size by collectLastValue(viewModel.size) in <lambda>()
313 val confirmHaptics by collectLastValue(viewModel.hapticsToPlay) in <lambda>()
329 val confirmedHaptics by collectLastValue(viewModel.hapticsToPlay) in <lambda>()
345 val currentHaptics by collectLastValue(viewModel.hapticsToPlay) in <lambda>()
356 val currentHaptics by collectLastValue(viewModel.hapticsToPlay) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterImplTest.kt27 import com.android.systemui.coroutines.collectLastValue
175 val currentMedia by collectLastValue(repository.currentMedia) in onDataLoadedForCurrentUser_updatesLoadedStates()
191 val currentMedia by collectLastValue(repository.currentMedia) in onDataLoadedForGuest_doesNotUpdateLoadedStates()
206 val currentMedia by collectLastValue(repository.currentMedia) in onRemovedForCurrent_updatesLoadedStates()
227 val currentMedia by collectLastValue(repository.currentMedia) in onRemovedForGuest_doesNotUpdateLoadedStates()
242 val currentMedia by collectLastValue(repository.currentMedia) in onUserSwitched_removesOldUserControls()
264 val currentMedia by collectLastValue(repository.currentMedia) in onUserSwitched_addsNewUserControls()
304 val currentMedia by collectLastValue(repository.currentMedia) in onProfileChanged_profileUnavailable_updateStates()
324 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMedia_mediaSet_returnsTrue()
333 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMedia_recommendationSet_returnsFalse()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelTest.kt27 import com.android.systemui.coroutines.collectLastValue
112 val latestHome by collectLastValue(home.wifiIcon) in wifiIcon_allLocationViewModelsReceiveSameData()
113 val latestKeyguard by collectLastValue(keyguard.wifiIcon) in wifiIcon_allLocationViewModelsReceiveSameData()
114 val latestQs by collectLastValue(qs.wifiIcon) in wifiIcon_allLocationViewModelsReceiveSameData()
128 val latest by collectLastValue(underTest.wifiIcon) in wifiIcon_validHotspot_hotspotIconNotShown()
157 val activityIn by collectLastValue(underTest.isActivityInViewVisible) in activity_showActivityConfigFalse_outputsFalse()
158 val activityOut by collectLastValue(underTest.isActivityOutViewVisible) in activity_showActivityConfigFalse_outputsFalse()
159 val activityContainer by collectLastValue(underTest.isActivityContainerVisible) in activity_showActivityConfigFalse_outputsFalse()
174 val activityIn by collectLastValue(underTest.isActivityInViewVisible) in activity_showActivityConfigFalse_noUpdatesReceived()
175 val activityOut by collectLastValue(underTest.isActivityOutViewVisible) in activity_showActivityConfigFalse_noUpdatesReceived()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/slider/
DSliderStateProducerTest.kt22 import com.android.systemui.coroutines.collectLastValue
37 val latest by collectLastValue(eventFlow) in <lambda>()
46 val latest by collectLastValue(eventFlow) in <lambda>()
55 val latest by collectLastValue(eventFlow) in <lambda>()
64 val latest by collectLastValue(eventFlow) in <lambda>()
74 val latest by collectLastValue(eventFlow) in <lambda>()
84 val latest by collectLastValue(eventFlow) in <lambda>()
94 val latest by collectLastValue(eventFlow) in onStartTrackingTouch_afterProgress_trackingTouchEventProduced()
105 val latest by collectLastValue(eventFlow) in <lambda>()
116 val latest by collectLastValue(eventFlow) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModelTest.kt30 import com.android.systemui.coroutines.collectLastValue in <lambda>()
81 val currentScene by collectLastValue(sceneInteractor.currentScene) in <lambda>()
82 val selectedDots by collectLastValue(underTest.selectedDots) in <lambda>()
83 val currentDot by collectLastValue(underTest.currentDot) in <lambda>()
95 val currentScene by collectLastValue(sceneInteractor.currentScene) in <lambda>()
96 val selectedDots by collectLastValue(underTest.selectedDots) in <lambda>()
97 val currentDot by collectLastValue(underTest.currentDot) in <lambda>()
110 val authResult by collectLastValue(authenticationInteractor.onAuthenticationResult) in <lambda>()
111 val selectedDots by collectLastValue(underTest.selectedDots) in <lambda>()
112 val currentDot by collectLastValue(underTest.currentDot) in <lambda>()
[all …]
DPinBouncerViewModelTest.kt36 import com.android.systemui.coroutines.collectLastValue in <lambda>()
88 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>()
115 val dialogMessage by collectLastValue(underTest.errorDialogMessage) in <lambda>()
138 val hintedPinLength by collectLastValue(underTest.hintedPinLength) in <lambda>()
146 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>()
157 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>()
171 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>()
188 val currentScene by collectLastValue(sceneInteractor.currentScene) in <lambda>()
189 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>()
207 val authResult by collectLastValue(authenticationInteractor.onAuthenticationResult) in <lambda>()
[all …]
DPasswordBouncerViewModelTest.kt28 import com.android.systemui.coroutines.collectLastValue
89 val currentScene by collectLastValue(sceneInteractor.currentScene) in onShown()
90 val password by collectLastValue(underTest.password) in onShown()
101 val password by collectLastValue(underTest.password) in onHidden_resetsPasswordInputAndMessage()
114 val currentScene by collectLastValue(sceneInteractor.currentScene) in onPasswordInputChanged()
115 val password by collectLastValue(underTest.password) in onPasswordInputChanged()
127 val authResult by collectLastValue(authenticationInteractor.onAuthenticationResult) in onAuthenticateKeyPressed_whenCorrect()
139 val password by collectLastValue(underTest.password) in onAuthenticateKeyPressed_whenWrong()
151 val password by collectLastValue(underTest.password) in onAuthenticateKeyPressed_whenEmpty()
167 val authResult by collectLastValue(authenticationInteractor.onAuthenticationResult) in onAuthenticateKeyPressed_correctAfterWrong()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt27 import com.android.systemui.coroutines.collectLastValue
117 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_default()
129 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_moreThanTwo_doesNotFilter()
139 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_nonOpportunistic_updatesWithMultipleSubs()
150 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_opportunistic_differentGroups_doesNotFilter()
167 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_opportunistic_nonGrouped_doesNotFilter()
186 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_opportunistic_grouped_configFalse_showsActive_3()
206 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_opportunistic_grouped_configFalse_showsActive_4()
226 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_active_1()
247 val latest by collectLastValue(underTest.filteredSubscriptions) in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_nonActive_1()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModelTest.kt27 import com.android.systemui.coroutines.collectLastValue
107 val important by collectLastValue(underTest.isImportantForAccessibility) in isImportantForAccessibility_falseWhenNoNotifs()
122 val important by collectLastValue(underTest.isImportantForAccessibility) in isImportantForAccessibility_trueWhenNotifs()
137 val important by collectLastValue(underTest.isImportantForAccessibility) in isImportantForAccessibility_trueWhenNotKeyguard()
152 val shouldInclude by collectLastValue(underTest.shouldShowEmptyShadeView) in shouldIncludeEmptyShadeView_trueWhenNoNotifs()
165 val shouldInclude by collectLastValue(underTest.shouldShowEmptyShadeView) in shouldIncludeEmptyShadeView_falseWhenNotifs()
178 val shouldInclude by collectLastValue(underTest.shouldShowEmptyShadeView) in shouldIncludeEmptyShadeView_falseWhenQsExpandedDefault()
193 val shouldInclude by collectLastValue(underTest.shouldShowEmptyShadeView) in shouldIncludeEmptyShadeView_trueWhenQsExpandedInSplitShade()
212 val shouldInclude by collectLastValue(underTest.shouldShowEmptyShadeView) in shouldIncludeEmptyShadeView_trueWhenLockedShade()
227 val shouldInclude by collectLastValue(underTest.shouldShowEmptyShadeView) in shouldIncludeEmptyShadeView_falseWhenKeyguard()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DHeadsUpNotificationInteractorTest.kt25 import com.android.systemui.coroutines.collectLastValue
69 val hasPinnedRows by collectLastValue(underTest.hasPinnedRows) in hasPinnedRows_emptyList_false()
77 val hasPinnedRows by collectLastValue(underTest.hasPinnedRows) in hasPinnedRows_noPinnedRows_false()
93 val hasPinnedRows by collectLastValue(underTest.hasPinnedRows) in hasPinnedRows_hasPinnedRows_true()
109 val hasPinnedRows by collectLastValue(underTest.hasPinnedRows) in hasPinnedRows_rowGetsPinned_true()
131 val hasPinnedRows by collectLastValue(underTest.hasPinnedRows) in hasPinnedRows_rowGetsUnPinned_false()
153 val pinnedHeadsUpRows by collectLastValue(underTest.pinnedHeadsUpRows) in pinnedRows_noRows_isEmpty()
161 val pinnedHeadsUpRows by collectLastValue(underTest.pinnedHeadsUpRows) in pinnedRows_noPinnedRows_isEmpty()
177 val pinnedHeadsUpRows by collectLastValue(underTest.pinnedHeadsUpRows) in pinnedRows_hasPinnedRows_containsPinnedRows()
195 val pinnedHeadsUpRows by collectLastValue(underTest.pinnedHeadsUpRows) in pinnedRows_rowGetsPinned_containsPinnedRows()
[all …]
DActiveNotificationsInteractorTest.kt24 import com.android.systemui.coroutines.collectLastValue
49 val count by collectLastValue(underTest.allNotificationsCount) in testAllNotificationsCount()
61 val areAnyNotificationsPresent by collectLastValue(underTest.areAnyNotificationsPresent) in areAnyNotificationsPresent_isTrue()
73 val areAnyNotificationsPresent by collectLastValue(underTest.areAnyNotificationsPresent) in areAnyNotificationsPresent_isFalse()
85 val activeNotificationRanks by collectLastValue(underTest.activeNotificationRanks) in testActiveNotificationRanks_sizeMatches()
97 val hasClearable by collectLastValue(underTest.hasClearableNotifications) in clearableNotifications_whenHasClearableAlertingNotifs()
115 val hasClearable by collectLastValue(underTest.hasClearableNotifications) in hasClearableNotifications_whenHasClearableSilentNotifs()
133 val hasClearable by collectLastValue(underTest.hasClearableNotifications) in testHasClearableNotifications_whenHasNoNotifs()
151 val hasClearable by collectLastValue(underTest.hasClearableAlertingNotifications) in hasClearableAlertingNotifications_whenHasClearableSilentNotifs()
169 val hasClearable by collectLastValue(underTest.hasClearableAlertingNotifications) in hasClearableAlertingNotifications_whenHasNoClearableNotifs()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractorTest.kt25 import com.android.systemui.collectLastValue
91 val filteredSet by collectLastValue(underTest.filteredNotifSet()) in filteredEntrySet()
99 val filteredSet by collectLastValue(underTest.filteredNotifSet()) in filteredEntrySet_noExpandedBubbles()
106 val filteredSet by collectLastValue(underTest.filteredNotifSet(showAmbient = false)) in filteredEntrySet_noAmbient()
116 val filteredSet by collectLastValue(underTest.filteredNotifSet(showLowPriority = false)) in filteredEntrySet_noLowPriority()
123 val filteredSet by collectLastValue(underTest.filteredNotifSet(showDismissed = false)) in filteredEntrySet_noDismissed()
131 collectLastValue(underTest.filteredNotifSet(showRepliedMessages = false)) in filteredEntrySet_noRepliedMessages()
140 val filteredSet by collectLastValue(underTest.filteredNotifSet(showPulsing = false)) in filteredEntrySet_noPulsing_notifsNotFullyHidden()
148 val filteredSet by collectLastValue(underTest.filteredNotifSet(showPulsing = false)) in filteredEntrySet_noPulsing_notifsFullyHidden()
199 val filteredSet by collectLastValue(underTest.aodNotifs) in filteredEntrySet_noExpandedBubbles()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DUserTileSpecRepositoryTest.kt8 import com.android.systemui.coroutines.collectLastValue
63 val tiles by collectLastValue(underTest.tiles()) in emptySetting_usesDefaultValue()
71 val tiles by collectLastValue(underTest.tiles()) in changeInSettings_valueDoesntChange()
83 val tiles by collectLastValue(underTest.tiles()) in changeInSettings_settingIsRestored()
96 val tiles by collectLastValue(underTest.tiles()) in invalidTilesAreNotPresent()
106 val tiles by collectLastValue(underTest.tiles()) in noValidTiles_defaultSet()
127 val tiles by collectLastValue(underTest.tiles()) in addTileAtEnd()
141 val tiles by collectLastValue(underTest.tiles()) in addTileAtPosition()
156 val tiles by collectLastValue(underTest.tiles()) in addInvalidTile_noop()
170 val tiles by collectLastValue(underTest.tiles()) in addTileAtPosition_tooLarge_addedAtEnd()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt27 import com.android.systemui.coroutines.collectLastValue
115 collectLastValue(underTest.wifiNetwork) in wifiPickerTrackerCreation_scansDisabled()
124 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_enabled_true()
135 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_enabling_false()
146 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_disabling_true()
157 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_disabled_false()
168 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_respondsToUpdates()
189 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_wifiNetwork_isTrue()
202 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_carrierMerged_isTrue()
217 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_wifiNetworkNotDefault_isFalse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractorTest.kt24 import com.android.systemui.coroutines.collectLastValue
77 val latest by collectLastValue(underTest.isSatelliteAllowed) in isSatelliteAllowed_falseWhenNotAllowed()
90 val latest by collectLastValue(underTest.isSatelliteAllowed) in isSatelliteAllowed_trueWhenAllowed()
115 val latest by collectLastValue(underTest.isSatelliteAllowed) in isSatelliteAllowed_offWhenFlagIsOff()
128 val latest by collectLastValue(underTest.connectionState) in connectionState_matchesRepositoryValue()
163 val latest by collectLastValue(underTest.connectionState) in connectionState_offWhenFeatureIsDisabled()
188 val latest by collectLastValue(underTest.signalStrength) in signalStrength_matchesRepo()
219 val latest by collectLastValue(underTest.signalStrength) in signalStrength_zeroWhenDisabled()
239 val latest by collectLastValue(underTest.areAllConnectionsOutOfService) in areAllConnectionsOutOfService_noConnections_noDeviceEmergencyCalls_yes()
254 val latest by collectLastValue(underTest.areAllConnectionsOutOfService) in areAllConnectionsOutOfService_noConnections_deviceEmergencyCalls_yes()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DBiometricMessageInteractorTest.kt31 import com.android.systemui.coroutines.collectLastValue
70 val fingerprintErrorMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintErrorMessage()
90 val fingerprintErrorMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintLockoutErrorMessage()
111 val fingerprintErrorMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintErrorMessage_suppressedError()
128 val fingerprintHelpMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintHelpMessage()
148 val fingerprintHelpMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintHelpMessage_primaryAuthRequired()
168 val fingerprintFailMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintFailMessage_nonUdfps()
196 val fingerprintFailMessage by collectLastValue(underTest.fingerprintMessage) in fingerprintFailMessage_udfps()
224 val faceFailedMessage by collectLastValue(underTest.faceMessage) in faceFailedMessage_primaryAuthRequired()
239 val faceFailedMessage by collectLastValue(underTest.faceMessage) in faceFailedMessage_faceOnly()
[all …]
DDeviceEntryUdfpsInteractorTest.kt26 import com.android.systemui.coroutines.collectLastValue
69 val isUdfpsSupported by collectLastValue(underTest.isUdfpsSupported) in udfpsSupported_rearFp_false()
77 val isUdfpsSupported by collectLastValue(underTest.isUdfpsSupported) in udfpsSupoprted()
85 val isUdfpsEnrolledAndEnabled by collectLastValue(underTest.isUdfpsEnrolledAndEnabled) in udfpsEnrolledAndEnabled()
94 val isUdfpsEnrolledAndEnabled by collectLastValue(underTest.isUdfpsEnrolledAndEnabled) in udfpsEnrolledAndEnabled_rearFp_false()
103 val isUdfpsEnrolledAndEnabled by collectLastValue(underTest.isUdfpsEnrolledAndEnabled) in udfpsEnrolledAndEnabled_notEnrolledOrEnabled_false()
112 val isListeningForUdfps by collectLastValue(underTest.isListeningForUdfps) in isListeningForUdfps()
121 val isListeningForUdfps by collectLastValue(underTest.isListeningForUdfps) in isListeningForUdfps_rearFp_false()
130 val isListeningForUdfps by collectLastValue(underTest.isListeningForUdfps) in isListeningForUdfps_notRunning_false()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DDeviceEntryIconViewModelTest.kt28 import com.android.systemui.coroutines.collectLastValue
75 val isLongPressEnabled by collectLastValue(underTest.isLongPressEnabled) in isLongPressEnabled_udfpsRunning()
86 val isLongPressEnabled by collectLastValue(underTest.isLongPressEnabled) in isLongPressEnabled_unlocked()
97 val isLongPressEnabled by collectLastValue(underTest.isLongPressEnabled) in isLongPressEnabled_lock()
111 val isVisible by collectLastValue(underTest.isVisible) in isVisible()
126 val iconType by collectLastValue(underTest.iconType) in iconType_fingerprint()
138 val iconType by collectLastValue(underTest.iconType) in iconType_locked()
147 val iconType by collectLastValue(underTest.iconType) in iconType_unlocked()
156 val iconType by collectLastValue(underTest.iconType) in iconType_none()
169 val iconType by collectLastValue(underTest.iconType) in iconType_fingerprint_withSceneContainer()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardLongPressInteractorTest.kt27 import com.android.systemui.coroutines.collectLastValue in <lambda>()
90 val isEnabled = collectLastValue(underTest.isLongPressHandlingEnabled) in <lambda>()
107 val isEnabled = collectLastValue(underTest.isLongPressHandlingEnabled) in <lambda>()
123 val isEnabled by collectLastValue(underTest.isLongPressHandlingEnabled) in <lambda>()
132 val isMenuVisible by collectLastValue(underTest.isMenuVisible) in <lambda>()
133 val shouldOpenSettings by collectLastValue(underTest.shouldOpenSettings) in <lambda>()
148 val shouldOpenSettings by collectLastValue(underTest.shouldOpenSettings) in <lambda>()
162 val isMenuVisible by collectLastValue(underTest.isMenuVisible) in <lambda>()
163 val shouldOpenSettings by collectLastValue(underTest.shouldOpenSettings) in <lambda>()
176 val isMenuVisible by collectLastValue(underTest.isMenuVisible) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractorTest.kt29 import com.android.systemui.coroutines.collectLastValue
72 val isTutorialAvailable by collectLastValue(underTest.isTutorialAvailable) in tutorialUnavailable_whenKeyguardNotVisible()
82 val isTutorialAvailable by collectLastValue(underTest.isTutorialAvailable) in tutorialUnavailable_whenTutorialIsCompleted()
91 val isTutorialAvailable by collectLastValue(underTest.isTutorialAvailable) in tutorialUnavailable_whenCommunalNotAvailable()
101 val isTutorialAvailable by collectLastValue(underTest.isTutorialAvailable) in tutorialAvailable_whenTutorialNotStarted()
110 val isTutorialAvailable by collectLastValue(underTest.isTutorialAvailable) in tutorialAvailable_whenTutorialIsStarted()
120 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_notStartedAndCommunalSceneShowing_tutorialStarted()
132 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_startedAndCommunalSceneShowing_stateWillNotUpdate()
145 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_completedAndCommunalSceneShowing_stateWillNotUpdate()
157 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_notStartedAndCommunalSceneNotShowing_stateWillNotUpdate()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DOverlayShadeViewModelTest.kt25 import com.android.systemui.coroutines.collectLastValue
60 val backgroundScene by collectLastValue(underTest.backgroundScene) in backgroundScene_deviceLocked_lockscreen()
70 val backgroundScene by collectLastValue(underTest.backgroundScene) in backgroundScene_deviceUnlocked_gone()
81 val backgroundScene by collectLastValue(underTest.backgroundScene) in backgroundScene_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
82 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in backgroundScene_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
98 val backgroundScene by collectLastValue(underTest.backgroundScene) in backgroundScene_authMethodSwipe_lockscreenDismissed_goesToGone()
99 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in backgroundScene_authMethodSwipe_lockscreenDismissed_goesToGone()
115 val currentScene by collectLastValue(sceneInteractor.currentScene) in onScrimClicked_onLockscreen_goesToLockscreen()
129 val currentScene by collectLastValue(sceneInteractor.currentScene) in onScrimClicked_deviceWasEntered_goesToGone()
130 val backgroundScene by collectLastValue(underTest.backgroundScene) in onScrimClicked_deviceWasEntered_goesToGone()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/
DZenModeInteractorTest.kt25 import com.android.systemui.collectLastValue
62 val enabled by collectLastValue(underTest.isZenModeEnabled) in create()
73 val enabled by collectLastValue(underTest.isZenModeEnabled) in testIsZenModeEnabled_alarms()
84 val enabled by collectLastValue(underTest.isZenModeEnabled) in testIsZenModeEnabled_importantInterruptions()
95 val enabled by collectLastValue(underTest.isZenModeEnabled) in testIsZenModeEnabled_noInterruptions()
106 val enabled by collectLastValue(underTest.isZenModeEnabled) in testIsZenModeEnabled_unknown()
117 val hidden by collectLastValue(underTest.areNotificationsHiddenInShade) in testAreNotificationsHiddenInShade_noPolicy()
129 val hidden by collectLastValue(underTest.areNotificationsHiddenInShade) in testAreNotificationsHiddenInShade_zenOffShadeSuppressed()
141 val hidden by collectLastValue(underTest.areNotificationsHiddenInShade) in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed()
153 val hidden by collectLastValue(underTest.areNotificationsHiddenInShade) in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationLoggerViewModelTest.kt22 import com.android.systemui.coroutines.collectLastValue in <lambda>()
57 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>()
68 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>()
79 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>()
89 val notifs by collectLastValue(underTest.activeNotifications) in <lambda>()
102 val notifications by collectLastValue(underTest.activeNotifications) in <lambda>()
113 val rankingsMap by collectLastValue(underTest.activeNotificationRanks) in <lambda>()
124 val rankingsMap by collectLastValue(underTest.activeNotificationRanks) in <lambda>()
134 val isOnLockScreen by collectLastValue(underTest.isOnLockScreen) in <lambda>()
143 val isOnLockScreen by collectLastValue(underTest.isOnLockScreen) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt29 import com.android.systemui.coroutines.collectLastValue
71 val model by collectLastValue(underTest.getAudioStream(audioStream)) in setMuted_mutesStream()
88 val model by collectLastValue(underTest.getAudioStream(audioStream)) in setVolume_changesVolume()
106 collectLastValue( in ringMuted_notificationVolume_cantChange()
128 collectLastValue( in zenMuted_cantChange()
144 val model by collectLastValue(underTest.getAudioStream(audioStream)) in streamIsMuted_getStream_volumeMin()
163 val model by collectLastValue(underTest.getAudioStream(audioStream)) in streamIsZenMuted_getStream_lastAudibleVolume()
179 collectLastValue( in ringerModeVibrateAndMuted_getNotificationStream_volumeIsMin()
196 collectLastValue( in ringerModeVibrate_getRingerStream_volumeIsMin()
210 val audioStreamModel by collectLastValue(underTest.getAudioStream(audioStream)) in streamNotAffectedByMute_isNotMutable()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsShadeSceneViewModelTest.kt26 import com.android.systemui.coroutines.collectLastValue
64 val destinationScenes by collectLastValue(underTest.destinationScenes) in upTransitionSceneKey_deviceLocked_lockscreen()
65 val homeScene by collectLastValue(kosmos.homeSceneFamilyResolver.resolvedScene) in upTransitionSceneKey_deviceLocked_lockscreen()
75 val destinationScenes by collectLastValue(underTest.destinationScenes) in upTransitionSceneKey_deviceUnlocked_gone()
76 val homeScene by collectLastValue(kosmos.homeSceneFamilyResolver.resolvedScene) in upTransitionSceneKey_deviceUnlocked_gone()
87 val destinationScenes by collectLastValue(underTest.destinationScenes) in upTransitionSceneKey_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
88 val homeScene by collectLastValue(kosmos.homeSceneFamilyResolver.resolvedScene) in upTransitionSceneKey_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
102 val destinationScenes by collectLastValue(underTest.destinationScenes) in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
103 val homeScene by collectLastValue(kosmos.homeSceneFamilyResolver.resolvedScene) in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
116 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in lockDevice()
[all …]

12345678910>>...15