blob: 9c461cab002dc74cde230a649ed7e86a538e4618 [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"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070073 <intent-filter>
74 <action android:name="android.telecom.InCallService"/>
75 </intent-filter>
76 </service>
77
Tyler Gunn33b67292015-04-27 15:41:35 -070078 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070079 android:process="com.android.server.telecom.testapps.TestInCallService"
80 android:exported="true">
Tyler Gunn33b67292015-04-27 15:41:35 -070081 <intent-filter>
82 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070083 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnea4c6fb2017-04-14 13:46:21 -070084 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
85 <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
Tyler Gunn33b67292015-04-27 15:41:35 -070086 </intent-filter>
87 </receiver>
88
Brad Ebinger702f8f52017-08-18 13:09:06 -070089
90
Santos Cordonf78a72f2016-01-21 22:10:32 +000091 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070092 android:process="com.android.server.telecom.testapps.TestInCallService"
93 android:label="@string/inCallUiAppLabel"
94 android:launchMode="singleInstance"
95 android:exported="true">
Santos Cordonf78a72f2016-01-21 22:10:32 +000096 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -070097 <action android:name="android.intent.action.MAIN"/>
98 <category android:name="android.intent.category.DEFAULT"/>
99 <category android:name="android.intent.category.LAUNCHER"/>
Santos Cordonf78a72f2016-01-21 22:10:32 +0000100 </intent-filter>
101 </activity>
102
Hall Liudd68bc32017-01-25 17:14:23 -0800103 <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700104 android:process="com.android.server.telecom.testapps.TestInCallService"
105 android:label="@string/rttUiLabel"
106 android:launchMode="singleInstance"
107 android:exported="true">
Hall Liudd68bc32017-01-25 17:14:23 -0800108 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700109 <action android:name="android.intent.action.MAIN"/>
110 <category android:name="android.intent.category.DEFAULT"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800111 </intent-filter>
112 </activity>
113
Ihab Awad945a82e2015-04-01 19:35:00 -0700114 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700115 android:theme="@android:style/Theme.NoDisplay"
116 android:label="@string/testCallActivityLabel"
117 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700118 <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"/>
121 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700122 </intent-filter>
123 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700124 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL"/>
125 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL"/>
126 <category android:name="android.intent.category.DEFAULT"/>
127 <data android:scheme="tel"/>
128 <data android:scheme="sip"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700129 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700130 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700131 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS"/>
132 <category android:name="android.intent.category.DEFAULT"/>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700133 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700134 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700135 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST"/>
136 <category android:name="android.intent.category.DEFAULT"/>
137 <data android:scheme="int"/>
Yorke Lee817090c2015-04-10 12:12:25 -0700138 </intent-filter>
Hall Liudd68bc32017-01-25 17:14:23 -0800139 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700140 <action android:name="android.telecom.testapps.ACTION_RTT_CALL"/>
141 <category android:name="android.intent.category.DEFAULT"/>
142 <data android:scheme="tel"/>
Hall Liudd68bc32017-01-25 17:14:23 -0800143 </intent-filter>
Hall Liuaeece4e2017-02-14 16:42:12 -0800144 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700145 <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE"/>
146 <category android:name="android.intent.category.DEFAULT"/>
Hall Liuaeece4e2017-02-14 16:42:12 -0800147 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700148 </activity>
149
150 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700151 android:exported="false">
Ihab Awad945a82e2015-04-01 19:35:00 -0700152 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700153 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700154 </intent-filter>
155 </receiver>
156
157 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700158 android:label="@string/testDialerActivityLabel"
159 android:process="com.android.server.telecom.testapps.TestInCallService"
160 android:exported="true">
Ihab Awad945a82e2015-04-01 19:35:00 -0700161 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700162 <action android:name="android.intent.action.DIAL"/>
163 <category android:name="android.intent.category.DEFAULT"/>
164 <category android:name="android.intent.category.BROWSABLE"/>
165 <data android:mimeType="vnd.android.cursor.item/phone"/>
166 <data android:mimeType="vnd.android.cursor.item/person"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700167 </intent-filter>
168 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700169 <action android:name="android.intent.action.DIAL"/>
170 <category android:name="android.intent.category.DEFAULT"/>
171 <category android:name="android.intent.category.BROWSABLE"/>
172 <data android:scheme="voicemail"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700173 </intent-filter>
174 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700175 <action android:name="android.intent.action.DIAL"/>
176 <category android:name="android.intent.category.DEFAULT"/>
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.VIEW"/>
180 <action android:name="android.intent.action.DIAL"/>
181 <category android:name="android.intent.category.DEFAULT"/>
182 <category android:name="android.intent.category.BROWSABLE"/>
183 <data android:scheme="tel"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700184 </intent-filter>
185 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700186 <action android:name="android.intent.action.MAIN"/>
187 <category android:name="android.intent.category.DEFAULT"/>
188 <category android:name="android.intent.category.LAUNCHER"/>
Ihab Awad945a82e2015-04-01 19:35:00 -0700189 </intent-filter>
190 </activity>
pkanwardc4c14d2016-10-31 11:04:18 -0700191
192 <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700193 android:label="@string/UssdUiAppLabel"
194 android:launchMode="singleInstance"
195 android:exported="true">
pkanwardc4c14d2016-10-31 11:04:18 -0700196 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700197 <action android:name="android.intent.action.MAIN"/>
198 <category android:name="android.intent.category.DEFAULT"/>
199 <category android:name="android.intent.category.LAUNCHER"/>
pkanwardc4c14d2016-10-31 11:04:18 -0700200 </intent-filter>
Tyler Gunna90ba732017-01-26 07:24:08 -0800201 </activity>
202
pkanwarc0d60432017-05-04 09:17:23 -0700203 <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700204 android:label="@string/KeyUiAppLabel"
205 android:launchMode="singleInstance"
206 android:exported="true">
pkanwarc0d60432017-05-04 09:17:23 -0700207 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700208 <action android:name="android.intent.action.MAIN"/>
209 <category android:name="android.intent.category.DEFAULT"/>
210 <category android:name="android.intent.category.LAUNCHER"/>
pkanwarc0d60432017-05-04 09:17:23 -0700211 </intent-filter>
212 </activity>
213
Tyler Gunna90ba732017-01-26 07:24:08 -0800214 <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700215 android:label="@string/selfManagedCallingActivityLabel"
216 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
217 android:theme="@android:style/Theme.Material.Light"
218 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800219 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700220 <action android:name="android.intent.action.MAIN"/>
221 <category android:name="android.intent.category.DEFAULT"/>
222 <category android:name="android.intent.category.LAUNCHER"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800223 </intent-filter>
pkanwardc4c14d2016-10-31 11:04:18 -0700224 </activity>
Tyler Gunna90ba732017-01-26 07:24:08 -0800225
Tyler Gunn115c06e2017-03-02 09:29:07 -0800226 <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700227 android:label="@string/selfManagedCallingActivityLabel"
228 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
229 android:exported="true">
Tyler Gunn115c06e2017-03-02 09:29:07 -0800230 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700231 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800232 </intent-filter>
233 </activity>
234
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700235 <activity android:name="com.android.server.telecom.testapps.HandoverActivity"
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 Gunn6f9ceb22017-04-06 08:47:01 -0700239 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700240 <action android:name="android.intent.action.MAIN"/>
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700241 </intent-filter>
242 </activity>
243
Tyler Gunna90ba732017-01-26 07:24:08 -0800244 <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700245 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
246 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
247 android:exported="true">
Tyler Gunna90ba732017-01-26 07:24:08 -0800248 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700249 <action android:name="android.telecom.ConnectionService"/>
Tyler Gunna90ba732017-01-26 07:24:08 -0800250 </intent-filter>
251 </service>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800252
253 <receiver android:exported="false"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700254 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
255 android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver"/>
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800256
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800257 <receiver android:exported="true"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700258 android:name="com.android.server.telecom.testapps.NuisanceReportReceiver">
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800259 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700260 <action android:name="android.telecom.action.NUISANCE_CALL_STATUS_CHANGED"/>
Tyler Gunnd1ca71b2019-01-16 10:43:26 -0800261 </intent-filter>
262 </receiver>
263
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700264 <service android:name=".TestCallScreeningService"
265 android:permission="android.permission.BIND_SCREENING_SERVICE"
266 android:exported="true">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800267 <intent-filter>
268 <action android:name="android.telecom.CallScreeningService"/>
269 </intent-filter>
270 </service>
271
272 <activity android:name=".CallScreeningActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700273 android:configChanges="orientation|screenSize|keyboardHidden"
274 android:excludeFromRecents="true"
275 android:launchMode="singleInstance">
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800276 </activity>
sqian7be879d2019-04-04 11:33:21 -0700277
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700278 <service android:name=".TestCallRedirectionService"
279 android:permission="android.permission.BIND_CALL_REDIRECTION_SERVICE"
280 android:exported="true">
sqian7be879d2019-04-04 11:33:21 -0700281 <intent-filter>
282 <action android:name="android.telecom.CallRedirectionService"/>
283 </intent-filter>
284 </service>
285
286 <activity android:name=".CallRedirectionActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700287 android:configChanges="orientation|screenSize|keyboardHidden"
288 android:excludeFromRecents="true"
289 android:launchMode="singleInstance">
sqian7be879d2019-04-04 11:33:21 -0700290 </activity>
Grace Jia2b6e7222019-12-17 12:53:19 -0800291
292 <activity android:name=".PostCallActivity"
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700293 android:label="@string/postCallActivityLabel"
294 android:exported="true">
Grace Jia2b6e7222019-12-17 12:53:19 -0800295 <intent-filter>
Ashwini Orugantic51ebdf2020-03-23 16:54:51 -0700296 <action android:name="android.telecom.action.POST_CALL"/>
297 <category android:name="android.intent.category.DEFAULT"/>
Grace Jia2b6e7222019-12-17 12:53:19 -0800298 </intent-filter>
299 </activity>
Ihab Awad945a82e2015-04-01 19:35:00 -0700300 </application>
301</manifest>