1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- 4 * Copyright (C) 2012 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 xmlns:android="http://schemas.android.com/apk/res/android" 20 package="android.view.accessibility.cts" 21 android:targetSandboxVersion="2"> 22 23 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 24 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 25 26 <application android:theme="@android:style/Theme.Holo.NoActionBar" > 27 <uses-library android:name="android.test.runner"/> 28 <service android:name=".SpeakingAccessibilityService" 29 android:label="@string/title_speaking_accessibility_service" 30 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 31 <intent-filter> 32 <action android:name="android.accessibilityservice.AccessibilityService"/> 33 </intent-filter> 34 <meta-data android:name="android.accessibilityservice" 35 android:resource="@xml/speaking_accessibilityservice" /> 36 </service> 37 38 <service android:name=".VibratingAccessibilityService" 39 android:label="@string/title_vibrating_accessibility_service" 40 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 41 <intent-filter> 42 <action android:name="android.accessibilityservice.AccessibilityService"/> 43 </intent-filter> 44 <meta-data android:name="android.accessibilityservice" 45 android:resource="@xml/vibrating_accessibilityservice" /> 46 </service> 47 48 <service android:name=".SpeakingAndVibratingAccessibilityService" 49 android:label="@string/title_speaking_and_vibrating_accessibility_service" 50 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 51 <intent-filter> 52 <action android:name="android.accessibilityservice.AccessibilityService"/> 53 </intent-filter> 54 <meta-data android:name="android.accessibilityservice" 55 android:resource="@xml/speaking_and_vibrating_accessibilityservice" /> 56 </service> 57 58 <activity 59 android:label="@string/some_description" 60 android:name=".DummyActivity" 61 android:screenOrientation="locked"/> 62 63 </application> 64 65 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 66 android:targetPackage="android.view.accessibility.cts" 67 android:label="Tests for the accessibility APIs."> 68 <meta-data android:name="listener" 69 android:value="com.android.cts.runner.CtsTestRunListener" /> 70 </instrumentation> 71 72</manifest> 73