blob: 58e232b0abbe513682ac5794f50bab5701653b3f [file] [log] [blame]
Esteban Talaverab53252a2014-09-17 11:56:52 +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"
Esteban Talavera17aafef2014-09-30 17:03:32 +010018 package="com.android.cts.managedprofile">
Esteban Talaverab53252a2014-09-17 11:56:52 +010019
20 <uses-sdk android:minSdkVersion="20"/>
Robin Lee947ffe32015-07-10 16:28:39 -070021 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Ricky Wai9c8e1ee2016-12-06 19:15:05 +000022 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Keisuke Hasegawa9e9bb202016-03-11 10:18:02 +090023 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
Benjamin Franzf2c08822014-12-17 10:57:24 +000024 <uses-permission android:name="android.permission.BLUETOOTH" />
25 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Ricky Wai080be6f2015-02-12 18:37:39 +000026 <uses-permission android:name="android.permission.READ_CONTACTS" />
27 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Tony Maka79c33a2015-06-25 13:39:35 +010028 <uses-permission android:name="android.permission.CAMERA" />
Tony Mak5f656e02016-01-19 19:54:36 +000029 <uses-permission android:name="android.permission.CALL_PHONE"/>
30 <uses-permission android:name="android.permission.READ_CALL_LOG"/>
31 <uses-permission android:name="android.permission.WRITE_CALL_LOG"/>
Andre Lago7bb6e292016-09-29 11:52:12 +010032 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Tony Makc9017892017-06-06 10:55:29 +010033 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
Esteban Talaverab53252a2014-09-17 11:56:52 +010034
Kenny Guye91f1a62016-04-19 13:33:59 +010035 <application
36 android:testOnly="true">
37
Esteban Talaverab53252a2014-09-17 11:56:52 +010038 <uses-library android:name="android.test.runner" />
39 <receiver
Esteban Talavera17aafef2014-09-30 17:03:32 +010040 android:name="com.android.cts.managedprofile.BaseManagedProfileTest$BasicAdminReceiver"
Esteban Talaverab53252a2014-09-17 11:56:52 +010041 android:permission="android.permission.BIND_DEVICE_ADMIN">
42 <meta-data android:name="android.app.device_admin"
43 android:resource="@xml/device_admin" />
44 <intent-filter>
45 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
46 </intent-filter>
47 </receiver>
Rubin Xua21a5642015-03-09 15:50:34 +000048 <receiver
Victor Changc845f462017-01-13 17:01:03 +000049 android:name="com.android.cts.managedprofile.ProvisioningTest$ProvisioningAdminReceiver"
50 android:permission="android.permission.BIND_DEVICE_ADMIN">
51 <meta-data android:name="android.app.device_admin"
52 android:resource="@xml/device_admin" />
53 <intent-filter>
54 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
55 </intent-filter>
56 </receiver>
57 <receiver
Rubin Xua21a5642015-03-09 15:50:34 +000058 android:name="com.android.cts.managedprofile.PrimaryUserDeviceAdmin"
59 android:permission="android.permission.BIND_DEVICE_ADMIN">
60 <meta-data android:name="android.app.device_admin"
61 android:resource="@xml/primary_device_admin" />
62 <intent-filter>
63 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
64 </intent-filter>
65 </receiver>
Nicolas Prevot259ad472014-09-17 13:05:30 +010066 <activity android:name=".PrimaryUserFilterSetterActivity">
67 <intent-filter>
68 <action android:name="android.intent.action.MAIN" />
Alexandra Gherghina25543f02014-10-02 18:26:51 +010069 <category android:name="android.intent.category.DEFAULT"/>
70 <category android:name="android.intent.category.LAUNCHER" />
71 </intent-filter>
72 </activity>
Nicolas Prevot99bd2742015-07-21 14:51:16 +010073 <activity android:name=".ComponentDisablingActivity" android:exported="true">
Nicolas Prevot259ad472014-09-17 13:05:30 +010074 </activity>
75 <activity android:name=".ManagedProfileActivity">
76 <intent-filter>
77 <category android:name="android.intent.category.DEFAULT"/>
Esteban Talavera17aafef2014-09-30 17:03:32 +010078 <action android:name="com.android.cts.managedprofile.ACTION_TEST_MANAGED_ACTIVITY" />
Nicolas Prevot259ad472014-09-17 13:05:30 +010079 </intent-filter>
Rubin Xuc83513e2018-01-02 20:04:42 +000080 <intent-filter>
81 <action android:name="android.intent.action.SEND" />
82 <action android:name="android.intent.action.SEND_MULTIPLE" />
83 <data android:mimeType="*/*" />
84 <category android:name="android.intent.category.DEFAULT" />
85 </intent-filter>
Nicolas Prevot259ad472014-09-17 13:05:30 +010086 </activity>
87 <activity android:name=".PrimaryUserActivity">
88 <intent-filter>
89 <category android:name="android.intent.category.DEFAULT"/>
Esteban Talavera17aafef2014-09-30 17:03:32 +010090 <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" />
Nicolas Prevot259ad472014-09-17 13:05:30 +010091 </intent-filter>
Rubin Xudc9ad652018-05-18 17:16:30 +010092 <!-- Catch ACTION_PICK in case there is no other app handing it -->
93 <intent-filter>
94 <action android:name="android.intent.action.PICK" />
95 <category android:name="android.intent.category.DEFAULT" />
96 </intent-filter>
Nicolas Prevot259ad472014-09-17 13:05:30 +010097 </activity>
98 <activity android:name=".AllUsersActivity">
99 <intent-filter>
100 <category android:name="android.intent.category.DEFAULT"/>
Esteban Talavera17aafef2014-09-30 17:03:32 +0100101 <action android:name="com.android.cts.managedprofile.ACTION_TEST_ALL_ACTIVITY" />
Nicolas Prevot259ad472014-09-17 13:05:30 +0100102 </intent-filter>
103 </activity>
Nicolas Prevot7fff9d42016-11-01 11:28:47 +0000104 <activity
105 android:name=".SetPolicyActivity"
106 android:launchMode="singleTop">
Esteban Talaveracf53b192014-10-09 14:33:26 +0100107 <intent-filter>
108 <action android:name="android.intent.action.MAIN" />
109 <category android:name="android.intent.category.DEFAULT"/>
110 </intent-filter>
111 </activity>
Nicolas Prevotb297f572014-10-08 15:07:09 +0100112 <activity android:name=".TestActivity" />
Tony Mak5f656e02016-01-19 19:54:36 +0000113
114 <service android:name=".DummyConnectionService"
115 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
116 <intent-filter>
117 <action android:name="android.telecom.ConnectionService" />
118 </intent-filter>
119 </service>
120
121 <activity android:name=".DummyDialerActivity">
122 <intent-filter>
123 <action android:name="android.intent.action.DIAL" />
124 <category android:name="android.intent.category.DEFAULT" />
125 <category android:name="android.intent.category.BROWSABLE" />
126 <data android:mimeType="vnd.android.cursor.item/phone" />
127 <data android:mimeType="vnd.android.cursor.item/person" />
128 </intent-filter>
Tony Makc9017892017-06-06 10:55:29 +0100129 <intent-filter>
130 <action android:name="android.intent.action.DIAL" />
131 <category android:name="android.intent.category.DEFAULT" />
132 </intent-filter>
133 <intent-filter>
134 <action android:name="android.intent.action.VIEW" />
135 <action android:name="android.intent.action.DIAL" />
136 <category android:name="android.intent.category.DEFAULT" />
137 <category android:name="android.intent.category.BROWSABLE" />
138 <data android:scheme="tel" />
139 </intent-filter>
Tony Mak5f656e02016-01-19 19:54:36 +0000140 </activity>
Keisuke Hasegawa9e9bb202016-03-11 10:18:02 +0900141 <service android:name=".AccountService" android:exported="true">
142 <intent-filter>
143 <action android:name="android.accounts.AccountAuthenticator" />
144 </intent-filter>
145 <meta-data android:name="android.accounts.AccountAuthenticator"
146 android:resource="@xml/authenticator" />
147 </service>
Victor Changc845f462017-01-13 17:01:03 +0000148 <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/>
Mahaver97d96b62017-01-24 20:51:09 +0000149
150 <activity
151 android:name=".ProvisioningSuccessActivity"
152 android:theme="@android:style/Theme.NoDisplay">
153 <intent-filter>
154 <action android:name="android.app.action.PROVISIONING_SUCCESSFUL"/>
155 <category android:name="android.intent.category.DEFAULT"/>
156 </intent-filter>
157 </activity>
Esteban Talavera7b13d982017-04-10 13:45:16 +0100158
arangelov87664ca2017-10-10 16:12:10 +0100159 <activity android:name=".WebViewActivity"
160 android:process=":testProcess"/>
161
Pavel Grafovf7d1b742017-06-22 16:54:27 +0100162 <activity android:name=".TimeoutActivity" android:exported="true"/>
163
Esteban Talavera7b13d982017-04-10 13:45:16 +0100164 <service
165 android:name=".CrossProfileNotificationListenerService"
166 android:label="CrossProfileNotificationListenerService"
167 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
168 <intent-filter>
169 <action android:name="android.service.notification.NotificationListenerService" />
170 </intent-filter>
171 </service>
Tony Makc9017892017-06-06 10:55:29 +0100172
173 <receiver android:name=".MissedCallNotificationReceiver">
174 <intent-filter>
175 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
176 </intent-filter>
177 </receiver>
Rubin Xu2e7b3d42017-09-04 13:56:50 +0100178
179 <!-- Dummy receiver that's decleared direct boot aware. This is needed to make the test app
180 executable by instrumentation before device unlock -->
181 <receiver android:name=".ResetPasswordWithTokenTest$DummyReceiver"
182 android:directBootAware="true" >
183 <intent-filter>
184 <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
185 </intent-filter>
186 </receiver>
187
Rubin Xu9348c7d2018-06-06 14:13:15 +0100188 <receiver android:name=".LockProfileReceiver">
189 <intent-filter>
190 <action android:name="com.android.cts.managedprofile.LOCK_PROFILE" />
191 </intent-filter>
192 </receiver>
193
Eric Sandness32ddc252018-06-20 16:05:53 +0100194 <receiver android:name=".WipeDataReceiver">
195 <intent-filter>
196 <action android:name="com.android.cts.managedprofile.WIPE_DATA" />
197 <action android:name="com.android.cts.managedprofile.WIPE_DATA_WITH_REASON" />
198 </intent-filter>
199 </receiver>
200
Esteban Talaverab53252a2014-09-17 11:56:52 +0100201 </application>
202
Nick Korostelev3ca92c62015-01-28 16:26:24 -0800203 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
Esteban Talavera17aafef2014-09-30 17:03:32 +0100204 android:targetPackage="com.android.cts.managedprofile"
205 android:label="Managed Profile CTS Tests"/>
Esteban Talaverab53252a2014-09-17 11:56:52 +0100206</manifest>