Xml文件  |  371行  |  16.5 KB

<?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.cts">

    <!-- 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" />

    <application>
        <activity android:name=".TestActivity"
                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" />
        <activity android:name=".VrTestActivity"
                android:resizeableActivity="true"
                android:exported="true"
        />
        <activity android:name=".ResumeWhilePausingActivity"
                android:allowEmbedded="true"
                android:resumeWhilePausing="true"
                android:taskAffinity=""
                android:exported="true"
        />
        <activity android:name=".ResizeableActivity"
                android:resizeableActivity="true"
                android:exported="true"
                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
        />
        <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"
                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"
        />
        <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"
                  android:supportsPictureInPicture="true"
                  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=".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="25%"
                          android:defaultHeight="35%"
                          android:gravity="top|right"
                          android:minWidth="90dp"
                          android:minHeight="80dp"
                  />
        </activity>
        <activity android:name=".BottomLeftLayoutActivity"
                  android:resizeableActivity="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true">
                  <layout android:defaultWidth="25%"
                          android:defaultHeight="35%"
                          android:gravity="bottom|left"
                          android:minWidth="90dp"
                          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=".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=".TranslucentTopActivity"
                  android:process=".top_process"
                  android:exported="true"
                  android:theme="@style/TranslucentTheme"
        />
        <activity android:name=".AnimationTestActivity"
                  android:exported="true"
        />
        <activity android:name=".VirtualDisplayActivity"
                  android:resizeableActivity="true"
                  android:exported="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
        />
        <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=".FinishableActivity"
                  android:exported="true"
        />
        <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"
        />
        <receiver
            android:name=".LaunchBroadcastReceiver"
            android:enabled="true"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.server.cts.LAUNCH_BROADCAST_ACTION"/>
            </intent-filter>
        </receiver>

        <activity android:name=".AssistantActivity"
            android:exported="true" />
        <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=".SwipeRefreshActivity"
                  android:exported="true" />

        <activity android:name=".NoHistoryActivity"
                  android:noHistory="true"
                  android:exported="true" />

        <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>
    </application>
</manifest>