1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2012 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.view.accessibility.cts" 20 android:targetSandboxVersion="2"> 21 22 <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/> 23 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 24 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/> 25 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 26 27 <queries> 28 <intent> 29 <action android:name="android.intent.action.MAIN" /> 30 </intent> 31 </queries> 32 33 <application android:theme="@android:style/Theme.Holo.NoActionBar" 34 android:requestLegacyExternalStorage="true"> 35 <uses-library android:name="android.test.runner"/> 36 <service android:name=".SpeakingAccessibilityService" 37 android:label="@string/title_speaking_accessibility_service" 38 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 39 android:exported="true"> 40 <intent-filter> 41 <action android:name="android.accessibilityservice.AccessibilityService"/> 42 </intent-filter> 43 <meta-data android:name="android.accessibilityservice" 44 android:resource="@xml/speaking_accessibilityservice"/> 45 </service> 46 47 <service android:name=".VibratingAccessibilityService" 48 android:label="@string/title_vibrating_accessibility_service" 49 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 50 android:exported="true"> 51 <intent-filter> 52 <action android:name="android.accessibilityservice.AccessibilityService"/> 53 </intent-filter> 54 <meta-data android:name="android.accessibilityservice" 55 android:resource="@xml/vibrating_accessibilityservice"/> 56 </service> 57 58 <service android:name=".SpeakingAndVibratingAccessibilityService" 59 android:label="@string/title_speaking_and_vibrating_accessibility_service" 60 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 61 android:exported="true"> 62 <intent-filter> 63 <action android:name="android.accessibilityservice.AccessibilityService"/> 64 </intent-filter> 65 <meta-data android:name="android.accessibilityservice" 66 android:resource="@xml/speaking_and_vibrating_accessibilityservice"/> 67 </service> 68 69 <service android:name=".NoFeedbackAccessibilityService" 70 android:label="@string/title_no_feedback_accessibility_service" 71 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 72 android:exported="true"> 73 <intent-filter> 74 <action android:name="android.accessibilityservice.AccessibilityService"/> 75 </intent-filter> 76 <meta-data android:name="android.accessibilityservice" 77 android:resource="@xml/no_feedback_accessibilityservice"/> 78 </service> 79 80 <service android:name=".AccessibilityButtonService" 81 android:label="@string/title_accessibility_button_service" 82 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" 83 android:exported="true"> 84 <intent-filter> 85 <action android:name="android.accessibilityservice.AccessibilityService"/> 86 </intent-filter> 87 <meta-data android:name="android.accessibilityservice" 88 android:resource="@xml/accessibility_button_service"/> 89 </service> 90 91 <activity android:label="@string/some_description" 92 android:name=".DummyActivity" 93 android:screenOrientation="locked"/> 94 95 <activity android:name=".AccessibilityShortcutTargetActivity" 96 android:label="@string/shortcut_target_title" 97 android:exported="true"> 98 <intent-filter> 99 <action android:name="android.intent.action.MAIN"/> 100 <category android:name="android.intent.category.ACCESSIBILITY_SHORTCUT_TARGET"/> 101 </intent-filter> 102 <meta-data android:name="android.accessibilityshortcut.target" 103 android:resource="@xml/shortcut_target_activity"/> 104 </activity> 105 106 <activity android:name=".AccessibilityEventAndCacheTest$TestActivity" 107 android:screenOrientation="locked" 108 android:exported="true" /> 109 110 </application> 111 112 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 113 android:targetPackage="android.view.accessibility.cts" 114 android:label="Tests for the accessibility APIs."> 115 </instrumentation> 116 117</manifest> 118