blob: 03c1d60a4057a046fe112840abaa79f2384c788c [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
22 android:minSdkVersion="23"
23 android:targetSdkVersion="23" />
24
Ihab Awad945a82e2015-04-01 19:35:00 -070025 <uses-permission android:name="android.permission.CAMERA" />
Yorke Lee562ad5e2015-04-20 16:25:40 -070026 <uses-permission android:name="android.permission.CALL_PHONE" />
Ihab Awad945a82e2015-04-01 19:35:00 -070027 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
Tyler Gunn9517c962017-01-26 07:24:08 -080028 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
Yorke Leefbc95632015-04-27 13:56:13 -070029 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Ihab Awad945a82e2015-04-01 19:35:00 -070030 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
31 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
32 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
33 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
Yorke Leefbc95632015-04-27 13:56:13 -070034 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Ihab Awad945a82e2015-04-01 19:35:00 -070035
36 <application android:label="@string/app_name">
37 <uses-library android:name="android.test.runner" />
38
39 <!-- Miscellaneous telecom app-related test activities. -->
40
41 <service android:name="com.android.server.telecom.testapps.TestConnectionService"
Yorke Lee7bb8ce92015-05-13 16:28:29 -070042 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
Ihab Awad945a82e2015-04-01 19:35:00 -070043 <intent-filter>
44 <action android:name="android.telecom.ConnectionService" />
45 </intent-filter>
46 </service>
47
48 <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
Yorke Lee7bb8ce92015-05-13 16:28:29 -070049 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
Ihab Awad945a82e2015-04-01 19:35:00 -070050 <intent-filter>
51 <action android:name="android.telecom.ConnectionService" />
52 </intent-filter>
53 </service>
54
55 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
56 android:process="com.android.server.telecom.testapps.TestInCallService"
57 android:permission="android.permission.BIND_INCALL_SERVICE" >
Santos Cordon501b9b32016-03-07 14:40:07 -080058 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/>
Ihab Awad945a82e2015-04-01 19:35:00 -070059 <intent-filter>
60 <action android:name="android.telecom.InCallService"/>
61 </intent-filter>
62 </service>
63
Tyler Gunn33b67292015-04-27 15:41:35 -070064 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
65 android:process="com.android.server.telecom.testapps.TestInCallService" >
66 <intent-filter>
67 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070068 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnac30f082015-05-05 11:42:05 -070069 <data android:scheme="int" />
Tyler Gunn33b67292015-04-27 15:41:35 -070070 </intent-filter>
71 </receiver>
72
Santos Cordonf78a72f2016-01-21 22:10:32 +000073 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
74 android:process="com.android.server.telecom.testapps.TestInCallService"
75 android:label="@string/inCallUiAppLabel"
76 android:launchMode="singleInstance">
77 <intent-filter>
78 <action android:name="android.intent.action.MAIN" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <category android:name="android.intent.category.LAUNCHER" />
81 </intent-filter>
82 </activity>
83
Ihab Awad945a82e2015-04-01 19:35:00 -070084 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Yorke Lee17fa0d62015-04-27 14:55:10 -070085 android:theme="@android:style/Theme.NoDisplay"
Tyler Gunn33b67292015-04-27 15:41:35 -070086 android:label="@string/testCallActivityLabel">
Ihab Awad945a82e2015-04-01 19:35:00 -070087 <intent-filter>
88 <action android:name="android.intent.action.MAIN" />
89 <category android:name="android.intent.category.DEFAULT" />
90 <category android:name="android.intent.category.LAUNCHER" />
91 </intent-filter>
92 <intent-filter>
93 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
94 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
95 <category android:name="android.intent.category.DEFAULT" />
96 <data android:scheme="tel" />
97 <data android:scheme="sip" />
98 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -070099 <intent-filter>
100 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
101 <category android:name="android.intent.category.DEFAULT" />
102 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700103 <intent-filter>
104 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
105 <category android:name="android.intent.category.DEFAULT" />
106 <data android:scheme="int" />
107 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700108 </activity>
109
110 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
111 android:exported="false">
112 <intent-filter>
113 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
114 </intent-filter>
115 </receiver>
116
117 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
118 android:label="@string/testDialerActivityLabel"
119 android:process="com.android.server.telecom.testapps.TestInCallService">
120 <intent-filter>
121 <action android:name="android.intent.action.DIAL" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <category android:name="android.intent.category.BROWSABLE" />
124 <data android:mimeType="vnd.android.cursor.item/phone" />
125 <data android:mimeType="vnd.android.cursor.item/person" />
126 </intent-filter>
127 <intent-filter>
128 <action android:name="android.intent.action.DIAL" />
129 <category android:name="android.intent.category.DEFAULT" />
130 <category android:name="android.intent.category.BROWSABLE" />
131 <data android:scheme="voicemail" />
132 </intent-filter>
133 <intent-filter>
134 <action android:name="android.intent.action.DIAL" />
135 <category android:name="android.intent.category.DEFAULT" />
136 </intent-filter>
137 <intent-filter>
138 <action android:name="android.intent.action.VIEW" />
139 <action android:name="android.intent.action.DIAL" />
140 <category android:name="android.intent.category.DEFAULT" />
141 <category android:name="android.intent.category.BROWSABLE" />
142 <data android:scheme="tel" />
143 </intent-filter>
144 <intent-filter>
145 <action android:name="android.intent.action.MAIN" />
146 <category android:name="android.intent.category.DEFAULT" />
147 <category android:name="android.intent.category.LAUNCHER" />
148 </intent-filter>
149 </activity>
Tyler Gunn9517c962017-01-26 07:24:08 -0800150
151 <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
152 android:label="@string/selfManagedCallingActivityLabel"
153 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
154 <intent-filter>
155 <action android:name="android.intent.action.MAIN" />
156 <category android:name="android.intent.category.DEFAULT" />
157 <category android:name="android.intent.category.LAUNCHER" />
158 </intent-filter>
159 </activity>
160
161 <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
162 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
163 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
164 <intent-filter>
165 <action android:name="android.telecom.ConnectionService" />
166 </intent-filter>
167 </service>
Ihab Awad945a82e2015-04-01 19:35:00 -0700168 </application>
169</manifest>