blob: 645a42b4213760ec34a9b9be1465734217f26f27 [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"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070037
38 <application android:label="@string/app_name">
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070039 <uses-library android:name="android.test.runner"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070040
41 <!-- Miscellaneous telecom app-related test activities. -->
Tyler Gunn16f5dd92021-02-17 09:19:26 -080042 <service android:name="com.android.server.telecom.testapps.TestCallDiagnosticService"
43 android:permission="android.permission.BIND_CALL_DIAGNOSTIC_SERVICE"
44 android:exported="true">
45 <intent-filter>
46 <action android:name="android.telecom.CallDiagnosticService"/>
47 </intent-filter>
48 </service>
Ihab Awad945a82e2015-04-01 19:35:00 -070049
50 <service android:name="com.android.server.telecom.testapps.TestConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070051 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
52 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -070053 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070054 <action android:name="android.telecom.ConnectionService"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070055 </intent-filter>
56 </service>
57
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070058 <receiver android:name=".TestConnectionServiceReceiver"
59 android:exported="true">
Brad Ebinger702f8f52017-08-18 13:09:06 -070060 <intent-filter>
61 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT"/>
62 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT_WRONG"/>
63 </intent-filter>
64 </receiver>
65
Ihab Awad945a82e2015-04-01 19:35:00 -070066 <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070067 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
68 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -070069 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070070 <action android:name="android.telecom.ConnectionService"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070071 </intent-filter>
72 </service>
73
74 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070075 android:process="com.android.server.telecom.testapps.TestInCallService"
76 android:permission="android.permission.BIND_INCALL_SERVICE"
77 android:exported="true">
78 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI"
79 android:value="true"/>
Grace Jia18bc8a52021-02-01 06:54:12 -080080 <meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS"
81 android:value="true" />
Ihab Awad945a82e2015-04-01 19:35:00 -070082 <intent-filter>
83 <action android:name="android.telecom.InCallService"/>
84 </intent-filter>
85 </service>
86
Tyler Gunn33b67292015-04-27 15:41:35 -070087 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070088 android:process="com.android.server.telecom.testapps.TestInCallService"
89 android:exported="true">
Tyler Gunn33b67292015-04-27 15:41:35 -070090 <intent-filter>
91 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070092 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnea4c6fb2017-04-14 13:46:21 -070093 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
94 <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
Tyler Gunn33b67292015-04-27 15:41:35 -070095 </intent-filter>
96 </receiver>
97
Brad Ebinger702f8f52017-08-18 13:09:06 -070098
99
Santos Cordonf78a72f2016-01-21 22:10:32 +0000100 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700101 android:process="com.android.server.telecom.testapps.TestInCallService"
102 android:label="@string/inCallUiAppLabel"
103 android:launchMode="singleInstance"
104 android:exported="true">
Santos Cordonf78a72f2016-01-21 22:10:32 +0000105 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700106 <action android:name="android.intent.action.MAIN"/>
107 <category android:name="android.intent.category.DEFAULT"/>
108 <category android:name="android.intent.category.LAUNCHER"/>
Santos Cordonf78a72f2016-01-21 22:10:32 +0000109 </intent-filter>
110 </activity>
111
Hall Liudd68bc32017-01-25 17:14:23 -0800112 <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700113 android:process="com.android.server.telecom.testapps.TestInCallService"
114 android:label="@string/rttUiLabel"
115 android:launchMode="singleInstance"
116 android:exported="true">
Hall Liudd68bc32017-01-25 17:14:23 -0800117 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700118 <action android:name="android.intent.action.MAIN"/>
119 <category android:name="android.intent.category.DEFAULT"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800120 </intent-filter>
121 </activity>
122
Ihab Awad945a82e2015-04-01 19:35:00 -0700123 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700124 android:theme="@android:style/Theme.NoDisplay"
125 android:label="@string/testCallActivityLabel"
126 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700127 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700128 <action android:name="android.intent.action.MAIN"/>
129 <category android:name="android.intent.category.DEFAULT"/>
130 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700131 </intent-filter>
132 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700133 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL"/>
134 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL"/>
135 <category android:name="android.intent.category.DEFAULT"/>
136 <data android:scheme="tel"/>
137 <data android:scheme="sip"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700138 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700139 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700140 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS"/>
141 <category android:name="android.intent.category.DEFAULT"/>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700142 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700143 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700144 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST"/>
145 <category android:name="android.intent.category.DEFAULT"/>
146 <data android:scheme="int"/>
Yorke Lee817090c2015-04-10 12:12:25 -0700147 </intent-filter>
Hall Liudd68bc32017-01-25 17:14:23 -0800148 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700149 <action android:name="android.telecom.testapps.ACTION_RTT_CALL"/>
150 <category android:name="android.intent.category.DEFAULT"/>
151 <data android:scheme="tel"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800152 </intent-filter>
Hall Liuaeece4e2017-02-14 16:42:12 -0800153 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700154 <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE"/>
155 <category android:name="android.intent.category.DEFAULT"/>
Hall Liuaeece4e2017-02-14 16:42:12 -0800156 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700157 </activity>
158
159 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700160 android:exported="false">
Ihab Awad945a82e2015-04-01 19:35:00 -0700161 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700162 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700163 </intent-filter>
164 </receiver>
165
166 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700167 android:label="@string/testDialerActivityLabel"
168 android:process="com.android.server.telecom.testapps.TestInCallService"
169 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700170 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700171 <action android:name="android.intent.action.DIAL"/>
172 <category android:name="android.intent.category.DEFAULT"/>
173 <category android:name="android.intent.category.BROWSABLE"/>
174 <data android:mimeType="vnd.android.cursor.item/phone"/>
175 <data android:mimeType="vnd.android.cursor.item/person"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700176 </intent-filter>
177 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700178 <action android:name="android.intent.action.DIAL"/>
179 <category android:name="android.intent.category.DEFAULT"/>
180 <category android:name="android.intent.category.BROWSABLE"/>
181 <data android:scheme="voicemail"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700182 </intent-filter>
183 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700184 <action android:name="android.intent.action.DIAL"/>
185 <category android:name="android.intent.category.DEFAULT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700186 </intent-filter>
187 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700188 <action android:name="android.intent.action.VIEW"/>
189 <action android:name="android.intent.action.DIAL"/>
190 <category android:name="android.intent.category.DEFAULT"/>
191 <category android:name="android.intent.category.BROWSABLE"/>
192 <data android:scheme="tel"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700193 </intent-filter>
194 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700195 <action android:name="android.intent.action.MAIN"/>
196 <category android:name="android.intent.category.DEFAULT"/>
197 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700198 </intent-filter>
199 </activity>
pkanwardc4c14d2016-10-31 11:04:18 -0700200
201 <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700202 android:label="@string/UssdUiAppLabel"
203 android:launchMode="singleInstance"
204 android:exported="true">
pkanwardc4c14d2016-10-31 11:04:18 -0700205 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700206 <action android:name="android.intent.action.MAIN"/>
207 <category android:name="android.intent.category.DEFAULT"/>
208 <category android:name="android.intent.category.LAUNCHER"/>
pkanwardc4c14d2016-10-31 11:04:18 -0700209 </intent-filter>
Tyler Gunna90ba732017-01-26 07:24:08 -0800210 </activity>
211
pkanwarc0d60432017-05-04 09:17:23 -0700212 <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700213 android:label="@string/KeyUiAppLabel"
214 android:launchMode="singleInstance"
215 android:exported="true">
pkanwarc0d60432017-05-04 09:17:23 -0700216 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700217 <action android:name="android.intent.action.MAIN"/>
218 <category android:name="android.intent.category.DEFAULT"/>
219 <category android:name="android.intent.category.LAUNCHER"/>
pkanwarc0d60432017-05-04 09:17:23 -0700220 </intent-filter>
221 </activity>
222
Tyler Gunna90ba732017-01-26 07:24:08 -0800223 <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700224 android:label="@string/selfManagedCallingActivityLabel"
225 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
226 android:theme="@android:style/Theme.Material.Light"
227 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800228 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700229 <action android:name="android.intent.action.MAIN"/>
230 <category android:name="android.intent.category.DEFAULT"/>
231 <category android:name="android.intent.category.LAUNCHER"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800232 </intent-filter>
pkanwardc4c14d2016-10-31 11:04:18 -0700233 </activity>
Tyler Gunna90ba732017-01-26 07:24:08 -0800234
Tyler Gunn115c06e2017-03-02 09:29:07 -0800235 <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700236 android:label="@string/selfManagedCallingActivityLabel"
237 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
238 android:exported="true">
Tyler Gunn115c06e2017-03-02 09:29:07 -0800239 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700240 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800241 </intent-filter>
242 </activity>
243
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700244 <activity android:name="com.android.server.telecom.testapps.HandoverActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700245 android:label="@string/selfManagedCallingActivityLabel"
246 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
247 android:exported="true">
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700248 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700249 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700250 </intent-filter>
251 </activity>
252
Tyler Gunna90ba732017-01-26 07:24:08 -0800253 <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700254 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
255 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
256 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800257 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700258 <action android:name="android.telecom.ConnectionService"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800259 </intent-filter>
260 </service>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800261
Tyler Gunna64e9ac2023-05-04 20:31:30 +0000262 <service android:name="com.android.server.telecom.testapps.OtherSelfManagedConnectionService"
263 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
264 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
265 android:exported="true">
266 <intent-filter>
267 <action android:name="android.telecom.ConnectionService"/>
268 </intent-filter>
269 </service>
270
Tyler Gunn115c06e2017-03-02 09:29:07 -0800271 <receiver android:exported="false"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700272 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
273 android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver"/>
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800274
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800275 <receiver android:exported="true"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700276 android:name="com.android.server.telecom.testapps.NuisanceReportReceiver">
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800277 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700278 <action android:name="android.telecom.action.NUISANCE_CALL_STATUS_CHANGED"/>
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800279 </intent-filter>
280 </receiver>
281
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700282 <service android:name=".TestCallScreeningService"
283 android:permission="android.permission.BIND_SCREENING_SERVICE"
284 android:exported="true">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800285 <intent-filter>
286 <action android:name="android.telecom.CallScreeningService"/>
287 </intent-filter>
288 </service>
289
290 <activity android:name=".CallScreeningActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700291 android:configChanges="orientation|screenSize|keyboardHidden"
292 android:excludeFromRecents="true"
293 android:launchMode="singleInstance">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800294 </activity>
sqian7be879d2019-04-04 11:33:21 -0700295
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700296 <service android:name=".TestCallRedirectionService"
297 android:permission="android.permission.BIND_CALL_REDIRECTION_SERVICE"
298 android:exported="true">
sqian7be879d2019-04-04 11:33:21 -0700299 <intent-filter>
300 <action android:name="android.telecom.CallRedirectionService"/>
301 </intent-filter>
302 </service>
303
304 <activity android:name=".CallRedirectionActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700305 android:configChanges="orientation|screenSize|keyboardHidden"
306 android:excludeFromRecents="true"
307 android:launchMode="singleInstance">
sqian7be879d2019-04-04 11:33:21 -0700308 </activity>
Grace Jia2b6e7222019-12-17 12:53:19 -0800309
310 <activity android:name=".PostCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700311 android:label="@string/postCallActivityLabel"
312 android:exported="true">
Grace Jia2b6e7222019-12-17 12:53:19 -0800313 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700314 <action android:name="android.telecom.action.POST_CALL"/>
315 <category android:name="android.intent.category.DEFAULT"/>
Grace Jia2b6e7222019-12-17 12:53:19 -0800316 </intent-filter>
317 </activity>
Ihab Awad945a82e2015-04-01 19:35:00 -0700318 </application>
319</manifest>