blob: c17803f33240ba6497e9d61b28055a75f7fc106e [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
Santos Cordon5924bea2014-06-18 06:39:51 -070032 <service android:name="com.android.telecomm.testapps.TestConnectionService">
Santos Cordonde14ddb2014-02-13 16:09:47 -080033 <intent-filter>
Sailesh Nepal905dfba2014-07-14 08:20:41 -070034 <action android:name="android.telecomm.ConnectionService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080035 </intent-filter>
36 </service>
37
Ihab Awadc17294c2014-08-04 19:23:37 -070038 <service android:name="com.android.telecomm.testapps.TestConnectionManager">
39 <intent-filter>
40 <action android:name="android.telecomm.ConnectionService" />
41 </intent-filter>
42 </service>
43
Tyler Gunn61b92102014-08-19 07:42:20 -070044 <service android:name="com.android.telecomm.testapps.TestInCallServiceImpl"
45 android:process="com.android.telecomm.testapps.TestInCallService"
46 android:permission="android.permission.BIND_INCALL_SERVICE" >
47 <intent-filter>
48 <action android:name="android.telecomm.InCallService"/>
49 </intent-filter>
50 </service>
51
Yorke Lee7c65acd2014-06-04 11:11:03 -070052 <activity android:name="com.android.telecomm.testapps.TestCallActivity"
Santos Cordon76faae52013-12-12 18:55:50 -080053 android:label="@string/testCallActivityLabel">
54 <intent-filter>
55 <action android:name="android.intent.action.MAIN" />
56 <category android:name="android.intent.category.DEFAULT" />
57 <category android:name="android.intent.category.LAUNCHER" />
58 </intent-filter>
59 </activity>
60
Yorke Lee7c65acd2014-06-04 11:11:03 -070061 <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver"
Santos Cordon76faae52013-12-12 18:55:50 -080062 android:exported="false">
63 <intent-filter>
Yorke Lee7c65acd2014-06-04 11:11:03 -070064 <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT"
Santos Cordon76faae52013-12-12 18:55:50 -080065 />
66 </intent-filter>
67 </receiver>
68
Yorke Lee7c65acd2014-06-04 11:11:03 -070069 <activity android:name="com.android.telecomm.testapps.TestDialerActivity"
Tyler Gunn61b92102014-08-19 07:42:20 -070070 android:label="@string/testDialerActivityLabel"
71 android:process="com.android.telecomm.testapps.TestInCallService">
Yorke Lee7c65acd2014-06-04 11:11:03 -070072 <intent-filter>
73 <action android:name="android.intent.action.DIAL" />
74 <category android:name="android.intent.category.DEFAULT" />
75 <category android:name="android.intent.category.BROWSABLE" />
76 <data android:mimeType="vnd.android.cursor.item/phone" />
77 <data android:mimeType="vnd.android.cursor.item/person" />
78 </intent-filter>
79 <intent-filter>
80 <action android:name="android.intent.action.DIAL" />
81 <category android:name="android.intent.category.DEFAULT" />
82 <category android:name="android.intent.category.BROWSABLE" />
83 <data android:scheme="voicemail" />
84 </intent-filter>
85 <intent-filter>
86 <action android:name="android.intent.action.DIAL" />
87 <category android:name="android.intent.category.DEFAULT" />
88 </intent-filter>
89 <intent-filter>
90 <action android:name="android.intent.action.VIEW" />
91 <action android:name="android.intent.action.DIAL" />
92 <category android:name="android.intent.category.DEFAULT" />
93 <category android:name="android.intent.category.BROWSABLE" />
94 <data android:scheme="tel" />
95 </intent-filter>
96 <intent-filter>
97 <action android:name="android.intent.action.MAIN" />
98 <category android:name="android.intent.category.DEFAULT" />
99 <category android:name="android.intent.category.LAUNCHER" />
100 </intent-filter>
101 </activity>
Santos Cordon76faae52013-12-12 18:55:50 -0800102 </application>
103
104 <!--
105 The prefered way is to use 'runtest':
106 runtest telecomm-unit
107
108 runtest is a wrapper around 'adb shell'. The low level shell command is:
109 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
110
111 To run a single test case:
112 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
113 -e com.android.telecomm.tests.unit.FooUnitTest
114 -->
115 <instrumentation android:name="android.test.InstrumentationTestRunner"
116 android:targetPackage="com.android.telecomm"
117 android:label="Telecomm application tests." />
118</manifest>