1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2023 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17<manifest xmlns:android="http://schemas.android.com/apk/res/android"> 18 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" /> 19 <uses-permission android:name="android.permission.READ_PHONE_NUMBERS"/> 20 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 21 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> 22 23 <application> 24 <service 25 android:name="androidx.core.telecom.internal.JetpackConnectionService" 26 android:exported="true" 27 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"> 28 <intent-filter> 29 <action android:name="android.telecom.ConnectionService"/> 30 </intent-filter> 31 </service> 32 33 <!-- This CS is needed to simulate managed/sim calls for testing --> 34 <service 35 android:name="androidx.core.telecom.test.utils.ManagedConnectionService" 36 android:exported="true" 37 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"> 38 <intent-filter> 39 <action android:name="android.telecom.ConnectionService"/> 40 </intent-filter> 41 </service> 42 43 <!-- This CS is needed to test the 1.5 extensions layer with Auto --> 44 <service 45 android:name="androidx.core.telecom.test.utils.VoipConnectionService" 46 android:exported="true" 47 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"> 48 <intent-filter> 49 <action android:name="android.telecom.ConnectionService"/> 50 </intent-filter> 51 </service> 52 53 <service android:name="androidx.core.telecom.test.utils.TestInCallService" 54 android:permission="android.permission.BIND_INCALL_SERVICE" 55 android:exported="true"> 56 <intent-filter> 57 <action android:name="android.telecom.InCallService"/> 58 </intent-filter> 59 <intent-filter> 60 <action android:name="android.intent.action.DIAL" /> 61 <category android:name="android.intent.category.DEFAULT" /> 62 </intent-filter> 63 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true" /> 64 <meta-data android:name="android.telecom.INCLUDE_EXTERNAL_CALLS" android:value="true" /> 65 <meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS" 66 android:value="true" /> 67 </service> 68 69 <!-- Control interface for creating/managing calls in a separate isolated process --> 70 <service 71 android:name="androidx.core.telecom.test.VoipAppWithExtensions.VoipAppWithExtensionsControl" 72 android:launchMode="singleInstance" 73 android:exported="true" 74 android:process=":voip_with_extensions_process"> 75 </service> 76 77 <!-- Control interface for creating/managing calls in the same process as the test 78 (required to perform tests with the Self-Managed ConnectionService interface) --> 79 <service 80 android:name="androidx.core.telecom.test.VoipAppWithExtensions.VoipAppWithExtensionsControlLocal" 81 android:launchMode="singleInstance" 82 android:exported="true"> 83 </service> 84 85 <activity android:name="androidx.core.telecom.test.utils.MockDialerActivity" 86 android:exported="true"> 87 <intent-filter> 88 <action android:name="android.intent.action.DIAL" /> 89 <category android:name="android.intent.category.DEFAULT" /> 90 <category android:name="android.intent.category.BROWSABLE" /> 91 <data android:mimeType="vnd.android.cursor.item/phone" /> 92 <data android:mimeType="vnd.android.cursor.item/person" /> 93 </intent-filter> 94 <intent-filter> 95 <action android:name="android.intent.action.DIAL" /> 96 <category android:name="android.intent.category.DEFAULT" /> 97 <category android:name="android.intent.category.BROWSABLE" /> 98 <data android:scheme="voicemail" /> 99 </intent-filter> 100 <intent-filter> 101 <action android:name="android.intent.action.DIAL" /> 102 <category android:name="android.intent.category.DEFAULT" /> 103 </intent-filter> 104 <intent-filter> 105 <action android:name="android.intent.action.VIEW" /> 106 <action android:name="android.intent.action.DIAL" /> 107 <category android:name="android.intent.category.DEFAULT" /> 108 <category android:name="android.intent.category.BROWSABLE" /> 109 <data android:scheme="tel" /> 110 </intent-filter> 111 <intent-filter> 112 <action android:name="android.intent.action.MAIN" /> 113 <category android:name="android.intent.category.DEFAULT" /> 114 <category android:name="android.intent.category.LAUNCHER" /> 115 </intent-filter> 116 </activity> 117 118 </application> 119</manifest> 120