blob: 570b2ae259f86c39e54a33400679219cc5b5df3c [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">
19 <application android:label="@string/app_name">
20 <uses-library android:name="android.test.runner" />
21
22 <!-- Miscellaneous telecomm app-related test activities. -->
23
Santos Cordonde14ddb2014-02-13 16:09:47 -080024 <!-- TODO(santoscordon): STOPSHIP Services in this manifest need permission protection. -->
Santos Cordon76faae52013-12-12 18:55:50 -080025 <service android:name="com.android.telecomm.testcallservice.TestCallServiceProvider">
26 <intent-filter>
Sailesh Nepala439e1b2014-03-11 18:19:58 -070027 <action android:name="android.telecomm.CallServiceProvider" />
Santos Cordon76faae52013-12-12 18:55:50 -080028 </intent-filter>
29 </service>
30
Santos Cordonde14ddb2014-02-13 16:09:47 -080031 <service android:name="com.android.telecomm.testcallservice.TestCallService">
32 <intent-filter>
Sailesh Nepala439e1b2014-03-11 18:19:58 -070033 <action android:name="android.telecomm.CallService" />
Santos Cordonde14ddb2014-02-13 16:09:47 -080034 </intent-filter>
35 </service>
36
Santos Cordonbd4d3b12014-01-30 14:50:29 -080037 <service android:name="com.android.telecomm.testcallservice.DummyCallServiceSelector">
38 <intent-filter>
Sailesh Nepala439e1b2014-03-11 18:19:58 -070039 <action android:name="android.telecomm.CallServiceSelector" />
Santos Cordonbd4d3b12014-01-30 14:50:29 -080040 </intent-filter>
41 </service>
42
Santos Cordon76faae52013-12-12 18:55:50 -080043 <activity android:name="com.android.telecomm.testcallservice.TestCallActivity"
44 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
52 <receiver android:name="com.android.telecomm.testcallservice.CallNotificationReceiver"
53 android:exported="false">
54 <intent-filter>
55 <action android:name="com.android.telecomm.testcallservice.ACTION_CALL_SERVICE_EXIT"
56 />
57 </intent-filter>
58 </receiver>
59
60 </application>
61
62 <!--
63 The prefered way is to use 'runtest':
64 runtest telecomm-unit
65
66 runtest is a wrapper around 'adb shell'. The low level shell command is:
67 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
68
69 To run a single test case:
70 adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner
71 -e com.android.telecomm.tests.unit.FooUnitTest
72 -->
73 <instrumentation android:name="android.test.InstrumentationTestRunner"
74 android:targetPackage="com.android.telecomm"
75 android:label="Telecomm application tests." />
76</manifest>