1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2008 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.frameworks.servicestests"> 19 20 <uses-permission android:name="android.permission.READ_LOGS" /> 21 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 22 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 23 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 24 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 25 <uses-permission android:name="android.permission.BROADCAST_STICKY" /> 26 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 27 <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> 28 <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" /> 29 <uses-permission android:name="android.permission.WAKE_LOCK" /> 30 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> 31 <uses-permission android:name="android.permission.REAL_GET_TASKS" /> 32 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> 33 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> 34 <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" /> 35 <uses-permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING" /> 36 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> 37 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 38 <uses-permission android:name="android.permission.MANAGE_USERS" /> 39 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 40 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> 41 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> 42 <uses-permission android:name="android.permission.INTERNET" /> 43 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> 44 <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> 45 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" /> 46 47 <application> 48 <uses-library android:name="android.test.runner" /> 49 50 <service android:name="com.android.server.AccessibilityManagerServiceTest$MyFirstMockAccessibilityService" 51 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 52 <intent-filter> 53 <action android:name="android.accessibilityservice.AccessibilityService"/> 54 </intent-filter> 55 </service> 56 57 <service android:name="com.android.server.AccessibilityManagerServiceTest$MySecondMockAccessibilityService" 58 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 59 <intent-filter> 60 <action android:name="android.accessibilityservice.AccessibilityService"/> 61 </intent-filter> 62 </service> 63 64 <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver" 65 android:permission="android.permission.BIND_DEVICE_ADMIN"> 66 <meta-data android:name="android.app.device_admin" 67 android:resource="@xml/device_admin_sample" /> 68 <intent-filter> 69 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 70 </intent-filter> 71 </receiver> 72 73 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1" 74 android:permission="android.permission.BIND_DEVICE_ADMIN"> 75 <meta-data android:name="android.app.device_admin" 76 android:resource="@xml/device_admin_sample" /> 77 <intent-filter> 78 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 79 </intent-filter> 80 </receiver> 81 82 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2" 83 android:permission="android.permission.BIND_DEVICE_ADMIN"> 84 <meta-data android:name="android.app.device_admin" 85 android:resource="@xml/device_admin_sample" /> 86 <intent-filter> 87 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 88 </intent-filter> 89 </receiver> 90 91 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3" 92 android:permission="android.permission.BIND_DEVICE_ADMIN"> 93 <meta-data android:name="android.app.device_admin" 94 android:resource="@xml/device_admin_sample" /> 95 <intent-filter> 96 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 97 </intent-filter> 98 </receiver> 99 100 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm"> 101 <meta-data android:name="android.app.device_admin" 102 android:resource="@xml/device_admin_sample" /> 103 <intent-filter> 104 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 105 </intent-filter> 106 </receiver> 107 108 <service android:name="com.android.server.job.MockPriorityJobService" 109 android:permission="android.permission.BIND_JOB_SERVICE" /> 110 111 <activity android:name="com.android.server.pm.ShortcutManagerTest$ShortcutActivity" /> 112 <activity android:name="com.android.server.pm.ShortcutManagerTest$ShortcutActivity2" /> 113 <activity android:name="com.android.server.pm.ShortcutManagerTest$ShortcutActivity3" /> 114 </application> 115 116 <instrumentation 117 android:name="android.support.test.runner.AndroidJUnitRunner" 118 android:targetPackage="com.android.frameworks.servicestests" 119 android:label="Frameworks Services Tests" /> 120 </manifest> 121