1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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.cts.deviceandprofileowner">
19
20    <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23"/>
21    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
22    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
23    <uses-permission android:name="android.permission.INTERNET" />
24    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
25
26    <application
27        android:testOnly="true">
28
29        <uses-library android:name="android.test.runner" />
30        <receiver
31            android:name="com.android.cts.deviceandprofileowner.BaseDeviceAdminTest$BasicAdminReceiver"
32            android:permission="android.permission.BIND_DEVICE_ADMIN">
33            <meta-data android:name="android.app.device_admin"
34                       android:resource="@xml/device_admin" />
35            <intent-filter>
36                <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
37            </intent-filter>
38        </receiver>
39    </application>
40
41    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
42                     android:targetPackage="com.android.cts.deviceandprofileowner"
43                     android:label="Profile and Device Owner CTS Tests API 23"/>
44</manifest>
45