• 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.CAMERA" />
26    <uses-permission android:name="android.permission.CALL_PHONE" />
27    <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
28    <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
29    <uses-permission android:name="android.permission.READ_CALL_LOG" />
30    <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" />
34    <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
35
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"
42                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
43            <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"
49                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
50            <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" >
58            <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/>
59            <intent-filter>
60                <action android:name="android.telecom.InCallService"/>
61            </intent-filter>
62        </service>
63
64        <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"/>
68                <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
69                <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
70                <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
71            </intent-filter>
72        </receiver>
73
74        <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
75                android:process="com.android.server.telecom.testapps.TestInCallService"
76                android:label="@string/inCallUiAppLabel"
77                android:launchMode="singleInstance">
78            <intent-filter>
79                <action android:name="android.intent.action.MAIN" />
80                <category android:name="android.intent.category.DEFAULT" />
81                <category android:name="android.intent.category.LAUNCHER" />
82            </intent-filter>
83        </activity>
84
85        <activity android:name="com.android.server.telecom.testapps.TestRttActivity"
86                  android:process="com.android.server.telecom.testapps.TestInCallService"
87                  android:label="@string/rttUiLabel"
88                  android:launchMode="singleInstance">
89            <intent-filter>
90                <action android:name="android.intent.action.MAIN" />
91                <category android:name="android.intent.category.DEFAULT" />
92            </intent-filter>
93        </activity>
94
95        <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
96                  android:theme="@android:style/Theme.NoDisplay"
97                  android:label="@string/testCallActivityLabel">
98            <intent-filter>
99                <action android:name="android.intent.action.MAIN" />
100                <category android:name="android.intent.category.DEFAULT" />
101                <category android:name="android.intent.category.LAUNCHER" />
102            </intent-filter>
103            <intent-filter>
104                <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
105                <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
106                <category android:name="android.intent.category.DEFAULT" />
107                <data android:scheme="tel" />
108                <data android:scheme="sip" />
109            </intent-filter>
110            <intent-filter>
111                <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
112                <category android:name="android.intent.category.DEFAULT" />
113            </intent-filter>
114            <intent-filter>
115                <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
116                <category android:name="android.intent.category.DEFAULT" />
117                <data android:scheme="int" />
118            </intent-filter>
119            <intent-filter>
120                <action android:name="android.telecom.testapps.ACTION_RTT_CALL" />
121                <category android:name="android.intent.category.DEFAULT" />
122                <data android:scheme="tel" />
123            </intent-filter>
124            <intent-filter>
125                <action android:name="android.telecom.testapps.ACTION_REMOTE_RTT_UPGRADE" />
126                <category android:name="android.intent.category.DEFAULT" />
127            </intent-filter>
128        </activity>
129
130        <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
131                  android:exported="false">
132            <intent-filter>
133                <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
134            </intent-filter>
135        </receiver>
136
137        <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
138                  android:label="@string/testDialerActivityLabel"
139                  android:process="com.android.server.telecom.testapps.TestInCallService">
140            <intent-filter>
141                <action android:name="android.intent.action.DIAL" />
142                <category android:name="android.intent.category.DEFAULT" />
143                <category android:name="android.intent.category.BROWSABLE" />
144                <data android:mimeType="vnd.android.cursor.item/phone" />
145                <data android:mimeType="vnd.android.cursor.item/person" />
146            </intent-filter>
147            <intent-filter>
148                <action android:name="android.intent.action.DIAL" />
149                <category android:name="android.intent.category.DEFAULT" />
150                <category android:name="android.intent.category.BROWSABLE" />
151                <data android:scheme="voicemail" />
152            </intent-filter>
153            <intent-filter>
154                <action android:name="android.intent.action.DIAL" />
155                <category android:name="android.intent.category.DEFAULT" />
156            </intent-filter>
157            <intent-filter>
158                <action android:name="android.intent.action.VIEW" />
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="tel" />
163            </intent-filter>
164            <intent-filter>
165                <action android:name="android.intent.action.MAIN" />
166                <category android:name="android.intent.category.DEFAULT" />
167                <category android:name="android.intent.category.LAUNCHER" />
168            </intent-filter>
169        </activity>
170
171        <activity android:name="com.android.server.telecom.testapps.TestUssdActivity"
172                android:label="@string/UssdUiAppLabel"
173                android:launchMode="singleInstance">
174            <intent-filter>
175                <action android:name="android.intent.action.MAIN" />
176                <category android:name="android.intent.category.DEFAULT" />
177                <category android:name="android.intent.category.LAUNCHER" />
178            </intent-filter>
179          </activity>
180
181        <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
182                  android:label="@string/selfManagedCallingActivityLabel"
183                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
184                  android:theme="@android:style/Theme.Material.Light">
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.IncomingSelfManagedCallActivity"
193                  android:label="@string/selfManagedCallingActivityLabel"
194                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
195          <intent-filter>
196              <action android:name="android.intent.action.MAIN" />
197          </intent-filter>
198        </activity>
199
200        <service android:name="com.android.server.telecom.testapps.SelfManagedConnectionService"
201                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
202                 android:process="com.android.server.telecom.testapps.SelfMangingCallingApp">
203          <intent-filter>
204              <action android:name="android.telecom.ConnectionService" />
205          </intent-filter>
206        </service>
207
208        <receiver android:exported="false"
209            android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
210            android:name="com.android.server.telecom.testapps.SelfManagedCallNotificationReceiver" />
211    </application>
212</manifest>
213