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.DISABLE_KEYGUARD" />
24    <uses-permission android:name="android.permission.INTERNET" />
25    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
26
27    <application
28        android:testOnly="true">
29
30        <uses-library android:name="android.test.runner" />
31        <receiver
32            android:name="com.android.cts.deviceandprofileowner.BaseDeviceAdminTest$BasicAdminReceiver"
33            android:permission="android.permission.BIND_DEVICE_ADMIN">
34            <meta-data android:name="android.app.device_admin"
35                       android:resource="@xml/device_admin" />
36            <intent-filter>
37                <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
38            </intent-filter>
39        </receiver>
40    </application>
41
42    <instrumentation
43            android:name="androidx.test.runner.AndroidJUnitRunner"
44            android:label="Profile and Device Owner CTS Tests API 23"
45            android:targetPackage="com.android.cts.deviceandprofileowner">
46        <meta-data
47                android:name="listener"
48                android:value="com.android.cts.runner.CtsTestRunListener"/>
49    </instrumentation>
50</manifest>
51