1 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.android.test.voiceinteraction"> 3 4 <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="25" /> 5 6 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> 7 <uses-permission android:name="android.permission.READ_LOGS" /> 8 9 <application> 10 <activity android:name="VoiceInteractionMain" android:label="Voice Interaction" 11 android:theme="@android:style/Theme.Material"> 12 <intent-filter> 13 <action android:name="android.intent.action.MAIN" /> 14 <category android:name="android.intent.category.DEFAULT" /> 15 <category android:name="android.intent.category.LAUNCHER" /> 16 </intent-filter> 17 </activity> 18 <activity android:name="AssistProxyActivity" 19 android:label="Test Assist Proxy" 20 android:theme="@android:style/Theme.NoDisplay" 21 android:excludeFromRecents="true" 22 android:noHistory="true" 23 android:taskAffinity=""> 24 <intent-filter> 25 <action android:name="android.intent.action.ASSIST" /> 26 <category android:name="android.intent.category.DEFAULT" /> 27 </intent-filter> 28 </activity> 29 <activity android:name="SettingsActivity" 30 android:label="Voice Interaction Settings"> 31 <intent-filter> 32 <action android:name="android.intent.action.MAIN" /> 33 <category android:name="android.intent.category.DEFAULT" /> 34 </intent-filter> 35 </activity> 36 <service android:name="MainInteractionService" 37 android:label="Test Voice Interaction Service" 38 android:permission="android.permission.BIND_VOICE_INTERACTION" 39 android:process=":interactor"> 40 <meta-data android:name="android.voice_interaction" 41 android:resource="@xml/interaction_service" /> 42 <intent-filter> 43 <action android:name="android.service.voice.VoiceInteractionService" /> 44 </intent-filter> 45 </service> 46 <service android:name="MainInteractionSessionService" 47 android:permission="android.permission.BIND_VOICE_INTERACTION" 48 android:process=":session"> 49 </service> 50 <service android:name="MainRecognitionService" 51 android:label="Test Voice Interaction Service"> 52 <intent-filter> 53 <action android:name="android.speech.RecognitionService" /> 54 <category android:name="android.intent.category.DEFAULT" /> 55 </intent-filter> 56 <meta-data android:name="android.speech" android:resource="@xml/recognition_service" /> 57 </service> 58 <activity android:name="TestInteractionActivity" android:label="Voice Interaction Target" 59 android:theme="@android:style/Theme.Material.Light"> 60 <intent-filter> 61 <action android:name="android.intent.action.MAIN" /> 62 <category android:name="android.intent.category.DEFAULT" /> 63 <category android:name="android.intent.category.VOICE" /> 64 </intent-filter> 65 </activity> 66 <activity android:name="StartVoiceInteractionActivity" android:label="In-Activity Voice" 67 android:theme="@android:style/Theme.Material.Light"> 68 <intent-filter> 69 <action android:name="android.intent.action.MAIN" /> 70 <category android:name="android.intent.category.DEFAULT" /> 71 <category android:name="android.intent.category.LAUNCHER" /> 72 </intent-filter> 73 </activity> 74 </application> 75 </manifest> 76