Loading packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/DreamOverlayServiceTest.kt→packages/SystemUI/tests/src/com/android/systemui/dreams/DreamOverlayServiceTest.kt +47 −47 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { dreamsComplicationComponent, dreamOverlayComponent, complicationComponent, ambientTouchComponent ambientTouchComponent, ) } Loading @@ -194,7 +194,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { dreamsComplicationComponent, dreamOverlayComponent, complicationComponent, ambientTouchComponent ambientTouchComponent, ) } } Loading @@ -204,7 +204,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { com.android.systemui.dreams.complication.dagger.ComplicationComponent.Factory, dreamOverlayComponentFactory: DreamOverlayComponent.Factory, complicationComponentFactory: ComplicationComponent.Factory, ambientTouchComponentFactory: AmbientTouchComponent.Factory ambientTouchComponentFactory: AmbientTouchComponent.Factory, ): EnvironmentComponents { val dreamOverlayComponent = mock<DreamOverlayComponent>() whenever(dreamOverlayComponent.getDreamOverlayContainerViewController()) Loading Loading @@ -241,7 +241,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { dreamComplicationComponent, dreamOverlayComponent, complicationComponent, ambientTouchComponent ambientTouchComponent, ) } Loading @@ -259,7 +259,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamComplicationComponentFactory, mDreamOverlayComponentFactory, mComplicationComponentFactory, mAmbientTouchComponentFactory mAmbientTouchComponentFactory, ) whenever(mDreamOverlayContainerViewController.containerView) Loading @@ -271,7 +271,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { ViewCaptureAwareWindowManager( mWindowManager, mLazyViewCapture, isViewCaptureEnabled = false isViewCaptureEnabled = false, ) mService = DreamOverlayService( Loading @@ -295,7 +295,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallbackController, kosmos.keyguardInteractor, gestureInteractor, WINDOW_NAME WINDOW_NAME, ) } Loading Loading @@ -323,7 +323,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mUiEventLogger).log(DreamOverlayService.DreamOverlayEvent.DREAM_OVERLAY_ENTER_START) Loading @@ -341,7 +341,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mWindowManager).addView(any(), any()) Loading @@ -361,7 +361,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mWindowManager).addView(any(), any()) Loading @@ -384,7 +384,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mDreamOverlayContainerViewController).init() Loading @@ -403,7 +403,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mDreamOverlayContainerViewParent).removeView(mDreamOverlayContainerView) Loading @@ -419,7 +419,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(mService.shouldShowComplications()).isTrue() Loading @@ -435,7 +435,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -448,7 +448,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -476,7 +476,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, LOW_LIGHT_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(mService.dreamComponent).isEqualTo(LOW_LIGHT_COMPONENT) Loading @@ -493,7 +493,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, HOME_CONTROL_PANEL_DREAM_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(mService.dreamComponent).isEqualTo(HOME_CONTROL_PANEL_DREAM_COMPONENT) Loading @@ -510,7 +510,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, LOW_LIGHT_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -545,7 +545,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) // Immediately end the dream. client.endDream() Loading Loading @@ -577,7 +577,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -597,7 +597,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, LOW_LIGHT_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -649,7 +649,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mWindowManager, Mockito.never()).addView(any(), any()) Loading @@ -673,7 +673,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -694,7 +694,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -724,7 +724,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() mService.onWakeUp() Loading @@ -748,7 +748,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() val paramsCaptor = ArgumentCaptor.forClass(WindowManager.LayoutParams::class.java) Loading @@ -774,7 +774,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -800,7 +800,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) // Set communal available, verify that overlay callback is informed. kosmos.setCommunalAvailable(true) Loading Loading @@ -829,7 +829,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -850,7 +850,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -870,7 +870,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -894,14 +894,14 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.mLifecycles) .containsExactly( Lifecycle.State.CREATED, Lifecycle.State.STARTED, Lifecycle.State.RESUMED Lifecycle.State.RESUMED, ) } Loading @@ -925,7 +925,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) testScope.runCurrent() mMainExecutor.runAllReady() Loading @@ -942,7 +942,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() mService.onDestroy() Loading @@ -952,7 +952,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { Lifecycle.State.CREATED, Lifecycle.State.STARTED, Lifecycle.State.RESUMED, Lifecycle.State.DESTROYED Lifecycle.State.DESTROYED, ) } Loading @@ -966,7 +966,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -998,7 +998,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -1030,7 +1030,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -1066,7 +1066,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -1101,7 +1101,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -1130,7 +1130,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, true /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -1148,7 +1148,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -1181,7 +1181,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -1214,7 +1214,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamComplicationComponentFactory, mDreamOverlayComponentFactory, mComplicationComponentFactory, mAmbientTouchComponentFactory mAmbientTouchComponentFactory, ) mService.onEndDream() Loading @@ -1223,7 +1223,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamComplicationComponentFactory, mDreamOverlayComponentFactory, mComplicationComponentFactory, mAmbientTouchComponentFactory mAmbientTouchComponentFactory, ) client.startDream( Loading @@ -1231,7 +1231,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() environmentComponents.verifyNoMoreInteractions() Loading packages/SystemUI/multivalentTests/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadStatsInteractorTest.kt→packages/SystemUI/tests/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadStatsInteractorTest.kt +0 −0 File moved. View file packages/SystemUI/multivalentTests/src/com/android/systemui/lifecycle/HydratorTest.kt→packages/SystemUI/tests/src/com/android/systemui/lifecycle/HydratorTest.kt +2 −2 Original line number Diff line number Diff line Loading @@ -59,11 +59,11 @@ class HydratorTest : SysuiTestCase() { Column { Text( "upstreamStateFlow=${viewModel.stateBackedByStateFlow}", Modifier.testTag("upstreamStateFlow") Modifier.testTag("upstreamStateFlow"), ) Text( "upstreamFlow=${viewModel.stateBackedByFlow}", Modifier.testTag("upstreamFlow") Modifier.testTag("upstreamFlow"), ) } } Loading packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/QuickSettingsUserActionsViewModelTest.kt→packages/SystemUI/tests/src/com/android/systemui/qs/ui/viewmodel/QuickSettingsUserActionsViewModelTest.kt +0 −0 File moved. View file packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/HeadsUpNotificationInteractorTest.kt→packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/HeadsUpNotificationInteractorTest.kt +0 −0 File moved. View file Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/DreamOverlayServiceTest.kt→packages/SystemUI/tests/src/com/android/systemui/dreams/DreamOverlayServiceTest.kt +47 −47 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { dreamsComplicationComponent, dreamOverlayComponent, complicationComponent, ambientTouchComponent ambientTouchComponent, ) } Loading @@ -194,7 +194,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { dreamsComplicationComponent, dreamOverlayComponent, complicationComponent, ambientTouchComponent ambientTouchComponent, ) } } Loading @@ -204,7 +204,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { com.android.systemui.dreams.complication.dagger.ComplicationComponent.Factory, dreamOverlayComponentFactory: DreamOverlayComponent.Factory, complicationComponentFactory: ComplicationComponent.Factory, ambientTouchComponentFactory: AmbientTouchComponent.Factory ambientTouchComponentFactory: AmbientTouchComponent.Factory, ): EnvironmentComponents { val dreamOverlayComponent = mock<DreamOverlayComponent>() whenever(dreamOverlayComponent.getDreamOverlayContainerViewController()) Loading Loading @@ -241,7 +241,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { dreamComplicationComponent, dreamOverlayComponent, complicationComponent, ambientTouchComponent ambientTouchComponent, ) } Loading @@ -259,7 +259,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamComplicationComponentFactory, mDreamOverlayComponentFactory, mComplicationComponentFactory, mAmbientTouchComponentFactory mAmbientTouchComponentFactory, ) whenever(mDreamOverlayContainerViewController.containerView) Loading @@ -271,7 +271,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { ViewCaptureAwareWindowManager( mWindowManager, mLazyViewCapture, isViewCaptureEnabled = false isViewCaptureEnabled = false, ) mService = DreamOverlayService( Loading @@ -295,7 +295,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallbackController, kosmos.keyguardInteractor, gestureInteractor, WINDOW_NAME WINDOW_NAME, ) } Loading Loading @@ -323,7 +323,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mUiEventLogger).log(DreamOverlayService.DreamOverlayEvent.DREAM_OVERLAY_ENTER_START) Loading @@ -341,7 +341,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mWindowManager).addView(any(), any()) Loading @@ -361,7 +361,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mWindowManager).addView(any(), any()) Loading @@ -384,7 +384,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mDreamOverlayContainerViewController).init() Loading @@ -403,7 +403,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mDreamOverlayContainerViewParent).removeView(mDreamOverlayContainerView) Loading @@ -419,7 +419,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(mService.shouldShowComplications()).isTrue() Loading @@ -435,7 +435,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -448,7 +448,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -476,7 +476,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, LOW_LIGHT_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(mService.dreamComponent).isEqualTo(LOW_LIGHT_COMPONENT) Loading @@ -493,7 +493,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, HOME_CONTROL_PANEL_DREAM_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(mService.dreamComponent).isEqualTo(HOME_CONTROL_PANEL_DREAM_COMPONENT) Loading @@ -510,7 +510,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, LOW_LIGHT_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -545,7 +545,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) // Immediately end the dream. client.endDream() Loading Loading @@ -577,7 +577,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -597,7 +597,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, LOW_LIGHT_COMPONENT.flattenToString(), false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -649,7 +649,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() verify(mWindowManager, Mockito.never()).addView(any(), any()) Loading @@ -673,7 +673,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -694,7 +694,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -724,7 +724,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() mService.onWakeUp() Loading @@ -748,7 +748,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() val paramsCaptor = ArgumentCaptor.forClass(WindowManager.LayoutParams::class.java) Loading @@ -774,7 +774,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -800,7 +800,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) // Set communal available, verify that overlay callback is informed. kosmos.setCommunalAvailable(true) Loading Loading @@ -829,7 +829,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -850,7 +850,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -870,7 +870,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, true /*shouldShowComplication*/ true, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -894,14 +894,14 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.mLifecycles) .containsExactly( Lifecycle.State.CREATED, Lifecycle.State.STARTED, Lifecycle.State.RESUMED Lifecycle.State.RESUMED, ) } Loading @@ -925,7 +925,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) testScope.runCurrent() mMainExecutor.runAllReady() Loading @@ -942,7 +942,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() mService.onDestroy() Loading @@ -952,7 +952,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { Lifecycle.State.CREATED, Lifecycle.State.STARTED, Lifecycle.State.RESUMED, Lifecycle.State.DESTROYED Lifecycle.State.DESTROYED, ) } Loading @@ -966,7 +966,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -998,7 +998,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -1030,7 +1030,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -1066,7 +1066,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.RESUMED) Loading Loading @@ -1101,7 +1101,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -1130,7 +1130,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, true /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading @@ -1148,7 +1148,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -1181,7 +1181,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() Loading Loading @@ -1214,7 +1214,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamComplicationComponentFactory, mDreamOverlayComponentFactory, mComplicationComponentFactory, mAmbientTouchComponentFactory mAmbientTouchComponentFactory, ) mService.onEndDream() Loading @@ -1223,7 +1223,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamComplicationComponentFactory, mDreamOverlayComponentFactory, mComplicationComponentFactory, mAmbientTouchComponentFactory mAmbientTouchComponentFactory, ) client.startDream( Loading @@ -1231,7 +1231,7 @@ class DreamOverlayServiceTest : SysuiTestCase() { mDreamOverlayCallback, DREAM_COMPONENT, false /*isPreview*/, false /*shouldShowComplication*/ false, /*shouldShowComplication*/ ) mMainExecutor.runAllReady() environmentComponents.verifyNoMoreInteractions() Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadStatsInteractorTest.kt→packages/SystemUI/tests/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadStatsInteractorTest.kt +0 −0 File moved. View file
packages/SystemUI/multivalentTests/src/com/android/systemui/lifecycle/HydratorTest.kt→packages/SystemUI/tests/src/com/android/systemui/lifecycle/HydratorTest.kt +2 −2 Original line number Diff line number Diff line Loading @@ -59,11 +59,11 @@ class HydratorTest : SysuiTestCase() { Column { Text( "upstreamStateFlow=${viewModel.stateBackedByStateFlow}", Modifier.testTag("upstreamStateFlow") Modifier.testTag("upstreamStateFlow"), ) Text( "upstreamFlow=${viewModel.stateBackedByFlow}", Modifier.testTag("upstreamFlow") Modifier.testTag("upstreamFlow"), ) } } Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/QuickSettingsUserActionsViewModelTest.kt→packages/SystemUI/tests/src/com/android/systemui/qs/ui/viewmodel/QuickSettingsUserActionsViewModelTest.kt +0 −0 File moved. View file
packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/HeadsUpNotificationInteractorTest.kt→packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/HeadsUpNotificationInteractorTest.kt +0 −0 File moved. View file