AndroidManifest.xml revision 1e9dbb477f2837945fdfda6510218f11f9b8b6ef
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-permission android:name="android.permission.CAMERA" /> 22 <uses-permission android:name="android.permission.CALL_PHONE" /> 23 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" /> 24 <uses-permission android:name="android.permission.READ_CALL_LOG" /> 25 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 26 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" /> 27 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> 28 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> 29 <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> 30 31 <application android:label="@string/app_name"> 32 <uses-library android:name="android.test.runner" /> 33 34 <!-- Miscellaneous telecom app-related test activities. --> 35 36 <service android:name="com.android.server.telecom.testapps.TestConnectionService" 37 android:permission="android.permission.BIND_CONNECTION_SERVICE" > 38 <intent-filter> 39 <action android:name="android.telecom.ConnectionService" /> 40 </intent-filter> 41 </service> 42 43 <service android:name="com.android.server.telecom.testapps.TestConnectionManager" 44 android:permission="android.permission.BIND_CONNECTION_SERVICE" > 45 <intent-filter> 46 <action android:name="android.telecom.ConnectionService" /> 47 </intent-filter> 48 </service> 49 50 <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl" 51 android:process="com.android.server.telecom.testapps.TestInCallService" 52 android:permission="android.permission.BIND_INCALL_SERVICE" > 53 <intent-filter> 54 <action android:name="android.telecom.InCallService"/> 55 </intent-filter> 56 </service> 57 58 <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver" 59 android:process="com.android.server.telecom.testapps.TestInCallService" > 60 <intent-filter> 61 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/> 62 <data android:scheme="int" /> 63 </intent-filter> 64 </receiver> 65 66 <activity android:name="com.android.server.telecom.testapps.TestCallActivity" 67 android:theme="@android:style/Theme.NoDisplay" 68 android:label="@string/testCallActivityLabel"> 69 <intent-filter> 70 <action android:name="android.intent.action.MAIN" /> 71 <category android:name="android.intent.category.DEFAULT" /> 72 <category android:name="android.intent.category.LAUNCHER" /> 73 </intent-filter> 74 <intent-filter> 75 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" /> 76 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" /> 77 <category android:name="android.intent.category.DEFAULT" /> 78 <data android:scheme="tel" /> 79 <data android:scheme="sip" /> 80 </intent-filter> 81 <intent-filter> 82 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" /> 83 <category android:name="android.intent.category.DEFAULT" /> 84 </intent-filter> 85 <intent-filter> 86 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" /> 87 <category android:name="android.intent.category.DEFAULT" /> 88 <data android:scheme="int" /> 89 </intent-filter> 90 </activity> 91 92 <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver" 93 android:exported="false"> 94 <intent-filter> 95 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" /> 96 </intent-filter> 97 </receiver> 98 99 <activity android:name="com.android.server.telecom.testapps.TestDialerActivity" 100 android:label="@string/testDialerActivityLabel" 101 android:process="com.android.server.telecom.testapps.TestInCallService"> 102 <intent-filter> 103 <action android:name="android.intent.action.DIAL" /> 104 <category android:name="android.intent.category.DEFAULT" /> 105 <category android:name="android.intent.category.BROWSABLE" /> 106 <data android:mimeType="vnd.android.cursor.item/phone" /> 107 <data android:mimeType="vnd.android.cursor.item/person" /> 108 </intent-filter> 109 <intent-filter> 110 <action android:name="android.intent.action.DIAL" /> 111 <category android:name="android.intent.category.DEFAULT" /> 112 <category android:name="android.intent.category.BROWSABLE" /> 113 <data android:scheme="voicemail" /> 114 </intent-filter> 115 <intent-filter> 116 <action android:name="android.intent.action.DIAL" /> 117 <category android:name="android.intent.category.DEFAULT" /> 118 </intent-filter> 119 <intent-filter> 120 <action android:name="android.intent.action.VIEW" /> 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:scheme="tel" /> 125 </intent-filter> 126 <intent-filter> 127 <action android:name="android.intent.action.MAIN" /> 128 <category android:name="android.intent.category.DEFAULT" /> 129 <category android:name="android.intent.category.LAUNCHER" /> 130 </intent-filter> 131 </activity> 132 </application> 133</manifest> 134