AndroidManifest.xml revision 9517c960762f1ac4a3c558ff834fa1ace69f1e39
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 <data android:scheme="int" /> 70 </intent-filter> 71 </receiver> 72 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 84 <activity android:name="com.android.server.telecom.testapps.TestCallActivity" 85 android:theme="@android:style/Theme.NoDisplay" 86 android:label="@string/testCallActivityLabel"> 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> 99 <intent-filter> 100 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" /> 101 <category android:name="android.intent.category.DEFAULT" /> 102 </intent-filter> 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> 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> 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> 168 </application> 169</manifest> 170