Home
last modified time | relevance | path

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

1234

/cts/tests/framework/base/activitymanager/src/android/server/am/
DKeyguardTransitionTests.java56 launchActivity(TEST_ACTIVITY); in testUnlock()
68 launchActivity(WALLPAPAER_ACTIVITY); in testUnlockWallpaper()
81 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testOcclude()
92 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testUnocclude()
93 launchActivity(TEST_ACTIVITY); in testUnocclude()
104 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testNewActivityDuringOccluded()
106 launchActivity(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY); in testNewActivityDuringOccluded()
118 launchActivity(SHOW_WHEN_LOCKED_ATTR_ACTIVITY); in testOccludeManifestAttr()
131 launchActivity(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_ACTIVITY); in testOccludeAttrRemove()
139 launchActivity(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_ACTIVITY); in testOccludeAttrRemove()
[all …]
DActivityManagerPinnedStackTests.java184 launchActivity(PIP_ACTIVITY, in testNonTappablePipActivity()
204 launchActivity(PIP_ACTIVITY, EXTRA_ENTER_PIP, "true"); in testPinnedStackDefaultBounds()
233 launchActivity(PIP_ACTIVITY, EXTRA_ENTER_PIP, "true"); in testPinnedStackMovementBounds()
264 launchActivity(PIP_ACTIVITY, EXTRA_ENTER_PIP, "true", in testPinnedStackOutOfBoundsInsetsNonNegative()
294 launchActivity(PIP_ACTIVITY, in testPinnedStackInBoundsAfterRotation()
318 launchActivity(TEST_ACTIVITY, in testEnterPipToOtherOrientation()
321 launchActivity(PIP_ACTIVITY, in testEnterPipToOtherOrientation()
345 launchActivity(PIP_ACTIVITY, in testEnterPipAspectRatio()
372 launchActivity(PIP_ACTIVITY, in testResizePipAspectRatio()
400 launchActivity(PIP_ACTIVITY, in testEnterPipExtremeAspectRatio()
[all …]
DKeyguardTests.java84 launchActivity(TEST_ACTIVITY); in testKeyguardHidesActivity()
99 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivity()
116 launchActivity(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY); in testShowWhenLockedActivity_withDialog()
134 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testMultipleShowWhenLockedActivities()
135 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testMultipleShowWhenLockedActivities()
154 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testTranslucentShowWhenLockedActivity()
171 launchActivity(TEST_ACTIVITY); in testTranslucentDoesntRevealBehind()
172 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testTranslucentDoesntRevealBehind()
187 launchActivity(SHOW_WHEN_LOCKED_DIALOG_ACTIVITY); in testDialogShowWhenLockedActivity()
232 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguardActivity()
[all …]
DActivityManagerActivityVisibilityTests.java117 launchActivity(ALWAYS_FOCUSABLE_PIP_ACTIVITY); in testTranslucentActivityOnTopOfHome()
137 launchActivity(TEST_ACTIVITY); in testHomeVisibleOnActivityTaskPinned()
139 launchActivity(ALWAYS_FOCUSABLE_PIP_ACTIVITY); in testHomeVisibleOnActivityTaskPinned()
167 launchActivity(TRANSLUCENT_ACTIVITY, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); in testTranslucentActivityOverDockedStack()
186 launchActivity(TURN_SCREEN_ON_ACTIVITY); in testTurnScreenOnActivity()
209 launchActivity(TEST_ACTIVITY, WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY); in testFinishActivityInNonFocusedStack()
240 launchActivity(MOVE_TASK_TO_BACK_ACTIVITY, EXTRA_FINISH_POINT, finishPoint); in performFinishActivityWithMoveTaskToBack()
244 launchActivity(BROADCAST_RECEIVER_ACTIVITY); in performFinishActivityWithMoveTaskToBack()
276 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack()
312 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
[all …]
DKeyguardLockedTests.java85 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguard()
99 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testDismissKeyguard_whileOccluded()
102 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguard_whileOccluded()
119 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testDismissKeyguard_fromShowWhenLocked_notAllowed()
139 launchActivity(DISMISS_KEYGUARD_METHOD_ACTIVITY); in testDismissKeyguardActivity_method()
157 launchActivity(DISMISS_KEYGUARD_METHOD_ACTIVITY); in testDismissKeyguardActivity_method_cancelled()
174 launchActivity(TURN_SCREEN_ON_ATTR_DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()
190 launchActivity(PIP_ACTIVITY, EXTRA_SHOW_OVER_KEYGUARD, "true"); in testEnterPipOverKeyguard()
222 launchActivity(PIP_ACTIVITY, EXTRA_ENTER_PIP, "true"); in testShowWhenLockedActivityAndPipActivity()
229 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivityAndPipActivity()
[all …]
DActivityManagerAppConfigurationTests.java105 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY); in testConfigurationUpdatesWhenResizedFromFullscreen()
128 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); in testConfigurationUpdatesWhenResizedFromDockedStack()
151 launchActivity(RESIZEABLE_ACTIVITY, in testConfigurationUpdatesWhenRotatingWhileFullscreen()
268 launchActivity(activityName, WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY); in moveActivityFullSplitFull()
280 launchActivity(activityName, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); in moveActivityFullSplitFull()
327 launchActivity(DIALOG_WHEN_LARGE_ACTIVITY, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); in testDialogWhenLargeSplitSmall()
354 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY); in testFullscreenAppOrientationRequests()
362 launchActivity(LANDSCAPE_ORIENTATION_ACTIVITY); in testFullscreenAppOrientationRequests()
370 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY); in testFullscreenAppOrientationRequests()
384 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testNonfullscreenAppOrientationRequests()
[all …]
DActivityManagerVrDisplayTests.java91 launchActivity(VR_TEST_ACTIVITY); in testVrActivityLaunch()
96 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityLaunch()
131 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
138 launchActivity(VR_TEST_ACTIVITY); in testVrActivityReLaunch()
143 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
185 launchActivity(VR_TEST_ACTIVITY); in testActivityLaunchPostVr()
190 launchActivity(ALT_LAUNCHING_ACTIVITY); in testActivityLaunchPostVr()
229 launchActivity(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
DDisplaySizeTest.java60 launchActivity(TEST_ACTIVITY); in testCompatibilityDialog()
67 launchActivity(SMALLEST_WIDTH_ACTIVITY); in testCompatibilityDialog()
75 launchActivity(SMALLEST_WIDTH_ACTIVITY); in testCompatibilityDialogWhenFocused()
88 launchActivity(SMALLEST_WIDTH_ACTIVITY); in testCompatibilityDialogAfterReturn()
DAspectRatioTestsBase.java38 final Activity activity = launchActivity(activityRule); in runAspectRatioTest()
68 protected Activity launchActivity(final ActivityTestRule activityRule) { in launchActivity() method in AspectRatioTestsBase
69 final Activity activity = activityRule.launchActivity(null); in launchActivity()
DActivityManagerFreeformStackTests.java53 launchActivity(FREEFORM_ACTIVITY, WINDOWING_MODE_FREEFORM); in testFreeformWindowManagementSupport()
75 launchActivity(NON_RESIZEABLE_ACTIVITY, WINDOWING_MODE_FREEFORM); in testNonResizeableActivityHasFullDisplayBounds()
97 launchActivity(TEST_ACTIVITY, WINDOWING_MODE_FREEFORM); in testActivityLifeCycleOnResizeFreeformTask()
98 launchActivity(NO_RELAUNCH_ACTIVITY, WINDOWING_MODE_FREEFORM); in testActivityLifeCycleOnResizeFreeformTask()
DDeprecatedTargetSdkTest.java53 launchActivity(MAIN_ACTIVITY); in testCompatibilityDialog()
DPrereleaseSdkTest.java56 launchActivity(MAIN_ACTIVITY); in testCompatibilityDialog()
/cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/
DActivityLifecycleTests.java60 final Activity activity = mFirstActivityTestRule.launchActivity(new Intent()); in testSingleLaunch()
69 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testLaunchOnTop()
73 final Activity secondActivity = mSecondActivityTestRule.launchActivity(new Intent()); in testLaunchOnTop()
83 final Activity activity = mFirstActivityTestRule.launchActivity(new Intent()); in testLaunchAndDestroy()
93 final Activity activity = mFirstActivityTestRule.launchActivity(new Intent()); in testRelaunchResumed()
105 final Activity pausedActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testRelaunchPaused()
107 mTranslucentActivityTestRule.launchActivity(new Intent()); in testRelaunchPaused()
121 final Activity stoppedActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testRelaunchStopped()
122 final Activity topActivity = mSecondActivityTestRule.launchActivity(new Intent()); in testRelaunchStopped()
143 mFirstActivityTestRule.launchActivity(new Intent()); in testRelaunchConfigurationChangedWhileBecomingVisible()
[all …]
DActivityStarterTests.java42 final Activity initialActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testClearTopNewTaskResetTask()
52 final Activity secondLaunchActivity = mFirstActivityTestRule.launchActivity(intent); in testClearTopNewTaskResetTask()
/cts/tests/tests/preference2/src/android/preference2/cts/
DPreferenceActivityFlowTest.java66 launchActivity(); in switchHeadersInner()
130 launchActivity(); in smallScreenNoHighlightInHeadersListInner()
156 launchActivity(); in backPressToExitInner()
205 launchActivity(); in goToFragmentInner()
424 launchActivity(); in listDialogTest()
454 launchActivity(); in recreateTest()
479 launchActivity(); in recreateInnerFragmentTest()
524 launchActivity(); in multiWindowInOutTest()
552 launchActivity(); in multiWindowInnerFragmentInOutTest()
584 launchActivity(); in multiWindowInitialHeaderOnBackTest()
[all …]
DPreferenceActivityFlowPortraitTest.java192 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowPortraitTest
197 return mActivityRule.launchActivity(intent); in launchActivity()
DPreferenceActivityFlowLandscapeTest.java192 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowLandscapeTest
197 return mActivityRule.launchActivity(intent); in launchActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutofillActivityTestRule.java30 public AutofillActivityTestRule(Class<T> activityClass, boolean launchActivity) { in AutofillActivityTestRule() argument
31 super(activityClass, false, launchActivity); in AutofillActivityTestRule()
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/
DHarmfulAppWarningDeviceTest.java66 private static void launchActivity(String packageName, String activityClassName) { in launchActivity() method in HarmfulAppWarningDeviceTest
116 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testNormalLaunch()
122 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testLaunchAnyway()
130 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testUninstall()
138 launchActivity(TEST_APP_PACKAGE_NAME, TEST_APP_ACTIVITY_CLASS_NAME); in testDismissDialog()
/cts/tests/framework/base/activitymanager/app/src/android/server/am/
DAssistantActivity.java44 final ComponentName launchActivity = ComponentName.unflattenFromString( in onCreate() local
47 launchIntent.setComponent(launchActivity) in onCreate()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java74 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testCreateIme1()
94 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchIme1ToIme2()
137 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchInputMethod()
165 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchToNextInputMethod()
189 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in switchToPreviousInputMethod()
212 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testInputUnbindsOnImeStopped()
245 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testInputUnbindsOnAppStopped()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPrintingPolicyTest.java30 final PrintActivity activity = launchActivity("com.android.cts.deviceandprofileowner", in testPrintingPolicy()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java112 final Context context = mFeatureActivityRule.launchActivity( in shouldLoadFeatureADefault()
128 final Context context = mFeatureActivityRule.launchActivity( in shouldLoadFeatureAPolishLocale()
156 final Context context = mFeatureActivityRule.launchActivity( in shouldLoadFeatureBDefault()
175 final Context context = mFeatureActivityRule.launchActivity( in shouldLoadFeatureBPolishLocale()
205 final Context context = mFeatureActivityRule.launchActivity( in shouldLoadFeatureCDefault()
221 final Context context = mFeatureActivityRule.launchActivity( in shouldLoadFeatureCPolishLocale()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerSurfaceTest.java38 MediaPlayerSurfaceStubActivity activity = launchActivity("android.media.cts", in testSetSurface()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraGpuTest.java38 CameraGpuCtsActivity activity = mActivityRule.launchActivity(null); in testCameraImageCaptureAndRendering()

1234