1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- 4 ~ Copyright (C) 2020 The Android Open Source Project 5 ~ 6 ~ Licensed under the Apache License, Version 2.0 (the "License"); 7 ~ you may not use this file except in compliance with the License. 8 ~ You may obtain a copy of the License at 9 ~ 10 ~ http://www.apache.org/licenses/LICENSE-2.0 11 ~ 12 ~ Unless required by applicable law or agreed to in writing, software 13 ~ distributed under the License is distributed on an "AS IS" BASIS, 14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ~ See the License for the specific language governing permissions and 16 ~ limitations under the License. 17 --> 18 19<manifest 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 package="android.permissionui.cts"> 22 23 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 24 <uses-permission android:name="android.permission.GET_TASKS" /> 25 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 26 <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> 27 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> 28 29 <application> 30 31 <uses-library android:name="android.test.runner" /> 32 33 <service android:name="android.permission.cts.CtsNotificationListenerService" 34 android:exported="true" 35 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> 36 <intent-filter> 37 <action android:name="android.service.notification.NotificationListenerService"/> 38 </intent-filter> 39 </service> 40 41 <activity android:name="com.android.compatibility.common.util.FutureResultActivity" /> 42 <activity 43 android:name=".StartForFutureActivity" 44 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"/> 45 46 <activity android:name=".TestInstallerActivity" 47 android:exported="true" 48 android:enabled="false" 49 android:launchMode="singleInstance"> 50 <intent-filter> 51 <action android:name="android.intent.action.MAIN" /> 52 <category android:name="android.intent.category.DEFAULT" /> 53 </intent-filter> 54 <intent-filter> 55 <action android:name="android.intent.action.SHOW_APP_INFO" /> 56 <category android:name="android.intent.category.DEFAULT" /> 57 </intent-filter> 58 </activity> 59 60 <service android:name=".AccessibilityTestService1" 61 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 62 android:label="@string/test_accessibility_service" 63 android:exported="true"> 64 <intent-filter> 65 <action android:name="android.accessibilityservice.AccessibilityService"/> 66 </intent-filter> 67 <meta-data android:name="android.accessibilityservice" 68 android:resource="@xml/test_accessibilityservice"/> 69 </service> 70 71 <service android:name=".AccessibilityTestService2" 72 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 73 android:label="@string/test_accessibility_service_2" 74 android:exported="true"> 75 <intent-filter> 76 <action android:name="android.accessibilityservice.AccessibilityService"/> 77 </intent-filter> 78 <meta-data android:name="android.accessibilityservice" 79 android:resource="@xml/test_accessibilityservice"/> 80 </service> 81 82 </application> 83 84 <instrumentation 85 android:name="androidx.test.runner.AndroidJUnitRunner" 86 android:targetPackage="android.permissionui.cts" 87 android:label="CTS UI tests for permissions"> 88 </instrumentation> 89</manifest> 90