You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

634 lines
30 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="android.server.wm.app">
<!-- virtual display test permissions -->
<uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.BIND_VOICE_INTERACTION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS"/>
<application android:debuggable="true">
<activity android:name=".TestActivity"
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:exported="true"/>
<activity android:name=".UiScalingTestActivity"
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:exported="true"/>
<activity android:name=".TestActivityWithSameAffinity"
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:exported="true"
android:taskAffinity="nobody.but.PipActivitySameAffinity"/>
<activity android:name=".TranslucentTestActivity"
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:theme="@style/Theme.Transparent"
android:exported="true"/>
<activity android:name=".VrTestActivity"
android:resizeableActivity="true"
android:exported="true"/>
<activity-alias android:name=".AliasTestActivity"
android:exported="true"
android:targetActivity=".TestActivity"/>
<activity android:name=".ResumeWhilePausingActivity"
android:allowEmbedded="true"
android:resumeWhilePausing="true"
android:taskAffinity=""
android:exported="true"/>
<activity android:name=".ResizeableActivity"
android:resizeableActivity="true"
android:allowEmbedded="true"
android:exported="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"/>
<activity android:name=".NonResizeableActivity"
android:resizeableActivity="false"
android:exported="true"/>
<activity android:name=".DockedActivity"
android:resizeableActivity="true"
android:exported="true"
android:taskAffinity="nobody.but.DockedActivity"/>
<activity android:name=".TranslucentActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:resizeableActivity="true"
android:taskAffinity="nobody.but.TranslucentActivity"
android:exported="true"/>
<activity android:name=".DialogWhenLargeActivity"
android:exported="true"
android:theme="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge"/>
<activity android:name=".NoRelaunchActivity"
android:resizeableActivity="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|fontScale|colorMode|density|touchscreen"
android:exported="true"
android:taskAffinity="nobody.but.NoRelaunchActivity"/>
<activity android:name=".SlowCreateActivity"
android:resizeableActivity="true"
android:exported="true"/>
<activity android:name=".LaunchingActivity"
android:resizeableActivity="true"
android:exported="true"
android:taskAffinity="nobody.but.LaunchingActivity"/>
<!--
* This activity should have same affinity as LaunchingActivity, because we're using it to
* check activities being launched into the same task.
-->
<activity android:name=".AltLaunchingActivity"
android:resizeableActivity="true"
android:exported="true"
android:taskAffinity="nobody.but.LaunchingActivity"/>
<activity android:name=".PipActivity"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:taskAffinity="nobody.but.PipActivity"/>
<activity android:name=".PipActivity2"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:taskAffinity="nobody.but.PipActivity2"/>
<activity android:name=".PipOnStopActivity"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:taskAffinity="nobody.but.PipOnStopActivity"/>
<activity android:name=".PipActivityWithSameAffinity"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:taskAffinity="nobody.but.PipActivitySameAffinity"/>
<activity android:name=".AlwaysFocusablePipActivity"
android:theme="@style/Theme.Transparent"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
androidprv:alwaysFocusable="true"
android:exported="true"
android:taskAffinity="nobody.but.AlwaysFocusablePipActivity"/>
<activity android:name=".LaunchIntoPinnedStackPipActivity"
android:resizeableActivity="false"
androidprv:alwaysFocusable="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"/>
<activity android:name=".LaunchPipOnPipActivity"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:taskAffinity="nobody.but.LaunchPipOnPipActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"/>
<activity android:name=".LaunchEnterPipActivity"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
androidprv:alwaysFocusable="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"/>
<activity android:name=".PipActivityWithMinimalSize"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:taskAffinity="nobody.but.PipActivity">
<layout android:minWidth="100dp"
android:minHeight="80dp"/>
</activity>
<activity android:name=".PipActivityWithTinyMinimalSize"
android:resizeableActivity="false"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true"
android:taskAffinity="nobody.but.PipActivity">
<layout android:minWidth="1dp"
android:minHeight="1dp"/>
</activity>
<activity android:name=".FreeformActivity"
android:resizeableActivity="true"
android:taskAffinity="nobody.but.FreeformActivity"
android:exported="true"/>
<activity android:name=".TopLeftLayoutActivity"
android:resizeableActivity="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true">
<layout android:defaultWidth="240dp"
android:defaultHeight="160dp"
android:gravity="top|left"
android:minWidth="100dp"
android:minHeight="80dp"/>
</activity>
<activity android:name=".TopRightLayoutActivity"
android:resizeableActivity="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true">
<layout android:defaultWidth="50%"
android:defaultHeight="70%"
android:gravity="top|right"
android:minWidth="50dp"
android:minHeight="80dp"/>
</activity>
<activity android:name=".BottomLeftLayoutActivity"
android:resizeableActivity="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true">
<layout android:defaultWidth="50%"
android:defaultHeight="70%"
android:gravity="bottom|left"
android:minWidth="50dp"
android:minHeight="80dp"/>
</activity>
<activity android:name=".BottomRightLayoutActivity"
android:resizeableActivity="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:exported="true">
<layout android:defaultWidth="240dp"
android:defaultHeight="160dp"
android:gravity="bottom|right"
android:minWidth="100dp"
android:minHeight="80dp"/>
</activity>
<activity android:name=".TurnScreenOnActivity"
android:exported="true"/>
<activity android:name=".TurnScreenOnDismissKeyguardActivity"
android:exported="true"/>
<activity android:name=".SingleTaskActivity"
android:exported="true"
android:launchMode="singleTask"/>
<activity android:name=".SingleTopActivity"
android:exported="true"
android:launchMode="singleTop"/>
<activity android:name=".SingleInstanceActivity"
android:exported="true"
android:launchMode="singleInstance"/>
<activity android:name=".TrampolineActivity"
android:exported="true"
android:theme="@android:style/Theme.NoDisplay"/>
<activity android:name=".BroadcastReceiverActivity"
android:resizeableActivity="true"
android:exported="true"/>
<activity-alias android:enabled="true"
android:exported="true"
android:name=".EntryPointAliasActivity"
android:targetActivity=".TrampolineActivity">
</activity-alias>
<activity android:name=".BottomActivity"
android:exported="true"
android:theme="@style/NoPreview"/>
<activity android:name=".TopActivity"
android:process=".top_process"
android:exported="true"
android:theme="@style/NoPreview"/>
<activity android:name=".TopWallpaperActivity"
android:process=".top_process"
android:exported="true"
android:theme="@style/WallpaperTheme"/>
<activity android:name=".UnresponsiveActivity"
android:process=".unresponsive_activity_process"
android:exported="true"
android:theme="@style/NoPreview"/>
<activity android:name=".TranslucentTopActivity"
android:process=".top_process"
android:exported="true"
android:theme="@style/TranslucentTheme"/>
<activity android:name=".TranslucentTopWallpaperActivity"
android:process=".top_process"
android:exported="true"
android:theme="@style/TranslucentWallpaperTheme"/>
<activity android:name=".TopNonResizableActivity"
android:exported="true"
android:resizeableActivity="false"
android:theme="@style/NoPreview"
/>
<activity android:name=".TopNonResizableWallpaperActivity"
android:exported="true"
android:resizeableActivity="false"
android:theme="@style/WallpaperTheme"
/>
<activity android:name=".BottomNonResizableActivity"
android:exported="true"
android:resizeableActivity="false"
android:theme="@style/NoPreview"
/>
<activity android:name=".TranslucentTopNonResizableActivity"
android:process=".top_process"
android:exported="true"
android:resizeableActivity="false"
android:theme="@style/TranslucentTheme"
/>
<!-- An animation test with an explicitly opaque theme, overriding device defaults, as the
animation background being tested is not used in translucent activities. -->
<activity android:name=".AnimationTestActivity"
android:theme="@style/OpaqueTheme"
android:exported="true"/>
<activity android:name=".VirtualDisplayActivity"
android:resizeableActivity="true"
android:exported="true"
android:taskAffinity="nobody.but.VirtualDisplayActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboardHidden"/>
<activity android:name=".ShowWhenLockedActivity"
android:exported="true"/>
<activity android:name=".ShowWhenLockedWithDialogActivity"
android:exported="true"/>
<activity android:name=".ShowWhenLockedDialogActivity"
android:exported="true"
android:theme="@android:style/Theme.Material.Dialog"/>
<activity android:name=".ShowWhenLockedTranslucentActivity"
android:exported="true"
android:theme="@android:style/Theme.Translucent"/>
<activity android:name=".DismissKeyguardActivity"
android:exported="true"/>
<activity android:name=".DismissKeyguardMethodActivity"
android:exported="true"/>
<activity android:name=".WallpaperActivity"
android:exported="true"
android:theme="@style/WallpaperTheme"/>
<activity android:name=".KeyguardLockActivity"
android:exported="true"/>
<activity android:name=".LogConfigurationActivity"
android:exported="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"/>
<activity android:name=".PortraitOrientationActivity"
android:exported="true"
android:screenOrientation="portrait"
android:documentLaunchMode="always"/>
<activity android:name=".LandscapeOrientationActivity"
android:exported="true"
android:screenOrientation="landscape"
android:documentLaunchMode="always"/>
<activity android:name=".MoveTaskToBackActivity"
android:exported="true"
android:launchMode="singleInstance"/>
<activity android:name=".NightModeActivity"
android:exported="true"
android:configChanges="uiMode"/>
<activity android:name=".FontScaleActivity"
android:exported="true"/>
<activity android:name=".FontScaleNoRelaunchActivity"
android:exported="true"
android:configChanges="fontScale"/>
<activity android:name=".DisplayAccessCheckEmbeddingActivity"
android:allowEmbedded="true"
android:exported="true"/>
<receiver android:name=".LaunchBroadcastReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.server.wm.app.LAUNCH_BROADCAST_ACTION"/>
<action android:name="android.server.wm.app.ACTION_TEST_ACTIVITY_START"/>
</intent-filter>
</receiver>
<activity android:name=".AssistantActivity"
android:exported="true"
android:screenOrientation="locked"/>
<activity android:name=".TranslucentAssistantActivity"
android:exported="true"
android:theme="@style/Theme.Transparent"/>
<activity android:name=".LaunchAssistantActivityFromSession"
android:taskAffinity="nobody.but.LaunchAssistantActivityFromSession"
android:exported="true"/>
<activity android:name=".LaunchAssistantActivityIntoAssistantStack"
android:taskAffinity="nobody.but.LaunchAssistantActivityIntoAssistantStack"
android:exported="true"/>
<service android:name=".AssistantVoiceInteractionService"
android:permission="android.permission.BIND_VOICE_INTERACTION"
android:exported="true">
<meta-data android:name="android.voice_interaction"
android:resource="@xml/interaction_service"/>
<intent-filter>
<action android:name="android.service.voice.VoiceInteractionService"/>
</intent-filter>
</service>
<service android:name=".AssistantVoiceInteractionSessionService"
android:permission="android.permission.BIND_VOICE_INTERACTION"
android:exported="true"/>
<activity android:name=".SplashscreenActivity"
android:taskAffinity="nobody.but.SplashscreenActivity"
android:theme="@style/SplashscreenTheme"
android:exported="true"/>
<activity android:name=".DisablePreviewActivity"
android:theme="@style/NoPreview"
android:exported="true"/>
<activity android:name=".ShowWhenLockedNoPreviewActivity"
android:theme="@style/NoPreview"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrNoPreviewActivity"
android:showWhenLocked="true"
android:theme="@style/NoPreview"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrRemoveAttrNoPreviewActivity"
android:showWhenLocked="true"
android:theme="@style/NoPreview"
android:exported="true"/>
<activity android:name=".ShowWhenLockedWithDialogNoPreviewActivity"
android:theme="@style/NoPreview"
android:exported="true"/>
<activity android:name=".NoHistoryActivity"
android:noHistory="true"
android:exported="true"/>
<activity android:name=".NoHistoryActivity2"
android:noHistory="true"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrActivity"
android:showWhenLocked="true"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrRemoveAttrActivity"
android:configChanges="keyboard|keyboardHidden|navigation"
android:showWhenLocked="true"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrWithDialogActivity"
android:showWhenLocked="true"
android:exported="true"/>
<activity android:name=".InheritShowWhenLockedAddActivity"
android:exported="true"/>
<activity android:name=".InheritShowWhenLockedAttrActivity"
android:inheritShowWhenLocked="true"
android:exported="true"/>
<activity android:name=".InheritShowWhenLockedRemoveActivity"
android:inheritShowWhenLocked="true"
android:exported="true"/>
<activity android:name=".NoInheritShowWhenLockedAttrActivity"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrImeActivity"
android:showWhenLocked="true"
android:exported="true"/>
<activity android:name=".ShowWhenLockedAttrRotationActivity"
android:showWhenLocked="true"
android:configChanges="orientation|screenSize|screenLayout"
android:exported="true"/>
<activity android:name=".ToastActivity"
android:exported="true"/>
<activity android:name=".TurnScreenOnAttrActivity"
android:turnScreenOn="true"
android:exported="true"/>
<activity android:name=".TurnScreenOnShowOnLockActivity"
android:showWhenLocked="true"
android:turnScreenOn="true"
android:exported="true"/>
<activity android:name=".TurnScreenOnAttrRemoveAttrActivity"
android:turnScreenOn="true"
android:showWhenLocked="true"
android:exported="true"/>
<activity android:name=".TurnScreenOnSingleTaskActivity"
android:turnScreenOn="true"
android:showWhenLocked="true"
android:exported="true"
android:launchMode="singleTask"/>
<activity android:name=".TurnScreenOnAttrDismissKeyguardActivity"
android:turnScreenOn="true"
android:exported="true"/>
<activity android:name=".TurnScreenOnWithRelayoutActivity"
android:exported="true"/>
<activity android:name=".RecursiveActivity"
android:exported="true"/>
<activity android:name=".LaunchTestOnDestroyActivity"
android:exported="true"/>
<activity android:name=".ReportFullyDrawnActivity"
android:exported="true"/>
<activity android:name=".NoDisplayActivity"
android:exported="true"
android:theme="@android:style/Theme.NoDisplay"/>
<activity android:name=".SingleTaskInstanceDisplayActivity"
android:exported="true"/>
<activity android:name=".SingleTaskInstanceDisplayActivity2"
android:exported="true"/>
<activity android:name=".SingleTaskInstanceDisplayActivity3"
android:exported="true"
android:launchMode="singleInstance"/>
<service android:name=".LiveWallpaper"
android:permission="android.permission.BIND_WALLPAPER"
android:exported="true">
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService">
</action>
</intent-filter>
<meta-data android:name="android.service.wallpaper"
android:resource="@xml/wallpaper">
</meta-data>
</service>
<service android:name=".TestDream"
android:exported="true"
android:permission="android.permission.BIND_DREAM_SERVICE">
<intent-filter>
<action android:name="android.service.dreams.DreamService"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</service>
<service android:name=".TestStubbornDream"
android:exported="true"
android:permission="android.permission.BIND_DREAM_SERVICE">
<intent-filter>
<action android:name="android.service.dreams.DreamService"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</service>
<!-- Disable home activities by default or it may disturb other tests by
showing ResolverActivity when start home activity -->
<activity-alias android:name=".HomeActivity"
android:targetActivity=".TestActivity"
android:enabled="false"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity-alias>
<activity-alias android:name=".SecondaryHomeActivity"
android:targetActivity=".TestActivity"
android:enabled="false"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.SECONDARY_HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity-alias>
<activity-alias android:name=".SingleHomeActivity"
android:targetActivity=".SingleInstanceActivity"
android:enabled="false"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity-alias>
<activity-alias android:name=".SingleSecondaryHomeActivity"
android:targetActivity=".SingleInstanceActivity"
android:enabled="false"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.SECONDARY_HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity-alias>
<service android:name="com.android.cts.verifier.vr.MockVrListenerService"
android:exported="true"
android:enabled="true"
android:permission="android.permission.BIND_VR_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.vr.VrListenerService"/>
</intent-filter>
</service>
<activity android:name=".HostActivity"
android:exported="true">
<intent-filter>
<action android:name="android.server.wm.app.HostActivity"/>
</intent-filter>
</activity>
<service android:name=".RenderService"
android:process=".render_process"/>
<activity android:name=".ClickableToastActivity"
android:exported="true"/>
<activity android:name=".MinimalPostProcessingActivity"
android:exported="true"/>
<activity android:name=".MinimalPostProcessingActivity2"
android:exported="true"/>
<activity android:name=".MinimalPostProcessingManifestActivity"
android:preferMinimalPostProcessing="true"
android:exported="true"/>
<activity android:name=".PopupMinimalPostProcessingActivity"
android:theme="@android:style/Theme.Holo.Dialog.NoActionBar"
android:exported="true"/>
<activity android:name=".CrashingActivity"
android:exported="true" />
<activity android:name=".PresentationActivity"
android:launchMode="singleTop"
android:exported="true"/>
<activity android:name=".HideOverlayWindowsActivity" android:exported="true"/>
<activity android:name=".BackgroundImageActivity"
android:theme="@style/BackgroundImage"
android:exported="true"/>
<activity android:name=".BlurActivity"
android:exported="true"
android:theme="@style/TranslucentDialog"/>
<activity android:name=".BlurAttributesActivity"
android:exported="true"
android:theme="@style/BlurryDialog"/>
<activity android:name=".BadBlurActivity"
android:exported="true"
android:theme="@style/BadBlurryDialog"/>
<!-- Splash Screen Test Activities -->
<activity android:name=".HandleSplashScreenExitActivity"
android:theme="@style/ShowBrandingTheme"
android:configChanges="uiMode"
android:exported="true"
android:taskAffinity="nobody.but.TestSplashScreenAffinity"/>
<activity android:name=".SplashScreenReplaceIconActivity"
android:exported="true"
android:theme="@style/ReplaceIconTheme"
android:taskAffinity="nobody.but.TestSplashScreenAffinity"/>
<activity android:name=".SplashScreenReplaceThemeActivity"
android:exported="true"
android:theme="@style/ReplaceIconTheme"
android:taskAffinity="nobody.but.TestSplashScreenAffinity"/>
<service android:name=".OverlayTestService"
android:exported="true" />
</application>
</manifest>