1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2017 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.translation.cts">
20
21    <application android:label="Translation TestCase">
22        <uses-library android:name="android.test.runner"/>
23
24        <activity android:name=".SimpleActivity"
25                  android:label="SimpleActivity"
26                  android:exported="true">
27            <intent-filter>
28                <action android:name="android.intent.action.MAIN"/>
29                <category android:name="android.intent.category.LAUNCHER"/>
30            </intent-filter>
31        </activity>
32        <activity android:name=".VirtualContainerViewActivity"
33                  android:label="VirtualContainerViewActivity"
34                  android:exported="true">
35        </activity>
36        <activity android:name=".CustomTextViewActivity"
37                  android:label="CustomTextViewActivity"
38                  android:exported="true">
39        </activity>
40
41        <service android:name=".CtsTranslationService"
42                 android:label="CtsTranslationService"
43                 android:permission="android.permission.BIND_TRANSLATION_SERVICE"
44                 android:exported="true">
45            <intent-filter>
46                <action android:name="android.service.translation.TranslationService"/>
47            </intent-filter>
48            <meta-data
49                android:name="android.translation_service"
50                android:resource="@xml/translation_config">
51            </meta-data>
52        </service>
53        <service android:name=".CtsContentCaptureService"
54                 android:label="CtsContentCaptureService"
55                 android:permission="android.permission.BIND_CONTENT_CAPTURE_SERVICE"
56                 android:exported="true">
57            <intent-filter>
58                <action android:name="android.service.contentcapture.ContentCaptureService"/>
59            </intent-filter>
60        </service>
61
62        <!-- TODO(b/184617863): move to its own apk -->
63        <service android:name=".CtsTestIme"
64                 android:label="Test IME"
65                 android:permission="android.permission.BIND_INPUT_METHOD"
66                 android:exported="true">
67            <intent-filter>
68                <action android:name="android.view.InputMethod"/>
69            </intent-filter>
70            <meta-data android:name="android.view.im"
71                       android:resource="@xml/simple_ime"/>
72        </service>
73    </application>
74
75    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
76                     android:targetPackage="android.translation.cts"
77                     android:label="CTS tests of android.translation">
78    </instrumentation>
79
80</manifest>
81