Home
last modified time | relevance | path

Searched refs:testApp (Results 1 – 25 of 75) sorted by relevance

123

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
H A DTvPipNotificationTests.kt58 testApp.launchViaIntent()
59 testApp.clickEnterPipButton(wmHelper)
66 testApp.closePipWindow()
76 testApp.launchViaIntent()
87 testApp.waitUntilClosed()
97 testApp.launchViaIntent(wmHelper)
113 testApp.closePipWindow()
118 testApp.launchViaIntent(wmHelper)
134 testApp.pauseMedia()
146 testApp.stopMedia()
[all …]
H A DTvPipMenuTests.kt58 testApp.launchViaIntent()
90 testApp.closePipWindow()
101 testApp.closePipWindow()
112 testApp.closePipWindow()
146 testApp.waitUntilClosed()
152 testApp.clickStartMediaSessionButton()
175 testApp.closePipWindow()
229 testApp.closePipWindow()
236 testApp.clickStartMediaSessionButton()
269 testApp.closePipWindow()
[all …]
H A DTvPipBasicTest.kt37 testApp.launchViaIntent()
40 testApp.clickObject(radioButtonId)
41 testApp.clickEnterPipButton(wmHelper)
44 testApp.ui?.visibleBounds?.ratio ?: fail("Application UI not found")
58 testApp.ui?.visibleBounds?.let { newBounds ->
64 testApp.closePipWindow()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/
H A DOpenAppTransition.kt41 teardown { testApp.exit(wmHelper) }
56 this.notContains(testApp)
58 .isInvisible(testApp, isOptional = true)
64 .isVisible(testApp)
70 this.isInvisible(testApp)
76 .isVisible(testApp)
91 this.notContains(testApp)
95 .isAppWindowVisible(testApp)
101 this.isAppWindowInvisible(testApp)
107 .isAppWindowVisible(testApp)
[all …]
H A DOverrideTaskTransitionTest.kt60 private val testApp = SimpleAppHelper(instrumentation) regex
72 testApp.openAppIntent,
79 .withWindowSurfaceAppeared(testApp)
82 teardown { testApp.exit() }
92 .isInvisible(testApp)
96 .isSplashScreenVisibleFor(testApp, isOptional = true)
99 .isVisible(testApp)
102 .isInvisible(testApp)
105 .isVisible(testApp)
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/notification/
H A DOpenAppTransition.kt41 teardown { testApp.exit(wmHelper) }
56 this.notContains(testApp)
58 .isInvisible(testApp, isOptional = true)
64 .isVisible(testApp)
70 this.isInvisible(testApp)
76 .isVisible(testApp)
91 this.notContains(testApp)
95 .isAppWindowVisible(testApp)
101 this.isAppWindowInvisible(testApp)
107 .isAppWindowVisible(testApp)
[all …]
H A DOpenAppFromNotificationWarmTest.kt58 override val testApp: NotificationAppHelper = NotificationAppHelper(instrumentation)
68 testApp.launchViaIntent(wmHelper)
69 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
70 testApp.postNotification(wmHelper)
107 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
110 teardown { testApp.exit(wmHelper) }
120 flicker.assertWmEnd { this.isAppWindowVisible(testApp) }
126 flicker.assertWmEnd { this.isAppWindowOnTop(testApp) }
132 flicker.assertLayersEnd { this.isVisible(testApp) }
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/
H A DQuickSwitchFromLauncherTest.kt56 private val testApp = SimpleAppHelper(instrumentation) regex
65 testApp.launchViaIntent(wmHelper)
70 .withWindowSurfaceDisappeared(testApp)
80 .withFullScreenApp(testApp)
85 teardown { testApp.exit(wmHelper) }
95 flicker.assertWmEnd { this.visibleRegion(testApp).coversExactly(startDisplayBounds) }
115 flicker.assertWmEnd { this.isAppWindowOnTop(testApp) }
176 flicker.assertWm { this.isAppWindowInvisible(testApp).then().isAppWindowVisible(testApp) }
186 flicker.assertLayers { this.isInvisible(testApp).then().isVisible(testApp) }
232 .isAppWindowVisible(testApp)
[all …]
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
H A DShowImeWhileDismissingThemedPopupDialogTest.kt50 private val testApp = ImeShownOnAppStartHelper(instrumentation, flicker.scenario.startRotation) regex
55 testApp.launchViaIntent(wmHelper)
57 testApp.startDialogThemedActivity(wmHelper)
59 assertFalse(testApp.getInsetsVisibleFromDialog(ime()))
60 assertTrue(testApp.getInsetsVisibleFromDialog(statusBars()))
61 assertTrue(testApp.getInsetsVisibleFromDialog(navigationBars()))
63 teardown { testApp.exit(wmHelper) }
64 transitions { testApp.dismissDialog(wmHelper) }
H A DCloseImeOnGoHomeTest.kt45 private val testApp = ImeAppHelper(instrumentation) regex
51 testApp.launchViaIntent(wmHelper)
52 testApp.openIME(wmHelper)
58 teardown { testApp.exit(wmHelper) }
94 flicker.assertWm { this.isAppWindowVisible(testApp).then().isAppWindowInvisible(testApp) }
100 flicker.assertLayers { this.isVisible(testApp).then().isInvisible(testApp) }
H A DShowImeWhenFocusingOnInputFieldTest.kt41 private val testApp = ImeAppHelper(instrumentation) regex
45 setup { testApp.launchViaIntent(wmHelper) }
46 transitions { testApp.openIME(wmHelper) }
48 testApp.closeIME(wmHelper)
49 testApp.exit(wmHelper)
68 flicker.assertWm { this.isAppWindowOnTop(testApp) }
76 flicker.assertLayers { this.isVisible(testApp) }
H A DCloseImeShownOnAppStartOnGoHomeTest.kt53 private val testApp = ImeShownOnAppStartHelper(instrumentation, flicker.scenario.startRotation) regex
59 testApp.launchViaIntent(wmHelper)
61 teardown { testApp.exit(wmHelper) }
71 flicker.assertWm { this.isAppWindowOnTop(testApp).then().isAppWindowNotOnTop(testApp) }
91 flicker.assertLayers { this.isVisible(testApp).then().isInvisible(testApp) }
H A DCloseImeToAppOnPressBackTest.kt46 private val testApp = ImeAppHelper(instrumentation) regex
51 testApp.launchViaIntent(wmHelper)
52 testApp.openIME(wmHelper)
54 teardown { testApp.exit(wmHelper) }
55 transitions { testApp.closeIME(wmHelper) }
95 flicker.assertLayers { this.isVisible(testApp) }
101 flicker.assertWm { this.isAppWindowOnTop(testApp) }
H A DCloseImeShownOnAppStartToAppOnPressBackTest.kt54 private val testApp = ImeShownOnAppStartHelper(instrumentation, flicker.scenario.startRotation) regex
58 setup { testApp.launchViaIntent(wmHelper) }
59 teardown { testApp.exit(wmHelper) }
60 transitions { testApp.closeIME(wmHelper) }
66 flicker.assertWm { this.isAppWindowOnTop(testApp) }
86 flicker.assertLayers { this.isVisible(testApp) }
H A DShowImeOnAppStartWhenLaunchingAppFromOverviewTest.kt46 private val testApp = ImeShownOnAppStartHelper(instrumentation, flicker.scenario.startRotation) regex
52 testApp.launchViaIntent(wmHelper)
53 testApp.openIME(wmHelper)
60 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).withImeShown().waitForAndVerify()
62 teardown { testApp.exit(wmHelper) }
119 flicker.assertWm { this.isAppWindowVisible(testApp) }
136 .isVisible(testApp)
H A DShowImeOnAppStartWhenLaunchingAppFromQuickSwitchTest.kt49 private val testApp = SimpleAppHelper(instrumentation) regex
59 testApp.launchViaIntent(wmHelper)
60 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
70 testApp.exit(wmHelper)
78 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
97 .isAppSnapshotStartingWindowVisibleFor(testApp, isOptional = true)
99 .isAppWindowVisible(testApp)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
H A DShowPipAndRotateDisplay.kt63 private val testApp = SimpleAppHelper(instrumentation) regex
69 testApp.launchViaIntent(wmHelper)
79 flicker.assertLayersStart { visibleRegion(testApp).coversAtMost(screenBoundsStart) }
86 flicker.assertLayersEnd { visibleRegion(testApp).coversAtMost(screenBoundsEnd) }
97 visibleRegion(testApp.or(pipApp)).coversExactly(screenBoundsStart)
108 flicker.assertLayersEnd { visibleRegion(testApp.or(pipApp)).coversExactly(screenBoundsEnd) }
136 flicker.assertWmStart { isAboveWindow(pipApp, testApp) }
145 flicker.assertWmEnd { isAboveWindow(pipApp, testApp) }
H A DExitPipToAppTransition.kt30 protected val testApp = SimpleAppHelper(instrumentation) regex
67 isAppWindowVisible(testApp)
70 .isAppWindowInvisible(testApp)
83 isVisible(testApp)
86 .isInvisible(testApp)
100 visibleRegion(testApp).plus(pipRegion).coversExactly(displayBounds)
H A DEnterPipToOtherOrientation.kt73 private val testApp = FixedOrientationAppHelper(instrumentation) regex
78 teardown { testApp.exit(wmHelper) }
96 testApp.launchViaIntent(
137 flicker.assertWmStart { isAppWindowInvisible(testApp) }
144 flicker.assertWmEnd { isAppWindowVisible(testApp) }
151 flicker.assertLayersStart { isInvisible(testApp) }
158 flicker.assertLayersEnd { isVisible(testApp) }
194 visibleRegion(testApp).plus(pipRegion).coversExactly(endingBounds)
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/service/notification/scenarios/
H A DOpenAppFromNotificationWarm.kt42 private val testApp: NotificationAppHelper = NotificationAppHelper(instrumentation)
51 testApp.launchViaIntent(wmHelper)
52 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
53 testApp.postNotification(wmHelper)
62 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
67 testApp.exit(wmHelper)
H A DOpenAppFromNotificationCold.kt42 private val testApp: NotificationAppHelper = NotificationAppHelper(instrumentation)
51 testApp.launchViaIntent(wmHelper)
52 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
53 testApp.postNotification(wmHelper)
69 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
74 testApp.exit(wmHelper)
H A DOpenAppFromLockscreenNotificationWarm.kt42 private val testApp: NotificationAppHelper = NotificationAppHelper(instrumentation)
51 testApp.launchViaIntent(wmHelper)
52 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
53 testApp.postNotification(wmHelper)
67 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
72 testApp.exit(wmHelper)
H A DOpenAppFromLockscreenNotificationCold.kt42 private val testApp: NotificationAppHelper = NotificationAppHelper(instrumentation)
51 testApp.launchViaIntent(wmHelper)
52 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
53 testApp.postNotification(wmHelper)
74 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
79 testApp.exit(wmHelper)
H A DOpenAppFromLockscreenNotificationWithOverlayApp.kt44 private val testApp: NotificationAppHelper = NotificationAppHelper(instrumentation)
55 testApp.launchViaIntent(wmHelper)
56 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
57 testApp.postNotification(wmHelper)
86 wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
91 testApp.exit(wmHelper)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
H A DBaseBubbleScreen.kt41 protected val testApp = LaunchBubbleHelper(instrumentation) regex
50 .getApplicationInfo(testApp.`package`, PackageManager.ApplicationInfoFlags.of(0))
60 testApp.`package`,
64 testApp.launchViaIntent(wmHelper)
71 testApp.`package`,
79 testApp.exit(wmHelper)

123