xref: /aosp_15_r20/cts/tests/framework/base/windowmanager/jetpack/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 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.server.wm.jetpack"
20          android:targetSandboxVersion="2">
21
22    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
23
24    <application android:label="CtsWindowManagerJetpackTestCases">
25        <uses-library android:name="android.test.runner" />
26        <uses-library android:name="androidx.window.extensions"
27                      android:required="false" />
28        <uses-library android:name="androidx.window.sidecar"
29                      android:required="false" />
30        <activity android:name="android.server.wm.jetpack.utils.TestActivity" />
31        <activity android:name="android.server.wm.jetpack.utils.TestConfigChangeHandlingActivity"
32                  android:supportsPictureInPicture="true"
33                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
34        />
35        <activity android:name="android.server.wm.jetpack.utils.TestLetterboxPortraitActivity"
36                  android:supportsPictureInPicture="true"
37                  android:screenOrientation="portrait"
38        />
39        <activity android:name="android.server.wm.jetpack.utils.TestLetterboxLandscapeActivity"
40                  android:supportsPictureInPicture="true"
41                  android:screenOrientation="landscape"
42        />
43        <activity android:name="android.server.wm.jetpack.utils.TestLetterboxPortraitSlimActivity"
44                  android:screenOrientation="portrait"
45                  android:resizeableActivity="false"
46                  android:minAspectRatio="3"
47        />
48        <activity android:name="android.server.wm.jetpack.utils.TestLetterboxLandscapeSlimActivity"
49                  android:supportsPictureInPicture="true"
50                  android:screenOrientation="landscape"
51                  android:resizeableActivity="false"
52                  android:minAspectRatio="3"
53        />
54        <activity android:name="android.server.wm.jetpack.utils.TestGetWindowLayoutInfoActivity" />
55        <activity android:name="android.server.wm.jetpack.utils.TestActivityWithId"
56                  android:supportsPictureInPicture="true"
57                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
58                  android:exported="true"
59        />
60        <activity android:name="android.server.wm.jetpack.utils.TestActivityWithId2"
61                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
62                  android:exported="true"
63        />
64        <activity android:name="android.server.wm.jetpack.utils.TestActivityKnownEmbeddingCerts"
65                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
66                  android:knownActivityEmbeddingCerts="6a8b96e278e58f62cfe3584022cec1d0527fcb85a9e5d2e1694eb0405be5b599"
67                  android:exported="true"
68        />
69        <activity android:name="android.server.wm.jetpack.utils.TestRearDisplayActivity"
70                  android:supportsPictureInPicture="true"
71                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
72                  android:exported="true"
73        />
74        <activity android:name="android.server.wm.jetpack.utils.TestRearDisplayShowWhenLockedActivity"
75                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
76                  android:exported="true"
77        />
78        <activity android:name="android.server.wm.jetpack.utils.TestRearDisplayCrashingActivity"
79                  android:process=":Rear_display_crash_process"
80                  android:exported="true"
81        />
82        <activity android:name="android.server.wm.jetpack.utils.TestFocusPrimaryActivity"
83                  android:label="TestFocusPrimaryActivity"
84                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" />
85        <activity android:name="android.server.wm.jetpack.utils.TestFocusSecondaryActivity"
86                  android:label="TestFocusSecondaryActivity"
87                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" />
88
89        <!-- The provider properties must match the shared one defined in the util module. -->
90        <provider android:name="android.server.wm.activity.lifecycle.EventLog"
91                  android:authorities="android.server.wm.jetpack.logprovider"
92                  android:exported="true"/>
93
94        <!-- ActivityEmbedding Property -->
95        <property
96            android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE"
97            android:value="true" />
98    </application>
99
100    <!--  self-instrumenting test package. -->
101    <instrumentation
102        android:name="androidx.test.runner.AndroidJUnitRunner"
103        android:label="CTS tests of Jetpack Window Manager"
104        android:targetPackage="android.server.wm.jetpack" >
105    </instrumentation>
106</manifest>
107