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"/> |
| 21 | |
| 22 | <application> |
| 23 | <uses-library android:name="android.test.runner" /> |
| 24 | <receiver |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 25 | android:name="com.android.cts.managedprofile.BaseManagedProfileTest$BasicAdminReceiver" |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 26 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 27 | <meta-data android:name="android.app.device_admin" |
| 28 | android:resource="@xml/device_admin" /> |
| 29 | <intent-filter> |
| 30 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 31 | </intent-filter> |
| 32 | </receiver> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 33 | <activity android:name=".PrimaryUserFilterSetterActivity"> |
| 34 | <intent-filter> |
| 35 | <action android:name="android.intent.action.MAIN" /> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 36 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_SET_FILTERS" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 37 | <category android:name="android.intent.category.DEFAULT"/> |
| 38 | <category android:name="android.intent.category.LAUNCHER" /> |
| 39 | </intent-filter> |
| 40 | </activity> |
| 41 | <activity android:name=".ManagedProfileActivity"> |
| 42 | <intent-filter> |
| 43 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 44 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_MANAGED_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 45 | </intent-filter> |
| 46 | </activity> |
| 47 | <activity android:name=".PrimaryUserActivity"> |
| 48 | <intent-filter> |
| 49 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 50 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 51 | </intent-filter> |
| 52 | </activity> |
| 53 | <activity android:name=".AllUsersActivity"> |
| 54 | <intent-filter> |
| 55 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 56 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_ALL_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 57 | </intent-filter> |
| 58 | </activity> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 59 | </application> |
| 60 | |
| 61 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 62 | android:targetPackage="com.android.cts.managedprofile" |
| 63 | android:label="Managed Profile CTS Tests"/> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 64 | </manifest> |