Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/EnterLegacySplitScreenTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickstep import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.wm.shell.flicker.dockedStackDividerIsInvisible import com.android.wm.shell.flicker.helpers.SplitScreenHelper.Companion.TEST_REPETITIONS Loading Loading @@ -67,6 +68,7 @@ class EnterLegacySplitScreenTest( setup { eachRun { uiDevice.wakeUpAndGoToHomeScreen() uiDevice.openQuickStepAndClearRecentAppsFromOverview() } } teardown { Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/ExitLegacySplitScreenTest.kt +7 −5 Original line number Diff line number Diff line Loading @@ -30,8 +30,11 @@ import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.dsl.runWithFlicker import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.resizeSplitScreen import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarWindowIsAlwaysVisible import com.android.server.wm.flicker.statusBarWindowIsAlwaysVisible import com.android.wm.shell.flicker.dockedStackDividerIsInvisible import com.android.wm.shell.flicker.helpers.SplitScreenHelper.Companion.TEST_REPETITIONS import org.junit.FixMethodOrder Loading Loading @@ -61,10 +64,9 @@ class ExitLegacySplitScreenTest( setup { eachRun { uiDevice.wakeUpAndGoToHomeScreen() secondaryApp.open() uiDevice.pressHome() splitScreenApp.open() uiDevice.pressHome() uiDevice.openQuickStepAndClearRecentAppsFromOverview() secondaryApp.launchViaIntent() splitScreenApp.launchViaIntent() uiDevice.launchSplitScreen() } } Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/LegacySplitScreenToLauncherTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ import com.android.server.wm.flicker.helpers.buildTestTag import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarLayerIsAlwaysVisible Loading Loading @@ -82,6 +83,7 @@ class LegacySplitScreenToLauncherTest( setup { test { device.wakeUpAndGoToHomeScreen() device.openQuickStepAndClearRecentAppsFromOverview() } eachRun { testApp.open() Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/OpenAppToLegacySplitScreenTest.kt +3 −1 Original line number Diff line number Diff line Loading @@ -24,13 +24,14 @@ import androidx.test.platform.app.InstrumentationRegistry import com.android.server.wm.flicker.Flicker import com.android.server.wm.flicker.FlickerTestRunner import com.android.server.wm.flicker.FlickerTestRunnerFactory import com.android.server.wm.flicker.endRotation import com.android.server.wm.flicker.helpers.StandardAppHelper import com.android.server.wm.flicker.endRotation import com.android.server.wm.flicker.focusChanges import com.android.server.wm.flicker.helpers.buildTestTag import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarLayerIsAlwaysVisible Loading Loading @@ -83,6 +84,7 @@ class OpenAppToLegacySplitScreenTest( setup { test { device.wakeUpAndGoToHomeScreen() device.openQuickStepAndClearRecentAppsFromOverview() } eachRun { testApp.open() Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/RotateOneLaunchedAppTest.kt +5 −3 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ import com.android.server.wm.flicker.dsl.runWithFlicker import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarLayerRotatesAndScales import com.android.server.wm.flicker.navBarWindowIsAlwaysVisible Loading Loading @@ -56,7 +57,8 @@ class RotateOneLaunchedAppTest( } setup { test { device.wakeUpAndGoToHomeScreen() uiDevice.wakeUpAndGoToHomeScreen() uiDevice.openQuickStepAndClearRecentAppsFromOverview() } } teardown { Loading @@ -81,7 +83,7 @@ class RotateOneLaunchedAppTest( } transitions { splitScreenApp.launchViaIntent() device.launchSplitScreen() uiDevice.launchSplitScreen() setRotation(rotation) } assertions { Loading Loading @@ -114,7 +116,7 @@ class RotateOneLaunchedAppTest( transitions { splitScreenApp.launchViaIntent() setRotation(rotation) device.launchSplitScreen() uiDevice.launchSplitScreen() } assertions { layersTrace { Loading Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/EnterLegacySplitScreenTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickstep import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.wm.shell.flicker.dockedStackDividerIsInvisible import com.android.wm.shell.flicker.helpers.SplitScreenHelper.Companion.TEST_REPETITIONS Loading Loading @@ -67,6 +68,7 @@ class EnterLegacySplitScreenTest( setup { eachRun { uiDevice.wakeUpAndGoToHomeScreen() uiDevice.openQuickStepAndClearRecentAppsFromOverview() } } teardown { Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/ExitLegacySplitScreenTest.kt +7 −5 Original line number Diff line number Diff line Loading @@ -30,8 +30,11 @@ import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.dsl.runWithFlicker import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.resizeSplitScreen import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarWindowIsAlwaysVisible import com.android.server.wm.flicker.statusBarWindowIsAlwaysVisible import com.android.wm.shell.flicker.dockedStackDividerIsInvisible import com.android.wm.shell.flicker.helpers.SplitScreenHelper.Companion.TEST_REPETITIONS import org.junit.FixMethodOrder Loading Loading @@ -61,10 +64,9 @@ class ExitLegacySplitScreenTest( setup { eachRun { uiDevice.wakeUpAndGoToHomeScreen() secondaryApp.open() uiDevice.pressHome() splitScreenApp.open() uiDevice.pressHome() uiDevice.openQuickStepAndClearRecentAppsFromOverview() secondaryApp.launchViaIntent() splitScreenApp.launchViaIntent() uiDevice.launchSplitScreen() } } Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/LegacySplitScreenToLauncherTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ import com.android.server.wm.flicker.helpers.buildTestTag import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarLayerIsAlwaysVisible Loading Loading @@ -82,6 +83,7 @@ class LegacySplitScreenToLauncherTest( setup { test { device.wakeUpAndGoToHomeScreen() device.openQuickStepAndClearRecentAppsFromOverview() } eachRun { testApp.open() Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/OpenAppToLegacySplitScreenTest.kt +3 −1 Original line number Diff line number Diff line Loading @@ -24,13 +24,14 @@ import androidx.test.platform.app.InstrumentationRegistry import com.android.server.wm.flicker.Flicker import com.android.server.wm.flicker.FlickerTestRunner import com.android.server.wm.flicker.FlickerTestRunnerFactory import com.android.server.wm.flicker.endRotation import com.android.server.wm.flicker.helpers.StandardAppHelper import com.android.server.wm.flicker.endRotation import com.android.server.wm.flicker.focusChanges import com.android.server.wm.flicker.helpers.buildTestTag import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarLayerIsAlwaysVisible Loading Loading @@ -83,6 +84,7 @@ class OpenAppToLegacySplitScreenTest( setup { test { device.wakeUpAndGoToHomeScreen() device.openQuickStepAndClearRecentAppsFromOverview() } eachRun { testApp.open() Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/RotateOneLaunchedAppTest.kt +5 −3 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ import com.android.server.wm.flicker.dsl.runWithFlicker import com.android.server.wm.flicker.helpers.exitSplitScreen import com.android.server.wm.flicker.helpers.isInSplitScreen import com.android.server.wm.flicker.helpers.launchSplitScreen import com.android.server.wm.flicker.helpers.openQuickStepAndClearRecentAppsFromOverview import com.android.server.wm.flicker.helpers.wakeUpAndGoToHomeScreen import com.android.server.wm.flicker.navBarLayerRotatesAndScales import com.android.server.wm.flicker.navBarWindowIsAlwaysVisible Loading Loading @@ -56,7 +57,8 @@ class RotateOneLaunchedAppTest( } setup { test { device.wakeUpAndGoToHomeScreen() uiDevice.wakeUpAndGoToHomeScreen() uiDevice.openQuickStepAndClearRecentAppsFromOverview() } } teardown { Loading @@ -81,7 +83,7 @@ class RotateOneLaunchedAppTest( } transitions { splitScreenApp.launchViaIntent() device.launchSplitScreen() uiDevice.launchSplitScreen() setRotation(rotation) } assertions { Loading Loading @@ -114,7 +116,7 @@ class RotateOneLaunchedAppTest( transitions { splitScreenApp.launchViaIntent() setRotation(rotation) device.launchSplitScreen() uiDevice.launchSplitScreen() } assertions { layersTrace { Loading