Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 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 |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 7 | |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 9 | |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 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" |
Amith Yamasani | 4b2e934 | 2011-03-31 12:38:53 -0700 | [diff] [blame] | 18 | package="com.android.frameworks.servicestests"> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 19 | |
Neal Nguyen | 3433d3c | 2010-02-02 17:09:00 -0800 | [diff] [blame] | 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" /> |
Jeff Sharkey | b7342ac | 2011-04-25 23:44:11 -0700 | [diff] [blame] | 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" /> |
Jeff Sharkey | 9599cc5 | 2011-05-22 14:59:31 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
| 28 | <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" /> |
Jeff Sharkey | a63ba59 | 2011-07-19 23:47:12 -0700 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Suprabh Shukla | 09a88f5 | 2015-12-02 14:36:31 -0800 | [diff] [blame] | 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" /> |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.REORDER_TASKS" /> |
Jeff Sharkey | 21c9c45 | 2011-06-07 12:26:43 -0700 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> |
| 35 | <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" /> |
Jeff Sharkey | a63ba59 | 2011-07-19 23:47:12 -0700 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING" /> |
Jeff Sharkey | 2242af2 | 2011-06-16 13:43:18 -0700 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
Jeff Sharkey | 8fc27e8 | 2012-04-04 20:40:58 -0700 | [diff] [blame] | 38 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Amith Yamasani | 2a00329 | 2012-08-14 18:25:45 -0700 | [diff] [blame] | 39 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Amith Yamasani | db6a14c | 2012-10-17 21:16:52 -0700 | [diff] [blame] | 40 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
Paul Jensen | d7b6ca9 | 2015-05-13 14:05:12 -0400 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 43 | <uses-permission android:name="android.permission.INTERNET" /> |
| 44 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
Lorenzo Colitti | 7914ce5 | 2015-09-08 13:21:48 +0900 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> |
Paul Jensen | 4e1d3fd | 2016-04-08 13:56:52 -0400 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" /> |
Jorim Jaggi | 7b61437 | 2016-09-28 15:17:50 +0200 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" /> |
Sudheer Shanka | 7cb54a3 | 2016-09-16 12:59:05 -0700 | [diff] [blame] | 48 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 49 | |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 50 | <application> |
| 51 | <uses-library android:name="android.test.runner" /> |
Svetoslav Ganov | 0b29a58 | 2010-04-16 18:52:49 -0700 | [diff] [blame] | 52 | |
Svetoslav Ganov | 53e184d | 2012-05-16 15:57:10 -0700 | [diff] [blame] | 53 | <service android:name="com.android.server.AccessibilityManagerServiceTest$MyFirstMockAccessibilityService" |
| 54 | android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> |
Svetoslav Ganov | 0b29a58 | 2010-04-16 18:52:49 -0700 | [diff] [blame] | 55 | <intent-filter> |
| 56 | <action android:name="android.accessibilityservice.AccessibilityService"/> |
| 57 | </intent-filter> |
| 58 | </service> |
| 59 | |
Svetoslav Ganov | 53e184d | 2012-05-16 15:57:10 -0700 | [diff] [blame] | 60 | <service android:name="com.android.server.AccessibilityManagerServiceTest$MySecondMockAccessibilityService" |
| 61 | android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> |
Svetoslav Ganov | 0b29a58 | 2010-04-16 18:52:49 -0700 | [diff] [blame] | 62 | <intent-filter> |
| 63 | <action android:name="android.accessibilityservice.AccessibilityService"/> |
| 64 | </intent-filter> |
| 65 | </service> |
| 66 | |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 67 | <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver" |
| 68 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 69 | <meta-data android:name="android.app.device_admin" |
| 70 | android:resource="@xml/device_admin_sample" /> |
| 71 | <intent-filter> |
| 72 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 73 | </intent-filter> |
| 74 | </receiver> |
| 75 | |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 76 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1" |
| 77 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 78 | <meta-data android:name="android.app.device_admin" |
| 79 | android:resource="@xml/device_admin_sample" /> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 82 | </intent-filter> |
| 83 | </receiver> |
| 84 | |
| 85 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2" |
| 86 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 87 | <meta-data android:name="android.app.device_admin" |
| 88 | android:resource="@xml/device_admin_sample" /> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 91 | </intent-filter> |
| 92 | </receiver> |
| 93 | |
| 94 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3" |
| 95 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
Makoto Onuki | cc4bbeb | 2015-09-17 10:28:24 -0700 | [diff] [blame] | 96 | <meta-data android:name="android.app.device_admin" |
| 97 | android:resource="@xml/device_admin_sample" /> |
| 98 | <intent-filter> |
| 99 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 100 | </intent-filter> |
| 101 | </receiver> |
| 102 | |
Makoto Onuki | 3ab6f2e | 2015-11-05 13:55:37 -0800 | [diff] [blame] | 103 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm"> |
| 104 | <meta-data android:name="android.app.device_admin" |
| 105 | android:resource="@xml/device_admin_sample" /> |
| 106 | <intent-filter> |
| 107 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 108 | </intent-filter> |
| 109 | </receiver> |
| 110 | |
Shreyas Basarge | 5db0908 | 2016-01-07 13:38:29 +0000 | [diff] [blame] | 111 | <service android:name="com.android.server.job.MockPriorityJobService" |
| 112 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Makoto Onuki | 6f7362d9 | 2016-03-04 13:39:41 -0800 | [diff] [blame] | 113 | |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 114 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity" /> |
| 115 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2" /> |
| 116 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3" /> |
| 117 | |
| 118 | <activity android:name="com.android.server.pm.ShortcutTestActivity" |
| 119 | android:enabled="true" android:exported="true" /> |
| 120 | |
| 121 | <activity-alias android:name="a.ShortcutEnabled" |
| 122 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 123 | android:enabled="true" android:exported="true"> |
| 124 | </activity-alias> |
| 125 | <activity-alias android:name="a.ShortcutDisabled" |
| 126 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 127 | android:enabled="false" android:exported="true"> |
| 128 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/> |
| 129 | </activity-alias> |
| 130 | <activity-alias android:name="a.ShortcutUnexported" |
| 131 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 132 | android:enabled="true" android:exported="false"> |
| 133 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/> |
| 134 | </activity-alias> |
| 135 | <activity-alias android:name="a.Shortcut1" |
| 136 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 137 | android:enabled="true" android:exported="true"> |
| 138 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_1"/> |
| 139 | </activity-alias> |
Sunny Goyal | a6be88a | 2017-01-12 16:27:58 -0800 | [diff] [blame^] | 140 | <activity-alias android:name="a.ShortcutConfigActivity" |
| 141 | android:targetActivity="com.android.server.pm.ShortcutTestActivity"> |
| 142 | <intent-filter> |
| 143 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 144 | </intent-filter> |
| 145 | </activity-alias> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 146 | |
| 147 | <activity-alias android:name="a.DisabledMain" |
| 148 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 149 | android:enabled="false" android:exported="true"> |
| 150 | <intent-filter> |
| 151 | <action android:name="android.intent.action.MAIN" /> |
| 152 | <category android:name="android.intent.category.DEFAULT" /> |
| 153 | <category android:name="android.intent.category.LAUNCHER" /> |
| 154 | </intent-filter> |
| 155 | </activity-alias> |
| 156 | |
| 157 | <activity-alias android:name="a.UnexportedMain" |
| 158 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 159 | android:enabled="true" android:exported="false"> |
| 160 | <intent-filter> |
| 161 | <action android:name="android.intent.action.MAIN" /> |
| 162 | <category android:name="android.intent.category.DEFAULT" /> |
| 163 | <category android:name="android.intent.category.LAUNCHER" /> |
| 164 | </intent-filter> |
| 165 | </activity-alias> |
| 166 | |
Jorim Jaggi | 7b61437 | 2016-09-28 15:17:50 +0200 | [diff] [blame] | 167 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityA" /> |
| 168 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityB" /> |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 169 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityRequestedOrientationChange" /> |
| 170 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskChangeCallbacks" /> |
| 171 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskDescriptionChange" /> |
Jorim Jaggi | 7b61437 | 2016-09-28 15:17:50 +0200 | [diff] [blame] | 172 | |
Sunny Goyal | 87a563e | 2017-01-01 19:42:45 -0800 | [diff] [blame] | 173 | <receiver android:name="com.android.server.appwidget.DummyAppWidget"> |
| 174 | <intent-filter> |
| 175 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 176 | </intent-filter> |
| 177 | <meta-data android:name="android.appwidget.provider" |
| 178 | android:resource="@xml/dummy_appwidget_info" /> |
| 179 | </receiver> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 180 | </application> |
| 181 | |
| 182 | <instrumentation |
Xiaohui Chen | f86676a | 2015-08-19 13:30:07 -0700 | [diff] [blame] | 183 | android:name="android.support.test.runner.AndroidJUnitRunner" |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 184 | android:targetPackage="com.android.frameworks.servicestests" |
| 185 | android:label="Frameworks Services Tests" /> |
| 186 | </manifest> |