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.am"> 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 android:exported="true" 45 /> 46 <activity android:name=".VrTestActivity" 47 android:resizeableActivity="true" 48 android:exported="true" 49 /> 50 <activity android:name=".ResumeWhilePausingActivity" 51 android:allowEmbedded="true" 52 android:resumeWhilePausing="true" 53 android:taskAffinity="" 54 android:exported="true" 55 /> 56 <activity android:name=".ResizeableActivity" 57 android:resizeableActivity="true" 58 android:allowEmbedded="true" 59 android:exported="true" 60 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density" 61 /> 62 <activity android:name=".NonResizeableActivity" 63 android:resizeableActivity="false" 64 android:exported="true" 65 /> 66 <activity android:name=".DockedActivity" 67 android:resizeableActivity="true" 68 android:exported="true" 69 android:taskAffinity="nobody.but.DockedActivity" 70 /> 71 <activity android:name=".TranslucentActivity" 72 android:theme="@android:style/Theme.Translucent.NoTitleBar" 73 android:resizeableActivity="true" 74 android:taskAffinity="nobody.but.TranslucentActivity" 75 android:exported="true" 76 /> 77 <activity android:name=".DialogWhenLargeActivity" 78 android:exported="true" 79 android:theme="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge" 80 /> 81 <activity android:name=".NoRelaunchActivity" 82 android:resizeableActivity="true" 83 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|fontScale" 84 android:exported="true" 85 android:taskAffinity="nobody.but.NoRelaunchActivity" 86 /> 87 <activity android:name=".SlowCreateActivity" 88 android:resizeableActivity="true" 89 android:exported="true" 90 /> 91 <activity android:name=".LaunchingActivity" 92 android:resizeableActivity="true" 93 android:exported="true" 94 android:taskAffinity="nobody.but.LaunchingActivity" 95 /> 96 <!-- 97 * This activity should have same affinity as LaunchingActivity, because we're using it to 98 * check activities being launched into the same task. 99 --> 100 <activity android:name=".AltLaunchingActivity" 101 android:resizeableActivity="true" 102 android:exported="true" 103 android:taskAffinity="nobody.but.LaunchingActivity" 104 /> 105 <activity android:name=".PipActivity" 106 android:resizeableActivity="false" 107 android:supportsPictureInPicture="true" 108 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 109 android:exported="true" 110 android:taskAffinity="nobody.but.PipActivity" 111 /> 112 <activity android:name=".PipActivity2" 113 android:resizeableActivity="false" 114 android:supportsPictureInPicture="true" 115 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 116 android:exported="true" 117 android:taskAffinity="nobody.but.PipActivity2" 118 /> 119 <activity android:name=".PipOnStopActivity" 120 android:resizeableActivity="false" 121 android:supportsPictureInPicture="true" 122 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 123 android:exported="true" 124 android:taskAffinity="nobody.but.PipOnStopActivity" 125 /> 126 <activity android:name=".PipActivityWithSameAffinity" 127 android:resizeableActivity="false" 128 android:supportsPictureInPicture="true" 129 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 130 android:exported="true" 131 android:taskAffinity="nobody.but.PipActivitySameAffinity" 132 /> 133 <activity android:name=".AlwaysFocusablePipActivity" 134 android:theme="@style/Theme.Transparent" 135 android:resizeableActivity="false" 136 android:supportsPictureInPicture="true" 137 androidprv:alwaysFocusable="true" 138 android:exported="true" 139 android:taskAffinity="nobody.but.AlwaysFocusablePipActivity" 140 /> 141 <activity android:name=".LaunchIntoPinnedStackPipActivity" 142 android:resizeableActivity="false" 143 android:supportsPictureInPicture="true" 144 androidprv:alwaysFocusable="true" 145 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 146 android:exported="true" 147 /> 148 <activity android:name=".LaunchPipOnPipActivity" 149 android:resizeableActivity="false" 150 android:supportsPictureInPicture="true" 151 android:taskAffinity="nobody.but.LaunchPipOnPipActivity" 152 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 153 android:exported="true" 154 /> 155 <activity android:name=".LaunchEnterPipActivity" 156 android:resizeableActivity="false" 157 android:supportsPictureInPicture="true" 158 androidprv:alwaysFocusable="true" 159 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 160 android:exported="true" 161 /> 162 <activity android:name=".FreeformActivity" 163 android:resizeableActivity="true" 164 android:taskAffinity="nobody.but.FreeformActivity" 165 android:exported="true" 166 /> 167 <activity android:name=".TopLeftLayoutActivity" 168 android:resizeableActivity="true" 169 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 170 android:exported="true"> 171 <layout android:defaultWidth="240dp" 172 android:defaultHeight="160dp" 173 android:gravity="top|left" 174 android:minWidth="100dp" 175 android:minHeight="80dp" 176 /> 177 </activity> 178 <activity android:name=".TopRightLayoutActivity" 179 android:resizeableActivity="true" 180 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 181 android:exported="true"> 182 <layout android:defaultWidth="25%" 183 android:defaultHeight="35%" 184 android:gravity="top|right" 185 android:minWidth="90dp" 186 android:minHeight="80dp" 187 /> 188 </activity> 189 <activity android:name=".BottomLeftLayoutActivity" 190 android:resizeableActivity="true" 191 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 192 android:exported="true"> 193 <layout android:defaultWidth="25%" 194 android:defaultHeight="35%" 195 android:gravity="bottom|left" 196 android:minWidth="90dp" 197 android:minHeight="80dp" 198 /> 199 </activity> 200 <activity android:name=".BottomRightLayoutActivity" 201 android:resizeableActivity="true" 202 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 203 android:exported="true"> 204 <layout android:defaultWidth="240dp" 205 android:defaultHeight="160dp" 206 android:gravity="bottom|right" 207 android:minWidth="100dp" 208 android:minHeight="80dp" 209 /> 210 </activity> 211 <activity android:name=".TurnScreenOnActivity" 212 android:exported="true" 213 /> 214 <activity android:name=".TurnScreenOnDismissKeyguardActivity" 215 android:exported="true" 216 /> 217 <activity android:name=".SingleTaskActivity" 218 android:exported="true" 219 android:launchMode="singleTask" 220 /> 221 <activity android:name=".SingleInstanceActivity" 222 android:exported="true" 223 android:launchMode="singleInstance" 224 /> 225 <activity android:name=".TrampolineActivity" 226 android:exported="true" 227 android:theme="@android:style/Theme.NoDisplay" 228 /> 229 <activity android:name=".BroadcastReceiverActivity" 230 android:resizeableActivity="true" 231 android:exported="true" 232 /> 233 <activity-alias android:enabled="true" 234 android:exported="true" 235 android:name=".EntryPointAliasActivity" 236 android:targetActivity=".TrampolineActivity" > 237 </activity-alias> 238 <activity android:name=".BottomActivity" 239 android:exported="true" 240 android:theme="@style/NoPreview" 241 /> 242 <activity android:name=".TopActivity" 243 android:process=".top_process" 244 android:exported="true" 245 android:theme="@style/NoPreview" 246 /> 247 <activity android:name=".TranslucentTopActivity" 248 android:process=".top_process" 249 android:exported="true" 250 android:theme="@style/TranslucentTheme" 251 /> 252 <!-- An animation test with an explicitly opaque theme, overriding device defaults, as the 253 animation background being tested is not used in translucent activities. --> 254 <activity android:name=".AnimationTestActivity" 255 android:theme="@style/OpaqueTheme" 256 android:exported="true" 257 /> 258 <activity android:name=".VirtualDisplayActivity" 259 android:resizeableActivity="true" 260 android:exported="true" 261 android:taskAffinity="nobody.but.VirtualDisplayActivity" 262 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 263 /> 264 <activity android:name=".ShowWhenLockedActivity" 265 android:exported="true" 266 /> 267 <activity android:name=".ShowWhenLockedWithDialogActivity" 268 android:exported="true" 269 /> 270 <activity android:name=".ShowWhenLockedDialogActivity" 271 android:exported="true" 272 android:theme="@android:style/Theme.Material.Dialog" 273 /> 274 <activity android:name=".ShowWhenLockedTranslucentActivity" 275 android:exported="true" 276 android:theme="@android:style/Theme.Translucent" 277 /> 278 <activity android:name=".DismissKeyguardActivity" 279 android:exported="true" 280 /> 281 <activity android:name=".DismissKeyguardMethodActivity" 282 android:exported="true" 283 /> 284 <activity android:name=".WallpaperActivity" 285 android:exported="true" 286 android:theme="@style/WallpaperTheme" 287 /> 288 <activity android:name=".KeyguardLockActivity" 289 android:exported="true" 290 /> 291 <activity android:name=".LogConfigurationActivity" 292 android:exported="true" 293 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" 294 /> 295 <activity android:name=".PortraitOrientationActivity" 296 android:exported="true" 297 android:screenOrientation="portrait" 298 android:documentLaunchMode="always" 299 /> 300 <activity android:name=".LandscapeOrientationActivity" 301 android:exported="true" 302 android:screenOrientation="landscape" 303 android:documentLaunchMode="always" 304 /> 305 <activity android:name=".MoveTaskToBackActivity" 306 android:exported="true" 307 android:launchMode="singleInstance" 308 /> 309 <activity android:name=".NightModeActivity" 310 android:exported="true" 311 android:configChanges="uiMode" 312 /> 313 <activity android:name=".FontScaleActivity" 314 android:exported="true" 315 /> 316 <activity android:name=".FontScaleNoRelaunchActivity" 317 android:exported="true" 318 android:configChanges="fontScale" 319 /> 320 <receiver 321 android:name=".LaunchBroadcastReceiver" 322 android:enabled="true" 323 android:exported="true" > 324 <intent-filter> 325 <action android:name="android.server.am.LAUNCH_BROADCAST_ACTION"/> 326 </intent-filter> 327 </receiver> 328 329 <activity android:name=".AssistantActivity" 330 android:exported="true" 331 android:screenOrientation="locked" /> 332 <activity android:name=".TranslucentAssistantActivity" 333 android:exported="true" 334 android:theme="@style/Theme.Transparent" /> 335 <activity android:name=".LaunchAssistantActivityFromSession" 336 android:taskAffinity="nobody.but.LaunchAssistantActivityFromSession" 337 android:exported="true" /> 338 <activity android:name=".LaunchAssistantActivityIntoAssistantStack" 339 android:taskAffinity="nobody.but.LaunchAssistantActivityIntoAssistantStack" 340 android:exported="true" /> 341 342 <service android:name=".AssistantVoiceInteractionService" 343 android:permission="android.permission.BIND_VOICE_INTERACTION" 344 android:exported="true"> 345 <meta-data android:name="android.voice_interaction" 346 android:resource="@xml/interaction_service" /> 347 <intent-filter> 348 <action android:name="android.service.voice.VoiceInteractionService" /> 349 </intent-filter> 350 </service> 351 352 <service android:name=".AssistantVoiceInteractionSessionService" 353 android:permission="android.permission.BIND_VOICE_INTERACTION" 354 android:exported="true" /> 355 356 <activity android:name=".SplashscreenActivity" 357 android:taskAffinity="nobody.but.SplashscreenActivity" 358 android:theme="@style/SplashscreenTheme" 359 android:exported="true" /> 360 361 362 <activity android:name=".SwipeRefreshActivity" 363 android:exported="true" /> 364 365 <activity android:name=".NoHistoryActivity" 366 android:noHistory="true" 367 android:exported="true" /> 368 369 <activity android:name=".ShowWhenLockedAttrActivity" 370 android:showWhenLocked="true" 371 android:exported="true" /> 372 373 <activity android:name=".ShowWhenLockedAttrRemoveAttrActivity" 374 android:showWhenLocked="true" 375 android:exported="true" /> 376 377 <activity android:name=".ShowWhenLockedAttrWithDialogActivity" 378 android:showWhenLocked="true" 379 android:exported="true" /> 380 381 <activity android:name=".TurnScreenOnAttrActivity" 382 android:turnScreenOn="true" 383 android:exported="true" /> 384 385 <activity android:name=".TurnScreenOnShowOnLockActivity" 386 android:showWhenLocked="true" 387 android:turnScreenOn="true" 388 android:exported="true" /> 389 390 <activity android:name=".TurnScreenOnAttrRemoveAttrActivity" 391 android:turnScreenOn="true" 392 android:showWhenLocked="true" 393 android:exported="true" /> 394 395 <activity android:name=".TurnScreenOnSingleTaskActivity" 396 android:turnScreenOn="true" 397 android:showWhenLocked="true" 398 android:exported="true" 399 android:launchMode="singleTask" /> 400 401 <activity android:name=".TurnScreenOnAttrDismissKeyguardActivity" 402 android:turnScreenOn="true" 403 android:exported="true"/> 404 405 <activity android:name=".TurnScreenOnWithRelayoutActivity" 406 android:exported="true"/> 407 408 <activity android:name=".RecursiveActivity" 409 android:exported="true"/> 410 411 <service android:name="com.android.cts.verifier.vr.MockVrListenerService" 412 android:exported="true" 413 android:enabled="true" 414 android:permission="android.permission.BIND_VR_LISTENER_SERVICE"> 415 <intent-filter> 416 <action android:name="android.service.vr.VrListenerService" /> 417 </intent-filter> 418 </service> 419 </application> 420</manifest> 421 422