blob: 9cb19922075a70f40b8c9e0f0633fea932da5bf2 [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"
18 coreApp="true"
19 package="com.android.server.telecom.testapps">
20
Yorke Lee1cbe7022015-08-31 18:22:15 -070021 <uses-sdk
Tyler Gunn715b5c82018-09-14 13:39:52 -070022 android:minSdkVersion="28"
23 android:targetSdkVersion="28" />
Yorke Lee1cbe7022015-08-31 18:22:15 -070024
Tyler Gunn715b5c82018-09-14 13:39:52 -070025 <uses-permission android:name="android.permission.ACCEPT_HANDOVER" />
Hall Liu7ca497b2018-04-27 17:54:46 -070026 <uses-permission android:name="android.permission.BLUETOOTH" />
Ihab Awad945a82e2015-04-01 19:35:00 -070027 <uses-permission android:name="android.permission.CAMERA" />
Yorke Lee562ad5e2015-04-20 16:25:40 -070028 <uses-permission android:name="android.permission.CALL_PHONE" />
Ihab Awad945a82e2015-04-01 19:35:00 -070029 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
pkanwarc0d60432017-05-04 09:17:23 -070030 <uses-permission android:name="android.permission.INTERNET" />
Tyler Gunna90ba732017-01-26 07:24:08 -080031 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
Yorke Leefbc95632015-04-27 13:56:13 -070032 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Ihab Awad945a82e2015-04-01 19:35:00 -070033 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
34 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
35 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
36 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
Yorke Leefbc95632015-04-27 13:56:13 -070037 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Ihab Awad945a82e2015-04-01 19:35:00 -070038
39 <application android:label="@string/app_name">
40 <uses-library android:name="android.test.runner" />
41
42 <!-- Miscellaneous telecom app-related test activities. -->
43
44 <service android:name="com.android.server.telecom.testapps.TestConnectionService"
Yorke Lee7bb8ce92015-05-13 16:28:29 -070045 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
Ihab Awad945a82e2015-04-01 19:35:00 -070046 <intent-filter>
47 <action android:name="android.telecom.ConnectionService" />
48 </intent-filter>
49 </service>
50
Brad Ebinger702f8f52017-08-18 13:09:06 -070051 <receiver android:name=".TestConnectionServiceReceiver">
52 <intent-filter>
53 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT"/>
54 <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT_WRONG"/>
55 </intent-filter>
56 </receiver>
57
Ihab Awad945a82e2015-04-01 19:35:00 -070058 <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
Yorke Lee7bb8ce92015-05-13 16:28:29 -070059 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
Ihab Awad945a82e2015-04-01 19:35:00 -070060 <intent-filter>
61 <action android:name="android.telecom.ConnectionService" />
62 </intent-filter>
63 </service>
64
65 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
66 android:process="com.android.server.telecom.testapps.TestInCallService"
67 android:permission="android.permission.BIND_INCALL_SERVICE" >
Santos Cordon501b9b32016-03-07 14:40:07 -080068 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070069 <intent-filter>
70 <action android:name="android.telecom.InCallService"/>
71 </intent-filter>
72 </service>
73
Tyler Gunn33b67292015-04-27 15:41:35 -070074 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
75 android:process="com.android.server.telecom.testapps.TestInCallService" >
76 <intent-filter>
77 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070078 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnea4c6fb2017-04-14 13:46:21 -070079 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
80 <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
Tyler Gunn33b67292015-04-27 15:41:35 -070081 </intent-filter>
82 </receiver>
83
Brad Ebinger702f8f52017-08-18 13:09:06 -070084
85
Santos Cordonf78a72f2016-01-21 22:10:32 +000086 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
87 android:process="com.android.server.telecom.testapps.TestInCallService"
88 android:label="@string/inCallUiAppLabel"
89 android:launchMode="singleInstance">
90 <intent-filter>
91 <action android:name="android.intent.action.MAIN" />
92 <category android:name="android.intent.category.DEFAULT" />
93 <category android:name="android.intent.category.LAUNCHER" />
94 </intent-filter>
95 </activity>
96
Hall Liudd68bc32017-01-25 17:14:23 -080097 <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
98 android:process="com.android.server.telecom.testapps.TestInCallService"
99 android:label="@string/rttUiLabel"
100 android:launchMode="singleInstance">
101 <intent-filter>
102 <action android:name="android.intent.action.MAIN" />
103 <category android:name="android.intent.category.DEFAULT" />
104 </intent-filter>
105 </activity>
106
Ihab Awad945a82e2015-04-01 19:35:00 -0700107 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Yorke Lee17fa0d62015-04-27 14:55:10 -0700108 android:theme="@android:style/Theme.NoDisplay"
Tyler Gunn33b67292015-04-27 15:41:35 -0700109 android:label="@string/testCallActivityLabel">
Ihab Awad945a82e2015-04-01 19:35:00 -0700110 <intent-filter>
111 <action android:name="android.intent.action.MAIN" />
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.LAUNCHER" />
114 </intent-filter>
115 <intent-filter>
116 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
117 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
118 <category android:name="android.intent.category.DEFAULT" />
119 <data android:scheme="tel" />
120 <data android:scheme="sip" />
121 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -0700122 <intent-filter>
123 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
124 <category android:name="android.intent.category.DEFAULT" />
125 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700126 <intent-filter>
127 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
128 <category android:name="android.intent.category.DEFAULT" />
129 <data android:scheme="int" />
130 </intent-filter>
Hall Liudd68bc32017-01-25 17:14:23 -0800131 <intent-filter>
132 <action android:name="android.telecom.testapps.ACTION_RTT_CALL" />
133 <category android:name="android.intent.category.DEFAULT" />
134 <data android:scheme="tel" />
135 </intent-filter>
Hall Liuaeece4e2017-02-14 16:42:12 -0800136 <intent-filter>
137 <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE" />
138 <category android:name="android.intent.category.DEFAULT" />
139 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700140 </activity>
141
142 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
143 android:exported="false">
144 <intent-filter>
145 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
146 </intent-filter>
147 </receiver>
148
149 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
150 android:label="@string/testDialerActivityLabel"
151 android:process="com.android.server.telecom.testapps.TestInCallService">
152 <intent-filter>
153 <action android:name="android.intent.action.DIAL" />
154 <category android:name="android.intent.category.DEFAULT" />
155 <category android:name="android.intent.category.BROWSABLE" />
156 <data android:mimeType="vnd.android.cursor.item/phone" />
157 <data android:mimeType="vnd.android.cursor.item/person" />
158 </intent-filter>
159 <intent-filter>
160 <action android:name="android.intent.action.DIAL" />
161 <category android:name="android.intent.category.DEFAULT" />
162 <category android:name="android.intent.category.BROWSABLE" />
163 <data android:scheme="voicemail" />
164 </intent-filter>
165 <intent-filter>
166 <action android:name="android.intent.action.DIAL" />
167 <category android:name="android.intent.category.DEFAULT" />
168 </intent-filter>
169 <intent-filter>
170 <action android:name="android.intent.action.VIEW" />
171 <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="tel" />
175 </intent-filter>
176 <intent-filter>
177 <action android:name="android.intent.action.MAIN" />
178 <category android:name="android.intent.category.DEFAULT" />
179 <category android:name="android.intent.category.LAUNCHER" />
180 </intent-filter>
181 </activity>
pkanwardc4c14d2016-10-31 11:04:18 -0700182
183 <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
184 android:label="@string/UssdUiAppLabel"
185 android:launchMode="singleInstance">
186 <intent-filter>
187 <action android:name="android.intent.action.MAIN" />
188 <category android:name="android.intent.category.DEFAULT" />
189 <category android:name="android.intent.category.LAUNCHER" />
190 </intent-filter>
Tyler Gunna90ba732017-01-26 07:24:08 -0800191 </activity>
192
pkanwarc0d60432017-05-04 09:17:23 -0700193 <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
194 android:label="@string/KeyUiAppLabel"
195 android:launchMode="singleInstance">
196 <intent-filter>
197 <action android:name="android.intent.action.MAIN" />
198 <category android:name="android.intent.category.DEFAULT" />
199 <category android:name="android.intent.category.LAUNCHER" />
200 </intent-filter>
201 </activity>
202
Tyler Gunna90ba732017-01-26 07:24:08 -0800203 <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
204 android:label="@string/selfManagedCallingActivityLabel"
Tyler Gunn2b17f232017-03-08 08:51:00 -0800205 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
206 android:theme="@android:style/Theme.Material.Light">
Tyler Gunna90ba732017-01-26 07:24:08 -0800207 <intent-filter>
208 <action android:name="android.intent.action.MAIN" />
209 <category android:name="android.intent.category.DEFAULT" />
210 <category android:name="android.intent.category.LAUNCHER" />
211 </intent-filter>
pkanwardc4c14d2016-10-31 11:04:18 -0700212 </activity>
Tyler Gunna90ba732017-01-26 07:24:08 -0800213
Tyler Gunn115c06e2017-03-02 09:29:07 -0800214 <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
215 android:label="@string/selfManagedCallingActivityLabel"
216 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
217 <intent-filter>
218 <action android:name="android.intent.action.MAIN" />
219 </intent-filter>
220 </activity>
221
Tyler Gunn6f9ceb22017-04-06 08:47:01 -0700222 <activity android:name="com.android.server.telecom.testapps.HandoverActivity"
223 android:label="@string/selfManagedCallingActivityLabel"
224 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
225 <intent-filter>
226 <action android:name="android.intent.action.MAIN" />
227 </intent-filter>
228 </activity>
229
Tyler Gunna90ba732017-01-26 07:24:08 -0800230 <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
231 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
232 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
233 <intent-filter>
234 <action android:name="android.telecom.ConnectionService" />
235 </intent-filter>
236 </service>
Tyler Gunn115c06e2017-03-02 09:29:07 -0800237
238 <receiver android:exported="false"
239 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
240 android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver" />
Tyler Gunn5a2f6fe2018-11-30 14:26:13 -0800241
242 <service
243 android:name=".TestCallScreeningService"
244 android:permission="android.permission.BIND_SCREENING_SERVICE">
245 <intent-filter>
246 <action android:name="android.telecom.CallScreeningService"/>
247 </intent-filter>
248 </service>
249
250 <activity android:name=".CallScreeningActivity"
251 android:configChanges="orientation|screenSize|keyboardHidden"
252 android:excludeFromRecents="true"
253 android:launchMode="singleInstance">
254 </activity>
Ihab Awad945a82e2015-04-01 19:35:00 -0700255 </application>
256</manifest>