blob: 05ebac08dece7f7669e28a375032d57e68add176 [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>
80 </activity>
81 <activity android:name=".PrimaryUserActivity">
82 <intent-filter>
83 <category android:name="android.intent.category.DEFAULT"/>
Esteban Talavera17aafef2014-09-30 17:03:32 +010084 <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" />
Nicolas Prevot259ad472014-09-17 13:05:30 +010085 </intent-filter>
86 </activity>
87 <activity android:name=".AllUsersActivity">
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_ALL_ACTIVITY" />
Nicolas Prevot259ad472014-09-17 13:05:30 +010091 </intent-filter>
92 </activity>
Nicolas Prevot7fff9d42016-11-01 11:28:47 +000093 <activity
94 android:name=".SetPolicyActivity"
95 android:launchMode="singleTop">
Esteban Talaveracf53b192014-10-09 14:33:26 +010096 <intent-filter>
97 <action android:name="android.intent.action.MAIN" />
98 <category android:name="android.intent.category.DEFAULT"/>
99 </intent-filter>
100 </activity>
Nicolas Prevotb297f572014-10-08 15:07:09 +0100101 <activity android:name=".TestActivity" />
Tony Mak5f656e02016-01-19 19:54:36 +0000102
103 <service android:name=".DummyConnectionService"
104 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
105 <intent-filter>
106 <action android:name="android.telecom.ConnectionService" />
107 </intent-filter>
108 </service>
109
110 <activity android:name=".DummyDialerActivity">
111 <intent-filter>
112 <action android:name="android.intent.action.DIAL" />
113 <category android:name="android.intent.category.DEFAULT" />
114 <category android:name="android.intent.category.BROWSABLE" />
115 <data android:mimeType="vnd.android.cursor.item/phone" />
116 <data android:mimeType="vnd.android.cursor.item/person" />
117 </intent-filter>
Tony Makc9017892017-06-06 10:55:29 +0100118 <intent-filter>
119 <action android:name="android.intent.action.DIAL" />
120 <category android:name="android.intent.category.DEFAULT" />
121 </intent-filter>
122 <intent-filter>
123 <action android:name="android.intent.action.VIEW" />
124 <action android:name="android.intent.action.DIAL" />
125 <category android:name="android.intent.category.DEFAULT" />
126 <category android:name="android.intent.category.BROWSABLE" />
127 <data android:scheme="tel" />
128 </intent-filter>
Tony Mak5f656e02016-01-19 19:54:36 +0000129 </activity>
Keisuke Hasegawa9e9bb202016-03-11 10:18:02 +0900130 <service android:name=".AccountService" android:exported="true">
131 <intent-filter>
132 <action android:name="android.accounts.AccountAuthenticator" />
133 </intent-filter>
134 <meta-data android:name="android.accounts.AccountAuthenticator"
135 android:resource="@xml/authenticator" />
136 </service>
Victor Changc845f462017-01-13 17:01:03 +0000137 <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/>
Mahaver97d96b62017-01-24 20:51:09 +0000138
139 <activity
140 android:name=".ProvisioningSuccessActivity"
141 android:theme="@android:style/Theme.NoDisplay">
142 <intent-filter>
143 <action android:name="android.app.action.PROVISIONING_SUCCESSFUL"/>
144 <category android:name="android.intent.category.DEFAULT"/>
145 </intent-filter>
146 </activity>
Esteban Talavera7b13d982017-04-10 13:45:16 +0100147
148 <service
149 android:name=".CrossProfileNotificationListenerService"
150 android:label="CrossProfileNotificationListenerService"
151 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
152 <intent-filter>
153 <action android:name="android.service.notification.NotificationListenerService" />
154 </intent-filter>
155 </service>
Tony Makc9017892017-06-06 10:55:29 +0100156
157 <receiver android:name=".MissedCallNotificationReceiver">
158 <intent-filter>
159 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
160 </intent-filter>
161 </receiver>
Rubin Xu2e7b3d42017-09-04 13:56:50 +0100162
163 <!-- Dummy receiver that's decleared direct boot aware. This is needed to make the test app
164 executable by instrumentation before device unlock -->
165 <receiver android:name=".ResetPasswordWithTokenTest$DummyReceiver"
166 android:directBootAware="true" >
167 <intent-filter>
168 <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
169 </intent-filter>
170 </receiver>
171
Esteban Talaverab53252a2014-09-17 11:56:52 +0100172 </application>
173
Nick Korostelev3ca92c62015-01-28 16:26:24 -0800174 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
Esteban Talavera17aafef2014-09-30 17:03:32 +0100175 android:targetPackage="com.android.cts.managedprofile"
176 android:label="Managed Profile CTS Tests"/>
Esteban Talaverab53252a2014-09-17 11:56:52 +0100177</manifest>