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 | |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 20 | <application android:label="@string/app_name"> |
| 21 | <uses-library android:name="android.test.runner" /> |
| 22 | |
| 23 | <!-- Miscellaneous telecomm app-related test activities. --> |
| 24 | |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 25 | <!-- TODO(santoscordon): STOPSHIP Services in this manifest need permission protection. --> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 26 | <service android:name="com.android.telecomm.testapps.TestCallServiceProvider"> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 27 | <intent-filter> |
Sailesh Nepal | a439e1b | 2014-03-11 18:19:58 -0700 | [diff] [blame] | 28 | <action android:name="android.telecomm.CallServiceProvider" /> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 29 | </intent-filter> |
| 30 | </service> |
| 31 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 32 | <service android:name="com.android.telecomm.testapps.TestCallService"> |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 33 | <intent-filter> |
Sailesh Nepal | a439e1b | 2014-03-11 18:19:58 -0700 | [diff] [blame] | 34 | <action android:name="android.telecomm.CallService" /> |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 35 | </intent-filter> |
| 36 | </service> |
| 37 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 38 | <service android:name="com.android.telecomm.testapps.DummyCallServiceSelector"> |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 39 | <intent-filter> |
Sailesh Nepal | a439e1b | 2014-03-11 18:19:58 -0700 | [diff] [blame] | 40 | <action android:name="android.telecomm.CallServiceSelector" /> |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 41 | </intent-filter> |
| 42 | </service> |
| 43 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 44 | <activity android:name="com.android.telecomm.testapps.TestCallActivity" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 45 | android:label="@string/testCallActivityLabel"> |
| 46 | <intent-filter> |
| 47 | <action android:name="android.intent.action.MAIN" /> |
| 48 | <category android:name="android.intent.category.DEFAULT" /> |
| 49 | <category android:name="android.intent.category.LAUNCHER" /> |
| 50 | </intent-filter> |
| 51 | </activity> |
| 52 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 53 | <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 54 | android:exported="false"> |
| 55 | <intent-filter> |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 56 | <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT" |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 57 | /> |
| 58 | </intent-filter> |
| 59 | </receiver> |
| 60 | |
Yorke Lee | 7c65acd | 2014-06-04 11:11:03 -0700 | [diff] [blame^] | 61 | <activity android:name="com.android.telecomm.testapps.TestDialerActivity" |
| 62 | android:label="@string/testDialerActivityLabel" > |
| 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.DIAL" /> |
| 65 | <category android:name="android.intent.category.DEFAULT" /> |
| 66 | <category android:name="android.intent.category.BROWSABLE" /> |
| 67 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 68 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 69 | </intent-filter> |
| 70 | <intent-filter> |
| 71 | <action android:name="android.intent.action.DIAL" /> |
| 72 | <category android:name="android.intent.category.DEFAULT" /> |
| 73 | <category android:name="android.intent.category.BROWSABLE" /> |
| 74 | <data android:scheme="voicemail" /> |
| 75 | </intent-filter> |
| 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.DIAL" /> |
| 78 | <category android:name="android.intent.category.DEFAULT" /> |
| 79 | </intent-filter> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.VIEW" /> |
| 82 | <action android:name="android.intent.action.DIAL" /> |
| 83 | <category android:name="android.intent.category.DEFAULT" /> |
| 84 | <category android:name="android.intent.category.BROWSABLE" /> |
| 85 | <data android:scheme="tel" /> |
| 86 | </intent-filter> |
| 87 | <intent-filter> |
| 88 | <action android:name="android.intent.action.MAIN" /> |
| 89 | <category android:name="android.intent.category.DEFAULT" /> |
| 90 | <category android:name="android.intent.category.LAUNCHER" /> |
| 91 | </intent-filter> |
| 92 | </activity> |
| 93 | |
| 94 | |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 95 | </application> |
| 96 | |
| 97 | <!-- |
| 98 | The prefered way is to use 'runtest': |
| 99 | runtest telecomm-unit |
| 100 | |
| 101 | runtest is a wrapper around 'adb shell'. The low level shell command is: |
| 102 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 103 | |
| 104 | To run a single test case: |
| 105 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 106 | -e com.android.telecomm.tests.unit.FooUnitTest |
| 107 | --> |
| 108 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 109 | android:targetPackage="com.android.telecomm" |
| 110 | android:label="Telecomm application tests." /> |
| 111 | </manifest> |