Home | History | Annotate | Download | only in inputmethod
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright (C) 2017 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.inputmethod.cts"
     20     android:targetSandboxVersion="2">
     21 
     22     <application
     23         android:label="CtsInputMethodTestCases"
     24         android:multiArch="true"
     25         android:supportsRtl="true">
     26 
     27         <uses-library android:name="android.test.runner" />
     28 
     29         <activity
     30             android:name="android.view.inputmethod.cts.InputMethodCtsActivity"
     31             android:label="InputMethodCtsActivity">
     32             <intent-filter>
     33                 <action android:name="android.intent.action.MAIN" />
     34                 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
     35             </intent-filter>
     36         </activity>
     37 
     38         <activity
     39             android:name="android.view.inputmethod.cts.util.TestActivity"
     40             android:label="TestActivity">
     41             <intent-filter>
     42                 <action android:name="android.intent.action.MAIN" />
     43                 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
     44             </intent-filter>
     45         </activity>
     46 
     47         <activity
     48             android:name="android.view.inputmethod.cts.util.StateInitializeActivity"
     49             android:label="StateInitializeActivity">
     50             <intent-filter>
     51                 <action android:name="android.intent.action.MAIN" />
     52                 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
     53             </intent-filter>
     54         </activity>
     55 
     56         <!-- In order to test typical use cases, let this MockIME run in a separate process -->
     57         <!--
     58           TODO: Move this sevice definition into MockIME package and let the build system to merge
     59           manifests once soong supports to build aar package.
     60         -->
     61         <service
     62             android:name="com.android.cts.mockime.MockIme"
     63             android:label="Mock IME"
     64             android:permission="android.permission.BIND_INPUT_METHOD"
     65             android:process=":mockime">
     66             <intent-filter>
     67                 <action android:name="android.view.InputMethod" />
     68             </intent-filter>
     69             <meta-data
     70                 android:name="android.view.im"
     71                 android:resource="@xml/method" />
     72         </service>
     73 
     74         <!--
     75           In order to test window-focus-stealing from other process, let this service run in a
     76           separate process. -->
     77         <service android:name="android.view.inputmethod.cts.util.WindowFocusStealerService"
     78             android:process=":focusstealer"
     79             android:exported="false">
     80         </service>
     81 
     82     </application>
     83 
     84     <instrumentation
     85         android:name="android.support.test.runner.AndroidJUnitRunner"
     86         android:label="CTS tests of android.view.inputmethod"
     87         android:targetPackage="android.view.inputmethod.cts">
     88         <meta-data
     89             android:name="listener"
     90             android:value="com.android.cts.runner.CtsTestRunListener" />
     91     </instrumentation>
     92 
     93 </manifest>
     94