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" |
| 18 | package="com.android.telecomm.tests"> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 19 | |
Tyler Gunn | b1a95a7 | 2014-07-23 14:08:19 -0700 | [diff] [blame^] | 20 | <!-- Test connection service outgoing video preview. --> |
| 21 | <uses-permission android:name="android.permission.CAMERA" /> |
| 22 | |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 23 | <application android:label="@string/app_name"> |
| 24 | <uses-library android:name="android.test.runner" /> |
| 25 | |
| 26 | <!-- Miscellaneous telecomm app-related test activities. --> |
| 27 | |
Santos Cordon | 5924bea | 2014-06-18 06:39:51 -0700 | [diff] [blame] | 28 | <service android:name="com.android.telecomm.testapps.TestConnectionService"> |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 29 | <intent-filter> |
Sailesh Nepal | 905dfba | 2014-07-14 08:20:41 -0700 | [diff] [blame] | 30 | <action android:name="android.telecomm.ConnectionService" /> |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 31 | </intent-filter> |
| 32 | </service> |
| 33 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 34 | <activity android:name="com.android.telecomm.testapps.TestCallActivity" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 35 | android:label="@string/testCallActivityLabel"> |
| 36 | <intent-filter> |
| 37 | <action android:name="android.intent.action.MAIN" /> |
| 38 | <category android:name="android.intent.category.DEFAULT" /> |
| 39 | <category android:name="android.intent.category.LAUNCHER" /> |
| 40 | </intent-filter> |
| 41 | </activity> |
| 42 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 43 | <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 44 | android:exported="false"> |
| 45 | <intent-filter> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 46 | <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 47 | /> |
| 48 | </intent-filter> |
| 49 | </receiver> |
| 50 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame] | 51 | <activity android:name="com.android.telecomm.testapps.TestDialerActivity" |
| 52 | android:label="@string/testDialerActivityLabel" > |
| 53 | <intent-filter> |
| 54 | <action android:name="android.intent.action.DIAL" /> |
| 55 | <category android:name="android.intent.category.DEFAULT" /> |
| 56 | <category android:name="android.intent.category.BROWSABLE" /> |
| 57 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 58 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 59 | </intent-filter> |
| 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.DIAL" /> |
| 62 | <category android:name="android.intent.category.DEFAULT" /> |
| 63 | <category android:name="android.intent.category.BROWSABLE" /> |
| 64 | <data android:scheme="voicemail" /> |
| 65 | </intent-filter> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.DIAL" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | </intent-filter> |
| 70 | <intent-filter> |
| 71 | <action android:name="android.intent.action.VIEW" /> |
| 72 | <action android:name="android.intent.action.DIAL" /> |
| 73 | <category android:name="android.intent.category.DEFAULT" /> |
| 74 | <category android:name="android.intent.category.BROWSABLE" /> |
| 75 | <data android:scheme="tel" /> |
| 76 | </intent-filter> |
| 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 | |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 85 | </application> |
| 86 | |
| 87 | <!-- |
| 88 | The prefered way is to use 'runtest': |
| 89 | runtest telecomm-unit |
| 90 | |
| 91 | runtest is a wrapper around 'adb shell'. The low level shell command is: |
| 92 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 93 | |
| 94 | To run a single test case: |
| 95 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 96 | -e com.android.telecomm.tests.unit.FooUnitTest |
| 97 | --> |
| 98 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 99 | android:targetPackage="com.android.telecomm" |
| 100 | android:label="Telecomm application tests." /> |
| 101 | </manifest> |