blob: 01967dc1311a1a1a3c7c7317ecac88251adac8b8 [file] [log] [blame]
Esteban Talavera17aafef2014-09-30 17:03:32 +01001<?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 Fabianowski400b19f2017-01-25 18:58:00 +010023 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Esteban Talavera17aafef2014-09-30 17:03:32 +010024 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Zoltan Szatmary-Banb99428e2015-06-24 10:50:26 +010025 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
26 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
phweissd2a874e2016-02-22 12:13:59 +010027 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Michal Karpinski2ee2cb32016-12-20 17:04:57 +000028 <uses-permission android:name="android.permission.INTERNET" />
Lenka Trochtovacbdc7362016-12-02 12:27:20 +010029 <uses-permission android:name="android.permission.BLUETOOTH" />
30 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Ricky Wai16be1d52017-03-23 18:28:10 +000031 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Esteban Talavera17aafef2014-09-30 17:03:32 +010032
Robin Leef520f932016-06-13 19:06:06 +010033 <application
Kenny Guye91f1a62016-04-19 13:33:59 +010034 android:testOnly="true">
35
Esteban Talavera17aafef2014-09-30 17:03:32 +010036 <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>
phweissd2a874e2016-02-22 12:13:59 +010046 <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 Talavera17aafef2014-09-30 17:03:32 +010055
Benjamin Franze772d862015-07-24 15:43:11 +010056 <activity
Robin Lee7850b902016-04-25 18:11:48 +010057 android:name="com.android.cts.deviceowner.KeyManagementActivity"
58 android:theme="@android:style/Theme.Translucent.NoTitleBar" />
Esteban Talavera17aafef2014-09-30 17:03:32 +010059
60 <activity
61 android:name="com.android.cts.deviceowner.LockTaskUtilityActivity" />
Benjamin Franz1b210a32015-05-07 15:19:20 +010062 <activity
63 android:name="com.android.cts.deviceowner.LockTaskUtilityActivityIfWhitelisted"
64 android:lockTaskMode="if_whitelisted" />
Nicolas Prevota659a7e2014-12-12 13:36:23 +000065
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 Chang8da0f952016-11-25 16:53:45 +000073
Nicolas Prevote1aa3a82017-01-18 11:09:38 +000074 <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 Chang06df2562017-01-12 22:59:57 +000083 <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/>
84
Esteban Talavera17aafef2014-09-30 17:03:32 +010085 </application>
86
Nick Korostelev3ca92c62015-01-28 16:26:24 -080087 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
Esteban Talavera17aafef2014-09-30 17:03:32 +010088 android:targetPackage="com.android.cts.deviceowner"
Ricky Wai16be1d52017-03-23 18:28:10 +000089 android:label="Device Owner CTS tests">
90 <meta-data
91 android:name="listener"
92 android:value="com.android.cts.runner.CtsTestRunListener"/>
93 </instrumentation>
Esteban Talavera17aafef2014-09-30 17:03:32 +010094</manifest>