1 <?xml version="1.0" encoding="utf-8"?> 2 3 <!-- 4 * Copyright (C) 2011 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 --> 18 19 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 20 package="android.deviceadmin.cts"> 21 <application> 22 23 <uses-library android:name="android.test.runner"/> 24 25 <receiver android:name="android.deviceadmin.cts.CtsDeviceAdminReceiver" 26 android:permission="android.permission.BIND_DEVICE_ADMIN"> 27 <meta-data android:name="android.app.device_admin" 28 android:resource="@xml/device_admin" /> 29 <intent-filter> 30 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 31 </intent-filter> 32 </receiver> 33 34 <receiver android:name="android.deviceadmin.cts.CtsDeviceAdminReceiver2" 35 android:permission="android.permission.BIND_DEVICE_ADMIN"> 36 <meta-data android:name="android.app.device_admin" 37 android:resource="@xml/device_admin_2" /> 38 <intent-filter> 39 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 40 </intent-filter> 41 </receiver> 42 43 </application> 44 45 <instrumentation android:name="android.test.InstrumentationTestRunner" 46 android:targetPackage="com.android.cts.admin" 47 android:label="Tests for the device admin APIs."/> 48 </manifest> 49