blob: d4346500cdfdf3c688d9f7db891713f71f761038 [file] [log] [blame]
Santos Cordon7d4ddf62013-07-10 11:58:08 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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.phone.tests">
19
20 <uses-permission android:name="android.permission.CALL_PHONE" />
21 <uses-permission android:name="android.permission.PERFORM_CDMA_PROVISIONING" />
22
23 <application android:label="@string/app_name">
24 <uses-library android:name="android.test.runner" />
25
26 <!-- Miscellaneous phone app-related test activities -->
27
28 <!-- Test activity that mimics the behavior of 3rd party apps
29 firing off CALL and DIAL intents. -->
30 <!-- To run:
31 adb shell am start -n com.android.phone.tests/.CallDialTest
32 -->
33 <activity android:name="CallDialTest"
34 android:label="@string/callDialTestLabel">
35 <intent-filter>
36 <action android:name="android.intent.action.MAIN" />
37 <category android:name="android.intent.category.DEFAULT" />
38 </intent-filter>
39 </activity>
40
Santos Cordon7d4ddf62013-07-10 11:58:08 -070041 <service android:name="SendInstantTextTestService"
42 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" >
43 <intent-filter>
44 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" />
45 <data android:scheme="sms" />
46 <data android:scheme="smsto" />
47 </intent-filter>
48 </service>
Santos Cordoncf081222015-04-03 11:10:00 -070049
50 <receiver android:name="com.android.services.telephony.activation.ResponseReceiver" />
Santos Cordon7d4ddf62013-07-10 11:58:08 -070051 </application>
52
53 <!--
Brad Ebinger12ec7f22016-05-05 10:40:57 -070054 To run all tests:
55 adb shell am instrument -w
KOUSHIK PANUGANTIe258cea2019-03-15 15:42:15 -070056 com.android.phone.tests/androidx.test.runner.AndroidJUnitRunner
Santos Cordon7d4ddf62013-07-10 11:58:08 -070057
Brad Ebinger12ec7f22016-05-05 10:40:57 -070058 To run a single class test:
59 adb shell am instrument -e class com.android.phone.unit.FooUnitTest
KOUSHIK PANUGANTIe258cea2019-03-15 15:42:15 -070060 -w com.android.phone.tests/androidx.test.runner.AndroidJUnitRunner
Santos Cordon7d4ddf62013-07-10 11:58:08 -070061
Santos Cordon7d4ddf62013-07-10 11:58:08 -070062 -->
KOUSHIK PANUGANTIe258cea2019-03-15 15:42:15 -070063 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Amit Mahajan292beda2019-12-12 19:40:55 +000064 android:targetPackage="com.android.phone"
Santos Cordon7d4ddf62013-07-10 11:58:08 -070065 android:label="Phone application tests." />
66</manifest>