Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2014 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.deviceowner" > |
| 19 | |
| 20 | <uses-sdk android:minSdkVersion="20"/> |
| 21 | |
| 22 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
Bartosz Fabianowski | 400b19f | 2017-01-25 18:58:00 +0100 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Zoltan Szatmary-Ban | b99428e | 2015-06-24 10:50:26 +0100 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 26 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
phweiss | d2a874e | 2016-02-22 12:13:59 +0100 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Michal Karpinski | 2ee2cb3 | 2016-12-20 17:04:57 +0000 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.INTERNET" /> |
Lenka Trochtova | cbdc736 | 2016-12-02 12:27:20 +0100 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
| 30 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
Ricky Wai | 16be1d5 | 2017-03-23 18:28:10 +0000 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 32 | |
Robin Lee | f520f93 | 2016-06-13 19:06:06 +0100 | [diff] [blame] | 33 | <application |
Kenny Guy | e91f1a6 | 2016-04-19 13:33:59 +0100 | [diff] [blame] | 34 | android:testOnly="true"> |
| 35 | |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 36 | <uses-library android:name="android.test.runner" /> |
| 37 | <receiver |
| 38 | android:name="com.android.cts.deviceowner.BaseDeviceOwnerTest$BasicAdminReceiver" |
| 39 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 40 | <meta-data android:name="android.app.device_admin" |
| 41 | android:resource="@xml/device_admin" /> |
| 42 | <intent-filter> |
| 43 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 44 | </intent-filter> |
| 45 | </receiver> |
phweiss | d2a874e | 2016-02-22 12:13:59 +0100 | [diff] [blame] | 46 | <receiver |
| 47 | android:name="com.android.cts.deviceowner.CreateAndManageUserTest$TestProfileOwner" |
| 48 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 49 | <meta-data android:name="android.app.device_admin" |
| 50 | android:resource="@xml/device_admin" /> |
| 51 | <intent-filter> |
| 52 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 53 | </intent-filter> |
| 54 | </receiver> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 55 | |
Benjamin Franz | e772d86 | 2015-07-24 15:43:11 +0100 | [diff] [blame] | 56 | <activity |
Robin Lee | 7850b90 | 2016-04-25 18:11:48 +0100 | [diff] [blame] | 57 | android:name="com.android.cts.deviceowner.KeyManagementActivity" |
| 58 | android:theme="@android:style/Theme.Translucent.NoTitleBar" /> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 59 | |
| 60 | <activity |
| 61 | android:name="com.android.cts.deviceowner.LockTaskUtilityActivity" /> |
Benjamin Franz | 1b210a3 | 2015-05-07 15:19:20 +0100 | [diff] [blame] | 62 | <activity |
| 63 | android:name="com.android.cts.deviceowner.LockTaskUtilityActivityIfWhitelisted" |
| 64 | android:lockTaskMode="if_whitelisted" /> |
Nicolas Prevot | a659a7e | 2014-12-12 13:36:23 +0000 | [diff] [blame] | 65 | |
| 66 | <!-- we need to give a different taskAffinity so that when we use |
| 67 | FLAG_ACTIVITY_NEW_TASK, the system tries to start it in a different task |
| 68 | --> |
| 69 | <activity |
| 70 | android:name="com.android.cts.deviceowner.LockTaskTest$IntentReceivingActivity" |
| 71 | android:taskAffinity="com.android.cts.deviceowner.LockTaskTest.IntentReceivingActivity" |
| 72 | /> |
Victor Chang | 8da0f95 | 2016-11-25 16:53:45 +0000 | [diff] [blame] | 73 | |
Nicolas Prevot | e1aa3a8 | 2017-01-18 11:09:38 +0000 | [diff] [blame] | 74 | <activity |
| 75 | android:name=".SetPolicyActivity" |
| 76 | android:launchMode="singleTop"> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.intent.action.MAIN" /> |
| 79 | <category android:name="android.intent.category.DEFAULT"/> |
| 80 | </intent-filter> |
| 81 | </activity> |
| 82 | |
Victor Chang | 06df256 | 2017-01-12 22:59:57 +0000 | [diff] [blame] | 83 | <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/> |
| 84 | |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 85 | </application> |
| 86 | |
Nick Korostelev | 3ca92c6 | 2015-01-28 16:26:24 -0800 | [diff] [blame] | 87 | <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 88 | android:targetPackage="com.android.cts.deviceowner" |
Ricky Wai | 16be1d5 | 2017-03-23 18:28:10 +0000 | [diff] [blame] | 89 | android:label="Device Owner CTS tests"> |
| 90 | <meta-data |
| 91 | android:name="listener" |
| 92 | android:value="com.android.cts.runner.CtsTestRunListener"/> |
| 93 | </instrumentation> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 94 | </manifest> |