blob: 807e6692eb3a26df0942616747a2ceb88df50844 [file] [log] [blame]
Santos Cordon76faae52013-12-12 18:55:50 -08001<?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 Lee7c65acd2014-06-04 11:11:03 -070019
Santos Cordon76faae52013-12-12 18:55:50 -080020 <application android:label="@string/app_name">
21 <uses-library android:name="android.test.runner" />
22
23 <!-- Miscellaneous telecomm app-related test activities. -->
24
Santos Cordonde14ddb2014-02-13 16:09:47 -080025 <!-- TODO(santoscordon): STOPSHIP Services in this manifest need permission protection. -->
Yorke Lee7c65acd2014-06-04 11:11:03 -070026 <service android:name="com.android.telecomm.testapps.TestCallServiceProvider">
Santos Cordon76faae52013-12-12 18:55:50 -080027 <intent-filter>
Sailesh Nepala439e1b2014-03-11 18:19:58 -070028 <action android:name="android.telecomm.CallServiceProvider" />
Santos Cordon76faae52013-12-12 18:55:50 -080029 </intent-filter>
30 </service>
31
Yorke Lee7c65acd2014-06-04 11:11:03 -070032 <service android:name="com.android.telecomm.testapps.TestCallService">
Santos Cordonde14ddb2014-02-13 16:09:47 -080033 <intent-filter>
Sailesh Nepala439e1b2014-03-11 18:19:58 -070034 <action android:name="android.telecomm.CallService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080035 </intent-filter>
36 </service>
37
Yorke Lee7c65acd2014-06-04 11:11:03 -070038 <service android:name="com.android.telecomm.testapps.DummyCallServiceSelector">
Santos Cordonbd4d3b12014-01-30 14:50:29 -080039 <intent-filter>
Sailesh Nepala439e1b2014-03-11 18:19:58 -070040 <action android:name="android.telecomm.CallServiceSelector" />
Santos Cordonbd4d3b12014-01-30 14:50:29 -080041 </intent-filter>
42 </service>
43
Yorke Lee7c65acd2014-06-04 11:11:03 -070044 <activity android:name="com.android.telecomm.testapps.TestCallActivity"
Santos Cordon76faae52013-12-12 18:55:50 -080045 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 Lee7c65acd2014-06-04 11:11:03 -070053 <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver"
Santos Cordon76faae52013-12-12 18:55:50 -080054 android:exported="false">
55 <intent-filter>
Yorke Lee7c65acd2014-06-04 11:11:03 -070056 <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT"
Santos Cordon76faae52013-12-12 18:55:50 -080057 />
58 </intent-filter>
59 </receiver>
60
Yorke Lee7c65acd2014-06-04 11:11:03 -070061 <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 Cordon76faae52013-12-12 18:55:50 -080095 </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>