AndroidManifest.xml revision ca766d28471cc41d9ef33682a41edd1f99448d42
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18          coreApp="true"
19          package="com.android.server.telecom.testapps">
20
21    <uses-sdk
22        android:minSdkVersion="23"
23        android:targetSdkVersion="23" />
24
25    <uses-permission android:name="android.permission.CAMERA" />
26    <uses-permission android:name="android.permission.CALL_PHONE" />
27    <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
28    <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
29    <uses-permission android:name="android.permission.READ_CALL_LOG" />
30    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
31    <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
32    <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
33    <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
34    <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
35
36    <application android:label="@string/app_name">
37        <uses-library android:name="android.test.runner" />
38
39        <!-- Miscellaneous telecom app-related test activities. -->
40
41        <service android:name="com.android.server.telecom.testapps.TestConnectionService"
42                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
43            <intent-filter>
44                <action android:name="android.telecom.ConnectionService" />
45            </intent-filter>
46        </service>
47
48        <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
49                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
50            <intent-filter>
51                <action android:name="android.telecom.ConnectionService" />
52            </intent-filter>
53        </service>
54
55        <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
56                 android:process="com.android.server.telecom.testapps.TestInCallService"
57                 android:permission="android.permission.BIND_INCALL_SERVICE" >
58            <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/>
59            <intent-filter>
60                <action android:name="android.telecom.InCallService"/>
61            </intent-filter>
62        </service>
63
64        <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
65                 android:process="com.android.server.telecom.testapps.TestInCallService" >
66            <intent-filter>
67                <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
68                <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
69                <data android:scheme="int" />
70            </intent-filter>
71        </receiver>
72
73        <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
74                android:process="com.android.server.telecom.testapps.TestInCallService"
75                android:label="@string/inCallUiAppLabel"
76                android:launchMode="singleInstance">
77            <intent-filter>
78                <action android:name="android.intent.action.MAIN" />
79                <category android:name="android.intent.category.DEFAULT" />
80                <category android:name="android.intent.category.LAUNCHER" />
81            </intent-filter>
82        </activity>
83
84        <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
85                  android:process="com.android.server.telecom.testapps.TestInCallService"
86                  android:label="@string/rttUiLabel"
87                  android:launchMode="singleInstance">
88            <intent-filter>
89                <action android:name="android.intent.action.MAIN" />
90                <category android:name="android.intent.category.DEFAULT" />
91            </intent-filter>
92        </activity>
93
94        <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
95                  android:theme="@android:style/Theme.NoDisplay"
96                  android:label="@string/testCallActivityLabel">
97            <intent-filter>
98                <action android:name="android.intent.action.MAIN" />
99                <category android:name="android.intent.category.DEFAULT" />
100                <category android:name="android.intent.category.LAUNCHER" />
101            </intent-filter>
102            <intent-filter>
103                <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
104                <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
105                <category android:name="android.intent.category.DEFAULT" />
106                <data android:scheme="tel" />
107                <data android:scheme="sip" />
108            </intent-filter>
109            <intent-filter>
110                <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
111                <category android:name="android.intent.category.DEFAULT" />
112            </intent-filter>
113            <intent-filter>
114                <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
115                <category android:name="android.intent.category.DEFAULT" />
116                <data android:scheme="int" />
117            </intent-filter>
118            <intent-filter>
119                <action android:name="android.telecom.testapps.ACTION_RTT_CALL" />
120                <category android:name="android.intent.category.DEFAULT" />
121                <data android:scheme="tel" />
122            </intent-filter>
123            <intent-filter>
124                <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE" />
125                <category android:name="android.intent.category.DEFAULT" />
126            </intent-filter>
127        </activity>
128
129        <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
130                  android:exported="false">
131            <intent-filter>
132                <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
133            </intent-filter>
134        </receiver>
135
136        <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
137                  android:label="@string/testDialerActivityLabel"
138                  android:process="com.android.server.telecom.testapps.TestInCallService">
139            <intent-filter>
140                <action android:name="android.intent.action.DIAL" />
141                <category android:name="android.intent.category.DEFAULT" />
142                <category android:name="android.intent.category.BROWSABLE" />
143                <data android:mimeType="vnd.android.cursor.item/phone" />
144                <data android:mimeType="vnd.android.cursor.item/person" />
145            </intent-filter>
146            <intent-filter>
147                <action android:name="android.intent.action.DIAL" />
148                <category android:name="android.intent.category.DEFAULT" />
149                <category android:name="android.intent.category.BROWSABLE" />
150                <data android:scheme="voicemail" />
151            </intent-filter>
152            <intent-filter>
153                <action android:name="android.intent.action.DIAL" />
154                <category android:name="android.intent.category.DEFAULT" />
155            </intent-filter>
156            <intent-filter>
157                <action android:name="android.intent.action.VIEW" />
158                <action android:name="android.intent.action.DIAL" />
159                <category android:name="android.intent.category.DEFAULT" />
160                <category android:name="android.intent.category.BROWSABLE" />
161                <data android:scheme="tel" />
162            </intent-filter>
163            <intent-filter>
164                <action android:name="android.intent.action.MAIN" />
165                <category android:name="android.intent.category.DEFAULT" />
166                <category android:name="android.intent.category.LAUNCHER" />
167            </intent-filter>
168        </activity>
169
170        <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
171                android:label="@string/UssdUiAppLabel"
172                android:launchMode="singleInstance">
173            <intent-filter>
174                <action android:name="android.intent.action.MAIN" />
175                <category android:name="android.intent.category.DEFAULT" />
176                <category android:name="android.intent.category.LAUNCHER" />
177            </intent-filter>
178          </activity>
179
180        <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
181                  android:label="@string/selfManagedCallingActivityLabel"
182                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
183                  android:theme="@android:style/Theme.Material.Light">
184          <intent-filter>
185              <action android:name="android.intent.action.MAIN" />
186              <category android:name="android.intent.category.DEFAULT" />
187              <category android:name="android.intent.category.LAUNCHER" />
188          </intent-filter>
189        </activity>
190
191        <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
192                  android:label="@string/selfManagedCallingActivityLabel"
193                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
194          <intent-filter>
195              <action android:name="android.intent.action.MAIN" />
196          </intent-filter>
197        </activity>
198
199        <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
200                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
201                 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
202          <intent-filter>
203              <action android:name="android.telecom.ConnectionService" />
204          </intent-filter>
205        </service>
206
207        <receiver android:exported="false"
208            android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
209            android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver" />
210    </application>
211</manifest>
212