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:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
71                  android:exported="true"
72        />
73        <activity android:name="android.server.wm.jetpack.utils.TestRearDisplayShowWhenLockedActivity"
74                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen"
75                  android:exported="true"
76        />
77        <activity android:name="android.server.wm.jetpack.utils.TestRearDisplayCrashingActivity"
78                  android:process=":Rear_display_crash_process"
79                  android:exported="true"
80        />
81        <activity android:name="android.server.wm.jetpack.utils.TestFocusPrimaryActivity"
82                  android:label="TestFocusPrimaryActivity"
83                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" />
84        <activity android:name="android.server.wm.jetpack.utils.TestFocusSecondaryActivity"
85                  android:label="TestFocusSecondaryActivity"
86                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" />
87
88        <!-- The provider properties must match the shared one defined in the util module. -->
89        <provider android:name="android.server.wm.activity.lifecycle.EventLog"
90                  android:authorities="android.server.wm.jetpack.logprovider"
91                  android:exported="true"/>
92
93        <!-- ActivityEmbedding Property -->
94        <property
95            android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE"
96            android:value="true" />
97    </application>
98
99    <!--  self-instrumenting test package. -->
100    <instrumentation
101        android:name="androidx.test.runner.AndroidJUnitRunner"
102        android:label="CTS tests of Jetpack Window Manager"
103        android:targetPackage="android.server.wm.jetpack" >
104    </instrumentation>
105</manifest>
106