Home
last modified time | relevance | path

Searched refs:wm (Results 1 – 25 of 830) sorted by relevance

12345678910>>...34

/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySecurityTests.java17 package android.server.wm.multidisplay;
19 import static android.server.wm.ComponentNameUtils.getActivityName;
20 import static android.server.wm.ShellCommandHelper.executeShellCommand;
21 import static android.server.wm.WindowManagerState.STATE_RESUMED;
22 import static android.server.wm.app.Components.DISPLAY_ACCESS_CHECK_EMBEDDING_ACTIVITY;
23 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
24 import static android.server.wm.app.Components.LAUNCH_BROADCAST_RECEIVER;
25 import static android.server.wm.app.Components.LaunchBroadcastReceiver.ACTION_TEST_ACTIVITY_START;
26 import static android.server.wm.app.Components.LaunchBroadcastReceiver.EXTRA_COMPONENT_NAME;
27 import static android.server.wm.app.Components.LaunchBroadcastReceiver.EXTRA_TARGET_DISPLAY;
[all …]
DMultiDisplayLockedKeyguardTests.java17 package android.server.wm.multidisplay;
19 import static android.server.wm.WindowManagerState.STATE_RESUMED;
20 import static android.server.wm.WindowManagerState.STATE_STOPPED;
21 import static android.server.wm.app.Components.DISMISS_KEYGUARD_ACTIVITY;
22 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ACTIVITY;
23 import static android.server.wm.app.Components.TEST_ACTIVITY;
24 import static android.server.wm.app.Components.VIRTUAL_DISPLAY_ACTIVITY;
29 import android.server.wm.LockScreenSession;
30 import android.server.wm.MultiDisplayTestBase;
31 import android.server.wm.WindowManagerState.DisplayContent;
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DLifecycleTrackingActivity.java17 package android.server.wm.activity.lifecycle;
19 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_ACTIVITY_ON_USER_LEAVE_…
20 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_FINISH_IN_ON_CREATE;
21 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_FINISH_IN_ON_PAUSE;
22 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_FINISH_IN_ON_RESUME;
23 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_FINISH_IN_ON_START;
24 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_FINISH_IN_ON_STOP;
25 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_START_ACTIVITY_IN_ON_CR…
26 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_START_ACTIVITY_WHEN_IDL…
27 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE;
[all …]
DCallbackTrackingActivity.java17 package android.server.wm.activity.lifecycle;
19 import static android.server.wm.activity.lifecycle.LifecycleConstants.EXTRA_SKIP_TOP_RESUMED_STATE;
20 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_ACTIVITY_RESULT;
21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_MULTI_WINDOW_MODE_CHANGED;
22 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_NEW_INTENT;
23 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_POST_CREATE;
24 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
25 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_LOST;
/cts/tests/framework/base/windowmanager/util/
DAndroid.bp20 name: "cts-wm-app-util",
22 "src/android/server/wm/ActivityLauncher.java",
23 "src/android/server/wm/CommandSession.java",
24 "src/android/server/wm/ComponentNameUtils.java",
25 "src/android/server/wm/TestJournalProvider.java",
26 "src/android/server/wm/TestLogClient.java",
27 ":cts-wm-components",
32 name: "cts-wm-ignore-orientation-request-session",
33 srcs: ["src/android/server/wm/IgnoreOrientationRequestSession.java"],
37 name: "cts-wm-util",
[all …]
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPipActivity.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.PipActivity.ACTION_CHANGE_ASPECT_RATIO;
20 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP;
21 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP_AND_WAIT_FOR_UI_STATE;
22 import static android.server.wm.app.Components.PipActivity.ACTION_EXPAND_PIP;
23 import static android.server.wm.app.Components.PipActivity.ACTION_FINISH;
24 import static android.server.wm.app.Components.PipActivity.ACTION_LAUNCH_TRANSLUCENT_ACTIVITY;
25 import static android.server.wm.app.Components.PipActivity.ACTION_MOVE_TO_BACK;
26 import static android.server.wm.app.Components.PipActivity.ACTION_ON_PIP_REQUESTED;
27 import static android.server.wm.app.Components.PipActivity.ACTION_SET_ON_PAUSE_REMOTE_CALLBACK;
[all …]
DHandleSplashScreenExitActivity.java17 package android.server.wm.app;
20 import static android.server.wm.app.Components.TestStartingWindowKeys.CANCEL_HANDLE_EXIT;
21 import static android.server.wm.app.Components.TestStartingWindowKeys.CENTER_VIEW_IS_SURFACE_VIEW;
22 import static android.server.wm.app.Components.TestStartingWindowKeys.CONTAINS_BRANDING_VIEW;
23 import static android.server.wm.app.Components.TestStartingWindowKeys.CONTAINS_CENTER_VIEW;
24 import static android.server.wm.app.Components.TestStartingWindowKeys.DELAY_RESUME;
25 import static android.server.wm.app.Components.TestStartingWindowKeys.GET_NIGHT_MODE_ACTIVITY_CHANG…
26 import static android.server.wm.app.Components.TestStartingWindowKeys.HANDLE_SPLASH_SCREEN_EXIT;
27 import static android.server.wm.app.Components.TestStartingWindowKeys.ICON_ANIMATION_DURATION;
28 import static android.server.wm.app.Components.TestStartingWindowKeys.ICON_ANIMATION_START;
[all …]
DLaunchBroadcastReceiver.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.LaunchBroadcastReceiver.ACTION_TEST_ACTIVITY_START;
20 import static android.server.wm.app.Components.LaunchBroadcastReceiver.EXTRA_COMPONENT_NAME;
21 import static android.server.wm.app.Components.LaunchBroadcastReceiver.EXTRA_TARGET_DISPLAY;
22 import static android.server.wm.app.Components.LaunchBroadcastReceiver.LAUNCH_BROADCAST_ACTION;
29 import android.server.wm.ActivityLauncher;
30 import android.server.wm.CommandSession;
DVirtualDisplayActivity.java17 package android.server.wm.app;
22 import static android.server.wm.ActivityLauncher.KEY_DISPLAY_ID;
23 import static android.server.wm.ActivityLauncher.KEY_LAUNCH_ACTIVITY;
24 import static android.server.wm.ActivityLauncher.KEY_NEW_TASK;
25 import static android.server.wm.ActivityLauncher.KEY_TARGET_COMPONENT;
26 import static android.server.wm.ComponentNameUtils.getActivityName;
27 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_CREATE_DISPLAY;
28 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_DESTROY_DISPLAY;
29 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_RESIZE_DISPLAY;
30 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_CAN_SHOW_WITH_INSECURE_KE…
[all …]
DUiScalingTestActivity.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_ADD_SUBVIEW;
20 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_CLEAR_DEFAULT_VIEW;
21 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_GET_RESOURCES_CONFIG;
22 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_GET_SUBVIEW_SIZE;
23 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_UPDATE_RESOURCES_CONFI…
24 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_COMMAND_SUCCESS;
25 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_RESOURCES_CONFIG;
26 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_SUBVIEW_ID;
27 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_TEXT_SIZE;
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DTransitionSelectionTests.java17 package android.server.wm.animations;
21 import static android.server.wm.ShellCommandHelper.executeShellCommand;
22 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_CLOSE;
23 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN;
24 import static android.server.wm.WindowManagerState.TRANSIT_TASK_CLOSE;
25 import static android.server.wm.WindowManagerState.TRANSIT_TASK_OPEN;
26 import static android.server.wm.WindowManagerState.TRANSIT_TRANSLUCENT_ACTIVITY_CLOSE;
27 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_CLOSE;
28 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_CLOSE;
29 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_OPEN;
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTransitionTests.java17 package android.server.wm.keyguard;
19 import static android.server.wm.WindowManagerState.STATE_STOPPED;
20 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN;
21 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_GOING_AWAY;
22 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_GOING_AWAY_ON_WALLPAPER;
23 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_OCCLUDE;
24 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_UNOCCLUDE;
25 import static android.server.wm.app.Components.DISABLE_PREVIEW_ACTIVITY;
26 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ATTR_NO_PREVIEW_ACTIVITY;
27 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_NO_PREVIEW_ACTIVIT…
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/am/
DAmStartOptionsTests.java17 package android.server.wm.am;
22 import static android.server.wm.ComponentNameUtils.getActivityName;
23 import static android.server.wm.ShellCommandHelper.executeShellCommand;
24 import static android.server.wm.WindowManagerState.STATE_INITIALIZING;
25 import static android.server.wm.WindowManagerState.STATE_RESUMED;
26 import static android.server.wm.app.Components.ENTRY_POINT_ALIAS_ACTIVITY;
27 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
28 import static android.server.wm.app.Components.SINGLE_TASK_ACTIVITY;
29 import static android.server.wm.app.Components.TEST_ACTIVITY;
37 import android.server.wm.ActivityManagerTestBase;
[all …]
/cts/tests/framework/base/windowmanager/jetpack/SignedApp/src/android/server/wm/jetpack/signed/
DSignedEmbeddingActivity.java17 package android.server.wm.jetpack.signed;
19 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.getWindowExtensions;
20 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.EMBEDDED_ACTIVITY_ID;
21 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.assumeActivityEmbeddingSupporte…
22 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.createSplitPairRuleBuilder;
23 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.startActivityCrossUidInSplit;
24 import static android.server.wm.jetpack.utils.WindowManagerJetpackTestBase.EXTRA_EMBED_ACTIVITY;
25 import static android.server.wm.jetpack.utils.WindowManagerJetpackTestBase.EXTRA_SPLIT_RATIO;
31 import android.server.wm.jetpack.extensions.util.TestValueCountConsumer;
32 import android.server.wm.jetpack.utils.TestActivityKnownEmbeddingCerts;
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DWindowLayoutComponentLetterboxTest.java17 package android.server.wm.jetpack.layout;
19 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.assertHasDisplayFeatures;
20 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.assumeHasDisplayFeatures;
21 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.getExtensionWindowLayoutInfo;
23 import android.server.wm.jetpack.utils.TestActivity;
24 import android.server.wm.jetpack.utils.TestLetterboxLandscapeActivity;
25 import android.server.wm.jetpack.utils.TestLetterboxLandscapeSlimActivity;
26 import android.server.wm.jetpack.utils.TestLetterboxPortraitActivity;
27 import android.server.wm.jetpack.utils.TestLetterboxPortraitSlimActivity;
28 import android.server.wm.jetpack.utils.WindowExtensionTestRule;
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingLifecycleTestBase.java17 package android.server.wm.jetpack.embedding;
19 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE;
20 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
22 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
23 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_START;
24 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP;
25 import static android.server.wm.activity.lifecycle.TransitionVerifier.transition;
33 import android.server.wm.activity.lifecycle.EventLog;
34 import android.server.wm.activity.lifecycle.EventLog.EventLogClient;
[all …]
DActivityEmbeddingPolicyTests.java17 package android.server.wm.jetpack.embedding;
22 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.getWindowExtensions;
23 import static android.server.wm.jetpack.second.Components.PORTRAIT_ACTIVITY;
24 import static android.server.wm.jetpack.second.Components.SECOND_UNTRUSTED_EMBEDDING_ACTIVITY;
25 import static android.server.wm.jetpack.signed.Components.SIGNED_EMBEDDING_ACTIVITY;
26 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.assumeActivityEmbeddingSupporte…
27 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.createWildcardSplitPairRule;
28 import static android.server.wm.jetpack.utils.WindowManagerJetpackTestBase.EXTRA_EMBED_ACTIVITY;
29 import static android.server.wm.jetpack.utils.WindowManagerJetpackTestBase.startActivityFromActivit…
30 import static android.server.wm.jetpack.utils.WindowManagerJetpackTestBase.startActivityOnDisplaySi…
[all …]
DActivityEmbeddingIntegrationTests.java17 package android.server.wm.jetpack.embedding;
19 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.assumeHasDisplayFeatures;
20 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.getExtensionWindowLayoutComp…
21 import static android.server.wm.jetpack.extensions.util.ExtensionsUtil.getExtensionWindowLayoutInfo;
22 import static android.server.wm.jetpack.signed.Components.SIGNED_EMBEDDING_ACTIVITY;
23 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.EMBEDDED_ACTIVITY_ID;
24 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.createSplitPairRuleBuilder;
25 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.startActivityAndVerifyNoCallbac…
26 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.startActivityAndVerifySplitAttr…
27 import static android.server.wm.jetpack.utils.ActivityEmbeddingUtil.waitAndAssertResumed;
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackNavigationLegacyTest.java16 package android.server.wm.backnavigation;
18 import static android.server.wm.WindowManagerState.STATE_RESUMED;
19 import static android.server.wm.backlegacyapp.Components.BACK_LEGACY;
25 import android.server.wm.ActivityManagerTestBase;
26 import android.server.wm.TestJournalProvider.TestJournalContainer;
27 import android.server.wm.TouchHelper;
28 import android.server.wm.backlegacyapp.Components;
DBackNavigationLegacyGestureTest.java16 package android.server.wm.backnavigation;
18 import static android.server.wm.WindowManagerState.STATE_RESUMED;
19 import static android.server.wm.backlegacyapp.Components.BACK_LEGACY;
27 import android.server.wm.ActivityManagerTestBase;
28 import android.server.wm.Condition;
29 import android.server.wm.TestJournalProvider.TestJournalContainer;
30 import android.server.wm.backlegacyapp.Components;
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityTaskAffinityTests.java17 package android.server.wm.activity;
19 import static android.server.wm.second.Components.TEST_ACTIVITY_WITH_SAME_AFFINITY_DIFFERENT_UID;
20 import static android.server.wm.shareuid.a.Components.TEST_ACTIVITY_WITH_SAME_AFFINITY;
21 import static android.server.wm.shareuid.a.Components.TEST_ACTIVITY_WITH_SAME_AFFINITY_SAME_APP;
22 import static android.server.wm.shareuid.b.Components.TEST_ACTIVITY_WITH_SAME_AFFINITY_SHARE_UID;
30 import android.server.wm.ActivityManagerTestBase;
31 import android.server.wm.annotation.Group3;
DAssistantStackTests.java17 package android.server.wm.activity;
24 import static android.server.wm.CliIntentExtra.extraString;
25 import static android.server.wm.ComponentNameUtils.getActivityName;
26 import static android.server.wm.UiDeviceUtils.pressHomeButton;
27 import static android.server.wm.WindowManagerState.STATE_RESUMED;
28 import static android.server.wm.app.Components.ANIMATION_TEST_ACTIVITY;
29 import static android.server.wm.app.Components.ASSISTANT_ACTIVITY;
30 import static android.server.wm.app.Components.ASSISTANT_VOICE_INTERACTION_SERVICE;
31 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_DISPLAY_ID;
32 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_ENTER_PIP;
[all …]
DAmProfileTests.java17 package android.server.wm.activity;
19 import static android.server.wm.ComponentNameUtils.getActivityName;
20 import static android.server.wm.ShellCommandHelper.executeShellCommand;
21 import static android.server.wm.ShellCommandHelper.executeShellCommandAndGetStdout;
22 import static android.server.wm.profileable.Components.PROFILEABLE_APP_ACTIVITY;
23 import static android.server.wm.profileable.Components.ProfileableAppActivity.COMMAND_WAIT_FOR_PROF…
24 import static android.server.wm.profileable.Components.ProfileableAppActivity.OUTPUT_DIR;
25 import static android.server.wm.profileable.Components.ProfileableAppActivity.OUTPUT_FILE_PATH;
34 import android.server.wm.ActivityManagerTestBase;
35 import android.server.wm.CommandSession.ActivitySession;
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleKeyguardTests.java17 package android.server.wm.activity.lifecycle;
19 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
20 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESTART;
21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
22 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_START;
23 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP;
24 import static android.server.wm.activity.lifecycle.TransitionVerifier.assertRestartAndResumeSequenc…
25 import static android.server.wm.activity.lifecycle.TransitionVerifier.assertRestartAndResumeSubSequ…
26 import static android.server.wm.activity.lifecycle.TransitionVerifier.assertResumeToStopSequence;
27 import static android.server.wm.activity.lifecycle.TransitionVerifier.assertSequence;
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DDeprecatedTargetSdkTest.java17 package android.server.wm.window;
19 import static android.server.wm.UiDeviceUtils.pressBackButton;
20 import static android.server.wm.deprecatedsdk.Components.MAIN_ACTIVITY;
23 import android.server.wm.ActivityManagerTestBase;
24 import android.server.wm.DeprecatedTargetSdkUtils;

12345678910>>...34