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" 18 package="com.android.cts.managedprofile"> 19 20 <uses-sdk android:minSdkVersion="20"/> 21 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 22 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> 23 <uses-permission android:name="android.permission.BLUETOOTH" /> 24 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 25 <uses-permission android:name="android.permission.READ_CONTACTS" /> 26 <uses-permission android:name="android.permission.WRITE_CONTACTS" /> 27 <uses-permission android:name="android.permission.CAMERA" /> 28 <uses-permission android:name="android.permission.CALL_PHONE"/> 29 <uses-permission android:name="android.permission.READ_CALL_LOG"/> 30 <uses-permission android:name="android.permission.WRITE_CALL_LOG"/> 31 32 <application 33 android:testOnly="true"> 34 35 <uses-library android:name="android.test.runner" /> 36 <receiver 37 android:name="com.android.cts.managedprofile.BaseManagedProfileTest$BasicAdminReceiver" 38 android:permission="android.permission.BIND_DEVICE_ADMIN"> 39 <meta-data android:name="android.app.device_admin" 40 android:resource="@xml/device_admin" /> 41 <intent-filter> 42 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 43 </intent-filter> 44 </receiver> 45 <receiver 46 android:name="com.android.cts.managedprofile.PrimaryUserDeviceAdmin" 47 android:permission="android.permission.BIND_DEVICE_ADMIN"> 48 <meta-data android:name="android.app.device_admin" 49 android:resource="@xml/primary_device_admin" /> 50 <intent-filter> 51 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 52 </intent-filter> 53 </receiver> 54 <activity android:name=".PrimaryUserFilterSetterActivity"> 55 <intent-filter> 56 <action android:name="android.intent.action.MAIN" /> 57 <category android:name="android.intent.category.DEFAULT"/> 58 <category android:name="android.intent.category.LAUNCHER" /> 59 </intent-filter> 60 </activity> 61 <activity android:name=".ComponentDisablingActivity" android:exported="true"> 62 </activity> 63 <activity android:name=".ManagedProfileActivity"> 64 <intent-filter> 65 <category android:name="android.intent.category.DEFAULT"/> 66 <action android:name="com.android.cts.managedprofile.ACTION_TEST_MANAGED_ACTIVITY" /> 67 </intent-filter> 68 </activity> 69 <activity android:name=".PrimaryUserActivity"> 70 <intent-filter> 71 <category android:name="android.intent.category.DEFAULT"/> 72 <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" /> 73 </intent-filter> 74 </activity> 75 <activity android:name=".AllUsersActivity"> 76 <intent-filter> 77 <category android:name="android.intent.category.DEFAULT"/> 78 <action android:name="com.android.cts.managedprofile.ACTION_TEST_ALL_ACTIVITY" /> 79 </intent-filter> 80 </activity> 81 <activity android:name=".SetPolicyActivity" > 82 <intent-filter> 83 <action android:name="android.intent.action.MAIN" /> 84 <category android:name="android.intent.category.DEFAULT"/> 85 </intent-filter> 86 </activity> 87 <activity android:name=".TestActivity" /> 88 89 <service android:name=".DummyConnectionService" 90 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" > 91 <intent-filter> 92 <action android:name="android.telecom.ConnectionService" /> 93 </intent-filter> 94 </service> 95 96 <activity android:name=".DummyDialerActivity"> 97 <intent-filter> 98 <action android:name="android.intent.action.DIAL" /> 99 <category android:name="android.intent.category.DEFAULT" /> 100 <category android:name="android.intent.category.BROWSABLE" /> 101 <data android:mimeType="vnd.android.cursor.item/phone" /> 102 <data android:mimeType="vnd.android.cursor.item/person" /> 103 </intent-filter> 104 </activity> 105 <service android:name=".AccountService" android:exported="true"> 106 <intent-filter> 107 <action android:name="android.accounts.AccountAuthenticator" /> 108 </intent-filter> 109 <meta-data android:name="android.accounts.AccountAuthenticator" 110 android:resource="@xml/authenticator" /> 111 </service> 112 </application> 113 114 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" 115 android:targetPackage="com.android.cts.managedprofile" 116 android:label="Managed Profile CTS Tests"/> 117</manifest> 118