• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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
21    <uses-sdk
22        android:minSdkVersion="23"
23        android:targetSdkVersion="23" />
24
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" />
37
38    <application android:label="@string/app_name">
39        <uses-library android:name="android.test.runner" />
40
41        <!-- Miscellaneous telecom app-related test activities. -->
42
43        <service android:name="com.android.server.telecom.testapps.TestConnectionService"
44                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
45            <intent-filter>
46                <action android:name="android.telecom.ConnectionService" />
47            </intent-filter>
48        </service>
49
50        <receiver android:name=".TestConnectionServiceReceiver">
51            <intent-filter>
52                <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT"/>
53                <action android:name="android.server.telecom.testapps.ACTION_SWITCH_PHONE_ACCOUNT_WRONG"/>
54            </intent-filter>
55        </receiver>
56
57        <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
58                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
59            <intent-filter>
60                <action android:name="android.telecom.ConnectionService" />
61            </intent-filter>
62        </service>
63
64        <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
65                 android:process="com.android.server.telecom.testapps.TestInCallService"
66                 android:permission="android.permission.BIND_INCALL_SERVICE" >
67            <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/>
68            <intent-filter>
69                <action android:name="android.telecom.InCallService"/>
70            </intent-filter>
71        </service>
72
73        <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
74                 android:process="com.android.server.telecom.testapps.TestInCallService" >
75            <intent-filter>
76                <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
77                <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
78                <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
79                <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
80            </intent-filter>
81        </receiver>
82
83
84
85        <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
86                android:process="com.android.server.telecom.testapps.TestInCallService"
87                android:label="@string/inCallUiAppLabel"
88                android:launchMode="singleInstance">
89            <intent-filter>
90                <action android:name="android.intent.action.MAIN" />
91                <category android:name="android.intent.category.DEFAULT" />
92                <category android:name="android.intent.category.LAUNCHER" />
93            </intent-filter>
94        </activity>
95
96        <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
97                  android:process="com.android.server.telecom.testapps.TestInCallService"
98                  android:label="@string/rttUiLabel"
99                  android:launchMode="singleInstance">
100            <intent-filter>
101                <action android:name="android.intent.action.MAIN" />
102                <category android:name="android.intent.category.DEFAULT" />
103            </intent-filter>
104        </activity>
105
106        <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
107                  android:theme="@android:style/Theme.NoDisplay"
108                  android:label="@string/testCallActivityLabel">
109            <intent-filter>
110                <action android:name="android.intent.action.MAIN" />
111                <category android:name="android.intent.category.DEFAULT" />
112                <category android:name="android.intent.category.LAUNCHER" />
113            </intent-filter>
114            <intent-filter>
115                <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
116                <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
117                <category android:name="android.intent.category.DEFAULT" />
118                <data android:scheme="tel" />
119                <data android:scheme="sip" />
120            </intent-filter>
121            <intent-filter>
122                <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
123                <category android:name="android.intent.category.DEFAULT" />
124            </intent-filter>
125            <intent-filter>
126                <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
127                <category android:name="android.intent.category.DEFAULT" />
128                <data android:scheme="int" />
129            </intent-filter>
130            <intent-filter>
131                <action android:name="android.telecom.testapps.ACTION_RTT_CALL" />
132                <category android:name="android.intent.category.DEFAULT" />
133                <data android:scheme="tel" />
134            </intent-filter>
135            <intent-filter>
136                <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE" />
137                <category android:name="android.intent.category.DEFAULT" />
138            </intent-filter>
139        </activity>
140
141        <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
142                  android:exported="false">
143            <intent-filter>
144                <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
145            </intent-filter>
146        </receiver>
147
148        <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
149                  android:label="@string/testDialerActivityLabel"
150                  android:process="com.android.server.telecom.testapps.TestInCallService">
151            <intent-filter>
152                <action android:name="android.intent.action.DIAL" />
153                <category android:name="android.intent.category.DEFAULT" />
154                <category android:name="android.intent.category.BROWSABLE" />
155                <data android:mimeType="vnd.android.cursor.item/phone" />
156                <data android:mimeType="vnd.android.cursor.item/person" />
157            </intent-filter>
158            <intent-filter>
159                <action android:name="android.intent.action.DIAL" />
160                <category android:name="android.intent.category.DEFAULT" />
161                <category android:name="android.intent.category.BROWSABLE" />
162                <data android:scheme="voicemail" />
163            </intent-filter>
164            <intent-filter>
165                <action android:name="android.intent.action.DIAL" />
166                <category android:name="android.intent.category.DEFAULT" />
167            </intent-filter>
168            <intent-filter>
169                <action android:name="android.intent.action.VIEW" />
170                <action android:name="android.intent.action.DIAL" />
171                <category android:name="android.intent.category.DEFAULT" />
172                <category android:name="android.intent.category.BROWSABLE" />
173                <data android:scheme="tel" />
174            </intent-filter>
175            <intent-filter>
176                <action android:name="android.intent.action.MAIN" />
177                <category android:name="android.intent.category.DEFAULT" />
178                <category android:name="android.intent.category.LAUNCHER" />
179            </intent-filter>
180        </activity>
181
182        <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
183                android:label="@string/UssdUiAppLabel"
184                android:launchMode="singleInstance">
185            <intent-filter>
186                <action android:name="android.intent.action.MAIN" />
187                <category android:name="android.intent.category.DEFAULT" />
188                <category android:name="android.intent.category.LAUNCHER" />
189            </intent-filter>
190          </activity>
191
192        <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
193                android:label="@string/KeyUiAppLabel"
194                android:launchMode="singleInstance">
195            <intent-filter>
196                <action android:name="android.intent.action.MAIN" />
197                <category android:name="android.intent.category.DEFAULT" />
198                <category android:name="android.intent.category.LAUNCHER" />
199            </intent-filter>
200          </activity>
201
202        <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
203                  android:label="@string/selfManagedCallingActivityLabel"
204                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
205                  android:theme="@android:style/Theme.Material.Light">
206          <intent-filter>
207              <action android:name="android.intent.action.MAIN" />
208              <category android:name="android.intent.category.DEFAULT" />
209              <category android:name="android.intent.category.LAUNCHER" />
210          </intent-filter>
211        </activity>
212
213        <activity android:name="com.android.server.telecom.testapps.IncomingSelfManagedCallActivity"
214                  android:label="@string/selfManagedCallingActivityLabel"
215                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
216          <intent-filter>
217              <action android:name="android.intent.action.MAIN" />
218          </intent-filter>
219        </activity>
220
221        <activity android:name="com.android.server.telecom.testapps.HandoverActivity"
222                  android:label="@string/selfManagedCallingActivityLabel"
223                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
224          <intent-filter>
225              <action android:name="android.intent.action.MAIN" />
226          </intent-filter>
227        </activity>
228
229        <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
230                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
231                 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
232          <intent-filter>
233              <action android:name="android.telecom.ConnectionService" />
234          </intent-filter>
235        </service>
236
237        <receiver android:exported="false"
238            android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
239            android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver" />
240    </application>
241</manifest>
242