summaryrefslogtreecommitdiff
path: root/tests/VoiceInteraction/AndroidManifest.xml
blob: 5d8cea783dd742bb9076400e82821ad798c9ca95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.android.test.voiceinteraction">

    <uses-sdk android:minSdkVersion="23"
         android:targetSdkVersion="25"/>

    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
    <uses-permission android:name="android.permission.READ_LOGS"/>

    <application>
        <activity android:name="VoiceInteractionMain"
             android:label="Voice Interaction"
             android:theme="@android:style/Theme.Material"
             android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity android:name="AssistProxyActivity"
             android:label="Test Assist Proxy"
             android:theme="@android:style/Theme.NoDisplay"
             android:excludeFromRecents="true"
             android:noHistory="true"
             android:taskAffinity=""
             android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.ASSIST"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
        </activity>
        <activity android:name="SettingsActivity"
             android:label="Voice Interaction Settings"
             android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
        </activity>
        <service android:name="MainInteractionService"
             android:label="Test Voice Interaction Service"
             android:permission="android.permission.BIND_VOICE_INTERACTION"
             android:process=":interactor"
             android:exported="true">
            <meta-data android:name="android.voice_interaction"
                 android:resource="@xml/interaction_service"/>
            <intent-filter>
                <action android:name="android.service.voice.VoiceInteractionService"/>
            </intent-filter>
        </service>
        <service android:name="MainInteractionSessionService"
             android:permission="android.permission.BIND_VOICE_INTERACTION"
             android:process=":session">
        </service>
        <service android:name="MainRecognitionService"
             android:label="Test Voice Interaction Service"
             android:exported="true">
            <intent-filter>
                <action android:name="android.speech.RecognitionService"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
            <meta-data android:name="android.speech"
                 android:resource="@xml/recognition_service"/>
        </service>
        <activity android:name="TestInteractionActivity"
             android:label="Voice Interaction Target"
             android:theme="@android:style/Theme.Material.Light"
             android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.VOICE"/>
            </intent-filter>
        </activity>
        <activity android:name="StartVoiceInteractionActivity"
             android:label="In-Activity Voice"
             android:theme="@android:style/Theme.Material.Light"
             android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
    </application>
</manifest>