1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2018 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.contentcaptureservice.cts"
20     android:targetSandboxVersion="2">
21
22    <application>
23
24        <uses-library android:name="android.test.runner"/>
25
26        <activity android:name=".BlankActivity"
27             android:label="Blank"
28             android:taskAffinity=".BlankActivity"
29             android:theme="@android:style/Theme.NoTitleBar"
30             android:exported="true">
31            <intent-filter>
32                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
33                                         this app during CTS development... -->
34                <action android:name="android.intent.action.MAIN"/>
35                <category android:name="android.intent.category.LAUNCHER"/>
36            </intent-filter>
37        </activity>
38        <activity android:name=".BlankWithTitleActivity"
39             android:label="Blanka"
40             android:taskAffinity=".BlankWithTitleActivity"
41             android:exported="true">
42            <intent-filter>
43                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
44                                         this app during CTS development... -->
45                <action android:name="android.intent.action.MAIN"/>
46                <category android:name="android.intent.category.LAUNCHER"/>
47            </intent-filter>
48        </activity>
49        <activity android:name=".LoginActivity"
50             android:label="Login"
51             android:taskAffinity=".LoginActivity"
52             android:theme="@android:style/Theme.NoTitleBar"
53             android:exported="true">
54            <intent-filter>
55                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
56                                         this app during CTS development... -->
57                <action android:name="android.intent.action.MAIN"/>
58                <category android:name="android.intent.category.LAUNCHER"/>
59            </intent-filter>
60        </activity>
61        <activity android:name=".ResizingEditActivity"
62             android:label="ReizingEdit"
63             android:taskAffinity=".ResizingEditActivity"
64             android:windowSoftInputMode="adjustResize"
65             android:theme="@android:style/Theme.NoTitleBar"
66             android:exported="true">
67            <intent-filter>
68                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
69                                         this app during CTS development... -->
70                <action android:name="android.intent.action.MAIN"/>
71                <category android:name="android.intent.category.LAUNCHER"/>
72            </intent-filter>
73        </activity>
74        <activity android:name=".ChildlessActivity"
75             android:label="Childless"
76             android:taskAffinity=".ChildlessActivity"
77             android:theme="@android:style/Theme.NoTitleBar"
78             android:exported="true">
79            <intent-filter>
80                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
81                                         this app during CTS development... -->
82                <action android:name="android.intent.action.MAIN"/>
83                <category android:name="android.intent.category.LAUNCHER"/>
84            </intent-filter>
85        </activity>
86        <activity android:name=".CustomViewActivity"
87             android:label="CustomView"
88             android:taskAffinity=".CustomViewActivity"
89             android:theme="@android:style/Theme.NoTitleBar"
90             android:exported="true">
91            <intent-filter>
92                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
93                                         this app during CTS development... -->
94                <action android:name="android.intent.action.MAIN"/>
95                <category android:name="android.intent.category.LAUNCHER"/>
96            </intent-filter>
97        </activity>
98        <activity android:name=".NullTextViewActivity"
99             android:label="NullTextView"
100             android:taskAffinity=".NullTextViewActivity"
101             android:theme="@android:style/Theme.NoTitleBar"
102             android:exported="true">
103            <intent-filter>
104                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
105                                         this app during CTS development... -->
106                <action android:name="android.intent.action.MAIN"/>
107                <category android:name="android.intent.category.LAUNCHER"/>
108            </intent-filter>
109        </activity>
110
111        <activity android:name=".OutOfProcessActivity"
112             android:label="Oop"
113             android:taskAffinity=".OutOfProcessActivity"
114             android:theme="@android:style/Theme.NoTitleBar"
115             android:process="android.contentcapture.cts.outside"
116             android:exported="true">
117            <intent-filter>
118                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
119                                         this app during CTS development... -->
120                <action android:name="android.intent.action.MAIN"/>
121                <category android:name="android.intent.category.LAUNCHER"/>
122            </intent-filter>
123        </activity>
124
125        <activity android:name=".DataSharingActivity"
126             android:label="DataSharing"
127             android:taskAffinity=".DataSharingActivity"
128             android:theme="@android:style/Theme.NoTitleBar"
129             android:exported="true">
130            <intent-filter>
131                <!-- This intent filter is not really needed by CTS, but it makes easier to launch
132                                         this app during CTS development... -->
133                <action android:name="android.intent.action.MAIN"/>
134                <category android:name="android.intent.category.LAUNCHER"/>
135            </intent-filter>
136        </activity>
137
138        <receiver android:name=".SelfDestructReceiver"
139             android:exported="true"
140             android:process="android.contentcapture.cts.outside"/>
141
142        <service android:name=".CtsContentCaptureService"
143             android:label="CtsContentCaptureService"
144             android:permission="android.permission.BIND_CONTENT_CAPTURE_SERVICE"
145             android:exported="true">
146            <intent-filter>
147                <action android:name="android.service.contentcapture.ContentCaptureService"/>
148            </intent-filter>
149        </service>
150
151        <service
152            android:name=".DataSharingService"
153            android:label="DataSharingService" />
154        <service
155            android:name=".OutOfProcessDataSharingService"
156            android:label="OutOfProcessDataSharingService"
157            android:process=":android.contentcapture.cts.outside" />
158
159    </application>
160
161    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
162         android:label="CTS tests for the AutoFill Framework APIs."
163         android:targetPackage="android.contentcaptureservice.cts">
164    </instrumentation>
165
166</manifest>
167