Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
H A DTvPipNotificationTests.kt58 testApp.launchViaIntent()
59 testApp.clickEnterPipButton()
64 testApp.closePipWindow()
72 testApp.launchViaIntent()
73 testApp.clickEnterPipButton()
90 testApp.launchViaIntent()
104 testApp.closePipWindow()
109 testApp.launchViaIntent()
124 testApp.pauseMedia()
135 testApp.stopMedia()
[all …]
H A DTvPipMenuTests.kt56 testApp.launchViaIntent()
79 testApp.closePipWindow()
90 testApp.closePipWindow()
101 testApp.closePipWindow()
133 testApp.waitUntilClosed()
139 testApp.clickStartMediaSessionButton()
158 testApp.closePipWindow()
209 testApp.closePipWindow()
216 testApp.clickStartMediaSessionButton()
243 testApp.closePipWindow()
[all …]
H A DTvPipBasicTest.kt42 testApp.launchViaIntent()
45 testApp.clickObject(radioButtonId)
46 testApp.clickEnterPipButton()
48 val actualRatio: Float = testApp.ui?.visibleBounds?.ratio
63 testApp.ui?.visibleBounds?.let { newBounds ->
68 testApp.closePipWindow()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
H A DDefaultAppsPickerBasePreferenceControllerTest.java120 DefaultAppInfo testApp = mock(DefaultAppInfo.class); in refreshUi_hasAdditionalCandidate_hasTwoElements() local
121 when(testApp.getKey()).thenReturn(testKey); in refreshUi_hasAdditionalCandidate_hasTwoElements()
135 DefaultAppInfo testApp = mock(DefaultAppInfo.class); in refreshUi_hasAdditionalCandidateAsDefault_secondElementIsSelected() local
136 when(testApp.getKey()).thenReturn(testKey); in refreshUi_hasAdditionalCandidateAsDefault_secondElementIsSelected()
152 DefaultAppInfo testApp = mock(DefaultAppInfo.class); in performClick_currentDefaultApp_nothingHappened() local
153 when(testApp.getKey()).thenReturn(testKey); in performClick_currentDefaultApp_nothingHappened()
181 DefaultAppInfo testApp = mock(DefaultAppInfo.class); in performClick_otherOptionNoMessage_otherOptionSelected() local
182 when(testApp.getKey()).thenReturn(testKey); in performClick_otherOptionNoMessage_otherOptionSelected()
211 DefaultAppInfo testApp = mock(DefaultAppInfo.class); in performClick_otherOptionHasMessage_dialogOpened() local
212 when(testApp.getKey()).thenReturn(testKey); in performClick_otherOptionHasMessage_dialogOpened()
[all …]
/aosp12/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/
H A DQuickSwitchFromLauncherTest.kt66 private val testApp = SimpleAppHelper(instrumentation) regex
74 testApp.launchViaIntent(wmHelper)
93 wmHelper.waitForFullScreenApp(testApp.component)
99 testApp.exit()
137 this.isAppWindowOnTop(testApp.component)
207 this.isAppWindowInvisible(testApp.component)
209 .isAppWindowVisible(testApp.component)
221 this.isInvisible(testApp.component)
223 .isVisible(testApp.component)
267 .isAppWindowVisible(testApp.component)
[all …]
/aosp12/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/
H A DOpenAppNonResizeableTest.kt63 override val testApp = NonResizeableAppHelper(instrumentation)
82 testApp.exit(wmHelper)
86 testApp.launchViaIntent(wmHelper)
87 wmHelper.waitForFullScreenApp(testApp.component)
115 this.notContains(testApp.component)
117 .isInvisible(testApp.component)
119 .isVisible(testApp.component)
134 this.notContains(testApp.component)
138 .isAppWindowVisible(testApp.component)
149 this.isAppWindowVisible(testApp.component)
[all …]
H A DActivitiesTransitionTest.kt64 private val testApp: TwoActivitiesAppHelper = TwoActivitiesAppHelper(instrumentation)
77 testApp.launchViaIntent(wmHelper)
78 wmHelper.waitForFullScreenApp(testApp.component)
83 testApp.exit()
87 testApp.openSecondActivity(device, wmHelper)
90 wmHelper.waitForFullScreenApp(testApp.component)
H A DOpenAppWarmTest.kt67 testApp.launchViaIntent(wmHelper)
77 testApp.exit(wmHelper)
81 testApp.launchViaIntent(wmHelper)
82 wmHelper.waitForFullScreenApp(testApp.component)
H A DOpenAppTransition.kt48 protected open val testApp: StandardAppHelper = SimpleAppHelper(instrumentation)
64 testApp.exit()
164 this.focusChanges("NexusLauncherActivity", testApp.`package`)
173 testSpec.replacesLayer(LAUNCHER_COMPONENT, testApp.component)
191 .isAppWindowOnTop(testApp.component)
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
H A DExitPipToAppTransition.kt28 protected val testApp = FixedAppHelper(instrumentation) regex
65 isAppWindowVisible(testApp.component)
68 .isAppWindowInvisible(testApp.component)
81 isVisible(testApp.component)
84 .isInvisible(testApp.component)
98 visibleRegion(testApp.component)
H A DEnterPipToOtherOrientationTest.kt70 private val testApp = FixedAppHelper(instrumentation) regex
84 testApp.launchViaIntent(wmHelper, stringExtras = mapOf(
94 testApp.exit(wmHelper)
151 isAppWindowInvisible(testApp.component)
162 isAppWindowVisible(testApp.component)
173 isInvisible(testApp.component)
184 isVisible(testApp.component)
209 visibleRegion(testApp.component)
H A DPipLegacySplitScreenTest.kt57 private val testApp = FixedAppHelper(instrumentation) regex
80 testApp.launchViaIntent(wmHelper)
87 testApp.exit(wmHelper)
107 isAppWindowVisible(testApp.component)
109 doNotOverlap(testApp.component, imeApp.component)
125 visibleRegion(testApp.component).coversAtMost(displayBounds)
/aosp12/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
H A DCloseImeWindowToHomeTest.kt56 private val testApp = ImeAppHelper(instrumentation) regex
63 testApp.launchViaIntent(wmHelper)
64 testApp.openIME(device, wmHelper)
78 testApp.exit()
111 this.isAppWindowVisible(testApp.component)
113 .isAppWindowInvisible(testApp.component)
137 this.isVisible(testApp.component)
139 .isInvisible(testApp.component)
H A DCloseImeAutoOpenWindowToHomeTest.kt67 private val testApp = ImeAppAutoFocusHelper(instrumentation, testSpec.config.startRotation) regex
74 testApp.launchViaIntent(wmHelper)
75 testApp.openIME(device, wmHelper)
80 testApp.exit(wmHelper)
111 this.isAppWindowOnTop(testApp.component)
113 .isAppWindowNotOnTop(testApp.component)
145 this.isVisible(testApp.component)
147 .isInvisible(testApp.component)
H A DReOpenImeWindowTest.kt63 private val testApp = ImeAppAutoFocusHelper(instrumentation, testSpec.config.startRotation) regex
72 testApp.launchViaIntent(wmHelper)
73 testApp.openIME(device, wmHelper)
88 testApp.exit()
139 this.isAppWindowVisible(testApp.component)
141 .isAppWindowInvisible(testApp.component)
143 .isAppWindowVisible(testApp.component)
156 this.isAppWindowVisible(testApp.component)
203 .isVisible(testApp.component)
H A DOpenImeWindowTest.kt57 private val testApp = ImeAppHelper(instrumentation) regex
64 testApp.launchViaIntent(wmHelper)
68 testApp.openIME(device, wmHelper)
72 testApp.closeIME(device, wmHelper)
75 testApp.exit()
97 this.isAppWindowOnTop(testApp.component)
121 this.isVisible(testApp.component)
H A DCloseImeAutoOpenWindowToAppTest.kt66 private val testApp = ImeAppAutoFocusHelper(instrumentation, testSpec.config.startRotation) regex
73 testApp.launchViaIntent(wmHelper)
74 testApp.openIME(device, wmHelper)
79 testApp.exit(wmHelper)
83 testApp.closeIME(device, wmHelper)
108 this.isAppWindowOnTop(testApp.component)
148 this.isVisible(testApp.component)
H A DCloseImeWindowToAppTest.kt56 private val testApp = ImeAppHelper(instrumentation) regex
63 testApp.launchViaIntent(wmHelper)
66 testApp.openIME(device, wmHelper)
71 testApp.exit(wmHelper)
75 testApp.closeIME(device, wmHelper)
103 this.isAppWindowOnTop(testApp.component)
153 this.isVisible(testApp.component)
H A DSwitchImeWindowsFromGestureNavTest.kt58 private val testApp = SimpleAppHelper(instrumentation) regex
67 testApp.launchViaIntent(wmHelper)
68 wmHelper.waitForFullScreenApp(testApp.component)
72 wmHelper.waitForFullScreenApp(testApp.component)
82 testApp.exit()
93 wmHelper.waitForFullScreenApp(testApp.component)
112 .isAppWindowVisible(testApp.component)
H A DOpenImeWindowAndCloseTest.kt50 private val testApp = ImeAppHelper(instrumentation) regex
58 testApp.launchViaIntent(wmHelper)
59 testApp.openIME(device, wmHelper)
63 testApp.finishActivity(device, wmHelper)
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
H A DBaseBubbleScreen.kt47 protected val testApp = LaunchBubbleHelper(instrumentation) regex
54 testApp.component.packageName, 0).uid
69 notifyManager.setBubblesAllowed(testApp.component.packageName,
71 testApp.launchViaIntent(wmHelper)
80 notifyManager.setBubblesAllowed(testApp.component.packageName,
82 testApp.exit()
93 this.isVisible(testApp.component)
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
H A DInstallPackageTaskTest.java77 TestApp testApp = writeApkToInstall(appToInstallFile); in run_success() local
81 createProvisioningParams(testApp.packageName()), in run_success()
129 TestApp testApp = writeApkToInstall(appToInstallFile); in run_packageAlreadyInstalled_success() local
130 testApp.install(USER_HANDLE); in run_packageAlreadyInstalled_success()
134 createProvisioningParams(testApp.packageName()), in run_packageAlreadyInstalled_success()
190 TestApp testApp = testAppProvider in writeApkToInstall() local
195 testApp.writeApkFile(appToInstallFile); in writeApkToInstall()
196 return testApp; in writeApkToInstall()
/aosp12/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/
H A DSeamlessAppRotationTest.kt82 override val testApp = SeamlessRotationAppHelper(instrumentation)
89 testApp.launchViaIntent(wmHelper,
105 val appWindow = it.windowState(testApp.`package`)
122 val appWindow = it.windowState(testApp.`package`)
139 isVisible(testApp.component)
152 entry.visibleRegion(testApp.component).coversExactly(display.layerStackSpace)
/aosp12/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/close/
H A DCloseAppTransition.kt45 protected open val testApp: StandardAppHelper = SimpleAppHelper(instrumentation)
53 testApp.launchViaIntent(wmHelper)
59 testApp.exit()
164 this.isAppWindowOnTop(testApp.component)
190 testSpec.replacesLayer(testApp.component, LAUNCHER_COMPONENT)
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/
H A DLegacySplitScreenToLauncher.kt62 private val testApp = SimpleAppHelper(instrumentation) regex
72 testApp.launchViaIntent(wmHelper)
80 testApp.exit(wmHelper)
128 this.isVisible(testApp.component)
130 .isInvisible(testApp.component)

12