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" /> |
Alexandra Gherghina | 25543f0 | 2014-10-02 18:26:51 +0100 | [diff] [blame^] | 36 | <category android:name="android.intent.category.DEFAULT"/> |
| 37 | <category android:name="android.intent.category.LAUNCHER" /> |
| 38 | </intent-filter> |
| 39 | </activity> |
| 40 | <activity android:name=".ComponentDisablingActivity" > |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 43 | <category android:name="android.intent.category.DEFAULT"/> |
| 44 | <category android:name="android.intent.category.LAUNCHER" /> |
| 45 | </intent-filter> |
| 46 | </activity> |
| 47 | <activity android:name=".ManagedProfileActivity"> |
| 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_MANAGED_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 51 | </intent-filter> |
| 52 | </activity> |
| 53 | <activity android:name=".PrimaryUserActivity"> |
| 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_PRIMARY_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 57 | </intent-filter> |
| 58 | </activity> |
| 59 | <activity android:name=".AllUsersActivity"> |
| 60 | <intent-filter> |
| 61 | <category android:name="android.intent.category.DEFAULT"/> |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 62 | <action android:name="com.android.cts.managedprofile.ACTION_TEST_ALL_ACTIVITY" /> |
Nicolas Prevot | 259ad47 | 2014-09-17 13:05:30 +0100 | [diff] [blame] | 63 | </intent-filter> |
| 64 | </activity> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 65 | </application> |
| 66 | |
| 67 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 68 | android:targetPackage="com.android.cts.managedprofile" |
| 69 | android:label="Managed Profile CTS Tests"/> |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 70 | </manifest> |