Home
last modified time | relevance | path

Searched refs:launchActivity (Results 1 – 25 of 145) sorted by relevance

123456

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DPinnedStackTests.java210 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testNonTappablePipActivity()
229 launchActivity(TEST_ACTIVITY); in testPinnedStackInBoundsAfterRotation()
231 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testPinnedStackInBoundsAfterRotation()
251 launchActivity(TEST_ACTIVITY, in testEnterPipToOtherOrientation()
254 launchActivity(PIP_ACTIVITY, in testEnterPipToOtherOrientation()
268 launchActivity(PIP_ACTIVITY_WITH_MINIMAL_SIZE, extraString(EXTRA_ENTER_PIP, "true")); in testEnterPipWithMinimalSize()
292 launchActivity(PIP_ACTIVITY_WITH_TINY_MINIMAL_SIZE, extraString(EXTRA_ENTER_PIP, "true")); in testEnterPipWithTinyMinimalSize()
324 launchActivity(TEST_ACTIVITY); in testEnterPipAspectRatio()
326 launchActivity(PIP_ACTIVITY, in testEnterPipAspectRatio()
352 launchActivity(TEST_ACTIVITY); in testResizePipAspectRatio()
[all …]
DKeyguardTransitionTests.java61 launchActivity(DISABLE_PREVIEW_ACTIVITY); in testUnlock()
71 launchActivity(WALLPAPAER_ACTIVITY); in testUnlockWallpaper()
81 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testOcclude()
90 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testUnocclude()
91 launchActivity(DISABLE_PREVIEW_ACTIVITY); in testUnocclude()
101 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccluded()
103 launchActivity(SHOW_WHEN_LOCKED_WITH_DIALOG_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccluded()
114 launchActivity(SHOW_WHEN_LOCKED_ATTR_NO_PREVIEW_ACTIVITY); in testOccludeManifestAttr()
126 launchActivity(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_NO_PREVIEW_ACTIVITY); in testOccludeAttrRemove()
148 launchActivity(SHOW_WHEN_LOCKED_ATTR_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccludedWithAttr()
[all …]
DKeyguardTests.java83 launchActivity(TEST_ACTIVITY); in testKeyguardHidesActivity()
100 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivity()
116 launchActivity(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY); in testShowWhenLockedActivity_withDialog()
135 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testMultipleShowWhenLockedActivities()
136 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testMultipleShowWhenLockedActivities()
158 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testFinishMultipleShowWhenLockedActivities()
191 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testTranslucentShowWhenLockedActivity()
208 launchActivity(TEST_ACTIVITY); in testTranslucentDoesntRevealBehind()
209 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testTranslucentDoesntRevealBehind()
223 launchActivity(SHOW_WHEN_LOCKED_DIALOG_ACTIVITY); in testDialogShowWhenLockedActivity()
[all …]
DHideOverlayWindowsTest.java83 launchActivity(componentName, in testApplicationOverlayHiddenWhenRequested()
88 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testApplicationOverlayHiddenWhenRequested()
105 launchActivity(componentName, in testSystemApplicationOverlayFlagNoEffectWithoutPermission()
111 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testSystemApplicationOverlayFlagNoEffectWithoutPermission()
128 launchActivity(componentName, in testInternalSystemApplicationOverlaysNotHidden()
133 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testInternalSystemApplicationOverlaysNotHidden()
144 launchActivity(componentName, in testSystemApplicationOverlaysNotHidden()
150 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testSystemApplicationOverlaysNotHidden()
161 launchActivity(componentName, in testSystemApplicationOverlayHiddenWithoutFlag()
166 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testSystemApplicationOverlayHiddenWithoutFlag()
DActivityVisibilityTests.java92 launchActivity(TRANSLUCENT_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testTranslucentActivityOnTopOfHome()
126 launchActivity(TEST_ACTIVITY); in testVisibilityBehindTranslucentActivity_sameTask()
137 launchActivity(TEST_ACTIVITY); in testVisibilityBehindTranslucentActivity_diffTask()
178 launchActivity(BROADCAST_RECEIVER_ACTIVITY); in launchAndFinishActivityBehindTranslucentActivity()
183 launchActivity(TRANSLUCENT_TEST_ACTIVITY); in launchAndFinishActivityBehindTranslucentActivity()
371 launchActivity(MOVE_TASK_TO_BACK_ACTIVITY, extraString(EXTRA_FINISH_POINT, finishPoint)); in performFinishActivityWithMoveTaskToBack()
375 launchActivity(BROADCAST_RECEIVER_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in performFinishActivityWithMoveTaskToBack()
408 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack()
444 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
492 launchActivity(NO_HISTORY_ACTIVITY); in testNoHistoryActivityFinishedResumedActivityNotIdle()
[all …]
DVrDisplayTests.java124 launchActivity(VR_TEST_ACTIVITY); in testVrActivityLaunch()
129 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityLaunch()
163 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
174 launchActivity(VR_TEST_ACTIVITY); in testVrActivityReLaunch()
179 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
223 launchActivity(VR_TEST_ACTIVITY); in testActivityLaunchPostVr()
228 launchActivity(ALT_LAUNCHING_ACTIVITY); in testActivityLaunchPostVr()
267 launchActivity(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
DAppConfigurationTests.java102 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testConfigurationUpdatesWhenResizedFromFullscreen()
263 launchActivity(activityName, WINDOWING_MODE_FULLSCREEN); in moveActivityFullSplitFull()
287 launchActivity(activityName, WINDOWING_MODE_FULLSCREEN); in moveActivityFullSplitFull()
328 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY); in testFullscreenAppOrientationRequests()
335 launchActivity(LANDSCAPE_ORIENTATION_ACTIVITY); in testFullscreenAppOrientationRequests()
342 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY); in testFullscreenAppOrientationRequests()
354 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testNonfullscreenAppOrientationRequests()
361 launchActivity(SDK26_TRANSLUCENT_LANDSCAPE_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testNonfullscreenAppOrientationRequests()
381 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testAppOrientationRequestConfigChanges()
388 launchActivity(LANDSCAPE_ORIENTATION_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testAppOrientationRequestConfigChanges()
[all …]
DDecorInsetTests.java40 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesAllInsets_byDefault()
55 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesNavBar_ifLayoutHideNavIsNotSet()
71 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifLayoutHideNavIsSet()
88 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifDecorDoesntFitSystemWindows()
DKeyguardLockedTests.java133 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguard()
146 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testDismissKeyguard_whileOccluded()
150 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguard_whileOccluded()
167 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testDismissKeyguard_fromShowWhenLocked_notAllowed()
188 launchActivity(DISMISS_KEYGUARD_METHOD_ACTIVITY); in testDismissKeyguardActivity_method()
210 launchActivity(DISMISS_KEYGUARD_METHOD_ACTIVITY); in testDismissKeyguardActivity_method_cancelled()
259 launchActivity(TURN_SCREEN_ON_ATTR_DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()
274 launchActivity(PIP_ACTIVITY, extraString(EXTRA_SHOW_OVER_KEYGUARD, "true")); in testEnterPipOverKeyguard()
303 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true")); in testShowWhenLockedActivityAndPipActivity()
310 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivityAndPipActivity()
[all …]
DDisplaySizeTest.java62 launchActivity(TEST_ACTIVITY); in testCompatibilityDialog()
68 launchActivity(SMALLEST_WIDTH_ACTIVITY); in testCompatibilityDialog()
75 launchActivity(SMALLEST_WIDTH_ACTIVITY); in testCompatibilityDialogWhenFocused()
86 launchActivity(SMALLEST_WIDTH_ACTIVITY); in testCompatibilityDialogAfterReturn()
DFreeformWindowingModeTests.java87 launchActivity(TEST_ACTIVITY); in testNonResizeableActivityHasFullDisplayBounds()
99 launchActivity(NON_RESIZEABLE_ACTIVITY, WINDOWING_MODE_FREEFORM); in testNonResizeableActivityHasFullDisplayBounds()
119 launchActivity(TEST_ACTIVITY, WINDOWING_MODE_FREEFORM); in testActivityLifeCycleOnResizeFreeformTask()
120 launchActivity(NO_RELAUNCH_ACTIVITY, WINDOWING_MODE_FREEFORM); in testActivityLifeCycleOnResizeFreeformTask()
DAspectRatioTestsBase.java47 final Activity activity = launchActivity(activityRule); in runAspectRatioTest()
102 protected Activity launchActivity(final ActivityTestRule activityRule) { in launchActivity() method in AspectRatioTestsBase
103 final Activity activity = activityRule.launchActivity(null); in launchActivity()
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/
DHarmfulAppWarningDeviceTest.java67 private static void launchActivity(String packageName, String activityClassName) { in launchActivity() method in HarmfulAppWarningDeviceTest
117 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testNormalLaunch()
123 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testLaunchAnyway()
131 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testUninstall()
139 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testDismissDialog()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityFlowTest.java85 launchActivity(); in switchHeadersInner()
149 launchActivity(); in smallScreenNoHighlightInHeadersListInner()
175 launchActivity(); in backPressToExitInner()
224 launchActivity(); in goToFragmentInner()
385 launchActivity(); in listDialogTest()
415 launchActivity(); in recreateTest()
440 launchActivity(); in recreateInnerFragmentTest()
707 private void launchActivity() { in launchActivity() method in PreferenceActivityFlowTest
708 mActivity = launchActivity(null); in launchActivity()
727 mActivity = launchActivity(intent); in launchActivityWithExtras()
[all …]
DPreferenceActivityFlowPortraitTest.java44 mActivity = launchActivity(null); in setup()
147 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowPortraitTest
151 return mActivityRule.launchActivity(intent); in launchActivity()
DPreferenceActivityFlowLandscapeTest.java45 mActivity = launchActivity(null); in setup()
148 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowLandscapeTest
153 return mActivityRule.launchActivity(intent); in launchActivity()
/cts/tests/framework/base/windowmanager/testsdk29/src/android/server/wm/
DDecorInsetSdk29Tests.java40 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesAllInsets_byDefault()
55 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesNavBar_ifLayoutHideNavIsNotSet()
71 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifLayoutHideNavIsSet()
88 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifDecorDoesntFitSystemWindows()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureIntegrationAutoActivityLaunchTest.java87 protected A launchActivity() { in launchActivity() method in AbstractContentCaptureIntegrationAutoActivityLaunchTest
90 return getActivityTestRule().launchActivity(getLaunchIntent()); in launchActivity()
93 protected A launchActivity(@Nullable Visitor<Intent> visitor) { in launchActivity() method in AbstractContentCaptureIntegrationAutoActivityLaunchTest
100 return getActivityTestRule().launchActivity(intent); in launchActivity()
DBlankActivityTest.java78 final BlankActivity activity = launchActivity(); in testSimpleSessionLifecycle()
97 final BlankActivity activity = launchActivity(); in testGetServiceComponentName()
122 final BlankActivity activity = launchActivity(); in testGetServiceComponentName_onUiThread()
142 final BlankActivity activity = launchActivity(); in testIsContentCaptureFeatureEnabled_onUiThread()
162 final BlankActivity activity = launchActivity(); in testDisableContentCaptureService_onUiThread()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityStarterTests.java127 launchActivity(STANDARD_ACTIVITY); in testLaunchStandardActivity()
133 launchActivity(SECOND_STANDARD_ACTIVITY); in testLaunchStandardActivity()
187 launchActivity(NO_HISTORY_ACTIVITY); in testNoHistoryActivityNotFinished()
282 launchActivity(STANDARD_ACTIVITY); in testLaunchSingleTopActivity()
287 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
305 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
321 launchActivity(STANDARD_ACTIVITY); in testLaunchSingleInstanceActivity()
327 launchActivity(SINGLE_INSTANCE_ACTIVITY); in testLaunchSingleInstanceActivity()
357 launchActivity(STANDARD_ACTIVITY); in testLaunchSingleTaskActivity()
362 launchActivity(SINGLE_TASK_ACTIVITY); in testLaunchSingleTaskActivity()
[all …]
/cts/tests/app/src/android/app/cts/
DAppTaskTests.java99 final Activity a1 = mActivityRule.launchActivity(null); in testSingleAppTask()
112 activities.add(mActivityRule.launchActivity(null)); in testMultipleAppTasks()
127 final Activity a1 = mActivityRule.launchActivity(null); in testFinishAndRemoveTask()
138 final Activity a1 = mActivityRule.launchActivity(null); in testMoveToFront()
168 final Activity a1 = mActivityRule.launchActivity(null); in testStartActivityInTask_NoNewTask()
189 final Activity a1 = mActivityRule.launchActivity(null); in testStartActivityInTask_NewTask()
206 final Activity a1 = mActivityRule.launchActivity(null); in testSetExcludeFromRecents()
DTaskDescriptionTest.java65 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testBitmapConstructor()
77 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testResourceConstructor()
87 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testLabelConstructor()
94 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testEmptyConstructor()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DAutofillActivityTestRule.java32 public AutofillActivityTestRule(Class<T> activityClass, boolean launchActivity) { in AutofillActivityTestRule() argument
33 super(activityClass, false, launchActivity); in AutofillActivityTestRule()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java100 final Activity activity = mActivityRule.launchActivity( in shouldLoadDefault()
122 final Activity activity = mActivityRule.launchActivity( in shouldLoadPolishLocale()
143 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureADefault()
168 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureAPolishLocale()
204 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureBDefault()
232 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureBPolishLocale()
270 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureCDefault()
295 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureCPolishLocale()
319 final Activity activity = mActivityRule.launchActivity( in shouldLoadFeatureADiffRevision()
366 mActivityRule.launchActivity(intent); in testNativeSplit_withoutExtractLibs_nativeLibraryCannotBeLoaded()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DActivityLauncher.java57 public A launchActivity() { in launchActivity() method in ActivityLauncher
58 return mActivityTestRule.launchActivity(mLaunchIntent); in launchActivity()

123456