blob: 212ec14b493952a90b967ba6c1627d683829a4d0 [file] [log] [blame]
Lan Weifd646fe2022-10-10 15:28:04 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.frameworks.inputmethodtests">
19
20 <uses-sdk android:targetSdkVersion="31" />
czqc841a4a2022-11-09 16:40:36 +080021 <queries>
22 <intent>
23 <action android:name="android.view.InputMethod" />
24 </intent>
25 </queries>
Lan Weifd646fe2022-10-10 15:28:04 +080026
27 <!-- Permissions required for granting and logging -->
28 <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/>
29 <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/>
30 <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG"/>
31 <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD"/>
32
33 <!-- Permissions for reading system info -->
34 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
35 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
36
czqc841a4a2022-11-09 16:40:36 +080037 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/>
38 <uses-permission android:name="android.permission.BIND_INPUT_METHOD" />
39
Lan Weifd646fe2022-10-10 15:28:04 +080040 <application android:testOnly="true"
41 android:debuggable="true">
42 <uses-library android:name="android.test.runner" />
czqc841a4a2022-11-09 16:40:36 +080043 <service android:name="com.android.server.inputmethod.InputMethodBindingControllerTest$EmptyInputMethodService"
44 android:label="Empty IME"
45 android:permission="android.permission.BIND_INPUT_METHOD"
46 android:process=":service"
47 android:exported="true">
48 <intent-filter>
49 <action android:name="android.view.InputMethod"/>
50 </intent-filter>
51 <meta-data android:name="android.view.im"
52 android:resource="@xml/method"/>
53 </service>
Lan Weifd646fe2022-10-10 15:28:04 +080054 </application>
55
56 <instrumentation
57 android:name="androidx.test.runner.AndroidJUnitRunner"
58 android:targetPackage="com.android.frameworks.inputmethodtests"
59 android:label="Frameworks InputMethod System Service Tests" />
60
61</manifest>