Home
last modified time | relevance | path

Searched refs:collectValues (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DHideNotificationsInteractorTest.kt28 import com.android.systemui.coroutines.collectValues
112 val values by collectValues(hideNotificationsFlow) in displaySwitch_hidesNotifications()
124 val values by collectValues(hideNotificationsFlow) in displaySwitch_sizeIsTheSame_noChangesToNotifications()
136 val values by collectValues(hideNotificationsFlow) in displaySwitch_sizeIsTheSameAfterRotation_noChangesToNotifications()
153 val values by collectValues(hideNotificationsFlow) in displaySwitch_noAnimations_screenTurnedOn_showsNotificationsBack()
168 val values by collectValues(hideNotificationsFlow) in displaySwitchUnfold_animationsEnabled_screenTurnedOn_doesNotShowNotifications()
183 val values by collectValues(hideNotificationsFlow) in displaySwitchFold_animationsEnabled_screenTurnedOn_showsNotifications()
198 val values by collectValues(hideNotificationsFlow) in displaySwitch_noAnimations_screenGoesToSleep_showsNotificationsBack()
213 val values by collectValues(hideNotificationsFlow) in displaySwitch_animationsEnabled_screenGoesToSleep_showsNotificationsBack()
228 val values by collectValues(hideNotificationsFlow) in displaySwitch_animationsEnabled_unfoldAnimationNotFinished_notificationsHidden()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DPrimaryBouncerToGoneTransitionViewModelTest.kt23 import com.android.systemui.coroutines.collectValues
65 val values by collectValues(underTest.bouncerAlpha) in bouncerAlpha()
84 val values by collectValues(underTest.bouncerAlpha) in bouncerAlpha_runDimissFromKeyguard()
105 val values by collectValues(underTest.lockscreenAlpha) in lockscreenAlpha()
118 val values by collectValues(underTest.lockscreenAlpha) in lockscreenAlpha_runDimissFromKeyguard()
137 val values by collectValues(underTest.lockscreenAlpha) in lockscreenAlpha_leaveShadeOpen()
152 val values by collectValues(underTest.notificationAlpha) in notificationAlpha()
169 val values by collectValues(underTest.notificationAlpha) in notificationAlpha_leaveShadeOpen()
DDreamingToLockscreenTransitionViewModelTest.kt26 import com.android.systemui.coroutines.collectValues
65 val valuesLeft by collectValues(underTest.shortcutsAlpha) in shortcutsAlpha_bothShortcutsReceiveLastValue()
66 val valuesRight by collectValues(underTest.shortcutsAlpha) in shortcutsAlpha_bothShortcutsReceiveLastValue()
88 val values by collectValues(underTest.dreamOverlayTranslationY(pixels)) in dreamOverlayTranslationY()
110 val values by collectValues(underTest.dreamOverlayAlpha) in dreamOverlayFadeOut()
132 val values by collectValues(underTest.lockscreenAlpha) in lockscreenFadeIn()
153 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewFadeIn()
180 val values by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewAppear()
200 val values by collectValues(underTest.lockscreenTranslationY(pixels)) in lockscreenTranslationY()
DOccludedToLockscreenTransitionViewModelTest.kt24 import com.android.systemui.coroutines.collectValues
57 val values by collectValues(underTest.lockscreenAlpha) in lockscreenFadeIn()
87 val values by collectValues(underTest.lockscreenTranslationY) in lockscreenTranslationY()
112 val values by collectValues(underTest.lockscreenTranslationY) in lockscreenTranslationYResettedAfterJobCancelled()
123 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewFadeIn()
151 val values by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewShows()
DLockscreenToDozingTransitionViewModelTest.kt24 import com.android.systemui.coroutines.collectValues
66 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewAppear_udfpsEnrolledAndEnabled()
88 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewDisappear_udfpsNotEnrolled()
109 val alpha by collectValues(underTest.lockscreenAlpha) in lockscreenAlphaFadesOutAndFinishesVisible()
126 val values by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewDisappear()
DAlternateBouncerToDozingTransitionViewModelTest.kt24 import com.android.systemui.coroutines.collectValues
66 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewAppear_udfpsEnrolledAndEnabled()
88 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewDisappear_udfpsNotEnrolledAndEnabled()
108 val values by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewDisappear()
DPrimaryBouncerToDozingTransitionViewModelTest.kt24 import com.android.systemui.coroutines.collectValues
66 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewAppear_udfpsEnrolledAndEnabled()
88 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentView_udfpsNotEnrolledAndEnabled_noUpdates()
108 val values by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewDisappear()
DGlanceableHubToLockscreenTransitionViewModelTest.kt23 import com.android.systemui.coroutines.collectValues
52 val values by collectValues(underTest.keyguardAlpha) in lockscreenFadeIn()
84 val values by collectValues(underTest.keyguardTranslationX) in lockscreenTranslationX()
109 val values by collectValues(underTest.keyguardTranslationX) in lockscreenTranslationX_resetsAfterCancellation()
DAlternateBouncerToAodTransitionViewModelTest.kt26 import com.android.systemui.coroutines.collectValues
75 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewAppear_udfpsEnrolledAndEnabled()
102 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewDisappear_udfpsNotEnrolledAndEnabled()
122 val values by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewDisappear()
DAlternateBouncerToGoneTransitionViewModelTest.kt23 import com.android.systemui.coroutines.collectValues
59 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewDisappear()
117 val values by collectValues(underTest.notificationAlpha(ViewStateAccessor())) in notificationAlpha_leaveShadeOpen()
134 val alpha by collectValues(underTest.lockscreenAlpha(viewState)) in lockscreenAlpha_zeroInitialAlpha()
DAodToGoneTransitionViewModelTest.kt22 import com.android.systemui.coroutines.collectValues
48 val alpha by collectValues(underTest.lockscreenAlpha(viewState)) in lockscreenAlpha()
66 val deviceEntryParentViewAlpha by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewHides()
DDozingToGoneTransitionViewModelTest.kt22 import com.android.systemui.coroutines.collectValues
57 val alpha by collectValues(underTest.lockscreenAlpha(viewState)) in lockscreenAlpha()
73 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewDisappear()
DGoneToDreamingTransitionViewModelTest.kt22 import com.android.systemui.coroutines.collectValues
54 val values by collectValues(underTest.lockscreenAlpha) in runTest()
80 val values by collectValues(underTest.lockscreenTranslationY(pixels)) in lockscreenTranslationY()
DDozingToLockscreenTransitionViewModelTest.kt22 import com.android.systemui.coroutines.collectValues
47 val deviceEntryParentViewAlpha by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewShows()
60 val backgroundViewAlpha by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewShows()
DLockscreenToOccludedTransitionViewModelTest.kt27 import com.android.systemui.coroutines.collectValues
94 val values by collectValues(underTest.lockscreenAlpha) in lockscreenFadeOut()
120 val values by collectValues(underTest.lockscreenTranslationY) in lockscreenTranslationY()
143 val values by collectValues(underTest.lockscreenTranslationY) in lockscreenTranslationYIsCanceled()
164 val values by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewAlpha_shadeExpanded()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractorTest.kt24 import com.android.systemui.coroutines.collectValues
104 collectValues(underTest.transition(Edge.create(LOCKSCREEN, AOD))) in transitionCollectorsReceivesOnlyAppropriateEvents()
106 collectValues(underTest.transition(Edge.create(AOD, LOCKSCREEN))) in transitionCollectorsReceivesOnlyAppropriateEvents()
130 val finishedSteps by collectValues(underTest.finishedKeyguardState) in finishedKeyguardStateTests()
153 val startedStates by collectValues(underTest.startedKeyguardState) in startedKeyguardStateTests()
176 val finishedSteps by collectValues(underTest.finishedKeyguardTransitionStep) in finishedKeyguardTransitionStepTests()
200 val startedSteps by collectValues(underTest.startedKeyguardTransitionStep) in startedKeyguardTransitionStepTests()
239 val transitionValues by collectValues(underTest.transitionValue(state = DOZING)) in transitionValue()
271 val transitionValuesGone by collectValues(underTest.transitionValue(state = GONE)) in transitionValue_canceled_toAnotherState()
272 val transitionValuesAod by collectValues(underTest.transitionValue(state = AOD)) in transitionValue_canceled_toAnotherState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/domain/interactor/
DConfigurationInteractorTest.kt27 import com.android.systemui.coroutines.collectValues
94 val values by collectValues(underTest.maxBounds) in maxBoundsChange_emitsMaxBoundsChange()
112 val values by collectValues(underTest.maxBounds) in maxBoundsSameOnConfigChange_doesNotEmitMaxBoundsChange()
125 val values by collectValues(underTest.maxBounds) in firstMaxBoundsChange_emitsMaxBoundsChange()
136 val values by collectValues(underTest.naturalMaxBounds) in maxBoundsChange_emitsNaturalMaxBoundsChange()
154 val values by collectValues(underTest.naturalMaxBounds) in maxBoundsSameOnConfigChange_doesNotEmitNaturalMaxBoundsChange()
167 val values by collectValues(underTest.naturalMaxBounds) in firstMaxBoundsChange_emitsNaturalMaxBoundsChange()
178 val values by collectValues(underTest.naturalMaxBounds) in displayRotatedButMaxBoundsTheSame_doesNotEmitNewNaturalMaxBoundsChange()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/camera/data/repository/
DFakeCameraSensorPrivacyRepositoryTest.kt23 import com.android.systemui.coroutines.collectValues
43 val isCameraSensorPrivacySettingEnabled by collectValues(underTest.isEnabled(testUser)) in <lambda>()
54 val isCameraSensorPrivacySettingEnabled by collectValues(underTest.isEnabled(testUser)) in <lambda>()
64 val isCameraSensorPrivacySettingEnabled by collectValues(underTest.isEnabled(testUser)) in <lambda>()
DFakeCameraAutoRotateRepositoryTest.kt23 import com.android.systemui.coroutines.collectValues
44 collectValues(underTest.isCameraAutoRotateSettingEnabled(testUser)) in <lambda>()
56 collectValues(underTest.isCameraAutoRotateSettingEnabled(testUser)) in <lambda>()
67 collectValues(underTest.isCameraAutoRotateSettingEnabled(testUser)) in <lambda>()
DCameraAutoRotateRepositoryImplTest.kt24 import com.android.systemui.coroutines.collectValues
54 collectValues(underTest.isCameraAutoRotateSettingEnabled(testUser)) in isCameraAutoRotateSettingEnabled_3times()
77 collectValues(underTest.isCameraAutoRotateSettingEnabled(testUser)) in isCameraAutoRotateSettingEnabled_emitsOnStart()
90 collectValues(underTest.isCameraAutoRotateSettingEnabled(testUser)) in isCameraAutoRotateSettingEnabled_0Times()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/compose/
DOverridableFlowTest.kt38 val values = collectValues(overridableFlow.flow) in <lambda>()
50 val values = collectValues(overridableFlow.flow) in <lambda>()
55 private suspend fun <T> collectValues(flow: Flow<T>): List<T> = withTimeout(500) { in <lambda>() method in com.android.settingslib.spa.framework.compose.OverridableFlowTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DSwipeToDismissInteractorTest.kt22 import com.android.systemui.coroutines.collectValues in <lambda>()
51 val values by collectValues(underTest.dismissFling) in <lambda>()
71 val values by collectValues(underTest.dismissFling) in <lambda>()
97 val values by collectValues(underTest.dismissFling) in <lambda>()
DInWindowLauncherUnlockAnimationInteractorTest.kt25 import com.android.systemui.coroutines.collectValues
84 val values by collectValues(underTest.transitioningToGoneWithInWindowAnimation) in testTransitioningToGoneWithInWindowAnimation_trueIfTopActivityIsLauncher_andTransitioningToGone()
167 val values by collectValues(underTest.transitioningToGoneWithInWindowAnimation) in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherPartwayThrough()
244 val values by collectValues(underTest.transitioningToGoneWithInWindowAnimation) in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherWhileNotTransitioningToGone()
288 val values by collectValues(underTest.shouldStartInWindowAnimation) in testShouldStartInWindowAnimation_trueOnceSurfaceAvailable_falseWhenTransitionEnds()
352 val values by collectValues(underTest.shouldStartInWindowAnimation) in testShouldStartInWindowAnimation_neverTrueIfSurfaceNotAvailable()
394 val values by collectValues(underTest.shouldStartInWindowAnimation) in testShouldStartInWindowAnimation_falseIfSurfaceAvailable_afterTransitionInterrupted()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileInteractorTest.kt27 import com.android.systemui.coroutines.collectValues
92 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in notActiveTileIsAvailableAfterUpdated()
113 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in notActiveTileIsAvailableAfterDefaultsUpdated()
135 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in initSuspendsForActiveTileNotRestoredAndNotUpdated()
155 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in initSuspendedForNotActiveTileWithoutUpdates()
201 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in initForTheSameUserProcessedOnce()
229 val tiles1 by collectValues(underTest.getTiles(TEST_USER_1)) in initForDifferentUsersProcessedOnce()
230 val tiles2 by collectValues(underTest.getTiles(TEST_USER_2)) in initForDifferentUsersProcessedOnce()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/
DCustomTilePackageUpdatesRepositoryTest.kt29 import com.android.systemui.coroutines.collectValues
83 val events by collectValues(underTest.getPackageChangesForUser(USER_1)) in packageChangesEmittedForTilePassing()
95 val events by collectValues(underTest.getPackageChangesForUser(USER_1)) in packageChangesEmittedForAnotherTileIgnored()
107 val events by collectValues(underTest.getPackageChangesForUser(USER_1)) in unsupportedActionDoesntEmmit()

1234