blob: 8ae47d2d88bf585b33c9010f87e7cf37c309de89 [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"
Tyler Gunn84253572014-09-02 14:50:05 -070019 package="com.android.telecomm.tests"
20 android:debuggable="true">
Yorke Lee7c65acd2014-06-04 11:11:03 -070021
Tyler Gunnb1a95a72014-07-23 14:08:19 -070022 <!-- Test connection service outgoing video preview. -->
23 <uses-permission android:name="android.permission.CAMERA" />
Ihab Awadc17294c2014-08-04 19:23:37 -070024 <uses-permission
25 android:name="com.android.telecomm.permission.REGISTER_PROVIDER_OR_SUBSCRIPTION" />
Tyler Gunn61b92102014-08-19 07:42:20 -070026 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
Tyler Gunnb1a95a72014-07-23 14:08:19 -070027
Tyler Gunn84253572014-09-02 14:50:05 -070028 <application android:label="@string/app_name"
29 android:debuggable="true">
Santos Cordon76faae52013-12-12 18:55:50 -080030 <uses-library android:name="android.test.runner" />
31
32 <!-- Miscellaneous telecomm app-related test activities. -->
33
Tyler Gunncb59b672014-08-20 09:02:11 -070034 <service android:name="com.android.telecomm.testapps.TestConnectionService"
35 android:permission="android.permission.BIND_CONNECTION_SERVICE" >
Santos Cordonde14ddb2014-02-13 16:09:47 -080036 <intent-filter>
Sailesh Nepal905dfba2014-07-14 08:20:41 -070037 <action android:name="android.telecomm.ConnectionService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080038 </intent-filter>
39 </service>
40
Tyler Gunncb59b672014-08-20 09:02:11 -070041 <service android:name="com.android.telecomm.testapps.TestConnectionManager"
42 android:permission="android.permission.BIND_CONNECTION_SERVICE" >
Ihab Awadc17294c2014-08-04 19:23:37 -070043 <intent-filter>
44 <action android:name="android.telecomm.ConnectionService" />
45 </intent-filter>
46 </service>
47
Tyler Gunn61b92102014-08-19 07:42:20 -070048 <service android:name="com.android.telecomm.testapps.TestInCallServiceImpl"
49 android:process="com.android.telecomm.testapps.TestInCallService"
50 android:permission="android.permission.BIND_INCALL_SERVICE" >
51 <intent-filter>
52 <action android:name="android.telecomm.InCallService"/>
53 </intent-filter>
54 </service>
55
Yorke Lee7c65acd2014-06-04 11:11:03 -070056 <activity android:name="com.android.telecomm.testapps.TestCallActivity"
Santos Cordon76faae52013-12-12 18:55:50 -080057 android:label="@string/testCallActivityLabel">
58 <intent-filter>
59 <action android:name="android.intent.action.MAIN" />
60 <category android:name="android.intent.category.DEFAULT" />
61 <category android:name="android.intent.category.LAUNCHER" />
62 </intent-filter>
63 </activity>
64
Yorke Lee7c65acd2014-06-04 11:11:03 -070065 <receiver android:name="com.android.telecomm.testapps.CallNotificationReceiver"
Santos Cordon76faae52013-12-12 18:55:50 -080066 android:exported="false">
67 <intent-filter>
Yorke Lee7c65acd2014-06-04 11:11:03 -070068 <action android:name="com.android.telecomm.testapps.ACTION_CALL_SERVICE_EXIT"
Santos Cordon76faae52013-12-12 18:55:50 -080069 />
70 </intent-filter>
71 </receiver>
72
Yorke Lee7c65acd2014-06-04 11:11:03 -070073 <activity android:name="com.android.telecomm.testapps.TestDialerActivity"
Tyler Gunn61b92102014-08-19 07:42:20 -070074 android:label="@string/testDialerActivityLabel"
75 android:process="com.android.telecomm.testapps.TestInCallService">
Yorke Lee7c65acd2014-06-04 11:11:03 -070076 <intent-filter>
77 <action android:name="android.intent.action.DIAL" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <category android:name="android.intent.category.BROWSABLE" />
80 <data android:mimeType="vnd.android.cursor.item/phone" />
81 <data android:mimeType="vnd.android.cursor.item/person" />
82 </intent-filter>
83 <intent-filter>
84 <action android:name="android.intent.action.DIAL" />
85 <category android:name="android.intent.category.DEFAULT" />
86 <category android:name="android.intent.category.BROWSABLE" />
87 <data android:scheme="voicemail" />
88 </intent-filter>
89 <intent-filter>
90 <action android:name="android.intent.action.DIAL" />
91 <category android:name="android.intent.category.DEFAULT" />
92 </intent-filter>
93 <intent-filter>
94 <action android:name="android.intent.action.VIEW" />
95 <action android:name="android.intent.action.DIAL" />
96 <category android:name="android.intent.category.DEFAULT" />
97 <category android:name="android.intent.category.BROWSABLE" />
98 <data android:scheme="tel" />
99 </intent-filter>
100 <intent-filter>
101 <action android:name="android.intent.action.MAIN" />
102 <category android:name="android.intent.category.DEFAULT" />
103 <category android:name="android.intent.category.LAUNCHER" />
104 </intent-filter>
105 </activity>
Santos Cordon76faae52013-12-12 18:55:50 -0800106 </application>
107
108 <!--
109 The prefered way is to use 'runtest':
110 runtest telecomm-unit
111
112 runtest is a wrapper around 'adb shell'. The low level shell command is:
113 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
114
115 To run a single test case:
116 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
117 -e com.android.telecomm.tests.unit.FooUnitTest
118 -->
119 <instrumentation android:name="android.test.InstrumentationTestRunner"
120 android:targetPackage="com.android.telecomm"
Tyler Gunn84253572014-09-02 14:50:05 -0700121 android:label="Telecomm application tests."
122 android:debuggable="true"/>
Santos Cordon76faae52013-12-12 18:55:50 -0800123</manifest>