Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 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 | |
Yorke Lee | 1cbe702 | 2015-08-31 18:22:15 -0700 | [diff] [blame] | 21 | <uses-sdk |
| 22 | android:minSdkVersion="23" |
| 23 | android:targetSdkVersion="23" /> |
| 24 | |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.CAMERA" /> |
Yorke Lee | 562ad5e | 2015-04-20 16:25:40 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" /> |
Tyler Gunn | 9517c96 | 2017-01-26 07:24:08 -0800 | [diff] [blame^] | 28 | <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" /> |
Yorke Lee | fbc9563 | 2015-04-27 13:56:13 -0700 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 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" /> |
Yorke Lee | fbc9563 | 2015-04-27 13:56:13 -0700 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 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" |
Yorke Lee | 7bb8ce9 | 2015-05-13 16:28:29 -0700 | [diff] [blame] | 42 | android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" > |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 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" |
Yorke Lee | 7bb8ce9 | 2015-05-13 16:28:29 -0700 | [diff] [blame] | 49 | android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" > |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 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" > |
Santos Cordon | 501b9b3 | 2016-03-07 14:40:07 -0800 | [diff] [blame] | 58 | <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/> |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 59 | <intent-filter> |
| 60 | <action android:name="android.telecom.InCallService"/> |
| 61 | </intent-filter> |
| 62 | </service> |
| 63 | |
Tyler Gunn | 33b6729 | 2015-04-27 15:41:35 -0700 | [diff] [blame] | 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"/> |
Tyler Gunn | 86014fc | 2015-06-12 14:31:25 -0700 | [diff] [blame] | 68 | <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/> |
Tyler Gunn | ac30f08 | 2015-05-05 11:42:05 -0700 | [diff] [blame] | 69 | <data android:scheme="int" /> |
Tyler Gunn | 33b6729 | 2015-04-27 15:41:35 -0700 | [diff] [blame] | 70 | </intent-filter> |
| 71 | </receiver> |
| 72 | |
Santos Cordon | f78a72f | 2016-01-21 22:10:32 +0000 | [diff] [blame] | 73 | <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 Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 84 | <activity android:name="com.android.server.telecom.testapps.TestCallActivity" |
Yorke Lee | 17fa0d6 | 2015-04-27 14:55:10 -0700 | [diff] [blame] | 85 | android:theme="@android:style/Theme.NoDisplay" |
Tyler Gunn | 33b6729 | 2015-04-27 15:41:35 -0700 | [diff] [blame] | 86 | android:label="@string/testCallActivityLabel"> |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 87 | <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 Lee | 2a6985f | 2015-03-27 12:30:44 -0700 | [diff] [blame] | 99 | <intent-filter> |
| 100 | <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" /> |
| 101 | <category android:name="android.intent.category.DEFAULT" /> |
| 102 | </intent-filter> |
Yorke Lee | 817090c | 2015-04-10 12:12:25 -0700 | [diff] [blame] | 103 | <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 Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 108 | </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 Gunn | 9517c96 | 2017-01-26 07:24:08 -0800 | [diff] [blame^] | 150 | |
| 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 Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 168 | </application> |
| 169 | </manifest> |