/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 30 import static android.server.wm.CliIntentExtra.extraString; 216 pinnedStackTester(getAmStartCmd(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true")), in testEnterPictureInPictureMode() 224 extraString(EXTRA_ENTER_PIP_ON_USER_LEAVE_HINT, " true")); in testIsInPictureInPictureModeInOnPause() 233 extraString(EXTRA_ALLOW_AUTO_PIP, "true")); in testAutoEnterPipIsInPictureInPictureModeInOnPause() 274 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testNonTappablePipActivity() 275 extraString(EXTRA_TAP_TO_FINISH, "true")); in testNonTappablePipActivity() 295 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testPinnedStackInBoundsAfterRotation() 296 extraString(EXTRA_TAP_TO_FINISH, "true")); in testPinnedStackInBoundsAfterRotation() 324 extraString(EXTRA_PIP_ORIENTATION, String.valueOf(SCREEN_ORIENTATION_LANDSCAPE))); in testEnterPipToOtherOrientation() 339 launchActivity(PIP_ACTIVITY_WITH_MINIMAL_SIZE, extraString(EXTRA_ENTER_PIP, "true")); in testEnterPipWithMinimalSize() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | AssistantStackTests.java | 24 import static android.server.wm.CliIntentExtra.extraString; 111 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true")); in testAssistantStackZOrder() 163 extraString(EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY)), in assertAssistantStackCanLaunchAndReturnFromNewTask() 164 extraString(EXTRA_ASSISTANT_DISPLAY_ID, Integer.toString(mAssistantDisplayId))); in assertAssistantStackCanLaunchAndReturnFromNewTask() 211 extraString(EXTRA_ASSISTANT_FINISH_SELF, "true")); in testAssistantStackFinishToPreviousApp() 232 extraString(EXTRA_ASSISTANT_ENTER_PIP, "true")); in testDisallowEnterPiPFromAssistantStack() 249 extraString(EXTRA_ASSISTANT_IS_TRANSLUCENT, "true")); in testTranslucentAssistantActivityStackVisibility() 263 extraString(EXTRA_ASSISTANT_IS_TRANSLUCENT, "true")); in testTranslucentAssistantActivityStackVisibility() 275 extraString(EXTRA_ASSISTANT_IS_TRANSLUCENT, "true"), in testTranslucentAssistantActivityStackVisibility() 276 extraString(EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY))); in testTranslucentAssistantActivityStackVisibility() [all …]
|
D | ActivityVisibilityTests.java | 25 import static android.server.wm.CliIntentExtra.extraString; 445 extraString(EXTRA_FINISH_POINT, finishPoint)); in performFinishActivityWithMoveTaskToBack()
|
/cts/tests/framework/base/locale/src/android/localemanager/cts/ |
D | LocaleManagerOverrideLocaleConfigTest.java | 24 import static android.server.wm.CliIntentExtra.extraString; 125 extraString(EXTRA_SET_LOCALECONFIG, OVERRIDE_LOCALES.toLanguageTags())); in testSetOverrideLocaleConfig_overrideByTestApp_getCorrectLocaleConfig() 141 extraString(EXTRA_SET_LOCALECONFIG, OVERRIDE_LOCALES.toLanguageTags())); in testGetOverrideLocaleConfig_getOverrideFromTestApp_returnCorrectLocaleConfig() 153 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_QUERY_LOCALECONFIG, "true")); in testGetOverrideLocaleConfig_getOverrideFromTestApp_returnCorrectLocaleConfig() 179 extraString(EXTRA_SET_LOCALECONFIG, OVERRIDE_LOCALES.toLanguageTags())); in testSetOverrideLocaleConfig_appLocalesNotInOverrideLocaleConfig_clearAppLocales() 197 extraString(EXTRA_SET_LOCALECONFIG, in testSetOverrideLocaleConfig_appLocalesNotInAppLocaleConfig_clearAppLocales() 226 extraString(EXTRA_SET_LOCALECONFIG, OVERRIDE_LOCALES.toLanguageTags())); in testSetOverrideLocaleConfig_appLocalesInAppLocaleConfig_keepAppLocales() 255 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_SET_LOCALECONFIG, "reset")); in cleanTestAppOverride()
|
D | LocaleManagerTests.java | 40 import static android.server.wm.CliIntentExtra.extraString; 396 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_QUERY_LOCALES, "true")); in testSetApplicationLocales_forAnotherApp_persistsOnAppRestart() 448 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_SET_LOCALES, in testSetApplicationLocales_withReadAppSpecificLocalesPermission_receivesBroadcast() 470 launchActivity(TEST_APP_MAIN_ACTIVITY, extraString(EXTRA_SET_LOCALES, in testSetApplicationLocales_appWithoutPermission_noBroadcastsReceived() 490 extraString(EXTRA_QUERY_LOCALES, CALLING_PACKAGE)); in testGetApplicationLocales_callerIsInstaller_returnsLocales() 507 extraString(EXTRA_QUERY_LOCALES, CALLING_PACKAGE)); in testGetApplicationLocales_nonCurrentIme_noBroadcastReceived() 532 extraString(EXTRA_QUERY_LOCALES, TEST_APP_PACKAGE)); in testGetApplicationLocales_currentImeGetNonForegroundAppLocales_noBroadcastReceived() 549 extraString(EXTRA_QUERY_LOCALES, CALLING_PACKAGE)); in testGetApplicationLocales_currentImeGetForegroundAppLocales_returnsLocales()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | HideOverlayWindowsTest.java | 99 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName)); in testApplicationOverlayHiddenWhenRequested() 121 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName), in testSystemApplicationOverlayFlagNoEffectWithoutPermission() 144 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName)); in testInternalSystemApplicationOverlaysNotHidden() 160 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName), in testSystemApplicationOverlaysNotHidden() 177 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName)); in testSystemApplicationOverlayHiddenWithoutFlag() 193 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName), in testSystemApplicationOverlayAllowsTouchWithoutObscured() 217 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName), in testApplicationOverlay_touchIsObscuredWithoutCorrectPermission() 241 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName)); in testApplicationOverlayWithPopUpHiddenWhenRequested() 247 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, POP_UP_WINDOW)); in testApplicationOverlayWithPopUpHiddenWhenRequested()
|
D | CrossAppDragAndDropTests.java | 20 import static android.server.wm.CliIntentExtra.extraString; 233 launchActivity(componentName, WINDOWING_MODE_FREEFORM, extraString("mode", mode), in launchFreeformActivity() 234 extraString("logtag", logtag)); in launchFreeformActivity()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamTagTest.java | 144 String extraString = ""; in checkMessageForCount() 146 extraString = " or writeRepeatedFixed32"; in checkMessageForCount() 150 + " with write" + string + "Fixed32" + extraString + ".", in checkMessageForCount()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardLockedTests.java | 21 import static android.server.wm.CliIntentExtra.extraString; 261 launchActivity(PIP_ACTIVITY, extraString(EXTRA_SHOW_OVER_KEYGUARD, "true")); in testEnterPipOverKeyguard() 290 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true")); in testShowWhenLockedActivityAndPipActivity() 318 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testShowWhenLockedPipActivity() 319 extraString(EXTRA_SHOW_OVER_KEYGUARD, "true")); in testShowWhenLockedPipActivity() 338 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP, "true"), in testDismissKeyguardPipActivity() 339 extraString(EXTRA_DISMISS_KEYGUARD, "true")); in testDismissKeyguardPipActivity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | MinimalPostProcessingTests.java | 20 import static android.server.wm.CliIntentExtra.extraString; 44 launchActivity(name, extraString(EXTRA_PREFER_MPP, "anything")); in launchMppActivity()
|
D | SplashscreenTests.java | 28 import static android.server.wm.CliIntentExtra.extraString; 423 extraString(REQUEST_SET_NIGHT_MODE_ON_CREATE, nightModeNo)); in testSetApplicationNightMode()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CliIntentExtra.java | 99 public static CliIntentExtra extraString(String key, String value) { in extraString() method in CliIntentExtra
|
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/ |
D | LocaleConfigAppUpdateTest.java | 19 import static android.server.wm.CliIntentExtra.extraString; 120 extraString("set_locales", "fr")); in testUpgradedApk_setFromApp_KeepAppLocales()
|
/cts/tests/tests/dreams/src/android/service/dreams/cts/ |
D | DreamServiceTest.java | 21 import static android.server.wm.CliIntentExtra.extraString; 201 launchActivity(PIP_ACTIVITY, extraString(EXTRA_ENTER_PIP_ON_PAUSE, "true")); in testDreamDoesNotForcePictureInPicture()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayActivityLaunchTests.java | 35 import static android.server.wm.CliIntentExtra.extraString; 534 extraString(KEY_ACTION, IMPLICIT_TARGET_SECOND_TEST_ACTION)); in testLaunchExistingActivityReparentDisplay() 896 extraString(KEY_ACTION, IMPLICIT_TARGET_SECOND_TEST_ACTION)); in testLaunchingFromApplicationContext() 916 extraString(KEY_ACTION, IMPLICIT_TARGET_SECOND_TEST_ACTION)); in testLaunchingFromPendingIntent()
|