blob: e6451238b70dd02e43104f4ab0dbc9bfdf90e9bb [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" />
Yorke Leefbc95632015-04-27 13:56:13 -070028 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Ihab Awad945a82e2015-04-01 19:35:00 -070029 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
30 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
31 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
32 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
Yorke Leefbc95632015-04-27 13:56:13 -070033 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Ihab Awad945a82e2015-04-01 19:35:00 -070034
35 <application android:label="@string/app_name">
36 <uses-library android:name="android.test.runner" />
37
38 <!-- Miscellaneous telecom app-related test activities. -->
39
40 <service android:name="com.android.server.telecom.testapps.TestConnectionService"
Yorke Lee7bb8ce92015-05-13 16:28:29 -070041 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
Ihab Awad945a82e2015-04-01 19:35:00 -070042 <intent-filter>
43 <action android:name="android.telecom.ConnectionService" />
44 </intent-filter>
45 </service>
46
47 <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
Yorke Lee7bb8ce92015-05-13 16:28:29 -070048 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
Ihab Awad945a82e2015-04-01 19:35:00 -070049 <intent-filter>
50 <action android:name="android.telecom.ConnectionService" />
51 </intent-filter>
52 </service>
53
54 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
55 android:process="com.android.server.telecom.testapps.TestInCallService"
56 android:permission="android.permission.BIND_INCALL_SERVICE" >
Santos Cordonf78a72f2016-01-21 22:10:32 +000057 <meta-data android:name="android.telecom.IN_CALL_SERVICE_CAR_MODE_UI" android:value="true" />
Ihab Awad945a82e2015-04-01 19:35:00 -070058 <intent-filter>
59 <action android:name="android.telecom.InCallService"/>
60 </intent-filter>
61 </service>
62
Tyler Gunn33b67292015-04-27 15:41:35 -070063 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
64 android:process="com.android.server.telecom.testapps.TestInCallService" >
65 <intent-filter>
66 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
Tyler Gunn86014fc2015-06-12 14:31:25 -070067 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
Tyler Gunnac30f082015-05-05 11:42:05 -070068 <data android:scheme="int" />
Tyler Gunn33b67292015-04-27 15:41:35 -070069 </intent-filter>
70 </receiver>
71
Santos Cordonf78a72f2016-01-21 22:10:32 +000072 <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
73 android:process="com.android.server.telecom.testapps.TestInCallService"
74 android:label="@string/inCallUiAppLabel"
75 android:launchMode="singleInstance">
76 <intent-filter>
77 <action android:name="android.intent.action.MAIN" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <category android:name="android.intent.category.LAUNCHER" />
80 </intent-filter>
81 </activity>
82
Ihab Awad945a82e2015-04-01 19:35:00 -070083 <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
Yorke Lee17fa0d62015-04-27 14:55:10 -070084 android:theme="@android:style/Theme.NoDisplay"
Tyler Gunn33b67292015-04-27 15:41:35 -070085 android:label="@string/testCallActivityLabel">
Ihab Awad945a82e2015-04-01 19:35:00 -070086 <intent-filter>
87 <action android:name="android.intent.action.MAIN" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <category android:name="android.intent.category.LAUNCHER" />
90 </intent-filter>
91 <intent-filter>
92 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
93 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <data android:scheme="tel" />
96 <data android:scheme="sip" />
97 </intent-filter>
Yorke Lee2a6985f2015-03-27 12:30:44 -070098 <intent-filter>
99 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
100 <category android:name="android.intent.category.DEFAULT" />
101 </intent-filter>
Yorke Lee817090c2015-04-10 12:12:25 -0700102 <intent-filter>
103 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
104 <category android:name="android.intent.category.DEFAULT" />
105 <data android:scheme="int" />
106 </intent-filter>
Ihab Awad945a82e2015-04-01 19:35:00 -0700107 </activity>
108
109 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
110 android:exported="false">
111 <intent-filter>
112 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
113 </intent-filter>
114 </receiver>
115
116 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
117 android:label="@string/testDialerActivityLabel"
118 android:process="com.android.server.telecom.testapps.TestInCallService">
119 <intent-filter>
120 <action android:name="android.intent.action.DIAL" />
121 <category android:name="android.intent.category.DEFAULT" />
122 <category android:name="android.intent.category.BROWSABLE" />
123 <data android:mimeType="vnd.android.cursor.item/phone" />
124 <data android:mimeType="vnd.android.cursor.item/person" />
125 </intent-filter>
126 <intent-filter>
127 <action android:name="android.intent.action.DIAL" />
128 <category android:name="android.intent.category.DEFAULT" />
129 <category android:name="android.intent.category.BROWSABLE" />
130 <data android:scheme="voicemail" />
131 </intent-filter>
132 <intent-filter>
133 <action android:name="android.intent.action.DIAL" />
134 <category android:name="android.intent.category.DEFAULT" />
135 </intent-filter>
136 <intent-filter>
137 <action android:name="android.intent.action.VIEW" />
138 <action android:name="android.intent.action.DIAL" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <category android:name="android.intent.category.BROWSABLE" />
141 <data android:scheme="tel" />
142 </intent-filter>
143 <intent-filter>
144 <action android:name="android.intent.action.MAIN" />
145 <category android:name="android.intent.category.DEFAULT" />
146 <category android:name="android.intent.category.LAUNCHER" />
147 </intent-filter>
148 </activity>
149 </application>
150</manifest>