blob: 891a7a75034e27728378ff59e3125b20f913d25d [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. -->
42
43 <service android:name="com.android.server.telecom.testapps.TestConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070044 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
45 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -070046 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070047 <action android:name="android.telecom.ConnectionService"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070048 </intent-filter>
49 </service>
50
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070051 <receiver android:name=".TestConnectionServiceReceiver"
52 android:exported="true">
Brad Ebinger702f8f52017-08-18 13:09:06 -070053 <intent-filter>
54 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT"/>
55 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT_WRONG"/>
56 </intent-filter>
57 </receiver>
58
Ihab Awad945a82e2015-04-01 19:35:00 -070059 <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070060 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
61 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -070062 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070063 <action android:name="android.telecom.ConnectionService"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070064 </intent-filter>
65 </service>
66
67 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070068 android:process="com.android.server.telecom.testapps.TestInCallService"
69 android:permission="android.permission.BIND_INCALL_SERVICE"
70 android:exported="true">
71 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI"
72 android:value="true"/>
Grace Jia18bc8a52021-02-01 06:54:12 -080073 <meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS"
74 android:value="true" />
Ihab Awad945a82e2015-04-01 19:35:00 -070075 <intent-filter>
76 <action android:name="android.telecom.InCallService"/>
77 </intent-filter>
78 </service>
79
Tyler Gunn33b67292015-04-27 15:41:35 -070080 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070081 android:process="com.android.server.telecom.testapps.TestInCallService"
82 android:exported="true">
Tyler Gunn33b67292015-04-27 15:41:35 -070083 <intent-filter>
84 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070085 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnea4c6fb2017-04-14 13:46:21 -070086 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
87 <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
Tyler Gunn33b67292015-04-27 15:41:35 -070088 </intent-filter>
89 </receiver>
90
Brad Ebinger702f8f52017-08-18 13:09:06 -070091
92
Santos Cordonf78a72f2016-01-21 22:10:32 +000093 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070094 android:process="com.android.server.telecom.testapps.TestInCallService"
95 android:label="@string/inCallUiAppLabel"
96 android:launchMode="singleInstance"
97 android:exported="true">
Santos Cordonf78a72f2016-01-21 22:10:32 +000098 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070099 <action android:name="android.intent.action.MAIN"/>
100 <category android:name="android.intent.category.DEFAULT"/>
101 <category android:name="android.intent.category.LAUNCHER"/>
Santos Cordonf78a72f2016-01-21 22:10:32 +0000102 </intent-filter>
103 </activity>
104
Hall Liudd68bc32017-01-25 17:14:23 -0800105 <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700106 android:process="com.android.server.telecom.testapps.TestInCallService"
107 android:label="@string/rttUiLabel"
108 android:launchMode="singleInstance"
109 android:exported="true">
Hall Liudd68bc32017-01-25 17:14:23 -0800110 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700111 <action android:name="android.intent.action.MAIN"/>
112 <category android:name="android.intent.category.DEFAULT"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800113 </intent-filter>
114 </activity>
115
Ihab Awad945a82e2015-04-01 19:35:00 -0700116 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700117 android:theme="@android:style/Theme.NoDisplay"
118 android:label="@string/testCallActivityLabel"
119 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700120 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700121 <action android:name="android.intent.action.MAIN"/>
122 <category android:name="android.intent.category.DEFAULT"/>
123 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700124 </intent-filter>
125 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700126 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL"/>
127 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL"/>
128 <category android:name="android.intent.category.DEFAULT"/>
129 <data android:scheme="tel"/>
130 <data android:scheme="sip"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700131 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700132 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700133 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS"/>
134 <category android:name="android.intent.category.DEFAULT"/>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700135 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700136 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700137 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST"/>
138 <category android:name="android.intent.category.DEFAULT"/>
139 <data android:scheme="int"/>
Yorke Lee817090c2015-04-10 12:12:25 -0700140 </intent-filter>
Hall Liudd68bc32017-01-25 17:14:23 -0800141 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700142 <action android:name="android.telecom.testapps.ACTION_RTT_CALL"/>
143 <category android:name="android.intent.category.DEFAULT"/>
144 <data android:scheme="tel"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800145 </intent-filter>
Hall Liuaeece4e2017-02-14 16:42:12 -0800146 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700147 <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE"/>
148 <category android:name="android.intent.category.DEFAULT"/>
Hall Liuaeece4e2017-02-14 16:42:12 -0800149 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700150 </activity>
151
152 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700153 android:exported="false">
Ihab Awad945a82e2015-04-01 19:35:00 -0700154 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700155 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700156 </intent-filter>
157 </receiver>
158
159 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700160 android:label="@string/testDialerActivityLabel"
161 android:process="com.android.server.telecom.testapps.TestInCallService"
162 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700163 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700164 <action android:name="android.intent.action.DIAL"/>
165 <category android:name="android.intent.category.DEFAULT"/>
166 <category android:name="android.intent.category.BROWSABLE"/>
167 <data android:mimeType="vnd.android.cursor.item/phone"/>
168 <data android:mimeType="vnd.android.cursor.item/person"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700169 </intent-filter>
170 <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:scheme="voicemail"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700175 </intent-filter>
176 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700177 <action android:name="android.intent.action.DIAL"/>
178 <category android:name="android.intent.category.DEFAULT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700179 </intent-filter>
180 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700181 <action android:name="android.intent.action.VIEW"/>
182 <action android:name="android.intent.action.DIAL"/>
183 <category android:name="android.intent.category.DEFAULT"/>
184 <category android:name="android.intent.category.BROWSABLE"/>
185 <data android:scheme="tel"/>
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.MAIN"/>
189 <category android:name="android.intent.category.DEFAULT"/>
190 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700191 </intent-filter>
192 </activity>
pkanwardc4c14d2016-10-31 11:04:18 -0700193
194 <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700195 android:label="@string/UssdUiAppLabel"
196 android:launchMode="singleInstance"
197 android:exported="true">
pkanwardc4c14d2016-10-31 11:04:18 -0700198 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700199 <action android:name="android.intent.action.MAIN"/>
200 <category android:name="android.intent.category.DEFAULT"/>
201 <category android:name="android.intent.category.LAUNCHER"/>
pkanwardc4c14d2016-10-31 11:04:18 -0700202 </intent-filter>
Tyler Gunna90ba732017-01-26 07:24:08 -0800203 </activity>
204
pkanwarc0d60432017-05-04 09:17:23 -0700205 <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700206 android:label="@string/KeyUiAppLabel"
207 android:launchMode="singleInstance"
208 android:exported="true">
pkanwarc0d60432017-05-04 09:17:23 -0700209 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700210 <action android:name="android.intent.action.MAIN"/>
211 <category android:name="android.intent.category.DEFAULT"/>
212 <category android:name="android.intent.category.LAUNCHER"/>
pkanwarc0d60432017-05-04 09:17:23 -0700213 </intent-filter>
214 </activity>
215
Tyler Gunna90ba732017-01-26 07:24:08 -0800216 <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700217 android:label="@string/selfManagedCallingActivityLabel"
218 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
219 android:theme="@android:style/Theme.Material.Light"
220 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800221 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700222 <action android:name="android.intent.action.MAIN"/>
223 <category android:name="android.intent.category.DEFAULT"/>
224 <category android:name="android.intent.category.LAUNCHER"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800225 </intent-filter>
pkanwardc4c14d2016-10-31 11:04:18 -0700226 </activity>
Tyler Gunna90ba732017-01-26 07:24:08 -0800227
Tyler Gunn115c06e2017-03-02 09:29:07 -0800228 <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700229 android:label="@string/selfManagedCallingActivityLabel"
230 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
231 android:exported="true">
Tyler Gunn115c06e2017-03-02 09:29:07 -0800232 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700233 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800234 </intent-filter>
235 </activity>
236
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700237 <activity android:name="com.android.server.telecom.testapps.HandoverActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700238 android:label="@string/selfManagedCallingActivityLabel"
239 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
240 android:exported="true">
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700241 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700242 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700243 </intent-filter>
244 </activity>
245
Tyler Gunna90ba732017-01-26 07:24:08 -0800246 <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700247 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
248 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
249 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800250 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700251 <action android:name="android.telecom.ConnectionService"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800252 </intent-filter>
253 </service>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800254
255 <receiver android:exported="false"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700256 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
257 android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver"/>
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800258
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800259 <receiver android:exported="true"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700260 android:name="com.android.server.telecom.testapps.NuisanceReportReceiver">
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800261 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700262 <action android:name="android.telecom.action.NUISANCE_CALL_STATUS_CHANGED"/>
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800263 </intent-filter>
264 </receiver>
265
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700266 <service android:name=".TestCallScreeningService"
267 android:permission="android.permission.BIND_SCREENING_SERVICE"
268 android:exported="true">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800269 <intent-filter>
270 <action android:name="android.telecom.CallScreeningService"/>
271 </intent-filter>
272 </service>
273
274 <activity android:name=".CallScreeningActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700275 android:configChanges="orientation|screenSize|keyboardHidden"
276 android:excludeFromRecents="true"
277 android:launchMode="singleInstance">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800278 </activity>
sqian7be879d2019-04-04 11:33:21 -0700279
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700280 <service android:name=".TestCallRedirectionService"
281 android:permission="android.permission.BIND_CALL_REDIRECTION_SERVICE"
282 android:exported="true">
sqian7be879d2019-04-04 11:33:21 -0700283 <intent-filter>
284 <action android:name="android.telecom.CallRedirectionService"/>
285 </intent-filter>
286 </service>
287
288 <activity android:name=".CallRedirectionActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700289 android:configChanges="orientation|screenSize|keyboardHidden"
290 android:excludeFromRecents="true"
291 android:launchMode="singleInstance">
sqian7be879d2019-04-04 11:33:21 -0700292 </activity>
Grace Jia2b6e7222019-12-17 12:53:19 -0800293
294 <activity android:name=".PostCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700295 android:label="@string/postCallActivityLabel"
296 android:exported="true">
Grace Jia2b6e7222019-12-17 12:53:19 -0800297 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700298 <action android:name="android.telecom.action.POST_CALL"/>
299 <category android:name="android.intent.category.DEFAULT"/>
Grace Jia2b6e7222019-12-17 12:53:19 -0800300 </intent-filter>
301 </activity>
Ihab Awad945a82e2015-04-01 19:35:00 -0700302 </application>
303</manifest>