Home | History | Annotate | Download | only in service
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  * Copyright (C) 2015 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.assist.service">
     20 
     21     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
     22 
     23     <application>
     24       <uses-library android:name="android.test.runner" />
     25       <service android:name=".MainInteractionService"
     26               android:label="CTS test voice interaction service"
     27               android:permission="android.permission.BIND_VOICE_INTERACTION"
     28               android:process=":interactor"
     29               android:exported="true">
     30           <meta-data android:name="android.voice_interaction"
     31                      android:resource="@xml/interaction_service" />
     32           <intent-filter>
     33               <action android:name="android.service.voice.VoiceInteractionService" />
     34           </intent-filter>
     35       </service>
     36       <activity android:name=".DisableContextActivity" >
     37           <intent-filter>
     38               <action android:name="android.intent.action.START_TEST_DISABLE_CONTEXT" />
     39               <category android:name="android.intent.category.DEFAULT" />
     40           </intent-filter>
     41       </activity>
     42       <activity android:name=".DelayedAssistantActivity"
     43                 android:label="Delay Assistant Start Activity">
     44           <intent-filter>
     45               <action android:name="android.intent.action.START_TEST_ASSIST_STRUCTURE" />
     46               <action android:name="android.intent.action.START_TEST_LIFECYCLE" />
     47               <action android:name="android.intent.action.START_TEST_LIFECYCLE_NOUI" />
     48               <action android:name="android.intent.action.START_TEST_FLAG_SECURE" />
     49               <action android:name="android.intent.action.START_TEST_SCREENSHOT" />
     50               <action android:name="android.intent.action.START_TEST_EXTRA_ASSIST" />
     51               <action android:name="android.intent.action.START_TEST_TEXTVIEW" />
     52               <action android:name="android.intent.action.START_TEST_LARGE_VIEW_HIERARCHY" />
     53               <category android:name="android.intent.category.DEFAULT" />
     54           </intent-filter>
     55       </activity>
     56       <service android:name=".MainInteractionSessionService"
     57               android:permission="android.permission.BIND_VOICE_INTERACTION"
     58               android:process=":session">
     59       </service>
     60       <service android:name=".MainRecognitionService"
     61               android:label="CTS Voice Recognition Service">
     62           <intent-filter>
     63               <action android:name="android.speech.RecognitionService" />
     64               <category android:name="android.intent.category.DEFAULT" />
     65           </intent-filter>
     66           <meta-data android:name="android.speech" android:resource="@xml/recognition_service" />
     67       </service>
     68     </application>
     69 </manifest>
     70 
     71