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 | |
| 21 | <uses-permission android:name="android.permission.CAMERA" /> |
| 22 | <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" /> |
| 23 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 24 | <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" /> |
| 25 | <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> |
| 26 | <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> |
| 27 | |
| 28 | <application android:label="@string/app_name"> |
| 29 | <uses-library android:name="android.test.runner" /> |
| 30 | |
| 31 | <!-- Miscellaneous telecom app-related test activities. --> |
| 32 | |
| 33 | <service android:name="com.android.server.telecom.testapps.TestConnectionService" |
| 34 | android:permission="android.permission.BIND_CONNECTION_SERVICE" > |
| 35 | <intent-filter> |
| 36 | <action android:name="android.telecom.ConnectionService" /> |
| 37 | </intent-filter> |
| 38 | </service> |
| 39 | |
| 40 | <service android:name="com.android.server.telecom.testapps.TestConnectionManager" |
| 41 | android:permission="android.permission.BIND_CONNECTION_SERVICE" > |
| 42 | <intent-filter> |
| 43 | <action android:name="android.telecom.ConnectionService" /> |
| 44 | </intent-filter> |
| 45 | </service> |
| 46 | |
| 47 | <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl" |
| 48 | android:process="com.android.server.telecom.testapps.TestInCallService" |
| 49 | android:permission="android.permission.BIND_INCALL_SERVICE" > |
| 50 | <intent-filter> |
| 51 | <action android:name="android.telecom.InCallService"/> |
| 52 | </intent-filter> |
| 53 | </service> |
| 54 | |
| 55 | <activity android:name="com.android.server.telecom.testapps.TestCallActivity" |
| 56 | android:label="@string/testCallActivityLabel"> |
| 57 | <intent-filter> |
| 58 | <action android:name="android.intent.action.MAIN" /> |
| 59 | <category android:name="android.intent.category.DEFAULT" /> |
| 60 | <category android:name="android.intent.category.LAUNCHER" /> |
| 61 | </intent-filter> |
| 62 | <intent-filter> |
| 63 | <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" /> |
| 64 | <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" /> |
| 65 | <category android:name="android.intent.category.DEFAULT" /> |
| 66 | <data android:scheme="tel" /> |
| 67 | <data android:scheme="sip" /> |
| 68 | </intent-filter> |
Yorke Lee | 2a6985f | 2015-03-27 12:30:44 -0700 | [diff] [blame] | 69 | <intent-filter> |
| 70 | <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" /> |
| 71 | <category android:name="android.intent.category.DEFAULT" /> |
| 72 | </intent-filter> |
Yorke Lee | 817090c | 2015-04-10 12:12:25 -0700 | [diff] [blame^] | 73 | <intent-filter> |
| 74 | <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | <data android:scheme="int" /> |
| 77 | </intent-filter> |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 78 | </activity> |
| 79 | |
| 80 | <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver" |
| 81 | android:exported="false"> |
| 82 | <intent-filter> |
| 83 | <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" /> |
| 84 | </intent-filter> |
| 85 | </receiver> |
| 86 | |
| 87 | <activity android:name="com.android.server.telecom.testapps.TestDialerActivity" |
| 88 | android:label="@string/testDialerActivityLabel" |
| 89 | android:process="com.android.server.telecom.testapps.TestInCallService"> |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.DIAL" /> |
| 92 | <category android:name="android.intent.category.DEFAULT" /> |
| 93 | <category android:name="android.intent.category.BROWSABLE" /> |
| 94 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 95 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 96 | </intent-filter> |
| 97 | <intent-filter> |
| 98 | <action android:name="android.intent.action.DIAL" /> |
| 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | <category android:name="android.intent.category.BROWSABLE" /> |
| 101 | <data android:scheme="voicemail" /> |
| 102 | </intent-filter> |
| 103 | <intent-filter> |
| 104 | <action android:name="android.intent.action.DIAL" /> |
| 105 | <category android:name="android.intent.category.DEFAULT" /> |
| 106 | </intent-filter> |
| 107 | <intent-filter> |
| 108 | <action android:name="android.intent.action.VIEW" /> |
| 109 | <action android:name="android.intent.action.DIAL" /> |
| 110 | <category android:name="android.intent.category.DEFAULT" /> |
| 111 | <category android:name="android.intent.category.BROWSABLE" /> |
| 112 | <data android:scheme="tel" /> |
| 113 | </intent-filter> |
| 114 | <intent-filter> |
| 115 | <action android:name="android.intent.action.MAIN" /> |
| 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | <category android:name="android.intent.category.LAUNCHER" /> |
| 118 | </intent-filter> |
| 119 | </activity> |
| 120 | </application> |
| 121 | </manifest> |