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> |
| 80 | </activity> |
| 81 | <activity android:name=".PrimaryUserActivity"> |
| 82 | <intent-filter> |
| 83 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 84 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 85 | </intent-filter> |
| 86 | </activity> |
| 87 | <activity android:name=".AllUsersActivity"> |
| 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_ALL_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 91 | </intent-filter> |
| 92 | </activity> |
Nicolas Prevot | 7fff9d4 | 2016-11-01 11:28:47 +0000 | [diff] [blame] | 93 | <activity |
| 94 | android:name=".SetPolicyActivity" |
| 95 | android:launchMode="singleTop"> |
Esteban Talavera | cf53b19 | 2014-10-09 14:33:26 +0100 | [diff] [blame] | 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.MAIN" /> |
| 98 | <category android:name="android.intent.category.DEFAULT"/> |
| 99 | </intent-filter> |
| 100 | </activity> |
Nicolas Prevot | b297f57 | 2014-10-08 15:07:09 +0100 | [diff] [blame] | 101 | <activity android:name=".TestActivity" /> |
Tony Mak | 5f656e0 | 2016-01-19 19:54:36 +0000 | [diff] [blame] | 102 | |
| 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 Mak | c901789 | 2017-06-06 10:55:29 +0100 | [diff] [blame] | 118 | <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 Mak | 5f656e0 | 2016-01-19 19:54:36 +0000 | [diff] [blame] | 129 | </activity> |
Keisuke Hasegawa | 9e9bb20 | 2016-03-11 10:18:02 +0900 | [diff] [blame] | 130 | <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 Chang | c845f46 | 2017-01-13 17:01:03 +0000 | [diff] [blame] | 137 | <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/> |
Mahaver | 97d96b6 | 2017-01-24 20:51:09 +0000 | [diff] [blame] | 138 | |
| 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 Talavera | 7b13d98 | 2017-04-10 13:45:16 +0100 | [diff] [blame] | 147 | |
| 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 Mak | c901789 | 2017-06-06 10:55:29 +0100 | [diff] [blame] | 156 | |
| 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 Xu | 2e7b3d4 | 2017-09-04 13:56:50 +0100 | [diff] [blame^] | 162 | |
| 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 Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 172 | </application> |
| 173 | |
Nick Korostelev | 3ca92c6 | 2015-01-28 16:26:24 -0800 | [diff] [blame] | 174 | <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 175 | android:targetPackage="com.android.cts.managedprofile" |
| 176 | android:label="Managed Profile CTS Tests"/> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 177 | </manifest> |