blob: caaf4d6fd54a7a1cb6f1b0d43a87f7e42aea4d86 [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 Gunn7cc70b42014-09-12 22:17:27 -070019 package="com.android.server.telecom.tests"
Tyler Gunn84253572014-09-02 14:50:05 -070020 android:debuggable="true">
Yorke Lee7c65acd2014-06-04 11:11:03 -070021
Yorke Lee1cbe7022015-08-31 18:22:15 -070022 <uses-sdk
23 android:minSdkVersion="23"
24 android:targetSdkVersion="23" />
25
Ihab Awadb63b57e2015-03-22 22:12:28 -070026 <!-- TODO: Needed because we call BluetoothAdapter.getDefaultAdapter() statically, and
27 BluetoothAdapter is a final class. -->
28 <uses-permission android:name="android.permission.BLUETOOTH" />
29
30 <!-- TODO: Needed because we call ActivityManager.getCurrentUser() statically. -->
31 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Hall Liu9156bae2016-12-01 17:40:29 -080032 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Ihab Awadb63b57e2015-03-22 22:12:28 -070033 <uses-permission android:name="android.permission.MANAGE_USERS" />
Tyler Gunnb1a95a72014-07-23 14:08:19 -070034
Tyler Gunn42ef8082015-11-24 15:34:34 -080035 <!-- Used to access TelephonyManager APIs -->
36 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
tonyzhu919ffa92018-10-01 16:28:52 +080037 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Tyler Gunn42ef8082015-11-24 15:34:34 -080038
Kurt Dresner933add52020-10-01 17:53:32 -070039 <!-- Used to access Projection State APIs -->
40 <uses-permission android:name="android.permission.READ_PROJECTION_STATE"/>
41
Tyler Gunn84253572014-09-02 14:50:05 -070042 <application android:label="@string/app_name"
43 android:debuggable="true">
Santos Cordon76faae52013-12-12 18:55:50 -080044 <uses-library android:name="android.test.runner" />
Santos Cordon76faae52013-12-12 18:55:50 -080045 </application>
46
47 <!--
48 The prefered way is to use 'runtest':
Tyler Gunn7cc70b42014-09-12 22:17:27 -070049 runtest telecom-unit
Santos Cordon76faae52013-12-12 18:55:50 -080050
51 runtest is a wrapper around 'adb shell'. The low level shell command is:
Tyler Gunn7cc70b42014-09-12 22:17:27 -070052 adb shell am instrument -w com.android.server.telecom.tests/android.test.InstrumentationTestRunner
Santos Cordon76faae52013-12-12 18:55:50 -080053
54 To run a single test case:
Santos Cordonf78a72f2016-01-21 22:10:32 +000055 adb shell am instrument -w -e class com.android.server.telecom.tests.unit.FooUnitTest \
56 com.android.server.telecom.tests/android.test.InstrumentationTestRunner
Santos Cordon76faae52013-12-12 18:55:50 -080057 -->
KOUSHIK PANUGANTI7d111662019-03-15 15:46:39 -070058 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Ihab Awadb63b57e2015-03-22 22:12:28 -070059 android:targetPackage="com.android.server.telecom.tests"
60 android:label="Telecomm application tests"
Tyler Gunn84253572014-09-02 14:50:05 -070061 android:debuggable="true"/>
Santos Cordon76faae52013-12-12 18:55:50 -080062</manifest>