Esteban Talavera | b53252a | 2014-09-17 11:56:52 +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" |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 18 | package="com.android.cts.managedprofile"> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 19 | |
| 20 | <uses-sdk android:minSdkVersion="20"/> |
Robin Lee | 947ffe3 | 2015-07-10 16:28:39 -0700 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Ricky Wai | 9c8e1ee | 2016-12-06 19:15:05 +0000 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
Keisuke Hasegawa | 9e9bb20 | 2016-03-11 10:18:02 +0900 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
Benjamin Franz | f2c0882 | 2014-12-17 10:57:24 +0000 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
| 25 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
Ricky Wai | 080be6f | 2015-02-12 18:37:39 +0000 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 27 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
Tony Mak | a79c33a | 2015-06-25 13:39:35 +0100 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.CAMERA" /> |
Tony Mak | 5f656e0 | 2016-01-19 19:54:36 +0000 | [diff] [blame] | 29 | <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 Lago | 7bb6e29 | 2016-09-29 11:52:12 +0100 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
Tony Mak | c901789 | 2017-06-06 10:55:29 +0100 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 34 | |
Kenny Guy | e91f1a6 | 2016-04-19 13:33:59 +0100 | [diff] [blame] | 35 | <application |
| 36 | android:testOnly="true"> |
| 37 | |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 38 | <uses-library android:name="android.test.runner" /> |
| 39 | <receiver |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 40 | android:name="com.android.cts.managedprofile.BaseManagedProfileTest$BasicAdminReceiver" |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 41 | 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 Xu | a21a564 | 2015-03-09 15:50:34 +0000 | [diff] [blame] | 48 | <receiver |
Victor Chang | c845f46 | 2017-01-13 17:01:03 +0000 | [diff] [blame] | 49 | 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 Xu | a21a564 | 2015-03-09 15:50:34 +0000 | [diff] [blame] | 58 | 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 Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 66 | <activity android:name=".PrimaryUserFilterSetterActivity"> |
| 67 | <intent-filter> |
| 68 | <action android:name="android.intent.action.MAIN" /> |
Alexandra Gherghina | 25543f0 | 2014-10-02 18:26:51 +0100 | [diff] [blame] | 69 | <category android:name="android.intent.category.DEFAULT"/> |
| 70 | <category android:name="android.intent.category.LAUNCHER" /> |
| 71 | </intent-filter> |
| 72 | </activity> |
Nicolas Prevot | 99bd274 | 2015-07-21 14:51:16 +0100 | [diff] [blame] | 73 | <activity android:name=".ComponentDisablingActivity" android:exported="true"> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 74 | </activity> |
| 75 | <activity android:name=".ManagedProfileActivity"> |
| 76 | <intent-filter> |
| 77 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 78 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_MANAGED_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 79 | </intent-filter> |
Rubin Xu | c83513e | 2018-01-02 20:04:42 +0000 | [diff] [blame] | 80 | <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 Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 86 | </activity> |
| 87 | <activity android:name=".PrimaryUserActivity"> |
| 88 | <intent-filter> |
| 89 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 90 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 91 | </intent-filter> |
Rubin Xu | dc9ad65 | 2018-05-18 17:16:30 +0100 | [diff] [blame] | 92 | <!-- 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 Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 97 | </activity> |
| 98 | <activity android:name=".AllUsersActivity"> |
| 99 | <intent-filter> |
| 100 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 101 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_ALL_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 102 | </intent-filter> |
| 103 | </activity> |
Nicolas Prevot | 7fff9d4 | 2016-11-01 11:28:47 +0000 | [diff] [blame] | 104 | <activity |
| 105 | android:name=".SetPolicyActivity" |
| 106 | android:launchMode="singleTop"> |
Esteban Talavera | cf53b19 | 2014-10-09 14:33:26 +0100 | [diff] [blame] | 107 | <intent-filter> |
| 108 | <action android:name="android.intent.action.MAIN" /> |
| 109 | <category android:name="android.intent.category.DEFAULT"/> |
| 110 | </intent-filter> |
| 111 | </activity> |
Nicolas Prevot | b297f57 | 2014-10-08 15:07:09 +0100 | [diff] [blame] | 112 | <activity android:name=".TestActivity" /> |
Tony Mak | 5f656e0 | 2016-01-19 19:54:36 +0000 | [diff] [blame] | 113 | |
| 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 Mak | c901789 | 2017-06-06 10:55:29 +0100 | [diff] [blame] | 129 | <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 Mak | 5f656e0 | 2016-01-19 19:54:36 +0000 | [diff] [blame] | 140 | </activity> |
Keisuke Hasegawa | 9e9bb20 | 2016-03-11 10:18:02 +0900 | [diff] [blame] | 141 | <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 Chang | c845f46 | 2017-01-13 17:01:03 +0000 | [diff] [blame] | 148 | <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/> |
Mahaver | 97d96b6 | 2017-01-24 20:51:09 +0000 | [diff] [blame] | 149 | |
| 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 Talavera | 7b13d98 | 2017-04-10 13:45:16 +0100 | [diff] [blame] | 158 | |
arangelov | 87664ca | 2017-10-10 16:12:10 +0100 | [diff] [blame] | 159 | <activity android:name=".WebViewActivity" |
| 160 | android:process=":testProcess"/> |
| 161 | |
Pavel Grafov | f7d1b74 | 2017-06-22 16:54:27 +0100 | [diff] [blame] | 162 | <activity android:name=".TimeoutActivity" android:exported="true"/> |
| 163 | |
Esteban Talavera | 7b13d98 | 2017-04-10 13:45:16 +0100 | [diff] [blame] | 164 | <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 Mak | c901789 | 2017-06-06 10:55:29 +0100 | [diff] [blame] | 172 | |
| 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 Xu | 2e7b3d4 | 2017-09-04 13:56:50 +0100 | [diff] [blame] | 178 | |
| 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 Xu | 9348c7d | 2018-06-06 14:13:15 +0100 | [diff] [blame] | 188 | <receiver android:name=".LockProfileReceiver"> |
| 189 | <intent-filter> |
| 190 | <action android:name="com.android.cts.managedprofile.LOCK_PROFILE" /> |
| 191 | </intent-filter> |
| 192 | </receiver> |
| 193 | |
Eric Sandness | 32ddc25 | 2018-06-20 16:05:53 +0100 | [diff] [blame^] | 194 | <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 Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 201 | </application> |
| 202 | |
Nick Korostelev | 3ca92c6 | 2015-01-28 16:26:24 -0800 | [diff] [blame] | 203 | <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 204 | android:targetPackage="com.android.cts.managedprofile" |
| 205 | android:label="Managed Profile CTS Tests"/> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 206 | </manifest> |