xref: /aosp_15_r20/cts/tests/inputmethod/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!--
3*b7c941bbSAndroid Build Coastguard Worker  Copyright (C) 2017 The Android Open Source Project
4*b7c941bbSAndroid Build Coastguard Worker
5*b7c941bbSAndroid Build Coastguard Worker  Licensed under the Apache License, Version 2.0 (the "License");
6*b7c941bbSAndroid Build Coastguard Worker  you may not use this file except in compliance with the License.
7*b7c941bbSAndroid Build Coastguard Worker  You may obtain a copy of the License at
8*b7c941bbSAndroid Build Coastguard Worker
9*b7c941bbSAndroid Build Coastguard Worker       http://www.apache.org/licenses/LICENSE-2.0
10*b7c941bbSAndroid Build Coastguard Worker
11*b7c941bbSAndroid Build Coastguard Worker  Unless required by applicable law or agreed to in writing, software
12*b7c941bbSAndroid Build Coastguard Worker  distributed under the License is distributed on an "AS IS" BASIS,
13*b7c941bbSAndroid Build Coastguard Worker  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*b7c941bbSAndroid Build Coastguard Worker  See the License for the specific language governing permissions and
15*b7c941bbSAndroid Build Coastguard Worker  limitations under the License.
16*b7c941bbSAndroid Build Coastguard Worker-->
17*b7c941bbSAndroid Build Coastguard Worker
18*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19*b7c941bbSAndroid Build Coastguard Worker     package="android.view.inputmethod.cts"
20*b7c941bbSAndroid Build Coastguard Worker     android:targetSandboxVersion="2">
21*b7c941bbSAndroid Build Coastguard Worker
22*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
23*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
24*b7c941bbSAndroid Build Coastguard Worker
25*b7c941bbSAndroid Build Coastguard Worker    <queries>
26*b7c941bbSAndroid Build Coastguard Worker        <intent>
27*b7c941bbSAndroid Build Coastguard Worker            <action android:name="android.view.InputMethod" />
28*b7c941bbSAndroid Build Coastguard Worker        </intent>
29*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mocka11yime" />
30*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mockspellchecker" />
31*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mocklargeresourceime" />
32*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mockime"/>
33*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mockime2"/>
34*b7c941bbSAndroid Build Coastguard Worker        <package android:name="com.android.cts.mockimewithsubtypes" />
35*b7c941bbSAndroid Build Coastguard Worker    </queries>
36*b7c941bbSAndroid Build Coastguard Worker
37*b7c941bbSAndroid Build Coastguard Worker    <application android:label="CtsInputMethodTestCases"
38*b7c941bbSAndroid Build Coastguard Worker         android:requestLegacyExternalStorage="true"
39*b7c941bbSAndroid Build Coastguard Worker         android:multiArch="true"
40*b7c941bbSAndroid Build Coastguard Worker         android:supportsRtl="true"
41*b7c941bbSAndroid Build Coastguard Worker         android:debuggable="true"
42*b7c941bbSAndroid Build Coastguard Worker         android:testOnly="true">
43*b7c941bbSAndroid Build Coastguard Worker
44*b7c941bbSAndroid Build Coastguard Worker        <uses-library android:name="android.test.runner"/>
45*b7c941bbSAndroid Build Coastguard Worker
46*b7c941bbSAndroid Build Coastguard Worker        <!-- TestActivity etc are merged from util/AndroidManifest.xml -->
47*b7c941bbSAndroid Build Coastguard Worker        <activity
48*b7c941bbSAndroid Build Coastguard Worker            android:name="android.view.inputmethod.ctstestapp.MainActivity"
49*b7c941bbSAndroid Build Coastguard Worker            android:theme="@style/AppTheme"
50*b7c941bbSAndroid Build Coastguard Worker            android:exported="true"
51*b7c941bbSAndroid Build Coastguard Worker            android:label="CtsInputMethodStandaloneTestActivity"
52*b7c941bbSAndroid Build Coastguard Worker            android:windowSoftInputMode="stateAlwaysHidden"/>
53*b7c941bbSAndroid Build Coastguard Worker
54*b7c941bbSAndroid Build Coastguard Worker        <service android:name="android.view.inputmethod.cts.inprocime.InProcIme"
55*b7c941bbSAndroid Build Coastguard Worker                 android:label="In-Process Test IME"
56*b7c941bbSAndroid Build Coastguard Worker                 android:permission="android.permission.BIND_INPUT_METHOD"
57*b7c941bbSAndroid Build Coastguard Worker                 android:exported="true">
58*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
59*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.view.InputMethod"/>
60*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
61*b7c941bbSAndroid Build Coastguard Worker            <meta-data android:name="android.view.im" android:resource="@xml/inprocime"/>
62*b7c941bbSAndroid Build Coastguard Worker        </service>
63*b7c941bbSAndroid Build Coastguard Worker
64*b7c941bbSAndroid Build Coastguard Worker       <service android:name="android.view.inputmethod.cts.disapproveime.DisapproveInputMethodService"
65*b7c941bbSAndroid Build Coastguard Worker                 android:label="Disapprove IME"
66*b7c941bbSAndroid Build Coastguard Worker                 android:permission="android.permission.BIND_INPUT_METHOD"
67*b7c941bbSAndroid Build Coastguard Worker                 android:exported="true">
68*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
69*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.view.InputMethod"/>
70*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
71*b7c941bbSAndroid Build Coastguard Worker            <meta-data android:name="android.view.im" android:resource="@xml/disapproveime"/>
72*b7c941bbSAndroid Build Coastguard Worker        </service>
73*b7c941bbSAndroid Build Coastguard Worker
74*b7c941bbSAndroid Build Coastguard Worker        <uses-library android:name="androidx.window.extensions"
75*b7c941bbSAndroid Build Coastguard Worker                      android:required="false" />
76*b7c941bbSAndroid Build Coastguard Worker    </application>
77*b7c941bbSAndroid Build Coastguard Worker
78*b7c941bbSAndroid Build Coastguard Worker    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
79*b7c941bbSAndroid Build Coastguard Worker         android:label="CTS tests of android.view.inputmethod"
80*b7c941bbSAndroid Build Coastguard Worker         android:targetPackage="android.view.inputmethod.cts">
81*b7c941bbSAndroid Build Coastguard Worker    </instrumentation>
82*b7c941bbSAndroid Build Coastguard Worker
83*b7c941bbSAndroid Build Coastguard Worker</manifest>
84