1<?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 coreApp="true" 19 package="com.android.server.telecom.tests" 20 android:debuggable="true"> 21 22 <uses-sdk 23 android:minSdkVersion="23" 24 android:targetSdkVersion="23" /> 25 26 <!-- 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" /> 32 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 33 <uses-permission android:name="android.permission.MANAGE_USERS" /> 34 35 <!-- Used to access TelephonyManager APIs --> 36 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> 37 38 <application android:label="@string/app_name" 39 android:debuggable="true"> 40 <uses-library android:name="android.test.runner" /> 41 </application> 42 43 <!-- 44 The prefered way is to use 'runtest': 45 runtest telecom-unit 46 47 runtest is a wrapper around 'adb shell'. The low level shell command is: 48 adb shell am instrument -w com.android.server.telecom.tests/android.test.InstrumentationTestRunner 49 50 To run a single test case: 51 adb shell am instrument -w -e class com.android.server.telecom.tests.unit.FooUnitTest \ 52 com.android.server.telecom.tests/android.test.InstrumentationTestRunner 53 --> 54 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" 55 android:targetPackage="com.android.server.telecom.tests" 56 android:label="Telecomm application tests" 57 android:debuggable="true"/> 58</manifest> 59