Home | History | Annotate | Download | only in accessibilityservice
      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           android:targetSandboxVersion="2">
     21 
     22     <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
     23     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
     24     <uses-permission android:name="android.permission.USE_FINGERPRINT" />
     25 
     26     <application android:theme="@android:style/Theme.Holo.NoActionBar">
     27 
     28         <uses-library android:name="android.test.runner" />
     29 
     30         <activity
     31             android:label="@string/accessibility_end_to_end_test_activity"
     32             android:name=".activities.AccessibilityEndToEndActivity"
     33             android:screenOrientation="portrait"/>
     34 
     35         <activity
     36             android:label="@string/accessibility_query_window_test_activity"
     37             android:name=".activities.AccessibilityWindowQueryActivity"
     38             android:supportsPictureInPicture="true"
     39             android:screenOrientation="portrait"/>
     40 
     41         <activity
     42             android:label="@string/accessibility_view_tree_reporting_test_activity"
     43             android:name=".activities.AccessibilityViewTreeReportingActivity"
     44             android:screenOrientation="portrait"/>
     45 
     46         <activity
     47             android:label="@string/accessibility_focus_and_input_focus_sync_test_activity"
     48             android:name=".activities.AccessibilityFocusAndInputFocusSyncActivity"
     49             android:screenOrientation="portrait"/>
     50 
     51         <activity
     52             android:label="@string/accessibility_text_traversal_test_activity"
     53             android:name=".activities.AccessibilityTextTraversalActivity"
     54             android:screenOrientation="portrait"/>
     55 
     56         <activity android:label="Activity for testing window accessibility reporting"
     57              android:name=".activities.AccessibilityWindowReportingActivity"
     58              android:supportsPictureInPicture="true"
     59              android:screenOrientation="portrait"/>
     60 
     61         <activity
     62             android:label="Full screen activity for gesture dispatch testing"
     63             android:name=".AccessibilityGestureDispatchTest$GestureDispatchActivity"
     64             android:screenOrientation="portrait" />
     65 
     66         <activity
     67             android:label="@string/accessibility_soft_keyboard_modes_activity"
     68             android:name=".AccessibilitySoftKeyboardModesTest$SoftKeyboardModesActivity" />
     69 
     70         <service
     71                 android:name=".StubGestureAccessibilityService"
     72                 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
     73             <intent-filter>
     74                 <action android:name="android.accessibilityservice.AccessibilityService" />
     75                 <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
     76             </intent-filter>
     77 
     78             <meta-data
     79                 android:name="android.accessibilityservice"
     80                 android:resource="@xml/stub_gesture_dispatch_a11y_service" />
     81         </service>
     82 
     83         <service
     84                 android:name=".AccessibilityGestureDetectorTest$StubService"
     85                 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
     86             <intent-filter>
     87                 <action android:name="android.accessibilityservice.AccessibilityService" />
     88                 <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
     89             </intent-filter>
     90             <meta-data
     91                     android:name="android.accessibilityservice"
     92                     android:resource="@xml/stub_gesture_detect_a11y_service" />
     93         </service>
     94 
     95         <service
     96             android:name=".InstrumentedAccessibilityService"
     97             android:label="@string/title_soft_keyboard_modes_accessibility_service"
     98             android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
     99             <intent-filter>
    100                 <action android:name="android.accessibilityservice.AccessibilityService" />
    101                 <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
    102             </intent-filter>
    103             <meta-data
    104                 android:name="android.accessibilityservice"
    105                 android:resource="@xml/stub_soft_keyboard_modes_accessibility_service" />
    106         </service>
    107 
    108         <service
    109             android:name=".StubMagnificationAccessibilityService"
    110             android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
    111             <intent-filter>
    112                 <action android:name="android.accessibilityservice.AccessibilityService" />
    113                 <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
    114             </intent-filter>
    115 
    116             <meta-data
    117                 android:name="android.accessibilityservice"
    118                 android:resource="@xml/stub_magnification_a11y_service" />
    119         </service>
    120 
    121         <service
    122             android:name=".StubFingerprintGestureService"
    123             android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
    124             <intent-filter>
    125                 <action android:name="android.accessibilityservice.AccessibilityService" />
    126                 <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
    127             </intent-filter>
    128 
    129             <meta-data
    130                     android:name="android.accessibilityservice"
    131                     android:resource="@xml/stub_fingerprint_gesture_service" />
    132         </service>
    133 
    134         <service
    135             android:name=".StubAccessibilityButtonService"
    136             android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
    137             <intent-filter>
    138                 <action android:name="android.accessibilityservice.AccessibilityService" />
    139                 <category android:name="android.accessibilityservice.category.FEEDBACK_GENERIC" />
    140             </intent-filter>
    141 
    142             <meta-data
    143                 android:name="android.accessibilityservice"
    144                 android:resource="@xml/stub_accessibility_button_service" />
    145         </service>
    146 
    147     </application>
    148 
    149     <instrumentation
    150         android:name="android.support.test.runner.AndroidJUnitRunner"
    151         android:targetPackage="android.accessibilityservice.cts"
    152         android:label="Tests for the accessibility APIs.">
    153         <meta-data
    154             android:name="listener"
    155             android:value="com.android.cts.runner.CtsTestRunListener" />
    156 
    157     </instrumentation>
    158 
    159 </manifest>
    160