Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 434) sorted by relevance

12345678910>>...18

/cts/tests/framework/base/windowmanager/src/android/server/wm/
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;
/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/hostsidetests/incident/src/com/android/server/cts/
DActivityManagerIncidentTest.java17 package com.android.server.cts;
19 import com.android.server.am.ActiveInstrumentationProto;
20 import com.android.server.am.ActiveServicesProto;
21 import com.android.server.am.ActiveServicesProto.ServicesByUser;
22 import com.android.server.am.ActivityManagerServiceDumpBroadcastsProto;
23 import com.android.server.am.ActivityManagerServiceDumpProcessesProto;
24 import com.android.server.am.ActivityManagerServiceDumpProcessesProto.LruProcesses;
25 import com.android.server.am.ActivityManagerServiceDumpServicesProto;
26 import com.android.server.am.AppErrorsProto;
27 import com.android.server.am.AppTimeTrackerProto;
[all …]
DAlarmManagerIncidentTest.java17 package com.android.server.cts;
19 import com.android.server.AlarmClockMetadataProto;
20 import com.android.server.AlarmManagerServiceDumpProto;
21 import com.android.server.AlarmProto;
22 import com.android.server.BatchProto;
23 import com.android.server.BroadcastStatsProto;
24 import com.android.server.ConstantsProto;
25 import com.android.server.FilterStatsProto;
26 import com.android.server.ForceAppStandbyTrackerProto;
27 import com.android.server.ForceAppStandbyTrackerProto.RunAnyInBackgroundRestrictedPackages;
[all …]
DWindowManagerIncidentTest.java17 package com.android.server.cts;
20 import com.android.server.wm.AppTransitionProto;
21 import com.android.server.wm.IdentifierProto;
22 import com.android.server.wm.RootWindowContainerProto;
23 import com.android.server.wm.WindowManagerPolicyProto;
24 import com.android.server.wm.WindowManagerServiceDumpProto;
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DMyProvider.java72 server = new EchoServer(); in call()
73 server.start(); in call()
75 extras.putInt("port", server.server.getLocalPort()); in call()
79 server.halt(); in call()
105 private EchoServer server; field in MyProvider
108 final ServerSocket server; field in MyProvider.EchoServer
113 server = new ServerSocket(0); in EchoServer()
122 server.close(); in halt()
132 final Socket socket = server.accept(); in run()
/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/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerSpoofingTest.java18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertCallbackNotR…
19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertCallbackRece…
20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.checkAssertSuccess;
22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.dumpsysShortcut;
23 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.list;
24 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.resetAll;
25 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
26 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.waitUntil;
/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 …]
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsForegroundActivity.java17 package com.android.server.cts.device.batterystats;
19 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.ACTION_SLEEP_WHI…
20 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.ACTION_SYNC;
21 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.KEY_ACTION;
22 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.KEY_REQUEST_CODE;
23 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.doAction;

12345678910>>...18