xref: /aosp_15_r20/cts/tests/surfacecontrol/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!--
3*b7c941bbSAndroid Build Coastguard Worker * Copyright (C) 2023 The Android Open Source Project
4*b7c941bbSAndroid Build Coastguard Worker *
5*b7c941bbSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License");
6*b7c941bbSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License.
7*b7c941bbSAndroid Build Coastguard Worker * You may obtain a copy of the License at
8*b7c941bbSAndroid Build Coastguard Worker *
9*b7c941bbSAndroid Build Coastguard Worker *      http://www.apache.org/licenses/LICENSE-2.0
10*b7c941bbSAndroid Build Coastguard Worker *
11*b7c941bbSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software
12*b7c941bbSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS,
13*b7c941bbSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*b7c941bbSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and
15*b7c941bbSAndroid Build Coastguard Worker * limitations under the License.
16*b7c941bbSAndroid Build Coastguard Worker -->
17*b7c941bbSAndroid Build Coastguard Worker
18*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19*b7c941bbSAndroid Build Coastguard Worker     package="android.view.surfacecontrol.cts"
20*b7c941bbSAndroid Build Coastguard Worker     xmlns:tools="http://schemas.android.com/tools"
21*b7c941bbSAndroid Build Coastguard Worker     android:targetSandboxVersion="2">
22*b7c941bbSAndroid Build Coastguard Worker
23*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
24*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
25*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
26*b7c941bbSAndroid Build Coastguard Worker
27*b7c941bbSAndroid Build Coastguard Worker    <queries>
28*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mockime" />
29*b7c941bbSAndroid Build Coastguard Worker        <package android:name="android.server.wm.scvh" />
30*b7c941bbSAndroid Build Coastguard Worker    </queries>
31*b7c941bbSAndroid Build Coastguard Worker
32*b7c941bbSAndroid Build Coastguard Worker    <!-- Make application debuggable to enable checkjni for all tests -->
33*b7c941bbSAndroid Build Coastguard Worker    <application android:label="Android TestCase"
34*b7c941bbSAndroid Build Coastguard Worker         android:maxRecents="1"
35*b7c941bbSAndroid Build Coastguard Worker         android:multiArch="true"
36*b7c941bbSAndroid Build Coastguard Worker         android:debuggable="true"
37*b7c941bbSAndroid Build Coastguard Worker         android:supportsRtl="true">
38*b7c941bbSAndroid Build Coastguard Worker        <uses-library android:name="android.test.runner"/>
39*b7c941bbSAndroid Build Coastguard Worker
40*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.CtsActivity"
41*b7c941bbSAndroid Build Coastguard Worker             android:screenOrientation="locked"
42*b7c941bbSAndroid Build Coastguard Worker             android:label="CtsActivity"
43*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
44*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
45*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
46*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
47*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
48*b7c941bbSAndroid Build Coastguard Worker        </activity>
49*b7c941bbSAndroid Build Coastguard Worker
50*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.cts.surfacevalidator.CapturedActivity"
51*b7c941bbSAndroid Build Coastguard Worker             android:screenOrientation="locked"
52*b7c941bbSAndroid Build Coastguard Worker             android:theme="@style/WhiteBackgroundTheme"
53*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
54*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
55*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
56*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.LAUNCHER"/>
57*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
58*b7c941bbSAndroid Build Coastguard Worker        </activity>
59*b7c941bbSAndroid Build Coastguard Worker
60*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.cts.surfacevalidator.ASurfaceControlTestActivity"
61*b7c941bbSAndroid Build Coastguard Worker            android:screenOrientation="locked"
62*b7c941bbSAndroid Build Coastguard Worker            android:theme="@style/WhiteBackgroundTheme"
63*b7c941bbSAndroid Build Coastguard Worker            android:exported="true">
64*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
65*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
66*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.LAUNCHER"/>
67*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
68*b7c941bbSAndroid Build Coastguard Worker        </activity>
69*b7c941bbSAndroid Build Coastguard Worker
70*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.cts.util.CapturedActivityWithResource"
71*b7c941bbSAndroid Build Coastguard Worker             android:screenOrientation="locked"
72*b7c941bbSAndroid Build Coastguard Worker             android:theme="@style/WhiteBackgroundTheme"
73*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
74*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
75*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
76*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.LAUNCHER"/>
77*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
78*b7c941bbSAndroid Build Coastguard Worker        </activity>
79*b7c941bbSAndroid Build Coastguard Worker
80*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.TrustedPresentationCallbackTest$TestActivity"
81*b7c941bbSAndroid Build Coastguard Worker            android:exported="true">
82*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
83*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
84*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
85*b7c941bbSAndroid Build Coastguard Worker        </activity>
86*b7c941bbSAndroid Build Coastguard Worker
87*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.SurfaceViewCtsActivity"
88*b7c941bbSAndroid Build Coastguard Worker             android:screenOrientation="locked"
89*b7c941bbSAndroid Build Coastguard Worker             android:turnScreenOn="true"
90*b7c941bbSAndroid Build Coastguard Worker             android:showWhenLocked="true"
91*b7c941bbSAndroid Build Coastguard Worker             android:label="SurfaceViewCtsActivity"
92*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
93*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
94*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
95*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
96*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
97*b7c941bbSAndroid Build Coastguard Worker        </activity>
98*b7c941bbSAndroid Build Coastguard Worker
99*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.TestActivity"
100*b7c941bbSAndroid Build Coastguard Worker                  android:exported="true"
101*b7c941bbSAndroid Build Coastguard Worker                  android:turnScreenOn="true"
102*b7c941bbSAndroid Build Coastguard Worker                  android:showWhenLocked="true"
103*b7c941bbSAndroid Build Coastguard Worker                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
104*b7c941bbSAndroid Build Coastguard Worker
105*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.TrustedPresentationListenerTest$TestActivity"
106*b7c941bbSAndroid Build Coastguard Worker            android:exported="true"
107*b7c941bbSAndroid Build Coastguard Worker            android:showWhenLocked="true"
108*b7c941bbSAndroid Build Coastguard Worker            android:turnScreenOn="true" />
109*b7c941bbSAndroid Build Coastguard Worker
110*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.HandleConfigurationActivity"
111*b7c941bbSAndroid Build Coastguard Worker                  android:screenOrientation="locked"
112*b7c941bbSAndroid Build Coastguard Worker                  android:label="HandleConfigurationActivity"
113*b7c941bbSAndroid Build Coastguard Worker                  android:rotationAnimation="jumpcut"
114*b7c941bbSAndroid Build Coastguard Worker                  android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
115*b7c941bbSAndroid Build Coastguard Worker                  android:exported="true">
116*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
117*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
118*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/>
119*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
120*b7c941bbSAndroid Build Coastguard Worker        </activity>
121*b7c941bbSAndroid Build Coastguard Worker
122*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.SurfaceSyncGroupActivity"
123*b7c941bbSAndroid Build Coastguard Worker            android:screenOrientation="locked"
124*b7c941bbSAndroid Build Coastguard Worker            android:turnScreenOn="true"
125*b7c941bbSAndroid Build Coastguard Worker            android:theme="@style/WhiteBackgroundTheme"
126*b7c941bbSAndroid Build Coastguard Worker            android:exported="true"/>
127*b7c941bbSAndroid Build Coastguard Worker
128*b7c941bbSAndroid Build Coastguard Worker        <activity android:name="android.view.surfacecontrol.cts.SurfaceControlViewHostTests$TestActivity"
129*b7c941bbSAndroid Build Coastguard Worker            android:exported="true"
130*b7c941bbSAndroid Build Coastguard Worker            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
131*b7c941bbSAndroid Build Coastguard Worker
132*b7c941bbSAndroid Build Coastguard Worker        <service android:name="android.view.cts.util.EmbeddedSCVHService"
133*b7c941bbSAndroid Build Coastguard Worker            android:process="android.view.cts.surfacevalidator.embedded_process" />
134*b7c941bbSAndroid Build Coastguard Worker        <service android:name="android.view.cts.util.SurfaceControlViewHostHelper$InProcessEmbeddedSCVHService" />
135*b7c941bbSAndroid Build Coastguard Worker    </application>
136*b7c941bbSAndroid Build Coastguard Worker
137*b7c941bbSAndroid Build Coastguard Worker    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
138*b7c941bbSAndroid Build Coastguard Worker         android:targetPackage="android.view.surfacecontrol.cts"
139*b7c941bbSAndroid Build Coastguard Worker         android:label="SurfaceControl related CTS tests">
140*b7c941bbSAndroid Build Coastguard Worker    </instrumentation>
141*b7c941bbSAndroid Build Coastguard Worker
142*b7c941bbSAndroid Build Coastguard Worker</manifest>
143