blob: d8877fb984821838b52973378370730682a0f8c1 [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"
Ihab Awadc17294c2014-08-04 19:23:37 -070018 coreApp="true"
19 package="com.android.telecomm.tests">
Yorke Lee7c65acd2014-06-04 11:11:03 -070020
Tyler Gunnb1a95a72014-07-23 14:08:19 -070021 <!-- Test connection service outgoing video preview. -->
22 <uses-permission android:name="android.permission.CAMERA" />
Ihab Awadc17294c2014-08-04 19:23:37 -070023 <uses-permission
24 android:name="com.android.telecomm.permission.REGISTER_PROVIDER_OR_SUBSCRIPTION" />
Tyler Gunn61b92102014-08-19 07:42:20 -070025 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
Tyler Gunnb1a95a72014-07-23 14:08:19 -070026
Santos Cordon76faae52013-12-12 18:55:50 -080027 <application android:label="@string/app_name">
28 <uses-library android:name="android.test.runner" />
29
30 <!-- Miscellaneous telecomm app-related test activities. -->
31
Tyler Gunncb59b672014-08-20 09:02:11 -070032 <service android:name="com.android.telecomm.testapps.TestConnectionService"
33 android:permission="android.permission.BIND_CONNECTION_SERVICE" >
Santos Cordonde14ddb2014-02-13 16:09:47 -080034 <intent-filter>
Sailesh Nepal905dfba2014-07-14 08:20:41 -070035 <action android:name="android.telecomm.ConnectionService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080036 </intent-filter>
37 </service>
38
Tyler Gunncb59b672014-08-20 09:02:11 -070039 <service android:name="com.android.telecomm.testapps.TestConnectionManager"
40 android:permission="android.permission.BIND_CONNECTION_SERVICE" >
Ihab Awadc17294c2014-08-04 19:23:37 -070041 <intent-filter>
42 <action android:name="android.telecomm.ConnectionService" />
43 </intent-filter>
44 </service>
45
Tyler Gunn61b92102014-08-19 07:42:20 -070046 <service android:name="com.android.telecomm.testapps.TestInCallServiceImpl"
47 android:process="com.android.telecomm.testapps.TestInCallService"
48 android:permission="android.permission.BIND_INCALL_SERVICE" >
49 <intent-filter>
50 <action android:name="android.telecomm.InCallService"/>
51 </intent-filter>
52 </service>
53
Yorke Lee7c65acd2014-06-04 11:11:03 -070054 <activity android:name="com.android.telecomm.testapps.TestCallActivity"
Santos Cordon76faae52013-12-12 18:55:50 -080055 android:label="@string/testCallActivityLabel">
56 <intent-filter>
57 <action android:name="android.intent.action.MAIN" />
58 <category android:name="android.intent.category.DEFAULT" />
59 <category android:name="android.intent.category.LAUNCHER" />
60 </intent-filter>
61 </activity>
62
Yorke Lee7c65acd2014-06-04 11:11:03 -070063 <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver"
Santos Cordon76faae52013-12-12 18:55:50 -080064 android:exported="false">
65 <intent-filter>
Yorke Lee7c65acd2014-06-04 11:11:03 -070066 <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT"
Santos Cordon76faae52013-12-12 18:55:50 -080067 />
68 </intent-filter>
69 </receiver>
70
Yorke Lee7c65acd2014-06-04 11:11:03 -070071 <activity android:name="com.android.telecomm.testapps.TestDialerActivity"
Tyler Gunn61b92102014-08-19 07:42:20 -070072 android:label="@string/testDialerActivityLabel"
73 android:process="com.android.telecomm.testapps.TestInCallService">
Yorke Lee7c65acd2014-06-04 11:11:03 -070074 <intent-filter>
75 <action android:name="android.intent.action.DIAL" />
76 <category android:name="android.intent.category.DEFAULT" />
77 <category android:name="android.intent.category.BROWSABLE" />
78 <data android:mimeType="vnd.android.cursor.item/phone" />
79 <data android:mimeType="vnd.android.cursor.item/person" />
80 </intent-filter>
81 <intent-filter>
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="voicemail" />
86 </intent-filter>
87 <intent-filter>
88 <action android:name="android.intent.action.DIAL" />
89 <category android:name="android.intent.category.DEFAULT" />
90 </intent-filter>
91 <intent-filter>
92 <action android:name="android.intent.action.VIEW" />
93 <action android:name="android.intent.action.DIAL" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <category android:name="android.intent.category.BROWSABLE" />
96 <data android:scheme="tel" />
97 </intent-filter>
98 <intent-filter>
99 <action android:name="android.intent.action.MAIN" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.LAUNCHER" />
102 </intent-filter>
103 </activity>
Santos Cordon76faae52013-12-12 18:55:50 -0800104 </application>
105
106 <!--
107 The prefered way is to use 'runtest':
108 runtest telecomm-unit
109
110 runtest is a wrapper around 'adb shell'. The low level shell command is:
111 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
112
113 To run a single test case:
114 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
115 -e com.android.telecomm.tests.unit.FooUnitTest
116 -->
117 <instrumentation android:name="android.test.InstrumentationTestRunner"
118 android:targetPackage="com.android.telecomm"
119 android:label="Telecomm application tests." />
120</manifest>