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" /> |
Christine Franks | e5bb03e | 2017-02-10 17:36:10 -0800 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.ACCESS_VR_MANAGER" /> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.ACCOUNT_MANAGER" /> |
Neal Nguyen | 3433d3c | 2010-02-02 17:09:00 -0800 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 24 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
Jeff Sharkey | b7342ac | 2011-04-25 23:44:11 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 26 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 27 | <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| 28 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
Jeff Sharkey | 9599cc5 | 2011-05-22 14:59:31 -0700 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
| 30 | <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" /> |
Jeff Sharkey | a63ba59 | 2011-07-19 23:47:12 -0700 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Suprabh Shukla | 09a88f5 | 2015-12-02 14:36:31 -0800 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 33 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
| 34 | <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.REORDER_TASKS" /> |
Jeff Sharkey | 21c9c45 | 2011-06-07 12:26:43 -0700 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> |
| 37 | <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" /> |
Jeff Sharkey | 2242af2 | 2011-06-16 13:43:18 -0700 | [diff] [blame] | 38 | <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
Jeff Sharkey | 8fc27e8 | 2012-04-04 20:40:58 -0700 | [diff] [blame] | 39 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Amith Yamasani | 2a00329 | 2012-08-14 18:25:45 -0700 | [diff] [blame] | 40 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Amith Yamasani | db6a14c | 2012-10-17 21:16:52 -0700 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
Paul Jensen | d7b6ca9 | 2015-05-13 14:05:12 -0400 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 44 | <uses-permission android:name="android.permission.INTERNET" /> |
| 45 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
Lorenzo Colitti | 7914ce5 | 2015-09-08 13:21:48 +0900 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> |
Paul Jensen | 4e1d3fd | 2016-04-08 13:56:52 -0400 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" /> |
Jorim Jaggi | 7b61437 | 2016-09-28 15:17:50 +0200 | [diff] [blame] | 48 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" /> |
Sudheer Shanka | 7cb54a3 | 2016-09-16 12:59:05 -0700 | [diff] [blame] | 49 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
Andrii Kulian | 4ede3e0 | 2017-01-12 11:52:31 -0800 | [diff] [blame] | 50 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> |
Sudheer Shanka | 686bb2d | 2017-03-20 12:16:32 -0700 | [diff] [blame] | 51 | <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> |
| 52 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
Suprabh Shukla | 3ac1daa | 2017-07-14 12:15:27 -0700 | [diff] [blame] | 53 | <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> |
| 54 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
| 55 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
| 56 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> |
| 57 | <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" /> |
Wale Ogunwale | c0b0f93 | 2017-11-01 12:51:43 -0700 | [diff] [blame] | 58 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
| 59 | <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" /> |
Robert Carr | b1579c8 | 2017-09-05 14:54:47 -0700 | [diff] [blame] | 60 | <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> |
chaviw | fbe47df | 2017-11-10 16:14:49 -0800 | [diff] [blame] | 61 | <uses-permission android:name="android.permission.READ_FRAME_BUFFER" /> |
arangelov | 91201bd | 2018-01-04 17:10:21 +0000 | [diff] [blame] | 62 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 63 | |
sunjian | d62dc39 | 2017-06-01 12:05:59 -0700 | [diff] [blame] | 64 | <!-- Uses API introduced in O (26) --> |
| 65 | <uses-sdk android:minSdkVersion="1" |
| 66 | android:targetSdkVersion="26"/> |
| 67 | |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 68 | <application> |
| 69 | <uses-library android:name="android.test.runner" /> |
Svetoslav Ganov | 0b29a58 | 2010-04-16 18:52:49 -0700 | [diff] [blame] | 70 | |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 71 | <service android:name="com.android.server.accounts.TestAccountType1AuthenticatorService" |
| 72 | android:exported="false"> |
| 73 | <intent-filter> |
| 74 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 75 | </intent-filter> |
| 76 | <meta-data android:name="android.accounts.AccountAuthenticator" |
| 77 | android:resource="@xml/test_account_type1_authenticator" /> |
| 78 | </service> |
| 79 | |
| 80 | <service android:name="com.android.server.accounts.TestAccountType2AuthenticatorService" |
| 81 | android:exported="false"> |
| 82 | <intent-filter> |
| 83 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 84 | </intent-filter> |
| 85 | <meta-data android:name="android.accounts.AccountAuthenticator" |
| 86 | android:resource="@xml/test_account_type2_authenticator" /> |
| 87 | </service> |
| 88 | |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 89 | <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver" |
| 90 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 91 | <meta-data android:name="android.app.device_admin" |
| 92 | android:resource="@xml/device_admin_sample" /> |
| 93 | <intent-filter> |
| 94 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 95 | </intent-filter> |
| 96 | </receiver> |
| 97 | |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 98 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1" |
| 99 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 100 | <meta-data android:name="android.app.device_admin" |
| 101 | android:resource="@xml/device_admin_sample" /> |
| 102 | <intent-filter> |
| 103 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 104 | </intent-filter> |
| 105 | </receiver> |
| 106 | |
| 107 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2" |
| 108 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 109 | <meta-data android:name="android.app.device_admin" |
| 110 | android:resource="@xml/device_admin_sample" /> |
| 111 | <intent-filter> |
| 112 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 113 | </intent-filter> |
| 114 | </receiver> |
| 115 | |
| 116 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3" |
| 117 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
Makoto Onuki | cc4bbeb | 2015-09-17 10:28:24 -0700 | [diff] [blame] | 118 | <meta-data android:name="android.app.device_admin" |
| 119 | android:resource="@xml/device_admin_sample" /> |
| 120 | <intent-filter> |
| 121 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 122 | </intent-filter> |
| 123 | </receiver> |
| 124 | |
Makoto Onuki | 3ab6f2e | 2015-11-05 13:55:37 -0800 | [diff] [blame] | 125 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm"> |
| 126 | <meta-data android:name="android.app.device_admin" |
| 127 | android:resource="@xml/device_admin_sample" /> |
| 128 | <intent-filter> |
| 129 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 130 | </intent-filter> |
| 131 | </receiver> |
| 132 | |
Shreyas Basarge | 5db0908 | 2016-01-07 13:38:29 +0000 | [diff] [blame] | 133 | <service android:name="com.android.server.job.MockPriorityJobService" |
| 134 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Makoto Onuki | 6f7362d9 | 2016-03-04 13:39:41 -0800 | [diff] [blame] | 135 | |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 136 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity" /> |
| 137 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2" /> |
| 138 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3" /> |
| 139 | |
Wale Ogunwale | c0b0f93 | 2017-11-01 12:51:43 -0700 | [diff] [blame] | 140 | <activity android:name="com.android.server.wm.ScreenDecorWindowTests$TestActivity" /> |
| 141 | |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 142 | <activity android:name="com.android.server.pm.ShortcutTestActivity" |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 143 | android:enabled="true" android:exported="true" /> |
| 144 | |
| 145 | <activity android:name="com.android.server.accounts.AccountAuthenticatorDummyActivity" /> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 146 | |
| 147 | <activity-alias android:name="a.ShortcutEnabled" |
| 148 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 149 | android:enabled="true" android:exported="true"> |
| 150 | </activity-alias> |
| 151 | <activity-alias android:name="a.ShortcutDisabled" |
| 152 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 153 | android:enabled="false" android:exported="true"> |
| 154 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/> |
| 155 | </activity-alias> |
| 156 | <activity-alias android:name="a.ShortcutUnexported" |
| 157 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 158 | android:enabled="true" android:exported="false"> |
| 159 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/> |
| 160 | </activity-alias> |
| 161 | <activity-alias android:name="a.Shortcut1" |
| 162 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 163 | android:enabled="true" android:exported="true"> |
| 164 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_1"/> |
| 165 | </activity-alias> |
Sunny Goyal | a6be88a | 2017-01-12 16:27:58 -0800 | [diff] [blame] | 166 | <activity-alias android:name="a.ShortcutConfigActivity" |
| 167 | android:targetActivity="com.android.server.pm.ShortcutTestActivity"> |
| 168 | <intent-filter> |
| 169 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 170 | </intent-filter> |
| 171 | </activity-alias> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 172 | |
| 173 | <activity-alias android:name="a.DisabledMain" |
| 174 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 175 | android:enabled="false" android:exported="true"> |
| 176 | <intent-filter> |
| 177 | <action android:name="android.intent.action.MAIN" /> |
| 178 | <category android:name="android.intent.category.DEFAULT" /> |
| 179 | <category android:name="android.intent.category.LAUNCHER" /> |
| 180 | </intent-filter> |
| 181 | </activity-alias> |
| 182 | |
| 183 | <activity-alias android:name="a.UnexportedMain" |
| 184 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 185 | android:enabled="true" android:exported="false"> |
| 186 | <intent-filter> |
| 187 | <action android:name="android.intent.action.MAIN" /> |
| 188 | <category android:name="android.intent.category.DEFAULT" /> |
| 189 | <category android:name="android.intent.category.LAUNCHER" /> |
| 190 | </intent-filter> |
| 191 | </activity-alias> |
| 192 | |
Jorim Jaggi | 7b61437 | 2016-09-28 15:17:50 +0200 | [diff] [blame] | 193 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityA" /> |
| 194 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityB" /> |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 195 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityRequestedOrientationChange" /> |
| 196 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskChangeCallbacks" /> |
| 197 | <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskDescriptionChange" /> |
Jorim Jaggi | 7b61437 | 2016-09-28 15:17:50 +0200 | [diff] [blame] | 198 | |
Sunny Goyal | 87a563e | 2017-01-01 19:42:45 -0800 | [diff] [blame] | 199 | <receiver android:name="com.android.server.appwidget.DummyAppWidget"> |
| 200 | <intent-filter> |
| 201 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 202 | </intent-filter> |
| 203 | <meta-data android:name="android.appwidget.provider" |
| 204 | android:resource="@xml/dummy_appwidget_info" /> |
| 205 | </receiver> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 206 | </application> |
| 207 | |
| 208 | <instrumentation |
Santos Cordon | b060863 | 2017-04-05 10:31:15 -0700 | [diff] [blame] | 209 | android:name="android.support.test.runner.AndroidJUnitRunner" |
| 210 | android:targetPackage="com.android.frameworks.servicestests" |
| 211 | android:label="Frameworks Services Tests" /> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 212 | </manifest> |