Xml文件  |  139行  |  5.86 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (C) 2010 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="android.accessibilityservice.cts">

    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
    <uses-permission android:name="android.permission.USE_FINGERPRINT" />

    <application android:theme="@android:style/Theme.Holo.NoActionBar">

        <uses-library android:name="android.test.runner" />

        <activity
            android:label="@string/accessibility_end_to_end_test_activity"
            android:name=".AccessibilityEndToEndActivity" />

        <activity
            android:label="@string/accessibility_query_window_test_activity"
            android:name=".AccessibilityWindowQueryActivity"
            android:supportsPictureInPicture="true" />

        <activity
            android:label="@string/accessibility_view_tree_reporting_test_activity"
            android:name=".AccessibilityViewTreeReportingActivity" />

        <activity
            android:label="@string/accessibility_focus_and_input_focus_sync_test_activity"
            android:name=".AccessibilityFocusAndInputFocusSyncActivity" />

        <activity
            android:label="@string/accessibility_text_traversal_test_activity"
            android:name=".AccessibilityTextTraversalActivity"/>

        <activity android:label="Activity for testing window accessibility reporting"
             android:name=".AccessibilityWindowReportingActivity"/>

        <activity
            android:label="Full screen activity for gesture dispatch testing"
            android:name=".AccessibilityGestureDispatchTest$GestureDispatchActivity" />

        <service
            android:name=".StubGestureAccessibilityService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
            <intent-filter>
                <action android:name="android.accessibilityservice.AccessibilityService" />
                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
            </intent-filter>

            <meta-data
                android:name="android.accessibilityservice"
                android:resource="@xml/stub_gesture_a11y_service" />
        </service>

        <activity
            android:label="@string/accessibility_soft_keyboard_modes_activity"
            android:name=".AccessibilitySoftKeyboardModesTest$SoftKeyboardModesActivity" />

        <service
            android:name=".InstrumentedAccessibilityService"
            android:label="@string/title_soft_keyboard_modes_accessibility_service"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
            <intent-filter>
                <action android:name="android.accessibilityservice.AccessibilityService" />
                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
            </intent-filter>
            <meta-data
                android:name="android.accessibilityservice"
                android:resource="@xml/stub_soft_keyboard_modes_accessibility_service" />
        </service>

        <service
            android:name=".StubMagnificationAccessibilityService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
            <intent-filter>
                <action android:name="android.accessibilityservice.AccessibilityService" />
                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
            </intent-filter>

            <meta-data
                android:name="android.accessibilityservice"
                android:resource="@xml/stub_magnification_a11y_service" />
        </service>

        <service
            android:name=".StubFingerprintGestureService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
            <intent-filter>
                <action android:name="android.accessibilityservice.AccessibilityService" />
                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
            </intent-filter>

            <meta-data
                    android:name="android.accessibilityservice"
                    android:resource="@xml/stub_fingerprint_gesture_service" />
        </service>

        <service
            android:name=".StubAccessibilityButtonService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
            <intent-filter>
                <action android:name="android.accessibilityservice.AccessibilityService" />
                <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
            </intent-filter>

            <meta-data
                android:name="android.accessibilityservice"
                android:resource="@xml/stub_accessibility_button_service" />
        </service>

    </application>

    <instrumentation
        android:name="android.support.test.runner.AndroidJUnitRunner"
        android:targetPackage="android.accessibilityservice.cts"
        android:label="Tests for the accessibility APIs.">
        <meta-data
            android:name="listener"
            android:value="com.android.cts.runner.CtsTestRunListener" />

    </instrumentation>

</manifest>