/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/domain/interactor/ |
D | HideNotificationsInteractorTest.kt | 28 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/ |
D | PrimaryBouncerToGoneTransitionViewModelTest.kt | 23 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()
|
D | DreamingToLockscreenTransitionViewModelTest.kt | 26 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()
|
D | OccludedToLockscreenTransitionViewModelTest.kt | 24 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()
|
D | LockscreenToDozingTransitionViewModelTest.kt | 24 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()
|
D | AlternateBouncerToDozingTransitionViewModelTest.kt | 24 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()
|
D | PrimaryBouncerToDozingTransitionViewModelTest.kt | 24 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()
|
D | GlanceableHubToLockscreenTransitionViewModelTest.kt | 23 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()
|
D | AlternateBouncerToAodTransitionViewModelTest.kt | 26 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()
|
D | AlternateBouncerToGoneTransitionViewModelTest.kt | 23 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()
|
D | AodToGoneTransitionViewModelTest.kt | 22 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()
|
D | DozingToGoneTransitionViewModelTest.kt | 22 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()
|
D | GoneToDreamingTransitionViewModelTest.kt | 22 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()
|
D | DozingToLockscreenTransitionViewModelTest.kt | 22 import com.android.systemui.coroutines.collectValues 47 val deviceEntryParentViewAlpha by collectValues(underTest.deviceEntryParentViewAlpha) in deviceEntryParentViewShows() 60 val backgroundViewAlpha by collectValues(underTest.deviceEntryBackgroundViewAlpha) in deviceEntryBackgroundViewShows()
|
D | LockscreenToOccludedTransitionViewModelTest.kt | 27 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/ |
D | KeyguardTransitionInteractorTest.kt | 24 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/ |
D | ConfigurationInteractorTest.kt | 27 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/ |
D | FakeCameraSensorPrivacyRepositoryTest.kt | 23 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>()
|
D | FakeCameraAutoRotateRepositoryTest.kt | 23 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>()
|
D | CameraAutoRotateRepositoryImplTest.kt | 24 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/ |
D | OverridableFlowTest.kt | 38 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/ |
D | SwipeToDismissInteractorTest.kt | 22 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>()
|
D | InWindowLauncherUnlockAnimationInteractorTest.kt | 25 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/ |
D | CustomTileInteractorTest.kt | 27 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/ |
D | CustomTilePackageUpdatesRepositoryTest.kt | 29 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()
|