1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2007 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.app.cts"> 20 21 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 22 <uses-permission android:name="android.permission.BODY_SENSORS" /> 23 <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED" /> 24 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> 25 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> 26 <uses-permission android:name="android.permission.ACCESS_NOTIFICATIONS" /> 27 <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG" /> 28 <uses-permission android:name="android.permission.READ_PROJECTION_STATE" /> 29 <uses-permission android:name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" /> 30 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> 31 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> 32 <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> 33 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION"/> 34 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 35 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 36 37 <queries> 38 <intent> 39 <action android:name="android.settings.MANAGE_APP_USE_FULL_SCREEN_INTENT" /> 40 <data android:scheme="package" /> 41 </intent> 42 </queries> 43 44 <application android:usesCleartextTraffic="true"> 45 <uses-library android:name="android.test.runner" /> 46 <uses-library android:name="org.apache.http.legacy" android:required="false" /> 47 48 <service android:name=".InstrumentationHelperService" 49 android:exported="true" 50 android:process=":helper" /> 51 </application> 52 53 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 54 android:targetPackage="android.app.stubs" 55 android:label="CTS tests of android.app"> 56 </instrumentation> 57 58 <instrumentation android:name=".DefaultProcessInstrumentation" 59 android:targetPackage="com.android.cts.launcherapps.simpleapp"> 60 </instrumentation> 61 62 <instrumentation android:name=".AltProcessInstrumentation" 63 android:targetPackage="com.android.cts.launcherapps.simpleapp" 64 android:targetProcesses="com.android.cts.launcherapps.simpleapp:other"> 65 </instrumentation> 66 67 <instrumentation android:name=".WildcardProcessInstrumentation" 68 android:targetPackage="com.android.cts.launcherapps.simpleapp" 69 android:targetProcesses="*"> 70 </instrumentation> 71 72 <instrumentation android:name=".MultiProcessInstrumentation" 73 android:targetPackage="com.android.cts.launcherapps.simpleapp" 74 android:targetProcesses="com.android.cts.launcherapps.simpleapp:other,com.android.cts.launcherapps.simpleapp"> 75 </instrumentation> 76 77 <instrumentation android:name=".ChainedInstrumentationFirst" 78 android:targetPackage="com.android.test.cantsavestate1" > 79 </instrumentation> 80 81 <instrumentation android:name=".ChainedInstrumentationSecond" 82 android:targetPackage="com.android.test.cantsavestate2" > 83 </instrumentation> 84</manifest> 85