1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2010 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.accessibilityservice.cts">
20
21    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
22    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
23
24    <application android:theme="@android:style/Theme.Holo.NoActionBar">
25
26        <uses-library android:name="android.test.runner" />
27
28        <activity
29            android:label="@string/accessibility_end_to_end_test_activity"
30            android:name=".AccessibilityEndToEndActivity" />
31
32        <activity
33            android:label="@string/accessibility_query_window_test_activity"
34            android:name=".AccessibilityWindowQueryActivity" />
35
36        <activity
37            android:label="@string/accessibility_view_tree_reporting_test_activity"
38            android:name=".AccessibilityViewTreeReportingActivity" />
39
40        <activity
41            android:label="@string/accessibility_focus_and_input_focus_sync_test_activity"
42            android:name=".AccessibilityFocusAndInputFocusSyncActivity" />
43
44        <activity
45            android:label="@string/accessibility_text_traversal_test_activity"
46            android:name=".AccessibilityTextTraversalActivity"/>
47
48        <activity android:label="Activity for testing window accessibility reporting"
49             android:name=".AccessibilityWindowReportingActivity"/>
50
51        <activity
52            android:label="Full screen activity for gesture dispatch testing"
53            android:name=".AccessibilityGestureDispatchTest$GestureDispatchActivity" />
54
55        <service
56            android:name=".StubGestureAccessibilityService"
57            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
58            <intent-filter>
59                <action android:name="android.accessibilityservice.AccessibilityService" />
60                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
61            </intent-filter>
62
63            <meta-data
64                android:name="android.accessibilityservice"
65                android:resource="@xml/stub_gesture_a11y_service" />
66        </service>
67
68        <activity
69            android:label="@string/accessibility_soft_keyboard_modes_activity"
70            android:name=".AccessibilitySoftKeyboardModesTest$SoftKeyboardModesActivity"
71            android:windowSoftInputMode="stateAlwaysVisible" />
72
73        <service
74            android:name=".InstrumentedAccessibilityService"
75            android:label="@string/title_soft_keyboard_modes_accessibility_service"
76            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
77            <intent-filter>
78                <action android:name="android.accessibilityservice.AccessibilityService" />
79                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
80            </intent-filter>
81            <meta-data
82                android:name="android.accessibilityservice"
83                android:resource="@xml/stub_soft_keyboard_modes_accessibility_service" />
84        </service>
85
86        <service
87            android:name=".StubMagnificationAccessibilityService"
88            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
89            <intent-filter>
90                <action android:name="android.accessibilityservice.AccessibilityService" />
91                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
92            </intent-filter>
93
94            <meta-data
95                android:name="android.accessibilityservice"
96                android:resource="@xml/stub_magnification_a11y_service" />
97        </service>
98
99    </application>
100
101    <instrumentation
102        android:name="android.support.test.runner.AndroidJUnitRunner"
103        android:targetPackage="android.accessibilityservice.cts"
104        android:label="Tests for the accessibility APIs.">
105        <meta-data
106            android:name="listener"
107            android:value="com.android.cts.runner.CtsTestRunListener" />
108
109    </instrumentation>
110
111</manifest>
112