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 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 22 <application android:label="Translation TestCase"> 23 <uses-library android:name="android.test.runner"/> 24 25 <!-- 26 EmptyActivity uses a transparent theme so that SimpleActivity below it can have its views 27 translated. See UiTranslationManagerTest#testTranslationAfterStartActivityOnSameTask. 28 --> 29 <activity android:name=".EmptyActivity" 30 android:label="EmptyActivity" 31 android:exported="true" 32 android:theme="@style/TransparentTheme"> 33 </activity> 34 35 <activity android:name=".SimpleActivity" 36 android:label="SimpleActivity" 37 android:exported="true"> 38 <intent-filter> 39 <action android:name="android.intent.action.MAIN"/> 40 <category android:name="android.intent.category.LAUNCHER"/> 41 </intent-filter> 42 </activity> 43 <activity android:name=".VirtualContainerViewActivity" 44 android:label="VirtualContainerViewActivity" 45 android:exported="true"> 46 </activity> 47 <activity android:name=".CustomTextViewActivity" 48 android:label="CustomTextViewActivity" 49 android:exported="true"> 50 </activity> 51 52 <service android:name=".CtsTranslationService" 53 android:label="CtsTranslationService" 54 android:permission="android.permission.BIND_TRANSLATION_SERVICE" 55 android:exported="true"> 56 <intent-filter> 57 <action android:name="android.service.translation.TranslationService"/> 58 </intent-filter> 59 <meta-data 60 android:name="android.translation_service" 61 android:resource="@xml/translation_config"> 62 </meta-data> 63 </service> 64 <service android:name=".CtsContentCaptureService" 65 android:label="CtsContentCaptureService" 66 android:permission="android.permission.BIND_CONTENT_CAPTURE_SERVICE" 67 android:exported="true"> 68 <intent-filter> 69 <action android:name="android.service.contentcapture.ContentCaptureService"/> 70 </intent-filter> 71 </service> 72 73 <service android:name="android.translation.cts.OtherProcessService1" 74 android:process=":otherTranslationProcess1" 75 android:exported="false" /> 76 <service android:name="android.translation.cts.OtherProcessService2" 77 android:process=":otherTranslationProcess2" 78 android:exported="false" /> 79 80 <!-- TODO(b/184617863): move to its own apk --> 81 <service android:name=".CtsTestIme" 82 android:label="Test IME" 83 android:permission="android.permission.BIND_INPUT_METHOD" 84 android:exported="true"> 85 <intent-filter> 86 <action android:name="android.view.InputMethod"/> 87 </intent-filter> 88 <meta-data android:name="android.view.im" 89 android:resource="@xml/simple_ime"/> 90 </service> 91 </application> 92 93 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 94 android:targetPackage="android.translation.cts" 95 android:label="CTS tests of android.translation"> 96 </instrumentation> 97 98</manifest> 99