| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2008 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.frameworks.servicestests"> |
| |
| <uses-permission android:name="android.permission.READ_LOGS" /> |
| <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
| <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" /> |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| |
| <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> |
| <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" /> |
| <uses-permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING" /> |
| <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
| <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
| <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> |
| |
| <application> |
| <uses-library android:name="android.test.runner" /> |
| |
| <service android:name="com.android.server.AccessibilityManagerServiceTest$MyFirstMockAccessibilityService" |
| android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> |
| <intent-filter> |
| <action android:name="android.accessibilityservice.AccessibilityService"/> |
| </intent-filter> |
| </service> |
| |
| <service android:name="com.android.server.AccessibilityManagerServiceTest$MySecondMockAccessibilityService" |
| android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> |
| <intent-filter> |
| <action android:name="android.accessibilityservice.AccessibilityService"/> |
| </intent-filter> |
| </service> |
| |
| <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin_sample" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| |
| <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin_sample" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| |
| <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin_sample" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| |
| <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3" |
| android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin_sample" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| |
| <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm"> |
| <meta-data android:name="android.app.device_admin" |
| android:resource="@xml/device_admin_sample" /> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| </intent-filter> |
| </receiver> |
| |
| </application> |
| |
| <instrumentation |
| android:name="android.support.test.runner.AndroidJUnitRunner" |
| android:targetPackage="com.android.frameworks.servicestests" |
| android:label="Frameworks Services Tests" /> |
| </manifest> |