Home
last modified time | relevance | path

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

12345678910>>...16

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplaySecurityTests.java17 package android.server.wm;
19 import static android.server.wm.ComponentNameUtils.getActivityName;
20 import static android.server.wm.StateLogger.logAlways;
21 import static android.server.wm.app.Components.DISPLAY_ACCESS_CHECK_EMBEDDING_ACTIVITY;
22 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
23 import static android.server.wm.app.Components.LAUNCH_BROADCAST_RECEIVER;
24 import static android.server.wm.app.Components.LaunchBroadcastReceiver.ACTION_TEST_ACTIVITY_START;
25 import static android.server.wm.app.Components.LaunchBroadcastReceiver.EXTRA_COMPONENT_NAME;
26 import static android.server.wm.app.Components.LaunchBroadcastReceiver.EXTRA_TARGET_DISPLAY;
27 import static android.server.wm.app.Components.LaunchBroadcastReceiver.LAUNCH_BROADCAST_ACTION;
[all …]
DTransitionSelectionTests.java17 package android.server.wm;
19 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_CLOSE;
20 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN;
21 import static android.server.wm.WindowManagerState.TRANSIT_TASK_CLOSE;
22 import static android.server.wm.WindowManagerState.TRANSIT_TASK_OPEN;
23 import static android.server.wm.WindowManagerState.TRANSIT_TRANSLUCENT_ACTIVITY_CLOSE;
24 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_CLOSE;
25 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_CLOSE;
26 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_OPEN;
27 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_OPEN;
[all …]
DActivityVisibilityTests.java17 package android.server.wm;
28 import static android.server.wm.ActivityManagerState.STATE_PAUSED;
29 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
30 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
31 import static android.server.wm.UiDeviceUtils.pressBackButton;
32 import static android.server.wm.UiDeviceUtils.pressHomeButton;
33 import static android.server.wm.VirtualDisplayHelper.waitForDefaultDisplayState;
34 import static android.server.wm.app.Components.ALT_LAUNCHING_ACTIVITY;
35 import static android.server.wm.app.Components.ALWAYS_FOCUSABLE_PIP_ACTIVITY;
36 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
[all …]
DKeyguardTransitionTests.java17 package android.server.wm;
19 import static android.server.wm.ActivityManagerState.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.SHOW_WHEN_LOCKED_ACTIVITY;
26 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ATTR_ACTIVITY;
27 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_ACTIVITY;
[all …]
DAssistantStackTests.java17 package android.server.wm;
26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
27 import static android.server.wm.ComponentNameUtils.getActivityName;
28 import static android.server.wm.UiDeviceUtils.pressBackButton;
29 import static android.server.wm.app.Components.ANIMATION_TEST_ACTIVITY;
30 import static android.server.wm.app.Components.ASSISTANT_ACTIVITY;
31 import static android.server.wm.app.Components.ASSISTANT_VOICE_INTERACTION_SERVICE;
32 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_DISPLAY_ID;
33 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_ENTER_PIP;
34 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_FINISH_SELF;
[all …]
DDialogFrameTests.java17 package android.server.wm;
19 import static android.server.wm.ComponentNameUtils.getWindowName;
20 import static android.server.wm.DialogFrameTestActivity.DIALOG_WINDOW_NAME;
21 import static android.server.wm.DialogFrameTestActivity.TEST_EXPLICIT_POSITION_MATCH_PARENT;
22 import static android.server.wm.DialogFrameTestActivity.TEST_EXPLICIT_POSITION_MATCH_PARENT_NO_LIMI…
23 import static android.server.wm.DialogFrameTestActivity.TEST_EXPLICIT_SIZE;
24 import static android.server.wm.DialogFrameTestActivity.TEST_EXPLICIT_SIZE_BOTTOM_RIGHT_GRAVITY;
25 import static android.server.wm.DialogFrameTestActivity.TEST_EXPLICIT_SIZE_TOP_LEFT_GRAVITY;
26 import static android.server.wm.DialogFrameTestActivity.TEST_MATCH_PARENT;
27 import static android.server.wm.DialogFrameTestActivity.TEST_MATCH_PARENT_LAYOUT_IN_OVERSCAN;
[all …]
DKeyguardTests.java17 package android.server.wm;
23 import static android.server.wm.ComponentNameUtils.getActivityName;
24 import static android.server.wm.ComponentNameUtils.getWindowName;
25 import static android.server.wm.UiDeviceUtils.pressBackButton;
26 import static android.server.wm.UiDeviceUtils.pressHomeButton;
27 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
28 import static android.server.wm.app.Components.DISMISS_KEYGUARD_ACTIVITY;
29 import static android.server.wm.app.Components.DISMISS_KEYGUARD_METHOD_ACTIVITY;
30 import static android.server.wm.app.Components.INHERIT_SHOW_WHEN_LOCKED_ADD_ACTIVITY;
31 import static android.server.wm.app.Components.INHERIT_SHOW_WHEN_LOCKED_ATTR_ACTIVITY;
[all …]
DMultiDisplayLockedKeyguardTests.java17 package android.server.wm;
19 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
20 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
21 import static android.server.wm.ActivityManagerTestBase.LockScreenSession.FLAG_REMOVE_ACTIVITIES_ON…
22 import static android.server.wm.app.Components.DISMISS_KEYGUARD_ACTIVITY;
23 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ACTIVITY;
24 import static android.server.wm.app.Components.TEST_ACTIVITY;
25 import static android.server.wm.app.Components.VIRTUAL_DISPLAY_ACTIVITY;
30 import android.server.wm.ActivityManagerState.ActivityDisplay;
DManifestLayoutTests.java17 package android.server.wm;
21 import static android.server.wm.ActivityAndWindowManagersState.dpToPx;
22 import static android.server.wm.ComponentNameUtils.getWindowName;
23 import static android.server.wm.app.Components.BOTTOM_LEFT_LAYOUT_ACTIVITY;
24 import static android.server.wm.app.Components.BOTTOM_RIGHT_LAYOUT_ACTIVITY;
25 import static android.server.wm.app.Components.TEST_ACTIVITY;
26 import static android.server.wm.app.Components.TOP_LEFT_LAYOUT_ACTIVITY;
27 import static android.server.wm.app.Components.TOP_RIGHT_LAYOUT_ACTIVITY;
36 import android.server.wm.WindowManagerState.Display;
37 import android.server.wm.WindowManagerState.WindowState;
DConfigChangeTests.java17 package android.server.wm;
19 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
20 import static android.server.wm.StateLogger.log;
21 import static android.server.wm.StateLogger.logE;
22 import static android.server.wm.app.Components.FONT_SCALE_ACTIVITY;
23 import static android.server.wm.app.Components.FONT_SCALE_NO_RELAUNCH_ACTIVITY;
24 import static android.server.wm.app.Components.FontScaleActivity.EXTRA_FONT_ACTIVITY_DPI;
25 import static android.server.wm.app.Components.FontScaleActivity.EXTRA_FONT_PIXEL_SIZE;
26 import static android.server.wm.app.Components.NO_RELAUNCH_ACTIVITY;
27 import static android.server.wm.app.Components.TEST_ACTIVITY;
[all …]
DKeyguardTestBase.java17 package android.server.wm;
19 import static android.server.wm.StateLogger.logAlways;
20 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_CANCE…
21 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_ERROR;
22 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_SUCCE…
29 import android.server.wm.TestJournalProvider.TestJournalContainer;
DAmStartOptionsTests.java17 package android.server.wm;
22 import static android.server.wm.ComponentNameUtils.getActivityName;
23 import static android.server.wm.UiDeviceUtils.pressHomeButton;
24 import static android.server.wm.app.Components.ENTRY_POINT_ALIAS_ACTIVITY;
25 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
26 import static android.server.wm.app.Components.SINGLE_TASK_ACTIVITY;
27 import static android.server.wm.app.Components.TEST_ACTIVITY;
DPinnedStackTests.java17 package android.server.wm;
26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
27 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
28 import static android.server.wm.ComponentNameUtils.getActivityName;
29 import static android.server.wm.ComponentNameUtils.getWindowName;
30 import static android.server.wm.UiDeviceUtils.pressWindowButton;
31 import static android.server.wm.app.Components.ALWAYS_FOCUSABLE_PIP_ACTIVITY;
32 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
33 import static android.server.wm.app.Components.LAUNCH_ENTER_PIP_ACTIVITY;
34 import static android.server.wm.app.Components.LAUNCH_INTO_PINNED_STACK_PIP_ACTIVITY;
[all …]
DMultiDisplayActivityLaunchTests.java17 package android.server.wm;
24 import static android.server.wm.ActivityLauncher.KEY_LAUNCH_ACTIVITY;
25 import static android.server.wm.ActivityLauncher.KEY_NEW_TASK;
26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
27 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
28 import static android.server.wm.ComponentNameUtils.getActivityName;
29 import static android.server.wm.app.Components.ALT_LAUNCHING_ACTIVITY;
30 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
31 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
32 import static android.server.wm.app.Components.NON_RESIZEABLE_ACTIVITY;
[all …]
DMultiDisplayTestBase.java17 package android.server.wm;
21 import static android.server.wm.ComponentNameUtils.getActivityName;
22 import static android.server.wm.StateLogger.log;
23 import static android.server.wm.StateLogger.logAlways;
24 import static android.server.wm.UiDeviceUtils.pressSleepButton;
25 import static android.server.wm.UiDeviceUtils.pressWakeupButton;
26 import static android.server.wm.app.Components.VIRTUAL_DISPLAY_ACTIVITY;
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;
[all …]
DMultiDisplayPolicyTests.java17 package android.server.wm;
21 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
22 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
23 import static android.server.wm.ComponentNameUtils.getWindowName;
24 import static android.server.wm.StateLogger.logAlways;
25 import static android.server.wm.StateLogger.logE;
26 import static android.server.wm.WindowManagerState.TRANSIT_TASK_CLOSE;
27 import static android.server.wm.WindowManagerState.TRANSIT_TASK_OPEN;
28 import static android.server.wm.app.Components.BOTTOM_ACTIVITY;
29 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
[all …]
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPipActivity.java17 package android.server.wm.app;
22 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP;
23 import static android.server.wm.app.Components.PipActivity.ACTION_EXPAND_PIP;
24 import static android.server.wm.app.Components.PipActivity.ACTION_FINISH;
25 import static android.server.wm.app.Components.PipActivity.ACTION_MOVE_TO_BACK;
26 import static android.server.wm.app.Components.PipActivity.ACTION_SET_REQUESTED_ORIENTATION;
27 import static android.server.wm.app.Components.PipActivity.EXTRA_ASSERT_NO_ON_STOP_BEFORE_PIP;
28 import static android.server.wm.app.Components.PipActivity.EXTRA_DISMISS_KEYGUARD;
29 import static android.server.wm.app.Components.PipActivity.EXTRA_ENTER_PIP;
30 import static android.server.wm.app.Components.PipActivity.EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR;
[all …]
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_TARGET_COMPONENT;
25 import static android.server.wm.ComponentNameUtils.getActivityName;
26 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_CREATE_DISPLAY;
27 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_DESTROY_DISPLAY;
28 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_RESIZE_DISPLAY;
29 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_CAN_SHOW_WITH_INSECURE_KE…
30 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_COMMAND;
[all …]
DBroadcastReceiverActivity.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
20 import static android.server.wm.app.Components.BroadcastReceiverActivity.ACTION_TRIGGER_BROADCAST;
21 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_BROADCAST_ORIENTATIO…
22 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_CUTOUT_EXISTS;
23 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD;
24 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD_MET…
25 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_FINISH_BROADCAST;
26 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_MOVE_BROADCAST_TO_BA…
38 import android.server.wm.ActivityLauncher;
[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;
DKeyguardDismissLoggerCallback.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_CANCE…
20 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_ERROR;
21 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_SUCCE…
22 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.KEYGUARD_DISMISS_LOG_T…
28 import android.server.wm.TestJournalProvider;
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleClientTestBase.java17 package android.server.wm.lifecycle;
19 import static android.server.wm.StateLogger.log;
20 import static android.server.wm.app.Components.PipActivity.EXTRA_ENTER_PIP;
21 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_ACTIVITY_RESULT;
22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY;
24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGE…
25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_NEW_INTENT;
26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE;
27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_POST_CREATE;
[all …]
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/
DSendPendingIntentReceiver.java17 package android.server.wm.backgroundactivity.appa;
20 import static android.server.wm.backgroundactivity.appa.Components.APP_A_BACKGROUND_ACTIVITY;
21 import static android.server.wm.backgroundactivity.appa.Components.APP_A_START_ACTIVITY_RECEIVER;
22 import static android.server.wm.backgroundactivity.appa.Components.SendPendingIntentReceiver.IS_BRO…
23 import static android.server.wm.backgroundactivity.appa.Components.StartBackgroundActivityReceiver.…
24 import static android.server.wm.backgroundactivity.appb.Components.APP_B_START_PENDING_INTENT_RECEI…
25 import static android.server.wm.backgroundactivity.appb.Components.StartPendingIntentReceiver.PENDI…
DForegroundActivity.java17 package android.server.wm.backgroundactivity.appa;
19 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.ACTION_LAUNCH…
20 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.LAUNCH_BACKGR…
21 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.LAUNCH_INTENT…
22 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.LAUNCH_SECOND…
23 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.RELAUNCH_FORE…
24 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.START_ACTIVIT…
25 import static android.server.wm.backgroundactivity.appa.Components.ForegroundActivity.START_ACTIVIT…
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java17 package android.server.wm;
21 import static android.server.wm.ActivityManagerState.STATE_INITIALIZING;
22 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
23 import static android.server.wm.ComponentNameUtils.getActivityName;
24 import static android.server.wm.UiDeviceUtils.pressHomeButton;
25 import static android.server.wm.UiDeviceUtils.pressUnlockButton;
26 import static android.server.wm.UiDeviceUtils.pressWakeupButton;
27 import static android.server.wm.backgroundactivity.appa.Components.APP_A_BACKGROUND_ACTIVITY;
28 import static android.server.wm.backgroundactivity.appa.Components.APP_A_FOREGROUND_ACTIVITY;
29 import static android.server.wm.backgroundactivity.appa.Components.APP_A_SECOND_BACKGROUND_ACTIVITY;
[all …]

12345678910>>...16