1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2015 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          package="android.server.cts">
21
22    <!-- virtual display test permissions -->
23    <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT" />
24    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
25    <uses-permission android:name="android.permission.BIND_VOICE_INTERACTION" />
26
27    <application>
28        <activity android:name=".TestActivity"
29                android:resizeableActivity="true"
30                android:supportsPictureInPicture="true"
31                android:exported="true"
32        />
33        <activity android:name=".TestActivityWithSameAffinity"
34                android:resizeableActivity="true"
35                android:supportsPictureInPicture="true"
36                android:exported="true"
37                android:taskAffinity="nobody.but.PipActivitySameAffinity"
38        />
39        <activity android:name=".TranslucentTestActivity"
40                android:resizeableActivity="true"
41                android:supportsPictureInPicture="true"
42                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
43                android:theme="@style/Theme.Transparent" />
44        <activity android:name=".VrTestActivity"
45                android:resizeableActivity="true"
46                android:exported="true"
47        />
48        <activity android:name=".ResumeWhilePausingActivity"
49                android:allowEmbedded="true"
50                android:resumeWhilePausing="true"
51                android:taskAffinity=""
52                android:exported="true"
53        />
54        <activity android:name=".ResizeableActivity"
55                android:resizeableActivity="true"
56                android:exported="true"
57                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
58        />
59        <activity android:name=".NonResizeableActivity"
60                android:resizeableActivity="false"
61                android:exported="true"
62        />
63        <activity android:name=".DockedActivity"
64                android:resizeableActivity="true"
65                android:exported="true"
66                android:taskAffinity="nobody.but.DockedActivity"
67        />
68        <activity android:name=".TranslucentActivity"
69            android:theme="@android:style/Theme.Translucent.NoTitleBar"
70            android:resizeableActivity="true"
71            android:taskAffinity="nobody.but.TranslucentActivity"
72            android:exported="true"
73        />
74        <activity android:name=".DialogWhenLargeActivity"
75                android:exported="true"
76                android:theme="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge"
77        />
78        <activity android:name=".NoRelaunchActivity"
79                android:resizeableActivity="true"
80                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|fontScale"
81                android:exported="true"
82                android:taskAffinity="nobody.but.NoRelaunchActivity"
83        />
84        <activity android:name=".SlowCreateActivity"
85                android:resizeableActivity="true"
86                android:exported="true"
87        />
88        <activity android:name=".LaunchingActivity"
89                android:resizeableActivity="true"
90                android:exported="true"
91                android:taskAffinity="nobody.but.LaunchingActivity"
92        />
93        <activity android:name=".AltLaunchingActivity"
94                android:resizeableActivity="true"
95                android:exported="true"
96                android:taskAffinity="nobody.but.LaunchingActivity"
97        />
98        <activity android:name=".PipActivity"
99                android:resizeableActivity="false"
100                android:supportsPictureInPicture="true"
101                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
102                android:exported="true"
103                android:taskAffinity="nobody.but.PipActivity"
104        />
105        <activity android:name=".PipActivity2"
106                  android:resizeableActivity="false"
107                  android:supportsPictureInPicture="true"
108                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
109                  android:exported="true"
110                  android:taskAffinity="nobody.but.PipActivity2"
111        />
112        <activity android:name=".PipOnStopActivity"
113                  android:resizeableActivity="false"
114                  android:supportsPictureInPicture="true"
115                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
116                  android:exported="true"
117                  android:taskAffinity="nobody.but.PipOnStopActivity"
118        />
119        <activity android:name=".PipActivityWithSameAffinity"
120                  android:resizeableActivity="false"
121                  android:supportsPictureInPicture="true"
122                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
123                  android:exported="true"
124                  android:taskAffinity="nobody.but.PipActivitySameAffinity"
125        />
126        <activity android:name=".AlwaysFocusablePipActivity"
127                  android:theme="@style/Theme.Transparent"
128                  android:resizeableActivity="false"
129                  android:supportsPictureInPicture="true"
130                  androidprv:alwaysFocusable="true"
131                  android:exported="true"
132                  android:taskAffinity="nobody.but.AlwaysFocusablePipActivity"
133        />
134        <activity android:name=".LaunchIntoPinnedStackPipActivity"
135                  android:resizeableActivity="false"
136                  android:supportsPictureInPicture="true"
137                  androidprv:alwaysFocusable="true"
138                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
139                  android:exported="true"
140        />
141        <activity android:name=".LaunchPipOnPipActivity"
142                  android:resizeableActivity="false"
143                  android:supportsPictureInPicture="true"
144                  android:taskAffinity="nobody.but.LaunchPipOnPipActivity"
145                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
146                  android:exported="true"
147        />
148        <activity android:name=".LaunchEnterPipActivity"
149                  android:resizeableActivity="false"
150                  android:supportsPictureInPicture="true"
151                  androidprv:alwaysFocusable="true"
152                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
153                  android:exported="true"
154        />
155        <activity android:name=".FreeformActivity"
156                  android:resizeableActivity="true"
157                  android:taskAffinity="nobody.but.FreeformActivity"
158                  android:exported="true"
159        />
160        <activity android:name=".TopLeftLayoutActivity"
161                  android:resizeableActivity="true"
162                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
163                  android:exported="true">
164                  <layout android:defaultWidth="240dp"
165                          android:defaultHeight="160dp"
166                          android:gravity="top|left"
167                          android:minWidth="100dp"
168                          android:minHeight="80dp"
169                  />
170        </activity>
171        <activity android:name=".TopRightLayoutActivity"
172                  android:resizeableActivity="true"
173                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
174                  android:exported="true">
175                  <layout android:defaultWidth="25%"
176                          android:defaultHeight="35%"
177                          android:gravity="top|right"
178                          android:minWidth="90dp"
179                          android:minHeight="80dp"
180                  />
181        </activity>
182        <activity android:name=".BottomLeftLayoutActivity"
183                  android:resizeableActivity="true"
184                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
185                  android:exported="true">
186                  <layout android:defaultWidth="25%"
187                          android:defaultHeight="35%"
188                          android:gravity="bottom|left"
189                          android:minWidth="90dp"
190                          android:minHeight="80dp"
191                  />
192        </activity>
193        <activity android:name=".BottomRightLayoutActivity"
194                  android:resizeableActivity="true"
195                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
196                  android:exported="true">
197                  <layout android:defaultWidth="240dp"
198                          android:defaultHeight="160dp"
199                          android:gravity="bottom|right"
200                          android:minWidth="100dp"
201                          android:minHeight="80dp"
202                  />
203        </activity>
204        <activity android:name=".TurnScreenOnActivity"
205                  android:exported="true"
206        />
207        <activity android:name=".TurnScreenOnDismissKeyguardActivity"
208            android:exported="true"
209        />
210        <activity android:name=".SingleTaskActivity"
211            android:exported="true"
212            android:launchMode="singleTask"
213        />
214        <activity android:name=".SingleInstanceActivity"
215            android:exported="true"
216            android:launchMode="singleInstance"
217        />
218        <activity android:name=".TrampolineActivity"
219                  android:exported="true"
220                  android:theme="@android:style/Theme.NoDisplay"
221        />
222        <activity android:name=".BroadcastReceiverActivity"
223                  android:resizeableActivity="true"
224                  android:exported="true"
225        />
226        <activity-alias android:enabled="true"
227                android:exported="true"
228                android:name=".EntryPointAliasActivity"
229                android:targetActivity=".TrampolineActivity" >
230        </activity-alias>
231        <activity android:name=".BottomActivity"
232                  android:exported="true"
233                  android:theme="@style/NoPreview"
234        />
235        <activity android:name=".TopActivity"
236                  android:process=".top_process"
237                  android:exported="true"
238                  android:theme="@style/NoPreview"
239        />
240        <activity android:name=".TranslucentTopActivity"
241                  android:process=".top_process"
242                  android:exported="true"
243                  android:theme="@style/TranslucentTheme"
244        />
245        <activity android:name=".AnimationTestActivity"
246                  android:exported="true"
247        />
248        <activity android:name=".VirtualDisplayActivity"
249                  android:resizeableActivity="true"
250                  android:exported="true"
251                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
252        />
253        <activity android:name=".ShowWhenLockedActivity"
254                  android:exported="true"
255        />
256        <activity android:name=".ShowWhenLockedWithDialogActivity"
257                  android:exported="true"
258        />
259        <activity android:name=".ShowWhenLockedDialogActivity"
260            android:exported="true"
261            android:theme="@android:style/Theme.Material.Dialog"
262        />
263        <activity android:name=".ShowWhenLockedTranslucentActivity"
264                  android:exported="true"
265                  android:theme="@android:style/Theme.Translucent"
266        />
267        <activity android:name=".DismissKeyguardActivity"
268                  android:exported="true"
269        />
270        <activity android:name=".DismissKeyguardMethodActivity"
271            android:exported="true"
272        />
273        <activity android:name=".WallpaperActivity"
274            android:exported="true"
275            android:theme="@style/WallpaperTheme"
276        />
277        <activity android:name=".KeyguardLockActivity"
278                  android:exported="true"
279        />
280        <activity android:name=".LogConfigurationActivity"
281            android:exported="true"
282            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
283        />
284        <activity android:name=".PortraitOrientationActivity"
285                  android:exported="true"
286                  android:screenOrientation="portrait"
287                  android:documentLaunchMode="always"
288        />
289        <activity android:name=".LandscapeOrientationActivity"
290                  android:exported="true"
291                  android:screenOrientation="landscape"
292                  android:documentLaunchMode="always"
293        />
294        <activity android:name=".MoveTaskToBackActivity"
295                  android:exported="true"
296                  android:launchMode="singleInstance"
297        />
298        <activity android:name=".FinishableActivity"
299                  android:exported="true"
300        />
301        <activity android:name=".NightModeActivity"
302                  android:exported="true"
303                  android:configChanges="uiMode"
304        />
305        <activity android:name=".FontScaleActivity"
306                  android:exported="true"
307        />
308        <activity android:name=".FontScaleNoRelaunchActivity"
309                  android:exported="true"
310                  android:configChanges="fontScale"
311        />
312        <receiver
313            android:name=".LaunchBroadcastReceiver"
314            android:enabled="true"
315            android:exported="true" >
316            <intent-filter>
317                <action android:name="android.server.cts.LAUNCH_BROADCAST_ACTION"/>
318            </intent-filter>
319        </receiver>
320
321        <activity android:name=".AssistantActivity"
322            android:exported="true" />
323        <activity android:name=".TranslucentAssistantActivity"
324            android:exported="true"
325            android:theme="@style/Theme.Transparent" />
326        <activity android:name=".LaunchAssistantActivityFromSession"
327            android:taskAffinity="nobody.but.LaunchAssistantActivityFromSession"
328            android:exported="true" />
329        <activity android:name=".LaunchAssistantActivityIntoAssistantStack"
330            android:taskAffinity="nobody.but.LaunchAssistantActivityIntoAssistantStack"
331            android:exported="true" />
332
333        <service android:name=".AssistantVoiceInteractionService"
334                 android:permission="android.permission.BIND_VOICE_INTERACTION"
335                 android:exported="true">
336            <meta-data android:name="android.voice_interaction"
337                       android:resource="@xml/interaction_service" />
338            <intent-filter>
339                <action android:name="android.service.voice.VoiceInteractionService" />
340            </intent-filter>
341        </service>
342
343        <service android:name=".AssistantVoiceInteractionSessionService"
344                 android:permission="android.permission.BIND_VOICE_INTERACTION"
345                 android:exported="true" />
346
347        <activity android:name=".SplashscreenActivity"
348            android:taskAffinity="nobody.but.SplashscreenActivity"
349            android:theme="@style/SplashscreenTheme"
350            android:exported="true" />
351
352
353        <activity android:name=".SwipeRefreshActivity"
354                  android:exported="true" />
355
356        <activity android:name=".NoHistoryActivity"
357                  android:noHistory="true"
358                  android:exported="true" />
359
360        <service android:name="com.android.cts.verifier.vr.MockVrListenerService"
361                 android:exported="true"
362                 android:enabled="true"
363                 android:permission="android.permission.BIND_VR_LISTENER_SERVICE">
364           <intent-filter>
365               <action android:name="android.service.vr.VrListenerService" />
366           </intent-filter>
367        </service>
368    </application>
369</manifest>
370
371