Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 1 | <?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" |
Ashwini Oruganti | 4f2fb58 | 2020-03-23 17:11:13 -0700 | [diff] [blame] | 34 | android:exported="true" |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 35 | android:label="@string/callDialTestLabel"> |
| 36 | <intent-filter> |
| 37 | <action android:name="android.intent.action.MAIN" /> |
| 38 | <category android:name="android.intent.category.DEFAULT" /> |
| 39 | </intent-filter> |
| 40 | </activity> |
| 41 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 42 | <service android:name="SendInstantTextTestService" |
Ashwini Oruganti | 4f2fb58 | 2020-03-23 17:11:13 -0700 | [diff] [blame] | 43 | android:exported="true" |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 44 | android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" > |
| 45 | <intent-filter> |
| 46 | <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> |
| 47 | <data android:scheme="sms" /> |
| 48 | <data android:scheme="smsto" /> |
| 49 | </intent-filter> |
| 50 | </service> |
Santos Cordon | cf08122 | 2015-04-03 11:10:00 -0700 | [diff] [blame] | 51 | |
| 52 | <receiver android:name="com.android.services.telephony.activation.ResponseReceiver" /> |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 53 | </application> |
| 54 | |
| 55 | <!-- |
Brad Ebinger | 12ec7f2 | 2016-05-05 10:40:57 -0700 | [diff] [blame] | 56 | To run all tests: |
| 57 | adb shell am instrument -w |
KOUSHIK PANUGANTI | 6dc0dd8 | 2019-03-14 00:20:51 -0700 | [diff] [blame] | 58 | com.android.phone.tests/androidx.test.runner.AndroidJUnitRunner |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 59 | |
Brad Ebinger | 12ec7f2 | 2016-05-05 10:40:57 -0700 | [diff] [blame] | 60 | To run a single class test: |
| 61 | adb shell am instrument -e class com.android.phone.unit.FooUnitTest |
KOUSHIK PANUGANTI | 6dc0dd8 | 2019-03-14 00:20:51 -0700 | [diff] [blame] | 62 | -w com.android.phone.tests/androidx.test.runner.AndroidJUnitRunner |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 63 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 64 | --> |
KOUSHIK PANUGANTI | 6dc0dd8 | 2019-03-14 00:20:51 -0700 | [diff] [blame] | 65 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
Amit Mahajan | 67caf6d | 2019-12-13 08:25:44 +0000 | [diff] [blame] | 66 | android:targetPackage="com.android.phone" |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 67 | android:label="Phone application tests." /> |
| 68 | </manifest> |