Home
last modified time | relevance | path

Searched refs:wmHelper (Results 1 – 20 of 20) sorted by relevance

/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DIStandardAppHelper.kt31 fun exit(wmHelper: WindowManagerStateHelper)
49 wmHelper: WindowManagerStateHelper,
54 wmHelper
65 wmHelper: WindowManagerStateHelper,
69 wmHelper
DStandardAppHelper.kt103 override fun exit(wmHelper: WindowManagerStateHelper) { in exit()
106 waitForActivityDestroyed(wmHelper) in exit()
111 private fun waitForActivityDestroyed(wmHelper: WindowManagerStateHelper) { in waitForActivityDestroyed()
115 wmHelper in waitForActivityDestroyed()
150 wmHelper: WindowManagerStateHelper, in launchViaIntent()
162 wmHelper: WindowManagerStateHelper, in launchViaIntent()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DUtils.kt43 setupAndTearDownTestApp.launchViaIntent(wmHelper) in createFlicker()
44 setupAndTearDownTestApp.exit(wmHelper) in createFlicker()
48 transitionTestApp.launchViaIntent(wmHelper) in createFlicker()
54 setupAndTearDownTestApp.launchViaIntent(wmHelper) in createFlicker()
55 setupAndTearDownTestApp.exit(wmHelper) in createFlicker()
DFlickerServiceTracesCollectorTest.kt60 val wmHelper = WindowManagerStateHelper(instrumentation) in canCollectTraces() constant
63 testApp.launchViaIntent(wmHelper) in canCollectTraces()
64 testApp.exit(wmHelper) in canCollectTraces()
73 val wmHelper = WindowManagerStateHelper(instrumentation) in reportsTraceFile() constant
76 testApp.launchViaIntent(wmHelper) in reportsTraceFile()
77 testApp.exit(wmHelper) in reportsTraceFile()
94 val wmHelper = WindowManagerStateHelper(instrumentation) in reportedTraceFileContainsAllTraces() constant
97 testApp.launchViaIntent(wmHelper) in reportedTraceFileContainsAllTraces()
98 testApp.exit(wmHelper) in reportedTraceFileContainsAllTraces()
DFullLegacyTestRun.kt68 setup { flicker.scenario.setIsTablet(wmHelper.currentState.wmState.isTablet) } in buildFlicker()
69 teardown { testApp.exit(wmHelper) } in buildFlicker()
70 transitions { testApp.launchViaIntent(wmHelper) } in buildFlicker()
DFullTestRun.kt53 private val wmHelper = WindowManagerStateHelper(instrumentation) constant
64 testApp.launchViaIntent(wmHelper) in openApp()
69 testApp.exit(wmHelper) in teardown()
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DAutomationUtils.kt85 fun UiDevice.openQuickstep(wmHelper: WindowManagerStateHelper) { in openQuickstep()
134 wmHelper in openQuickstep()
161 wmHelper: WindowManagerStateHelper in openQuickStepAndLongPressOverviewIcon()
164 device.openQuickstep(wmHelper) in openQuickStepAndLongPressOverviewIcon()
178 fun UiDevice.openQuickStepAndClearRecentAppsFromOverview(wmHelper: WindowManagerStateHelper) { in openQuickStepAndClearRecentAppsFromOverview()
180 this.openQuickstep(wmHelper) in openQuickStepAndClearRecentAppsFromOverview()
209 fun UiDevice.launchSplitScreen(wmHelper: WindowManagerStateHelper) { in UiDevice()
210 openQuickStepAndLongPressOverviewIcon(this, wmHelper) in UiDevice()
218 wmHelper in UiDevice()
230 fun UiDevice.canSplitScreen(wmHelper: WindowManagerStateHelper): Boolean { in UiDevice()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DLaunchAppRule.kt48 private val wmHelper: WindowManagerStateHelper = constant in android.tools.flicker.rules.LaunchAppRule
57 wmHelper: WindowManagerStateHelper =
63 wmHelper
70 appHelper.exit(wmHelper) in starting()
DChangeDisplayOrientationRule.kt82 wmHelper: WindowManagerStateHelper = in setRotation()
98 if (wmHelper.currentState.wmState.canRotate) { in setRotation()
99 wmHelper.StateSyncBuilder().withRotation(rotation).waitForAndVerify() in setRotation()
101 wmHelper.StateSyncBuilder().withAppTransitionIdle().waitForAndVerify() in setRotation()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DSetupTeardownRule.kt48 private val wmHelper: WindowManagerStateHelper = flicker.wmHelper constant in android.tools.flicker.legacy.runner.SetupTeardownRule
67 Utils.doWaitForUiStabilize(wmHelper) in doRunTransitionSetup()
75 Utils.doWaitForUiStabilize(wmHelper) in doRunTransitionTeardown()
DTransitionExecutionRule.kt54 private val wmHelper: WindowManagerStateHelper = flicker.wmHelper constant in android.tools.flicker.legacy.runner.TransitionExecutionRule
76 Utils.doWaitForUiStabilize(wmHelper) in doRunBeforeTransition()
94 Utils.doWaitForUiStabilize(wmHelper) in doRunAfterTransition()
DTraceMonitorRule.kt44 private val wmHelper: WindowManagerStateHelper, constant in android.tools.flicker.legacy.runner.TraceMonitorRule
DTransitionRunner.kt104 flicker.wmHelper, in buildTestRuleChain()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/
DQuickswitchTest.kt45 val wmHelper = WindowManagerStateHelper(instrumentation) constant in android.tools.flicker.config.QuickswitchTest
53 browser.launchViaIntent(wmHelper) in canExtractQuickswitch()
54 camera.launchViaIntent(wmHelper) in canExtractQuickswitch()
61 wmHelper in canExtractQuickswitch()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DUtils.kt45 internal fun doWaitForUiStabilize(wmHelper: WindowManagerStateHelper) { in doWaitForUiStabilize()
47 wmHelper.StateSyncBuilder().add(UI_STABLE_CONDITIONS).waitFor() in doWaitForUiStabilize()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DFlickerBuilder.kt35 private val wmHelper: WindowManagerStateHelper = constant in android.tools.flicker.legacy.FlickerBuilder
120 wmHelper in build()
129 wmHelper, in copy()
DFlickerTestDataImpl.kt49 override val wmHelper: WindowManagerStateHelper constant in android.tools.flicker.legacy.FlickerTestDataImpl
DFlickerTestData.kt41 val wmHelper: WindowManagerStateHelper constant
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DPerfettoTraceMonitorTest.kt119 val wmHelper = WindowManagerStateHelper() in <lambda>() constant
121 imeApp.launchViaIntent(wmHelper) in <lambda>()
122 imeApp.openIME(wmHelper) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt123 Mockito.`when`(mockedFlicker.wmHelper).thenReturn(WindowManagerStateHelper()) in createMockedFlicker()