/cts/tests/framework/base/activitymanager/src/android/server/am/ |
D | KeyguardTransitionTests.java | 56 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 …]
|
D | ActivityManagerPinnedStackTests.java | 184 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 …]
|
D | KeyguardTests.java | 84 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 …]
|
D | ActivityManagerActivityVisibilityTests.java | 117 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 …]
|
D | KeyguardLockedTests.java | 85 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 …]
|
D | ActivityManagerAppConfigurationTests.java | 105 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 …]
|
D | ActivityManagerVrDisplayTests.java | 91 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()
|
D | DisplaySizeTest.java | 60 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()
|
D | AspectRatioTestsBase.java | 38 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()
|
D | ActivityManagerFreeformStackTests.java | 53 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()
|
D | DeprecatedTargetSdkTest.java | 53 launchActivity(MAIN_ACTIVITY); in testCompatibilityDialog()
|
D | PrereleaseSdkTest.java | 56 launchActivity(MAIN_ACTIVITY); in testCompatibilityDialog()
|
/cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/ |
D | ActivityLifecycleTests.java | 60 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 …]
|
D | ActivityStarterTests.java | 42 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/ |
D | PreferenceActivityFlowTest.java | 66 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 …]
|
D | PreferenceActivityFlowPortraitTest.java | 192 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowPortraitTest 197 return mActivityRule.launchActivity(intent); in launchActivity()
|
D | PreferenceActivityFlowLandscapeTest.java | 192 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowLandscapeTest 197 return mActivityRule.launchActivity(intent); in launchActivity()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutofillActivityTestRule.java | 30 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/ |
D | HarmfulAppWarningDeviceTest.java | 66 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/ |
D | AssistantActivity.java | 44 final ComponentName launchActivity = ComponentName.unflattenFromString( in onCreate() local 47 launchIntent.setComponent(launchActivity) in onCreate()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 74 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/ |
D | PrintingPolicyTest.java | 30 final PrintActivity activity = launchActivity("com.android.cts.deviceandprofileowner", in testPrintingPolicy()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 112 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/ |
D | MediaPlayerSurfaceTest.java | 38 MediaPlayerSurfaceStubActivity activity = launchActivity("android.media.cts", in testSetSurface()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CameraGpuTest.java | 38 CameraGpuCtsActivity activity = mActivityRule.launchActivity(null); in testCameraImageCaptureAndRendering()
|