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 20 <uses-permission android:name="android.permission.INJECT_EVENTS"/> 21 22 <application android:label="InputTest"> 23 <activity android:name=".OverlayActivity" 24 android:label="Overlay activity" 25 android:process=":externalProcess" 26 android:theme="@android:style/Theme.Dialog" 27 android:exported="true"> 28 <layout android:defaultHeight="100dp" 29 android:defaultWidth="100dp" 30 android:gravity="bottom" 31 android:minHeight="100dp" 32 android:minWidth="100dp" /> 33 </activity> 34 <receiver android:name=".OverlayFocusedBroadcastReceiver" android:exported="true"> 35 <intent-filter> 36 <action android:name="android.input.cts.action.OVERLAY_ACTIVITY_FOCUSED"/> 37 </intent-filter> 38 </receiver> 39 40 <activity android:name="android.input.cts.IncompleteMotionActivity" 41 android:label="IncompleteMotion activity" 42 android:turnScreenOn="true" 43 android:exported="true"> 44 </activity> 45 <activity android:name="android.input.cts.CaptureEventActivity" 46 android:label="Capture events" 47 android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|navigation|keyboard|density|fontScale|layoutDirection|locale|mcc|mnc|smallestScreenSize" 48 android:turnScreenOn="true" 49 android:exported="true"> 50 </activity> 51 <activity android:name="android.app.Activity" 52 android:label="Empty activity for simple tests" 53 android:turnScreenOn="true" 54 android:exported="true"> 55 </activity> 56 </application> 57 58 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 59 android:targetPackage="android.input.cts" 60 android:label="Tests for input APIs and behaviours."> 61 </instrumentation> 62</manifest> 63