Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [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" |
Ihab Awad | c17294c | 2014-08-04 19:23:37 -0700 | [diff] [blame] | 18 | coreApp="true" |
Tyler Gunn | 8425357 | 2014-09-02 14:50:05 -0700 | [diff] [blame^] | 19 | package="com.android.telecomm.tests" |
| 20 | android:debuggable="true"> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 21 | |
Tyler Gunn | b1a95a7 | 2014-07-23 14:08:19 -0700 | [diff] [blame] | 22 | <!-- Test connection service outgoing video preview. --> |
| 23 | <uses-permission android:name="android.permission.CAMERA" /> |
Ihab Awad | c17294c | 2014-08-04 19:23:37 -0700 | [diff] [blame] | 24 | <uses-permission |
| 25 | android:name="com.android.telecomm.permission.REGISTER_PROVIDER_OR_SUBSCRIPTION" /> |
Tyler Gunn | 61b9210 | 2014-08-19 07:42:20 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" /> |
Tyler Gunn | b1a95a7 | 2014-07-23 14:08:19 -0700 | [diff] [blame] | 27 | |
Tyler Gunn | 8425357 | 2014-09-02 14:50:05 -0700 | [diff] [blame^] | 28 | <application android:label="@string/app_name" |
| 29 | android:debuggable="true"> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 30 | <uses-library android:name="android.test.runner" /> |
| 31 | |
| 32 | <!-- Miscellaneous telecomm app-related test activities. --> |
| 33 | |
Tyler Gunn | cb59b67 | 2014-08-20 09:02:11 -0700 | [diff] [blame] | 34 | <service android:name="com.android.telecomm.testapps.TestConnectionService" |
| 35 | android:permission="android.permission.BIND_CONNECTION_SERVICE" > |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 36 | <intent-filter> |
Sailesh Nepal | 905dfba | 2014-07-14 08:20:41 -0700 | [diff] [blame] | 37 | <action android:name="android.telecomm.ConnectionService" /> |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 38 | </intent-filter> |
| 39 | </service> |
| 40 | |
Tyler Gunn | cb59b67 | 2014-08-20 09:02:11 -0700 | [diff] [blame] | 41 | <service android:name="com.android.telecomm.testapps.TestConnectionManager" |
| 42 | android:permission="android.permission.BIND_CONNECTION_SERVICE" > |
Ihab Awad | c17294c | 2014-08-04 19:23:37 -0700 | [diff] [blame] | 43 | <intent-filter> |
| 44 | <action android:name="android.telecomm.ConnectionService" /> |
| 45 | </intent-filter> |
| 46 | </service> |
| 47 | |
Tyler Gunn | 61b9210 | 2014-08-19 07:42:20 -0700 | [diff] [blame] | 48 | <service android:name="com.android.telecomm.testapps.TestInCallServiceImpl" |
| 49 | android:process="com.android.telecomm.testapps.TestInCallService" |
| 50 | android:permission="android.permission.BIND_INCALL_SERVICE" > |
| 51 | <intent-filter> |
| 52 | <action android:name="android.telecomm.InCallService"/> |
| 53 | </intent-filter> |
| 54 | </service> |
| 55 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 56 | <activity android:name="com.android.telecomm.testapps.TestCallActivity" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 57 | android:label="@string/testCallActivityLabel"> |
| 58 | <intent-filter> |
| 59 | <action android:name="android.intent.action.MAIN" /> |
| 60 | <category android:name="android.intent.category.DEFAULT" /> |
| 61 | <category android:name="android.intent.category.LAUNCHER" /> |
| 62 | </intent-filter> |
| 63 | </activity> |
| 64 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 65 | <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 66 | android:exported="false"> |
| 67 | <intent-filter> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 68 | <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 69 | /> |
| 70 | </intent-filter> |
| 71 | </receiver> |
| 72 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 73 | <activity android:name="com.android.telecomm.testapps.TestDialerActivity" |
Tyler Gunn | 61b9210 | 2014-08-19 07:42:20 -0700 | [diff] [blame] | 74 | android:label="@string/testDialerActivityLabel" |
| 75 | android:process="com.android.telecomm.testapps.TestInCallService"> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.DIAL" /> |
| 78 | <category android:name="android.intent.category.DEFAULT" /> |
| 79 | <category android:name="android.intent.category.BROWSABLE" /> |
| 80 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 81 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 82 | </intent-filter> |
| 83 | <intent-filter> |
| 84 | <action android:name="android.intent.action.DIAL" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | <category android:name="android.intent.category.BROWSABLE" /> |
| 87 | <data android:scheme="voicemail" /> |
| 88 | </intent-filter> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.intent.action.DIAL" /> |
| 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | </intent-filter> |
| 93 | <intent-filter> |
| 94 | <action android:name="android.intent.action.VIEW" /> |
| 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="tel" /> |
| 99 | </intent-filter> |
| 100 | <intent-filter> |
| 101 | <action android:name="android.intent.action.MAIN" /> |
| 102 | <category android:name="android.intent.category.DEFAULT" /> |
| 103 | <category android:name="android.intent.category.LAUNCHER" /> |
| 104 | </intent-filter> |
| 105 | </activity> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 106 | </application> |
| 107 | |
| 108 | <!-- |
| 109 | The prefered way is to use 'runtest': |
| 110 | runtest telecomm-unit |
| 111 | |
| 112 | runtest is a wrapper around 'adb shell'. The low level shell command is: |
| 113 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 114 | |
| 115 | To run a single test case: |
| 116 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 117 | -e com.android.telecomm.tests.unit.FooUnitTest |
| 118 | --> |
| 119 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 120 | android:targetPackage="com.android.telecomm" |
Tyler Gunn | 8425357 | 2014-09-02 14:50:05 -0700 | [diff] [blame^] | 121 | android:label="Telecomm application tests." |
| 122 | android:debuggable="true"/> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 123 | </manifest> |