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