/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 223 launchActivity(PIP_ACTIVITY, in testIsInPictureInPictureModeInOnPause() 232 launchActivity(PIP_ACTIVITY, in testAutoEnterPipIsInPictureInPictureModeInOnPause() 274 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testNonTappablePipActivity() 293 launchActivity(TEST_ACTIVITY); in testPinnedStackInBoundsAfterRotation() 295 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testPinnedStackInBoundsAfterRotation() 320 launchActivity(PORTRAIT_ORIENTATION_ACTIVITY); in testEnterPipToOtherOrientation() 323 launchActivity(PIP_ACTIVITY, in testEnterPipToOtherOrientation() 339 launchActivity(PIP_ACTIVITY_WITH_MINIMAL_SIZE, extraString(EXTRA_ENTER_PIP, "true")); in testEnterPipWithMinimalSize() 363 launchActivity(PIP_ACTIVITY_WITH_TINY_MINIMAL_SIZE, extraString(EXTRA_ENTER_PIP, "true")); in testEnterPipWithTinyMinimalSize() 397 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP_ON_BACK_PRESSED, "true")); in testEnterPipOnBackPressed() [all …]
|
D | DreamManagerServiceTests.java | 92 launchActivity(TEST_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in startFullscreenTestActivity() 99 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in startFullscreenTestActivityWithShowWhenLocked() 206 launchActivity(Components.TEST_ACTIVITY); in testStartActivityDoesNotWakeAndIsNotResumed() 217 launchActivity(TEST_ACTIVITY); in testStartActivityWakesDevice() 229 launchActivity(Components.TURN_SCREEN_ON_ACTIVITY); in testStartTurnScreenOnActivityDoesWake() 240 launchActivity(Components.TURN_SCREEN_ON_ATTR_ACTIVITY); in testStartTurnScreenOnAttrActivityDoesWake() 261 launchActivity(Components.TURN_SCREEN_ON_SHOW_ON_LOCK_ACTIVITY); in testStartActivityOnKeyguardLocked() 277 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testStartActivityDismissesDreamOnKeyguardLocked()
|
/cts/hostsidetests/tagging/sdk_30_memtag/src/android/cts/tagging/sdk30memtag/ |
D | TaggingTest.java | 42 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testMemtagOffService() 49 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testMemtagOffIsolatedService() 56 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testMemtagOffAppZygoteService() 63 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagSyncService() 71 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagOffService() 81 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagOffService_expectSync() 89 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagSyncAppZygoteService() 97 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagOffAppZygoteService()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardTransitionTests.java | 69 launchActivity(DISABLE_PREVIEW_ACTIVITY); in testUnlock() 83 launchActivity(WALLPAPAER_ACTIVITY); in testUnlockWallpaper() 93 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testOcclude() 102 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testUnocclude() 103 launchActivity(DISABLE_PREVIEW_ACTIVITY); in testUnocclude() 122 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccluded() 124 launchActivity(SHOW_WHEN_LOCKED_WITH_DIALOG_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccluded() 133 launchActivity(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testNewDismissKeyguardIfInsecureActivityDuringOccluded() 147 launchActivity(SHOW_WHEN_LOCKED_ATTR_NO_PREVIEW_ACTIVITY); in testOccludeManifestAttr() 159 launchActivity(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_NO_PREVIEW_ACTIVITY); in testOccludeAttrRemove() [all …]
|
D | KeyguardTests.java | 100 launchActivity(TEST_ACTIVITY); in testKeyguardHidesActivity() 115 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivity() 153 launchActivity(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY); in testShowWhenLockedActivity_withDialog() 173 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testMultipleShowWhenLockedActivities() 177 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testMultipleShowWhenLockedActivities() 207 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testMultipleShowWhenLockedActivities_remainOccludedDuringTransition() 208 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testMultipleShowWhenLockedActivities_remainOccludedDuringTransition() 209 launchActivity(SHOW_WHEN_LOCKED_DIALOG_ACTIVITY); in testMultipleShowWhenLockedActivities_remainOccludedDuringTransition() 247 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testFinishMultipleShowWhenLockedActivities() 278 launchActivity(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testTranslucentShowWhenLockedActivity() [all …]
|
D | KeyguardLockedTests.java | 140 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguard() 153 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testDismissKeyguard_whileOccluded() 157 launchActivity(DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguard_whileOccluded() 174 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testDismissKeyguard_fromShowWhenLocked_notAllowed() 209 launchActivity(DISMISS_KEYGUARD_METHOD_ACTIVITY); in testDismissKeyguardActivity_method() 231 launchActivity(DISMISS_KEYGUARD_METHOD_ACTIVITY); in testDismissKeyguardActivity_method_cancelled() 246 launchActivity(TURN_SCREEN_ON_ATTR_DISMISS_KEYGUARD_ACTIVITY); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard() 261 launchActivity(PIP_ACTIVITY, extraString(EXTRA_SHOW_OVER_KEYGUARD, "true")); in testEnterPipOverKeyguard() 290 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true")); in testShowWhenLockedActivityAndPipActivity() 297 launchActivity(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivityAndPipActivity() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | HideOverlayWindowsTest.java | 98 launchActivity(componentName, in testApplicationOverlayHiddenWhenRequested() 103 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testApplicationOverlayHiddenWhenRequested() 120 launchActivity(componentName, in testSystemApplicationOverlayFlagNoEffectWithoutPermission() 126 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testSystemApplicationOverlayFlagNoEffectWithoutPermission() 143 launchActivity(componentName, in testInternalSystemApplicationOverlaysNotHidden() 148 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testInternalSystemApplicationOverlaysNotHidden() 159 launchActivity(componentName, in testSystemApplicationOverlaysNotHidden() 165 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testSystemApplicationOverlaysNotHidden() 176 launchActivity(componentName, in testSystemApplicationOverlayHiddenWithoutFlag() 181 launchActivity(HIDE_OVERLAY_WINDOWS_ACTIVITY); in testSystemApplicationOverlayHiddenWithoutFlag() [all …]
|
/cts/tests/tests/display/src/android/display/cts/ |
D | TestBase.java | 49 launchActivity(targetPackage, clazz, null); in launchScreenOnActivity() 53 protected <T extends Activity> T launchActivity(ActivityTestRule<T> activityRule) { in launchActivity() method in TestBase 54 final T activity = activityRule.launchActivity(null); in launchActivity() 77 private <T extends Activity> T launchActivity( in launchActivity() method in TestBase
|
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 67 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/framework/base/windowmanager/src/android/server/wm/display/ |
D | VrDisplayTests.java | 126 launchActivity(VR_TEST_ACTIVITY); in testVrActivityLaunch() 131 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityLaunch() 164 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch() 175 launchActivity(VR_TEST_ACTIVITY); in testVrActivityReLaunch() 180 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch() 226 launchActivity(VR_TEST_ACTIVITY); in testActivityLaunchPostVr() 231 launchActivity(ALT_LAUNCHING_ACTIVITY); in testActivityLaunchPostVr() 269 launchActivity(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
|
/cts/hostsidetests/tagging/sdk_30/src/android/cts/tagging/sdk30/ |
D | TaggingTest.java | 114 TestActivity activity = mTestActivityRule.launchActivity(null); in testPermissive() 167 TestActivity activity = mTestActivityRule.launchActivity(null); in testHeapZeroInitActivity() 174 TestActivity activity = mTestActivityRule.launchActivity(null); in testHeapZeroInitMemtagAsyncActivity() 187 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagSyncService() 195 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagOffService() 203 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagSyncAppZygoteService() 211 ServiceRunnerActivity activity = mServiceRunnerActivityRule.launchActivity(null); in testExportedMemtagOffAppZygoteService()
|
/cts/tests/framework/base/windowmanager/testsdk29/src/android/server/wm/insets/ |
D | DecorInsetSdk29Tests.java | 40 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/ |
D | AbstractContentCaptureIntegrationAutoActivityLaunchTest.java | 87 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()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | DecorInsetTests.java | 40 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/tests/preference/src/android/preference/cts/ |
D | PreferenceActivityFlowTest.java | 85 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 …]
|
D | PreferenceActivityFlowPortraitTest.java | 44 mActivity = launchActivity(null); in setup() 147 protected PreferenceWithHeaders launchActivity(Intent intent) { in launchActivity() method in PreferenceActivityFlowPortraitTest 151 return mActivityRule.launchActivity(intent); in launchActivity()
|
D | PreferenceActivityFlowLandscapeTest.java | 45 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/src/android/server/wm/activity/ |
D | ActivityVisibilityTests.java | 96 launchActivity(TRANSLUCENT_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testTranslucentActivityOnTopOfHome() 135 launchActivity(TEST_ACTIVITY); in testVisibilityBehindTranslucentActivity_sameTask() 146 launchActivity(TEST_ACTIVITY); in testVisibilityBehindTranslucentActivity_diffTask() 187 launchActivity(BROADCAST_RECEIVER_ACTIVITY); in launchAndFinishActivityBehindTranslucentActivity() 192 launchActivity(TRANSLUCENT_TEST_ACTIVITY); in launchAndFinishActivityBehindTranslucentActivity() 225 launchActivity(TURN_SCREEN_ON_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testTurnScreenOnActivity() 490 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack() 526 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack() 576 launchActivity(NO_HISTORY_ACTIVITY); in testNoHistoryActivityFinishedResumedActivityNotIdle() 593 launchActivity(NO_HISTORY_ACTIVITY); in testNoHistoryActivityNotFinishedBehindTranslucentActivity() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarDisplayInputLockTest.java | 114 launchActivity(displayId); in testDisplayInputLockForEachPassengerDisplay() 139 launchActivity(firstDisplayId); in testDisplayInputLockForTwoPassengerDisplaysAtOnce() 141 launchActivity(secondDisplayId); in testDisplayInputLockForTwoPassengerDisplaysAtOnce() 148 launchActivity(firstDisplayId); in testDisplayInputLockForTwoPassengerDisplaysAtOnce() 150 launchActivity(secondDisplayId); in testDisplayInputLockForTwoPassengerDisplaysAtOnce() 156 launchActivity(firstDisplayId); in testDisplayInputLockForTwoPassengerDisplaysAtOnce() 158 launchActivity(secondDisplayId); in testDisplayInputLockForTwoPassengerDisplaysAtOnce() 179 launchActivity(driverDisplayId); in testPassengerDisplayInputLockDoesNotAffectDriverDisplay() 185 launchActivity(passengerDisplayId); in testPassengerDisplayInputLockDoesNotAffectDriverDisplay() 234 private void launchActivity(int displayId) { in launchActivity() method in CarDisplayInputLockTest
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | AutofillActivityTestRule.java | 32 public AutofillActivityTestRule(Class<T> activityClass, boolean launchActivity) { in AutofillActivityTestRule() argument 33 super(activityClass, false, launchActivity); in AutofillActivityTestRule()
|
/cts/tests/framework/base/locale/src/android/localemanager/cts/ |
D | LocaleManagerOverrideLocaleConfigTest.java | 124 launchActivity(TEST_APP_MAIN_ACTIVITY, in testSetOverrideLocaleConfig_overrideByTestApp_getCorrectLocaleConfig() 140 launchActivity(TEST_APP_MAIN_ACTIVITY, in testGetOverrideLocaleConfig_getOverrideFromTestApp_returnCorrectLocaleConfig() 153 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_QUERY_LOCALECONFIG, "true")); in testGetOverrideLocaleConfig_getOverrideFromTestApp_returnCorrectLocaleConfig() 178 launchActivity(TEST_APP_MAIN_ACTIVITY, in testSetOverrideLocaleConfig_appLocalesNotInOverrideLocaleConfig_clearAppLocales() 196 launchActivity(TEST_APP_MAIN_ACTIVITY, in testSetOverrideLocaleConfig_appLocalesNotInAppLocaleConfig_clearAppLocales() 225 launchActivity(TEST_APP_MAIN_ACTIVITY, in testSetOverrideLocaleConfig_appLocalesInAppLocaleConfig_keepAppLocales() 255 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_SET_LOCALECONFIG, "reset")); in cleanTestAppOverride()
|
/cts/tests/app/src/android/app/cts/ |
D | AppTaskTests.java | 105 final Activity a1 = mActivityRule.launchActivity(null); in testSingleAppTask() 118 activities.add(mActivityRule.launchActivity(null)); in testMultipleAppTasks() 133 final Activity a1 = mActivityRule.launchActivity(null); in testFinishAndRemoveTask() 144 final Activity a1 = mActivityRule.launchActivity(null); in testMoveToFront() 174 final Activity a1 = mActivityRule.launchActivity(null); in testStartActivityInTask_NoNewTask() 195 final Activity a1 = mActivityRule.launchActivity(null); in testStartActivityInTask_NewTask() 212 final Activity a1 = mActivityRule.launchActivity(null); in testSetExcludeFromRecents() 229 final Activity a1 = mActivityRule.launchActivity(null); in testBaseIntentHasExtras()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityStarterTests.java | 128 launchActivity(STANDARD_ACTIVITY); in testLaunchStandardActivity() 134 launchActivity(SECOND_STANDARD_ACTIVITY); in testLaunchStandardActivity() 190 launchActivity(NO_HISTORY_ACTIVITY); in testNoHistoryActivityNotFinished() 285 launchActivity(STANDARD_ACTIVITY); in testLaunchSingleTopActivity() 290 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity() 308 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity() 324 launchActivity(STANDARD_ACTIVITY); in testLaunchSingleInstanceActivity() 330 launchActivity(SINGLE_INSTANCE_ACTIVITY); in testLaunchSingleInstanceActivity() 360 launchActivity(STANDARD_ACTIVITY); in testLaunchSingleTaskActivity() 365 launchActivity(SINGLE_TASK_ACTIVITY); in testLaunchSingleTaskActivity() [all …]
|
/cts/tests/tests/media/projection/src/android/media/projection/cts/ |
D | MediaProjectionManagerTest.java | 110 mActivityRule.launchActivity(null); in testGetMediaProjection() 120 mActivityRule.launchActivity(getActivityIntentWithSecondaryProcessFgs()); in testGetMediaProjectionSecondaryProcessFgs() 147 mActivityRule.launchActivity(getActivityIntentWithSecondaryProcessFgs()); in testGetMediaProjectionWithOtherFgs() 189 mActivityRule.launchActivity(getActivityIntentWithSecondaryProcessFgs()); in testGetMediaProjectionWithOtherFgsAlter() 228 mActivityRule.launchActivity(null); in testGetMediaProjectionMultipleProjections() 246 mActivityRule.launchActivity(getActivityIntentWithSecondaryProcessFgs()); in testGetMediaProjectionMultipleProjections() 292 mActivityRule.launchActivity(testActivityIntent); in validateValidMediaProjectionFromIntent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ActivityLauncher.java | 57 public A launchActivity() { in launchActivity() method in ActivityLauncher 58 return mActivityTestRule.launchActivity(mLaunchIntent); in launchActivity()
|