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"/> 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 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 27 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 28 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 29 30 <!-- Add a network security config that trusts user added CAs for tests --> 31 <application android:networkSecurityConfig="@xml/network_security_config" 32 android:testOnly="true"> 33 34 <uses-library android:name="android.test.runner" /> 35 <receiver 36 android:name="com.android.cts.deviceandprofileowner.BaseDeviceAdminTest$BasicAdminReceiver" 37 android:permission="android.permission.BIND_DEVICE_ADMIN" 38 android:directBootAware="true"> 39 <meta-data android:name="android.app.device_admin" 40 android:resource="@xml/device_admin" /> 41 <intent-filter> 42 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 43 </intent-filter> 44 </receiver> 45 <activity 46 android:name="com.android.cts.deviceandprofileowner.ExampleIntentReceivingActivity1"> 47 <intent-filter> 48 <action android:name="com.android.cts.deviceandprofileowner.EXAMPLE_ACTION" /> 49 <category android:name="android.intent.category.DEFAULT" /> 50 </intent-filter> 51 </activity> 52 53 <activity 54 android:name="com.android.cts.deviceandprofileowner.ExampleIntentReceivingActivity2"> 55 <intent-filter> 56 <action android:name="com.android.cts.deviceandprofileowner.EXAMPLE_ACTION" /> 57 <category android:name="android.intent.category.DEFAULT" /> 58 </intent-filter> 59 </activity> 60 61 <activity 62 android:name=".SetPolicyActivity" 63 android:launchMode="singleTop"> 64 <intent-filter> 65 <action android:name="android.intent.action.MAIN" /> 66 <category android:name="android.intent.category.DEFAULT"/> 67 </intent-filter> 68 </activity> 69 70 <activity android:name="com.android.cts.deviceandprofileowner.AutofillActivity"/> 71 </application> 72 73 <instrumentation 74 android:name="android.support.test.runner.AndroidJUnitRunner" 75 android:label="Profile and Device Owner CTS Tests" 76 android:targetPackage="com.android.cts.deviceandprofileowner"> 77 <meta-data 78 android:name="listener" 79 android:value="com.android.cts.runner.CtsTestRunListener"/> 80 </instrumentation> 81 </manifest> 82