blob: bbc3292619a8a1feae18e3e4aee4d9b7d3e0b706 [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 Gunnb1a95a72014-07-23 14:08:19 -070025
Santos Cordon76faae52013-12-12 18:55:50 -080026 <application android:label="@string/app_name">
27 <uses-library android:name="android.test.runner" />
28
29 <!-- Miscellaneous telecomm app-related test activities. -->
30
Santos Cordon5924bea2014-06-18 06:39:51 -070031 <service android:name="com.android.telecomm.testapps.TestConnectionService">
Santos Cordonde14ddb2014-02-13 16:09:47 -080032 <intent-filter>
Sailesh Nepal905dfba2014-07-14 08:20:41 -070033 <action android:name="android.telecomm.ConnectionService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080034 </intent-filter>
35 </service>
36
Ihab Awadc17294c2014-08-04 19:23:37 -070037 <service android:name="com.android.telecomm.testapps.TestConnectionManager">
38 <intent-filter>
39 <action android:name="android.telecomm.ConnectionService" />
40 </intent-filter>
41 </service>
42
Yorke Lee7c65acd2014-06-04 11:11:03 -070043 <activity android:name="com.android.telecomm.testapps.TestCallActivity"
Santos Cordon76faae52013-12-12 18:55:50 -080044 android:label="@string/testCallActivityLabel">
45 <intent-filter>
46 <action android:name="android.intent.action.MAIN" />
47 <category android:name="android.intent.category.DEFAULT" />
48 <category android:name="android.intent.category.LAUNCHER" />
49 </intent-filter>
50 </activity>
51
Yorke Lee7c65acd2014-06-04 11:11:03 -070052 <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver"
Santos Cordon76faae52013-12-12 18:55:50 -080053 android:exported="false">
54 <intent-filter>
Yorke Lee7c65acd2014-06-04 11:11:03 -070055 <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT"
Santos Cordon76faae52013-12-12 18:55:50 -080056 />
57 </intent-filter>
58 </receiver>
59
Yorke Lee7c65acd2014-06-04 11:11:03 -070060 <activity android:name="com.android.telecomm.testapps.TestDialerActivity"
61 android:label="@string/testDialerActivityLabel" >
62 <intent-filter>
63 <action android:name="android.intent.action.DIAL" />
64 <category android:name="android.intent.category.DEFAULT" />
65 <category android:name="android.intent.category.BROWSABLE" />
66 <data android:mimeType="vnd.android.cursor.item/phone" />
67 <data android:mimeType="vnd.android.cursor.item/person" />
68 </intent-filter>
69 <intent-filter>
70 <action android:name="android.intent.action.DIAL" />
71 <category android:name="android.intent.category.DEFAULT" />
72 <category android:name="android.intent.category.BROWSABLE" />
73 <data android:scheme="voicemail" />
74 </intent-filter>
75 <intent-filter>
76 <action android:name="android.intent.action.DIAL" />
77 <category android:name="android.intent.category.DEFAULT" />
78 </intent-filter>
79 <intent-filter>
80 <action android:name="android.intent.action.VIEW" />
81 <action android:name="android.intent.action.DIAL" />
82 <category android:name="android.intent.category.DEFAULT" />
83 <category android:name="android.intent.category.BROWSABLE" />
84 <data android:scheme="tel" />
85 </intent-filter>
86 <intent-filter>
87 <action android:name="android.intent.action.MAIN" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <category android:name="android.intent.category.LAUNCHER" />
90 </intent-filter>
91 </activity>
92
93
Santos Cordon76faae52013-12-12 18:55:50 -080094 </application>
95
96 <!--
97 The prefered way is to use 'runtest':
98 runtest telecomm-unit
99
100 runtest is a wrapper around 'adb shell'. The low level shell command is:
101 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
102
103 To run a single test case:
104 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
105 -e com.android.telecomm.tests.unit.FooUnitTest
106 -->
107 <instrumentation android:name="android.test.InstrumentationTestRunner"
108 android:targetPackage="com.android.telecomm"
109 android:label="Telecomm application tests." />
110</manifest>