blob: e048f212c70115b0df6abc5fa78f81a1dd661efa [file] [log] [blame]
Ihab Awad945a82e2015-04-01 19:35:00 -07001<?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"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070018 coreApp="true"
19 package="com.android.server.telecom.testapps">
Ihab Awad945a82e2015-04-01 19:35:00 -070020
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070021 <uses-sdk android:minSdkVersion="28"
22 android:targetSdkVersion="30"/>
Yorke Lee1cbe7022015-08-31 18:22:15 -070023
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070024 <uses-permission android:name="android.permission.ACCEPT_HANDOVER"/>
25 <uses-permission android:name="android.permission.BLUETOOTH"/>
26 <uses-permission android:name="android.permission.CAMERA"/>
27 <uses-permission android:name="android.permission.CALL_PHONE"/>
28 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
29 <uses-permission android:name="android.permission.INTERNET"/>
30 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
31 <uses-permission android:name="android.permission.READ_CALL_LOG"/>
32 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
33 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER"/>
34 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER"/>
35 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
36 <uses-permission android:name="android.permission.WRITE_CALL_LOG"/>
Thomas Stuart8d0f8492024-02-26 10:47:08 -080037 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070038
39 <application android:label="@string/app_name">
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070040 <uses-library android:name="android.test.runner"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070041
42 <!-- Miscellaneous telecom app-related test activities. -->
Tyler Gunn16f5dd92021-02-17 09:19:26 -080043 <service android:name="com.android.server.telecom.testapps.TestCallDiagnosticService"
44 android:permission="android.permission.BIND_CALL_DIAGNOSTIC_SERVICE"
45 android:exported="true">
46 <intent-filter>
47 <action android:name="android.telecom.CallDiagnosticService"/>
48 </intent-filter>
49 </service>
Ihab Awad945a82e2015-04-01 19:35:00 -070050
51 <service android:name="com.android.server.telecom.testapps.TestConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070052 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
53 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -070054 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070055 <action android:name="android.telecom.ConnectionService"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070056 </intent-filter>
57 </service>
58
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070059 <receiver android:name=".TestConnectionServiceReceiver"
60 android:exported="true">
Brad Ebinger702f8f52017-08-18 13:09:06 -070061 <intent-filter>
62 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT"/>
63 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT_WRONG"/>
64 </intent-filter>
65 </receiver>
66
Ihab Awad945a82e2015-04-01 19:35:00 -070067 <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070068 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
69 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -070070 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070071 <action android:name="android.telecom.ConnectionService"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070072 </intent-filter>
73 </service>
74
75 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070076 android:process="com.android.server.telecom.testapps.TestInCallService"
77 android:permission="android.permission.BIND_INCALL_SERVICE"
78 android:exported="true">
79 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI"
80 android:value="true"/>
Grace Jia18bc8a52021-02-01 06:54:12 -080081 <meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS"
82 android:value="true" />
Ihab Awad945a82e2015-04-01 19:35:00 -070083 <intent-filter>
84 <action android:name="android.telecom.InCallService"/>
85 </intent-filter>
86 </service>
87
Tyler Gunn33b67292015-04-27 15:41:35 -070088 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070089 android:process="com.android.server.telecom.testapps.TestInCallService"
90 android:exported="true">
Tyler Gunn33b67292015-04-27 15:41:35 -070091 <intent-filter>
92 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070093 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnea4c6fb2017-04-14 13:46:21 -070094 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
95 <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
Tyler Gunn33b67292015-04-27 15:41:35 -070096 </intent-filter>
97 </receiver>
98
Brad Ebinger702f8f52017-08-18 13:09:06 -070099
100
Santos Cordonf78a72f2016-01-21 22:10:32 +0000101 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700102 android:process="com.android.server.telecom.testapps.TestInCallService"
103 android:label="@string/inCallUiAppLabel"
104 android:launchMode="singleInstance"
105 android:exported="true">
Santos Cordonf78a72f2016-01-21 22:10:32 +0000106 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700107 <action android:name="android.intent.action.MAIN"/>
108 <category android:name="android.intent.category.DEFAULT"/>
109 <category android:name="android.intent.category.LAUNCHER"/>
Santos Cordonf78a72f2016-01-21 22:10:32 +0000110 </intent-filter>
111 </activity>
112
Hall Liudd68bc32017-01-25 17:14:23 -0800113 <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700114 android:process="com.android.server.telecom.testapps.TestInCallService"
115 android:label="@string/rttUiLabel"
116 android:launchMode="singleInstance"
117 android:exported="true">
Hall Liudd68bc32017-01-25 17:14:23 -0800118 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700119 <action android:name="android.intent.action.MAIN"/>
120 <category android:name="android.intent.category.DEFAULT"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800121 </intent-filter>
122 </activity>
123
Ihab Awad945a82e2015-04-01 19:35:00 -0700124 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700125 android:theme="@android:style/Theme.NoDisplay"
126 android:label="@string/testCallActivityLabel"
127 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700128 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700129 <action android:name="android.intent.action.MAIN"/>
130 <category android:name="android.intent.category.DEFAULT"/>
131 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700132 </intent-filter>
133 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700134 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL"/>
135 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL"/>
136 <category android:name="android.intent.category.DEFAULT"/>
137 <data android:scheme="tel"/>
138 <data android:scheme="sip"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700139 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700140 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700141 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS"/>
142 <category android:name="android.intent.category.DEFAULT"/>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700143 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700144 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700145 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST"/>
146 <category android:name="android.intent.category.DEFAULT"/>
147 <data android:scheme="int"/>
Yorke Lee817090c2015-04-10 12:12:25 -0700148 </intent-filter>
Hall Liudd68bc32017-01-25 17:14:23 -0800149 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700150 <action android:name="android.telecom.testapps.ACTION_RTT_CALL"/>
151 <category android:name="android.intent.category.DEFAULT"/>
152 <data android:scheme="tel"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800153 </intent-filter>
Hall Liuaeece4e2017-02-14 16:42:12 -0800154 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700155 <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE"/>
156 <category android:name="android.intent.category.DEFAULT"/>
Hall Liuaeece4e2017-02-14 16:42:12 -0800157 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700158 </activity>
159
160 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700161 android:exported="false">
Ihab Awad945a82e2015-04-01 19:35:00 -0700162 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700163 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700164 </intent-filter>
165 </receiver>
166
167 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700168 android:label="@string/testDialerActivityLabel"
169 android:process="com.android.server.telecom.testapps.TestInCallService"
170 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700171 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700172 <action android:name="android.intent.action.DIAL"/>
173 <category android:name="android.intent.category.DEFAULT"/>
174 <category android:name="android.intent.category.BROWSABLE"/>
175 <data android:mimeType="vnd.android.cursor.item/phone"/>
176 <data android:mimeType="vnd.android.cursor.item/person"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700177 </intent-filter>
178 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700179 <action android:name="android.intent.action.DIAL"/>
180 <category android:name="android.intent.category.DEFAULT"/>
181 <category android:name="android.intent.category.BROWSABLE"/>
182 <data android:scheme="voicemail"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700183 </intent-filter>
184 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700185 <action android:name="android.intent.action.DIAL"/>
186 <category android:name="android.intent.category.DEFAULT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700187 </intent-filter>
188 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700189 <action android:name="android.intent.action.VIEW"/>
190 <action android:name="android.intent.action.DIAL"/>
191 <category android:name="android.intent.category.DEFAULT"/>
192 <category android:name="android.intent.category.BROWSABLE"/>
193 <data android:scheme="tel"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700194 </intent-filter>
195 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700196 <action android:name="android.intent.action.MAIN"/>
197 <category android:name="android.intent.category.DEFAULT"/>
198 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700199 </intent-filter>
200 </activity>
pkanwardc4c14d2016-10-31 11:04:18 -0700201
202 <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700203 android:label="@string/UssdUiAppLabel"
204 android:launchMode="singleInstance"
205 android:exported="true">
pkanwardc4c14d2016-10-31 11:04:18 -0700206 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700207 <action android:name="android.intent.action.MAIN"/>
208 <category android:name="android.intent.category.DEFAULT"/>
209 <category android:name="android.intent.category.LAUNCHER"/>
pkanwardc4c14d2016-10-31 11:04:18 -0700210 </intent-filter>
Tyler Gunna90ba732017-01-26 07:24:08 -0800211 </activity>
212
pkanwarc0d60432017-05-04 09:17:23 -0700213 <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700214 android:label="@string/KeyUiAppLabel"
215 android:launchMode="singleInstance"
216 android:exported="true">
pkanwarc0d60432017-05-04 09:17:23 -0700217 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700218 <action android:name="android.intent.action.MAIN"/>
219 <category android:name="android.intent.category.DEFAULT"/>
220 <category android:name="android.intent.category.LAUNCHER"/>
pkanwarc0d60432017-05-04 09:17:23 -0700221 </intent-filter>
222 </activity>
223
Tyler Gunna90ba732017-01-26 07:24:08 -0800224 <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700225 android:label="@string/selfManagedCallingActivityLabel"
226 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
227 android:theme="@android:style/Theme.Material.Light"
228 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800229 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700230 <action android:name="android.intent.action.MAIN"/>
231 <category android:name="android.intent.category.DEFAULT"/>
232 <category android:name="android.intent.category.LAUNCHER"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800233 </intent-filter>
pkanwardc4c14d2016-10-31 11:04:18 -0700234 </activity>
Tyler Gunna90ba732017-01-26 07:24:08 -0800235
Tyler Gunn115c06e2017-03-02 09:29:07 -0800236 <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700237 android:label="@string/selfManagedCallingActivityLabel"
238 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
239 android:exported="true">
Tyler Gunn115c06e2017-03-02 09:29:07 -0800240 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700241 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800242 </intent-filter>
243 </activity>
244
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700245 <activity android:name="com.android.server.telecom.testapps.HandoverActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700246 android:label="@string/selfManagedCallingActivityLabel"
247 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
248 android:exported="true">
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700249 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700250 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700251 </intent-filter>
252 </activity>
253
Tyler Gunna90ba732017-01-26 07:24:08 -0800254 <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700255 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
256 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
257 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800258 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700259 <action android:name="android.telecom.ConnectionService"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800260 </intent-filter>
261 </service>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800262
Tyler Gunna64e9ac2023-05-04 20:31:30 +0000263 <service android:name="com.android.server.telecom.testapps.OtherSelfManagedConnectionService"
264 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
265 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
266 android:exported="true">
267 <intent-filter>
268 <action android:name="android.telecom.ConnectionService"/>
269 </intent-filter>
270 </service>
271
Tyler Gunn115c06e2017-03-02 09:29:07 -0800272 <receiver android:exported="false"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700273 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
274 android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver"/>
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800275
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800276 <receiver android:exported="true"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700277 android:name="com.android.server.telecom.testapps.NuisanceReportReceiver">
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800278 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700279 <action android:name="android.telecom.action.NUISANCE_CALL_STATUS_CHANGED"/>
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800280 </intent-filter>
281 </receiver>
282
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700283 <service android:name=".TestCallScreeningService"
284 android:permission="android.permission.BIND_SCREENING_SERVICE"
285 android:exported="true">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800286 <intent-filter>
287 <action android:name="android.telecom.CallScreeningService"/>
288 </intent-filter>
289 </service>
290
291 <activity android:name=".CallScreeningActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700292 android:configChanges="orientation|screenSize|keyboardHidden"
293 android:excludeFromRecents="true"
294 android:launchMode="singleInstance">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800295 </activity>
sqian7be879d2019-04-04 11:33:21 -0700296
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700297 <service android:name=".TestCallRedirectionService"
298 android:permission="android.permission.BIND_CALL_REDIRECTION_SERVICE"
299 android:exported="true">
sqian7be879d2019-04-04 11:33:21 -0700300 <intent-filter>
301 <action android:name="android.telecom.CallRedirectionService"/>
302 </intent-filter>
303 </service>
304
305 <activity android:name=".CallRedirectionActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700306 android:configChanges="orientation|screenSize|keyboardHidden"
307 android:excludeFromRecents="true"
308 android:launchMode="singleInstance">
sqian7be879d2019-04-04 11:33:21 -0700309 </activity>
Grace Jia2b6e7222019-12-17 12:53:19 -0800310
311 <activity android:name=".PostCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700312 android:label="@string/postCallActivityLabel"
313 android:exported="true">
Grace Jia2b6e7222019-12-17 12:53:19 -0800314 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700315 <action android:name="android.telecom.action.POST_CALL"/>
316 <category android:name="android.intent.category.DEFAULT"/>
Grace Jia2b6e7222019-12-17 12:53:19 -0800317 </intent-filter>
318 </activity>
Ihab Awad945a82e2015-04-01 19:35:00 -0700319 </application>
320</manifest>