| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2014 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.cts.managedprofile"> |
| |
| <uses-sdk android:minSdkVersion="20"/> |
| <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
| <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
| <uses-permission android:name="android.permission.BLUETOOTH" /> |
| <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
| <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| <uses-permission android:name="android.permission.CAMERA" /> |
| <uses-permission android:name="android.permission.CALL_PHONE"/> |
| <uses-permission android:name="android.permission.READ_CALL_LOG"/> |
| <uses-permission android:name="android.permission.WRITE_CALL_LOG"/> |
| <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
| <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
| |
| <application |
| android:testOnly="true"> |
| |
| <uses-library android:name="android.test.runner" /> |
| <receiver |
| android:name="com.android.cts.managedprofile.BaseManagedProfileTest$BasicAdminReceiver" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| <receiver |
| android:name="com.android.cts.managedprofile.ProvisioningTest$ProvisioningAdminReceiver" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| <receiver |
| android:name="com.android.cts.managedprofile.PrimaryUserDeviceAdmin" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/primary_device_admin" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| <activity android:name=".PrimaryUserFilterSetterActivity"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <category android:name="android.intent.category.LAUNCHER" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".ComponentDisablingActivity" android:exported="true"> |
| </activity> |
| <activity android:name=".ManagedProfileActivity"> |
| <intent-filter> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <action android:name="com.android.cts.managedprofile.ACTION_TEST_MANAGED_ACTIVITY" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.SEND" /> |
| <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| <data android:mimeType="*/*" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".PrimaryUserActivity"> |
| <intent-filter> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <action android:name="com.android.cts.managedprofile.ACTION_TEST_PRIMARY_ACTIVITY" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".AllUsersActivity"> |
| <intent-filter> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <action android:name="com.android.cts.managedprofile.ACTION_TEST_ALL_ACTIVITY" /> |
| </intent-filter> |
| </activity> |
| <activity |
| android:name=".SetPolicyActivity" |
| android:launchMode="singleTop"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| </activity> |
| <activity android:name=".TestActivity" /> |
| |
| <service android:name=".DummyConnectionService" |
| android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" > |
| <intent-filter> |
| <action android:name="android.telecom.ConnectionService" /> |
| </intent-filter> |
| </service> |
| |
| <activity android:name=".DummyDialerActivity"> |
| <intent-filter> |
| <action android:name="android.intent.action.DIAL" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <category android:name="android.intent.category.BROWSABLE" /> |
| <data android:mimeType="vnd.android.cursor.item/phone" /> |
| <data android:mimeType="vnd.android.cursor.item/person" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.DIAL" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.VIEW" /> |
| <action android:name="android.intent.action.DIAL" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <category android:name="android.intent.category.BROWSABLE" /> |
| <data android:scheme="tel" /> |
| </intent-filter> |
| </activity> |
| <service android:name=".AccountService" android:exported="true"> |
| <intent-filter> |
| <action android:name="android.accounts.AccountAuthenticator" /> |
| </intent-filter> |
| <meta-data android:name="android.accounts.AccountAuthenticator" |
| android:resource="@xml/authenticator" /> |
| </service> |
| <activity android:name="com.android.compatibility.common.util.devicepolicy.provisioning.StartProvisioningActivity"/> |
| |
| <activity |
| android:name=".ProvisioningSuccessActivity" |
| android:theme="@android:style/Theme.NoDisplay"> |
| <intent-filter> |
| <action android:name="android.app.action.PROVISIONING_SUCCESSFUL"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| </activity> |
| |
| <activity android:name=".WebViewActivity" |
| android:process=":testProcess"/> |
| |
| <activity android:name=".TimeoutActivity" android:exported="true"/> |
| |
| <service |
| android:name=".CrossProfileNotificationListenerService" |
| android:label="CrossProfileNotificationListenerService" |
| android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" > |
| <intent-filter> |
| <action android:name="android.service.notification.NotificationListenerService" /> |
| </intent-filter> |
| </service> |
| |
| <receiver android:name=".MissedCallNotificationReceiver"> |
| <intent-filter> |
| <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" /> |
| </intent-filter> |
| </receiver> |
| |
| <!-- Dummy receiver that's decleared direct boot aware. This is needed to make the test app |
| executable by instrumentation before device unlock --> |
| <receiver android:name=".ResetPasswordWithTokenTest$DummyReceiver" |
| android:directBootAware="true" > |
| <intent-filter> |
| <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" /> |
| </intent-filter> |
| </receiver> |
| |
| </application> |
| |
| <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" |
| android:targetPackage="com.android.cts.managedprofile" |
| android:label="Managed Profile CTS Tests"/> |
| </manifest> |