• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2023 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     package="android.view.surfacecontrol.cts"
20     xmlns:tools="http://schemas.android.com/tools"
21     android:targetSandboxVersion="2">
22
23    <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
24    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
25    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
26    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"/>
27
28    <application android:label="Android TestCase"
29         android:maxRecents="1"
30         android:multiArch="true"
31         android:supportsRtl="true">
32        <uses-library android:name="android.test.runner"/>
33
34        <activity android:name="android.view.surfacecontrol.cts.CtsActivity"
35             android:screenOrientation="locked"
36             android:label="CtsActivity"
37             android:exported="true">
38            <intent-filter>
39                <action android:name="android.intent.action.MAIN"/>
40                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
41            </intent-filter>
42        </activity>
43
44        <activity android:name="android.view.cts.surfacevalidator.CapturedActivity"
45             android:screenOrientation="locked"
46             android:theme="@style/WhiteBackgroundTheme"
47             android:exported="true">
48            <intent-filter>
49                <action android:name="android.intent.action.MAIN"/>
50                <category android:name="android.intent.category.LAUNCHER"/>
51            </intent-filter>
52        </activity>
53
54        <activity android:name="android.view.cts.surfacevalidator.ASurfaceControlTestActivity"
55            android:screenOrientation="locked"
56            android:theme="@style/WhiteBackgroundTheme"
57            android:exported="true">
58            <intent-filter>
59                <action android:name="android.intent.action.MAIN"/>
60                <category android:name="android.intent.category.LAUNCHER"/>
61            </intent-filter>
62        </activity>
63
64        <activity android:name="android.view.cts.surfacevalidator.CapturedActivityWithResource"
65             android:screenOrientation="locked"
66             android:theme="@style/WhiteBackgroundTheme"
67             android:exported="true">
68            <intent-filter>
69                <action android:name="android.intent.action.MAIN"/>
70                <category android:name="android.intent.category.LAUNCHER"/>
71            </intent-filter>
72        </activity>
73
74        <activity android:name="android.view.surfacecontrol.cts.TrustedPresentationCallbackTest$TestActivity"
75            android:exported="true">
76            <intent-filter>
77                <action android:name="android.intent.action.MAIN"/>
78            </intent-filter>
79        </activity>
80
81        <activity android:name="android.view.surfacecontrol.cts.SurfaceViewCtsActivity"
82             android:screenOrientation="locked"
83             android:turnScreenOn="true"
84             android:showWhenLocked="true"
85             android:label="SurfaceViewCtsActivity"
86             android:exported="true">
87            <intent-filter>
88                <action android:name="android.intent.action.MAIN"/>
89                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
90            </intent-filter>
91        </activity>
92
93        <activity android:name="android.view.surfacecontrol.cts.TestActivity"
94                  android:exported="true"
95                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
96
97        <activity android:name="android.view.surfacecontrol.cts.HandleConfigurationActivity"
98                  android:screenOrientation="locked"
99                  android:label="HandleConfigurationActivity"
100                  android:rotationAnimation="jumpcut"
101                  android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
102                  android:theme="@android:style/Theme.Material.Dialog.NoActionBar"
103                  android:exported="true">
104            <intent-filter>
105                <action android:name="android.intent.action.MAIN"/>
106                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
107            </intent-filter>
108        </activity>
109
110        <service android:name="android.server.wm.scvh.EmbeddedSCVHService"
111            android:process="com.android.server.wm.scvh.embedded_process" />
112
113        <service android:name="android.view.cts.surfacevalidator.LocalMediaProjectionService"
114                 android:foregroundServiceType="mediaProjection"
115                 android:enabled="true">
116        </service>
117    </application>
118
119    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
120         android:targetPackage="android.view.surfacecontrol.cts"
121         android:label="SurfaceControl related CTS tests">
122        <meta-data android:name="listener"
123             android:value="com.android.cts.runner.CtsTestRunListener"/>
124    </instrumentation>
125
126</manifest>
127