blob: fecfffbf5b035ee3667f8c28882f2411720b932e [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
Tyler Gunnb1a95a72014-07-23 14:08:19 -070020 <!-- Test connection service outgoing video preview. -->
21 <uses-permission android:name="android.permission.CAMERA" />
22
Santos Cordon76faae52013-12-12 18:55:50 -080023 <application android:label="@string/app_name">
24 <uses-library android:name="android.test.runner" />
25
26 <!-- Miscellaneous telecomm app-related test activities. -->
27
Santos Cordon5924bea2014-06-18 06:39:51 -070028 <service android:name="com.android.telecomm.testapps.TestConnectionService">
Santos Cordonde14ddb2014-02-13 16:09:47 -080029 <intent-filter>
Sailesh Nepal905dfba2014-07-14 08:20:41 -070030 <action android:name="android.telecomm.ConnectionService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080031 </intent-filter>
32 </service>
33
Yorke Lee7c65acd2014-06-04 11:11:03 -070034 <activity android:name="com.android.telecomm.testapps.TestCallActivity"
Santos Cordon76faae52013-12-12 18:55:50 -080035 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 Lee7c65acd2014-06-04 11:11:03 -070043 <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver"
Santos Cordon76faae52013-12-12 18:55:50 -080044 android:exported="false">
45 <intent-filter>
Yorke Lee7c65acd2014-06-04 11:11:03 -070046 <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT"
Santos Cordon76faae52013-12-12 18:55:50 -080047 />
48 </intent-filter>
49 </receiver>
50
Yorke Lee7c65acd2014-06-04 11:11:03 -070051 <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 Cordon76faae52013-12-12 18:55:50 -080085 </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>