1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2020 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" package="android.input.cts"> 19 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 20 <application android:label="InputTest"> 21 <activity android:name=".OverlayActivity" 22 android:label="Overlay activity" 23 android:process=":externalProcess" 24 android:theme="@android:style/Theme.Dialog" 25 android:exported="true"> 26 <layout android:defaultHeight="100dp" 27 android:defaultWidth="100dp" 28 android:gravity="bottom" 29 android:minHeight="100dp" 30 android:minWidth="100dp" /> 31 </activity> 32 <receiver android:name=".OverlayFocusedBroadcastReceiver" android:exported="true"> 33 <intent-filter> 34 <action android:name="android.input.cts.action.OVERLAY_ACTIVITY_FOCUSED"/> 35 </intent-filter> 36 </receiver> 37 38 <activity android:name="android.input.cts.IncompleteMotionActivity" 39 android:label="IncompleteMotion activity" 40 android:turnScreenOn="true" 41 android:exported="true"> 42 </activity> 43 <activity android:name="android.input.cts.CaptureEventActivity" 44 android:label="Capture events" 45 android:configChanges="touchscreen|uiMode|orientation|screenSize|screenLayout|keyboardHidden|uiMode|navigation|keyboard|density|fontScale|layoutDirection|locale|mcc|mnc|smallestScreenSize" 46 android:turnScreenOn="true" 47 android:exported="true"> 48 </activity> 49 <activity android:name="android.app.Activity" 50 android:label="Empty activity for simple tests" 51 android:turnScreenOn="true" 52 android:exported="true"> 53 </activity> 54 55 <receiver android:name="android.input.cts.KeyboardLayoutTest.CtsKeyboardLayoutProvider" 56 android:label="CTS keyboard layout provider" 57 android:exported="true"> 58 <intent-filter> 59 <action android:name="android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS" /> 60 </intent-filter> 61 <meta-data android:name="android.hardware.input.metadata.KEYBOARD_LAYOUTS" 62 android:resource="@xml/keyboard_layouts" /> 63 </receiver> 64 </application> 65 66 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 67 android:targetPackage="android.input.cts" 68 android:label="Tests for input APIs and behaviours."> 69 </instrumentation> 70</manifest> 71