1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2017 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
20     xmlns:tools="http://schemas.android.com/tools"
21     package="android.server.wm.cts"
22     android:targetSandboxVersion="2">
23
24    <uses-permission android:name="android.permission.READ_LOGS"/>
25    <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/>
26    <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
27    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
28    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
29    <uses-permission android:name="android.permission.STOP_APP_SWITCHES"/>
30    <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
31    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
32    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
33    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
34    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
35
36    <application android:label="CtsWindowManagerDeviceTestCases"
37         android:requestLegacyExternalStorage="true">
38        <uses-library android:name="android.test.runner"/>
39
40        <activity android:name="android.server.wm.AspectRatioTests$MaxAspectRatioActivity"
41             android:label="MaxAspectRatioActivity"
42             android:maxAspectRatio="1.0"
43             android:resizeableActivity="false"/>
44
45        <activity android:name="android.server.wm.AspectRatioTests$MetaDataMaxAspectRatioActivity"
46             android:label="MetaDataMaxAspectRatioActivity"
47             android:resizeableActivity="false">
48            <meta-data android:name="android.max_aspect"
49                 android:value="1.0"/>
50        </activity>
51
52        <activity android:name="android.server.wm.AspectRatioTests$MaxAspectRatioResizeableActivity"
53             android:label="MaxAspectRatioResizeableActivity"
54             android:maxAspectRatio="1.0"
55             android:resizeableActivity="true"/>
56
57        <activity android:name="android.server.wm.AspectRatioTests$MaxAspectRatioUnsetActivity"
58             android:label="MaxAspectRatioUnsetActivity"
59             android:resizeableActivity="false"/>
60
61        <activity android:name="android.server.wm.AspectRatioTests$MinAspectRatioActivity"
62             android:label="MinAspectRatioActivity"
63             android:minWidth="1dp"
64             android:minAspectRatio="3.0"
65             android:resizeableActivity="false"/>
66
67        <activity android:name="android.server.wm.AspectRatioTests$MinAspectRatioResizeableActivity"
68             android:label="MinAspectRatioResizeableActivity"
69             android:minWidth="1dp"
70             android:minAspectRatio="3.0"
71             android:resizeableActivity="true"/>
72
73        <activity android:name="android.server.wm.AspectRatioTests$MinAspectRatioUnsetActivity"
74             android:label="MinAspectRatioUnsetActivity"
75             android:resizeableActivity="false"/>
76
77        <activity android:name="android.server.wm.AspectRatioTests$MinAspectRatioLandscapeActivity"
78             android:label="MinAspectRatioLandscapeActivity"
79             android:minWidth="1dp"
80             android:minAspectRatio="3.0"
81             android:resizeableActivity="false"
82             android:screenOrientation="landscape"/>
83
84        <activity android:name="android.server.wm.AspectRatioTests$MinAspectRatioPortraitActivity"
85             android:label="MinAspectRatioPortraitActivity"
86             android:minWidth="1dp"
87             android:minAspectRatio="3.0"
88             android:resizeableActivity="false"
89             android:screenOrientation="portrait"/>
90
91        <activity android:name="android.server.wm.ActivityManagerTestBase$ConfigChangeHandlingActivity"
92             android:resizeableActivity="true"
93             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"/>
94
95        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$FirstActivity"/>
96
97        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SecondActivity"/>
98
99        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$ThirdActivity"/>
100
101        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SideActivity"
102                  android:taskAffinity="nobody.but.SideActivity"/>
103
104        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$TranslucentActivity"
105             android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
106
107        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SecondTranslucentActivity"
108             android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
109
110        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$CallbackTrackingActivity"
111                  android:configChanges="keyboard|keyboardHidden|navigation"/>
112
113        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SecondCallbackTrackingActivity"/>
114
115        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$TranslucentCallbackTrackingActivity"
116             android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
117
118        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$ShowWhenLockedCallbackTrackingActivity"
119                  android:configChanges="keyboard|keyboardHidden|navigation" />
120
121        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SecondProcessCallbackTrackingActivity"
122             android:process=":SecondProcess"
123             android:exported="true"/>
124
125        <provider android:name="android.server.wm.lifecycle.LifecycleLog"
126             android:authorities="android.server.wm.lifecycle.logprovider"
127             android:exported="true"/>
128
129        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$LaunchForResultActivity"/>
130
131        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$ResultActivity"/>
132
133        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$TranslucentResultActivity"
134                  android:theme="@android:style/Theme.Dialog"/>
135
136        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SingleTopActivity"
137             android:launchMode="singleTop"/>
138
139        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$ConfigChangeHandlingActivity"
140             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"/>
141
142        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$PipActivity"
143             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
144             android:supportsPictureInPicture="true"/>
145
146        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$AlwaysFocusablePipActivity"
147             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
148             android:resizeableActivity="false"
149             android:supportsPictureInPicture="true"
150             androidprv:alwaysFocusable="true"
151             android:exported="true"/>
152
153        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$SlowActivity"/>
154
155        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$NoDisplayActivity"
156             android:theme="@android:style/Theme.NoDisplay"/>
157
158        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$DifferentAffinityActivity"
159             android:taskAffinity="nobody.but.DifferentAffinityActivity"/>
160
161        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$TransitionSourceActivity"
162             android:theme="@style/window_activity_transitions"/>
163
164        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$TransitionDestinationActivity"
165             android:theme="@style/window_activity_transitions"/>
166
167        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$LaunchForwardResultActivity"/>
168
169        <activity android:name="android.server.wm.lifecycle.ActivityLifecycleClientTestBase$TrampolineActivity"/>
170
171        <activity android:name="android.server.wm.MultiDisplayActivityLaunchTests$ImmediateLaunchTestActivity"
172             android:allowEmbedded="true"/>
173
174        <activity android:name="android.server.wm.MultiDisplaySystemDecorationTests$ImeTestActivity"
175             android:resizeableActivity="true"
176             android:theme="@style/no_starting_window"
177             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"/>
178        <activity android:name="android.server.wm.MultiDisplaySystemDecorationTests$ImeTestActivity2"/>
179        <activity android:name="android.server.wm.MultiDisplaySystemDecorationTests$ImeTestActivityWithBrokenContextWrapper"/>
180
181        <activity android:name="android.server.wm.MultiDisplayClientTests$ClientTestActivity"/>
182        <activity android:name="android.server.wm.MultiDisplayClientTests$NoRelaunchActivity"
183             android:resizeableActivity="true"
184             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen|keyboard|keyboardHidden|navigation"/>
185
186        <activity android:name="android.server.wm.HideOverlayWindowsTest$SystemWindowActivity"
187                  android:process=":swa"
188                  android:exported="true"/>
189        <activity android:name="android.server.wm.HideOverlayWindowsTest$InternalSystemWindowActivity"
190                  android:process=":iswa"
191                  android:exported="true"/>
192        <activity android:name="android.server.wm.HideOverlayWindowsTest$SystemApplicationOverlayActivity"
193                  android:process=":saoa"
194                  android:exported="true"/>
195
196        <activity android:name="android.server.wm.KeyguardLockedTests$ShowImeAfterLockscreenActivity"
197                  android:configChanges="keyboard|keyboardHidden|navigation"/>
198
199        <activity android:name="android.server.wm.KeyguardLockedTests$ShowWhenLockedImeActivity"/>
200
201        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$StandardActivity"
202             android:exported="true"/>
203
204        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$SecondStandardActivity"
205             android:exported="true"/>
206
207        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$StandardWithSingleTopActivity"
208             android:exported="true"/>
209
210        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$SingleTopActivity"
211             android:launchMode="singleTop"
212             android:exported="true"/>
213
214        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$SingleInstanceActivity"
215             android:launchMode="singleInstance"
216             android:exported="true"/>
217
218        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$SingleTaskActivity"
219             android:launchMode="singleTask"
220             android:exported="true"/>
221
222        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$DocumentIntoExistingActivity"
223                  android:documentLaunchMode="intoExisting"
224                  android:exported="true"/>
225        <activity-alias
226            android:name="android.server.wm.lifecycle.ActivityStarterTests$DocumentIntoExistingAliasActivity"
227            android:targetActivity="android.server.wm.lifecycle.ActivityStarterTests$DocumentIntoExistingActivity"
228            android:exported="true">
229        </activity-alias>
230
231        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$TestLaunchingActivity"
232             android:taskAffinity="nobody.but.LaunchingActivity"
233             android:exported="true"/>
234
235        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$LaunchingAndFinishActivity"
236             android:taskAffinity="nobody.but.LaunchingActivity"
237             android:exported="true"/>
238
239        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$ClearTaskOnLaunchActivity"
240                  android:clearTaskOnLaunch="true"/>
241
242        <activity android:name="android.server.wm.lifecycle.ActivityStarterTests$FinishOnTaskLaunchActivity"
243                  android:finishOnTaskLaunch="true"
244                  android:exported="true"/>
245
246        <provider android:name="android.server.wm.TestJournalProvider"
247             android:authorities="android.server.wm.testjournalprovider"
248             android:exported="true"/>
249
250        <!--intent tests-->
251        <activity android:name="android.server.wm.intent.Activities$RegularActivity"/>
252        <activity android:name="android.server.wm.intent.Activities$SingleTopActivity"
253             android:launchMode="singleTop"/>
254        <activity android:name="android.server.wm.intent.Activities$SingleInstanceActivity"
255             android:launchMode="singleInstance"/>
256        <activity android:name="android.server.wm.intent.Activities$SingleInstanceActivity2"
257             android:launchMode="singleInstance"
258             android:taskAffinity=".t1"/>
259        <activity android:name="android.server.wm.intent.Activities$SingleTaskActivity"
260             android:launchMode="singleTask"/>
261        <activity android:name="android.server.wm.intent.Activities$SingleTaskActivity2"
262             android:launchMode="singleTask"
263             android:taskAffinity=".t1"/>
264        <activity android:name="android.server.wm.intent.Activities$SingleInstancePerTaskActivity"
265             android:launchMode="singleInstancePerTask"/>
266        <activity android:name="android.server.wm.intent.Activities$SingleInstancePerTaskDocumentNeverActivity"
267             android:launchMode="singleInstancePerTask"
268             android:documentLaunchMode="never"/>
269        <activity android:name="android.server.wm.intent.Activities$TaskAffinity1Activity"
270             android:allowTaskReparenting="true"
271             android:launchMode="standard"
272             android:taskAffinity=".t1"/>
273        <activity android:name="android.server.wm.intent.Activities$TaskAffinity1Activity2"
274             android:allowTaskReparenting="true"
275             android:launchMode="standard"
276             android:taskAffinity=".t1"/>
277        <activity android:name="android.server.wm.intent.Activities$TaskAffinity1RelinquishTaskIdentityActivity"
278             android:relinquishTaskIdentity="true"
279             android:taskAffinity=".t1"/>
280        <activity android:name="android.server.wm.intent.Activities$TaskAffinity2Activity"
281             android:allowTaskReparenting="true"
282             android:launchMode="standard"
283             android:taskAffinity=".t2"/>
284        <activity android:name="android.server.wm.intent.Activities$TaskAffinity3Activity"
285             android:allowTaskReparenting="true"
286             android:launchMode="standard"
287             android:taskAffinity=".t3"/>
288        <activity android:name="android.server.wm.intent.Activities$ClearTaskOnLaunchActivity"
289             android:allowTaskReparenting="true"
290             android:clearTaskOnLaunch="true"
291             android:launchMode="standard"
292             android:taskAffinity=".t2"/>
293        <activity android:name="android.server.wm.intent.Activities$DocumentLaunchIntoActivity"
294             android:documentLaunchMode="intoExisting"/>
295        <activity android:name="android.server.wm.intent.Activities$DocumentLaunchAlwaysActivity"
296             android:documentLaunchMode="always"/>
297        <activity android:name="android.server.wm.intent.Activities$DocumentLaunchNeverActivity"
298             android:documentLaunchMode="never"/>
299        <activity android:name="android.server.wm.intent.Activities$NoHistoryActivity"
300             android:noHistory="true"/>
301        <activity android:name="android.server.wm.intent.Activities$LauncherActivity"
302             android:documentLaunchMode="always"
303             android:launchMode="singleInstance"/>
304        <activity android:name="android.server.wm.intent.Activities$RelinquishTaskIdentityActivity"
305             android:relinquishTaskIdentity="true"/>
306
307        <service android:name="android.server.wm.TestLogService"
308             android:enabled="true"
309             android:exported="true">
310        </service>
311
312        <activity android:name="android.server.wm.AlertWindowsAppOpsTestsActivity"/>
313        <activity android:name="android.server.wm.CloseOnOutsideTestActivity"
314                  android:theme="@style/no_starting_window"/>
315        <activity android:name="android.server.wm.DialogFrameTestActivity" />
316        <activity android:name="android.server.wm.DisplayCutoutTests$TestActivity"
317                  android:configChanges="orientation|screenSize"
318                  android:screenOrientation="nosensor"
319                  android:turnScreenOn="true"
320                  android:showWhenLocked="true"/>
321
322        <activity android:name="android.server.wm.RoundedCornerTests$TestActivity"
323                  android:configChanges="orientation|screenSize"
324                  android:screenOrientation="nosensor"
325                  android:turnScreenOn="true"
326                  android:showWhenLocked="true"/>
327
328        <activity android:name="android.server.wm.PrivacyIndicatorBoundsTests$TestActivity"
329                  android:configChanges="orientation|screenSize"
330                  android:screenOrientation="nosensor"
331                  android:turnScreenOn="true"
332                  android:showWhenLocked="true"/>
333
334        <activity android:name="android.server.wm.WindowInsetsAnimationSynchronicityTests$TestActivity"
335             android:turnScreenOn="true"
336             android:showWhenLocked="true"/>
337        <service android:name="android.server.wm.WindowInsetsAnimationSynchronicityTests$SimpleIme"
338             android:label="Simple IME"
339             android:permission="android.permission.BIND_INPUT_METHOD"
340             android:exported="true">
341            <intent-filter>
342                <action android:name="android.view.InputMethod"/>
343            </intent-filter>
344            <meta-data android:name="android.view.im"
345                 android:resource="@xml/simple_method"/>
346        </service>
347
348        <activity android:name="android.server.wm.KeyEventActivity"
349             android:exported="true"
350             android:configChanges="orientation|screenLayout|keyboard|keyboardHidden|navigation"
351             android:showWhenLocked="true"/>
352        <activity android:name="android.server.wm.WindowInsetsPolicyTest$TestActivity"
353             android:turnScreenOn="true"
354             android:showWhenLocked="true"/>
355        <activity android:name="android.server.wm.WindowInsetsPolicyTest$FullscreenTestActivity"/>
356        <activity android:name="android.server.wm.WindowInsetsPolicyTest$FullscreenWmFlagsTestActivity"/>
357        <activity android:name="android.server.wm.WindowInsetsPolicyTest$ImmersiveFullscreenTestActivity"
358             android:documentLaunchMode="always"
359             android:theme="@style/no_animation"/>
360        <activity android:name="android.server.wm.LayoutTests$TestActivity"
361             android:theme="@style/no_animation"/>
362        <activity android:name="android.server.wm.LocationOnScreenTests$TestActivity"
363             android:theme="@style/no_starting_window"/>
364        <activity android:name="android.server.wm.LocationInWindowTests$TestActivity"/>
365        <activity android:name="android.server.wm.EnsureBarContrastTest$TestActivity"
366             android:theme="@style/no_starting_window"/>
367        <activity android:name="android.server.wm.WindowFocusTests$PrimaryActivity"/>
368        <activity android:name="android.server.wm.WindowFocusTests$SecondaryActivity"
369             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"/>
370        <activity android:name="android.server.wm.WindowFocusTests$LosingFocusActivity"/>
371        <activity android:name="android.server.wm.WindowFocusTests$AutoEngagePointerCaptureActivity" />
372        <activity android:name="android.server.wm.WindowMetricsActivityTests$MetricsActivity"
373             android:exported="true"
374             android:resizeableActivity="true"
375             android:supportsPictureInPicture="true"
376             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"/>
377        <activity android:name="android.server.wm.WindowMetricsActivityTests$MinAspectRatioActivity"
378                  android:label="MinAspectRatioActivity"
379                  android:minAspectRatio="3.0"
380                  android:resizeableActivity="false"/>
381        <activity android:name="android.app.Activity"/>
382        <activity android:name="android.server.wm.WindowInsetsLayoutTests$TestActivity"/>
383        <activity android:name="android.server.wm.WindowInsetsControllerTests$TestActivity"
384                  android:theme="@style/no_starting_window"/>
385        <activity android:name="android.server.wm.WindowInsetsControllerTests$TestHideOnCreateActivity"/>
386        <activity android:name="android.server.wm.WindowInsetsControllerTests$TestShowOnCreateActivity"/>
387
388        <activity android:name="android.server.wm.DragDropTest$DragDropActivity"
389             android:screenOrientation="locked"
390             android:turnScreenOn="true"
391             android:showWhenLocked="true"
392             android:label="DragDropActivity"
393             android:hardwareAccelerated="true"
394             android:exported="true">
395            <intent-filter>
396                <action android:name="android.intent.action.MAIN"/>
397                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
398            </intent-filter>
399        </activity>
400
401        <activity android:name="android.server.wm.DragDropTest$SoftwareCanvasDragDropActivity"
402            android:screenOrientation="locked"
403            android:turnScreenOn="true"
404            android:showWhenLocked="true"
405            android:label="DragDropTest$SoftwareCanvasDragDropActivity"
406            android:hardwareAccelerated="false"
407            android:exported="true">
408            <intent-filter>
409                <action android:name="android.intent.action.MAIN"/>
410                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
411            </intent-filter>
412        </activity>
413
414        <activity android:name="android.server.wm.DecorInsetTestsBase$TestActivity"
415             android:label="DecorInsetTestsBase.TestActivity"
416             android:exported="true"/>
417
418        <activity android:name="android.server.wm.WindowCtsActivity"
419             android:theme="@android:style/Theme.Material.NoActionBar"
420             android:screenOrientation="locked"
421             android:turnScreenOn="true"
422             android:showWhenLocked="true"
423             android:label="WindowCtsActivity"
424             android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
425             android:exported="true">
426            <intent-filter>
427                <action android:name="android.intent.action.MAIN"/>
428                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
429            </intent-filter>
430        </activity>
431        <activity android:name="android.server.wm.SurfaceViewCtsActivity"
432             android:screenOrientation="locked"
433             android:turnScreenOn="true"
434             android:showWhenLocked="true"
435             android:label="SurfaceViewCtsActivity"
436             android:exported="true">
437            <intent-filter>
438                <action android:name="android.intent.action.MAIN"/>
439                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
440            </intent-filter>
441        </activity>
442        <activity android:name="android.view.cts.surfacevalidator.CapturedActivity"
443             android:screenOrientation="locked"
444             android:theme="@style/WhiteBackgroundTheme"
445             android:exported="true">
446            <intent-filter>
447                <action android:name="android.intent.action.MAIN"/>
448                <category android:name="android.intent.category.LAUNCHER"/>
449            </intent-filter>
450        </activity>
451
452        <activity android:name="android.view.cts.surfacevalidator.ASurfaceControlTestActivity"
453                  android:screenOrientation="locked"
454                  android:theme="@style/WhiteBackgroundTheme"
455                  android:exported="true">
456            <intent-filter>
457                <action android:name="android.intent.action.MAIN"/>
458                <category android:name="android.intent.category.LAUNCHER"/>
459            </intent-filter>
460        </activity>
461
462        <activity android:name="android.server.wm.WindowInputTests$TestActivity" />
463
464        <service android:name="android.view.cts.surfacevalidator.LocalMediaProjectionService"
465             android:foregroundServiceType="mediaProjection"
466             android:enabled="true">
467        </service>
468
469        <activity android:name="android.server.wm.StartActivityAsUserActivity"
470             android:directBootAware="true"/>
471
472        <activity android:name="android.server.wm.WindowInsetsAnimationTestBase$TestActivity"
473             android:theme="@android:style/Theme.Material.NoActionBar"/>
474
475        <activity android:name="android.server.wm.ForceRelayoutTestBase$TestActivity"
476             android:exported="true"/>
477
478        <activity android:name="android.server.wm.ActivityTransitionTests$LauncherActivity"/>
479
480        <activity android:name="android.server.wm.ActivityTransitionTests$TransitionActivity"/>
481
482        <activity android:name="android.server.wm.WindowUntrustedTouchTest$TestActivity"
483                  android:exported="true"/>
484
485        <activity android:name="android.server.wm.DisplayHashManagerTest$TestActivity"
486                   android:exported="true"/>
487
488        <activity android:name="android.server.wm.CompatChangeTests$ResizeablePortraitActivity"
489                  android:resizeableActivity="true"
490                  android:screenOrientation="portrait"
491                  android:exported="true"/>
492
493        <activity android:name="android.server.wm.CompatChangeTests$ResizeableLargeAspectRatioActivity"
494                  android:resizeableActivity="true"
495                  android:screenOrientation="portrait"
496                  android:minAspectRatio="3"
497                  android:exported="true"/>
498
499        <activity android:name="android.server.wm.CompatChangeTests$NonResizeablePortraitActivity"
500                  android:resizeableActivity="false"
501                  android:screenOrientation="portrait"
502                  android:exported="true"/>
503
504        <activity android:name="android.server.wm.CompatChangeTests$NonResizeableAspectRatioActivity"
505                  android:resizeableActivity="false"
506                  android:screenOrientation="portrait"
507                  android:minAspectRatio="1.6"
508                  android:exported="true"/>
509
510        <activity android:name="android.server.wm.CompatChangeTests$NonResizeableLargeAspectRatioActivity"
511                  android:resizeableActivity="false"
512                  android:screenOrientation="portrait"
513                  android:minAspectRatio="3"
514                  android:exported="true"/>
515
516        <activity android:name="android.server.wm.CompatChangeTests$SupportsSizeChangesPortraitActivity"
517                  android:resizeableActivity="false"
518                  android:screenOrientation="portrait"
519                  android:exported="true">
520        <meta-data android:name="android.supports_size_changes"
521                       android:value="true"/>
522        </activity>
523
524        <service android:name="android.server.wm.WindowContextTests$TestWindowService"
525                 android:exported="true"
526                 android:enabled="true" />
527        <activity android:name="android.server.wm.WindowContextTests$TestActivity"
528                  android:exported="true"
529                  android:resizeableActivity="true"
530                  android:supportsPictureInPicture="true"
531                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"/>
532        <activity android:name="android.server.wm.BlurTests$ListenerTestActivity"
533                  android:exported="true"/>
534
535        <!-- Overrides the activity declaration in AndroidX test library to remove the starting
536             animation. -->
537        <activity
538            android:name="androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity"
539            tools:replace="android:theme"
540            android:theme="@style/WhiteBackgroundTheme" />
541    </application>
542
543    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
544         android:targetPackage="android.server.wm.cts"
545         android:label="CTS tests of WindowManager">
546    </instrumentation>
547
548</manifest>
549