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" /> |
Jeff Sharkey | 9599cc5 | 2011-05-22 14:59:31 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
| 29 | <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" /> |
Jeff Sharkey | a63ba59 | 2011-07-19 23:47:12 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Suprabh Shukla | 09a88f5 | 2015-12-02 14:36:31 -0800 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 32 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
| 33 | <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.REORDER_TASKS" /> |
Jeff Sharkey | 21c9c45 | 2011-06-07 12:26:43 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> |
| 36 | <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" /> |
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" /> |
Andrii Kulian | 4ede3e0 | 2017-01-12 11:52:31 -0800 | [diff] [blame] | 49 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> |
Sudheer Shanka | 686bb2d | 2017-03-20 12:16:32 -0700 | [diff] [blame] | 50 | <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> |
| 51 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
Suprabh Shukla | 3ac1daa | 2017-07-14 12:15:27 -0700 | [diff] [blame] | 52 | <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> |
| 53 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Suprabh Shukla | 9e41b7f | 2018-05-16 17:54:45 -0700 | [diff] [blame] | 54 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES"/> |
Suprabh Shukla | 3ac1daa | 2017-07-14 12:15:27 -0700 | [diff] [blame] | 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" /> |
Svetoslav Ganov | 2d20fb4 | 2018-02-08 15:52:10 -0800 | [diff] [blame] | 63 | <uses-permission android:name="android.permission.WATCH_APPOPS" /> |
Dianne Hackborn | dd027b3 | 2018-01-19 17:44:46 -0800 | [diff] [blame] | 64 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
Suprabh Shukla | 021b57a | 2018-03-08 18:21:50 -0800 | [diff] [blame] | 65 | <uses-permission android:name="android.permission.SUSPEND_APPS"/> |
Suprabh Shukla | 3c3af14 | 2018-03-30 00:28:37 -0700 | [diff] [blame] | 66 | <uses-permission android:name="android.permission.CONTROL_KEYGUARD"/> |
Michael Groover | c76ea60 | 2018-08-09 16:12:42 -0700 | [diff] [blame] | 67 | <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE"/> |
Christine Franks | 39b0311 | 2018-07-03 14:46:07 -0700 | [diff] [blame] | 68 | <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" /> |
Stanislav Zholnin | e992b1a | 2019-02-08 17:17:43 +0000 | [diff] [blame] | 69 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
| 70 | <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" /> |
Christine Franks | dacbb2d3 | 2019-04-05 18:33:55 -0700 | [diff] [blame] | 71 | <uses-permission android:name="android.permission.HARDWARE_TEST"/> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 72 | |
sunjian | d62dc39 | 2017-06-01 12:05:59 -0700 | [diff] [blame] | 73 | <!-- Uses API introduced in O (26) --> |
| 74 | <uses-sdk android:minSdkVersion="1" |
| 75 | android:targetSdkVersion="26"/> |
| 76 | |
Suprabh Shukla | 77e2245 | 2018-05-22 18:02:37 -0700 | [diff] [blame] | 77 | <application android:testOnly="true"> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 78 | <uses-library android:name="android.test.runner" /> |
Svetoslav Ganov | 0b29a58 | 2010-04-16 18:52:49 -0700 | [diff] [blame] | 79 | |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 80 | <service android:name="com.android.server.accounts.TestAccountType1AuthenticatorService" |
| 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_type1_authenticator" /> |
| 87 | </service> |
| 88 | |
| 89 | <service android:name="com.android.server.accounts.TestAccountType2AuthenticatorService" |
| 90 | android:exported="false"> |
| 91 | <intent-filter> |
| 92 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 93 | </intent-filter> |
| 94 | <meta-data android:name="android.accounts.AccountAuthenticator" |
| 95 | android:resource="@xml/test_account_type2_authenticator" /> |
| 96 | </service> |
| 97 | |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 98 | <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver" |
| 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 | |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 107 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1" |
| 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$Admin2" |
| 117 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 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 | |
| 125 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3" |
| 126 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
Makoto Onuki | cc4bbeb | 2015-09-17 10:28:24 -0700 | [diff] [blame] | 127 | <meta-data android:name="android.app.device_admin" |
| 128 | android:resource="@xml/device_admin_sample" /> |
| 129 | <intent-filter> |
| 130 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 131 | </intent-filter> |
| 132 | </receiver> |
| 133 | |
Makoto Onuki | 3ab6f2e | 2015-11-05 13:55:37 -0800 | [diff] [blame] | 134 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm"> |
| 135 | <meta-data android:name="android.app.device_admin" |
| 136 | android:resource="@xml/device_admin_sample" /> |
| 137 | <intent-filter> |
| 138 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 139 | </intent-filter> |
| 140 | </receiver> |
| 141 | |
Shreyas Basarge | 5db0908 | 2016-01-07 13:38:29 +0000 | [diff] [blame] | 142 | <service android:name="com.android.server.job.MockPriorityJobService" |
| 143 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Makoto Onuki | 6f7362d9 | 2016-03-04 13:39:41 -0800 | [diff] [blame] | 144 | |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 145 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity" /> |
| 146 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2" /> |
| 147 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3" /> |
| 148 | |
| 149 | <activity android:name="com.android.server.pm.ShortcutTestActivity" |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 150 | android:enabled="true" android:exported="true" /> |
| 151 | |
Suprabh Shukla | 3c3af14 | 2018-03-30 00:28:37 -0700 | [diff] [blame] | 152 | <activity android:name="com.android.server.pm.SuspendedDetailsActivity" |
| 153 | android:enabled="true" |
| 154 | android:permission="android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS"> |
| 155 | <intent-filter> |
| 156 | <action android:name="android.intent.action.SHOW_SUSPENDED_APP_DETAILS" /> |
| 157 | <category android:name="android.intent.category.DEFAULT" /> |
| 158 | </intent-filter> |
| 159 | </activity> |
| 160 | |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 161 | <activity android:name="com.android.server.accounts.AccountAuthenticatorDummyActivity" /> |
Michael Groover | 9e7b06e | 2018-12-28 19:55:51 -0800 | [diff] [blame] | 162 | <activity android:name="com.android.server.adb.AdbDebuggingManagerTestActivity" /> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 163 | |
| 164 | <activity-alias android:name="a.ShortcutEnabled" |
| 165 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 166 | android:enabled="true" android:exported="true"> |
| 167 | </activity-alias> |
| 168 | <activity-alias android:name="a.ShortcutDisabled" |
| 169 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 170 | android:enabled="false" android:exported="true"> |
| 171 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/> |
| 172 | </activity-alias> |
| 173 | <activity-alias android:name="a.ShortcutUnexported" |
| 174 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 175 | android:enabled="true" android:exported="false"> |
| 176 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/> |
| 177 | </activity-alias> |
| 178 | <activity-alias android:name="a.Shortcut1" |
| 179 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 180 | android:enabled="true" android:exported="true"> |
| 181 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_1"/> |
| 182 | </activity-alias> |
Sunny Goyal | a6be88a | 2017-01-12 16:27:58 -0800 | [diff] [blame] | 183 | <activity-alias android:name="a.ShortcutConfigActivity" |
| 184 | android:targetActivity="com.android.server.pm.ShortcutTestActivity"> |
| 185 | <intent-filter> |
| 186 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 187 | </intent-filter> |
| 188 | </activity-alias> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 189 | |
| 190 | <activity-alias android:name="a.DisabledMain" |
| 191 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 192 | android:enabled="false" android:exported="true"> |
| 193 | <intent-filter> |
| 194 | <action android:name="android.intent.action.MAIN" /> |
| 195 | <category android:name="android.intent.category.DEFAULT" /> |
| 196 | <category android:name="android.intent.category.LAUNCHER" /> |
| 197 | </intent-filter> |
| 198 | </activity-alias> |
| 199 | |
| 200 | <activity-alias android:name="a.UnexportedMain" |
| 201 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 202 | android:enabled="true" android:exported="false"> |
| 203 | <intent-filter> |
| 204 | <action android:name="android.intent.action.MAIN" /> |
| 205 | <category android:name="android.intent.category.DEFAULT" /> |
| 206 | <category android:name="android.intent.category.LAUNCHER" /> |
| 207 | </intent-filter> |
| 208 | </activity-alias> |
| 209 | |
Sunny Goyal | 87a563e | 2017-01-01 19:42:45 -0800 | [diff] [blame] | 210 | <receiver android:name="com.android.server.appwidget.DummyAppWidget"> |
| 211 | <intent-filter> |
| 212 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 213 | </intent-filter> |
| 214 | <meta-data android:name="android.appwidget.provider" |
| 215 | android:resource="@xml/dummy_appwidget_info" /> |
| 216 | </receiver> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 217 | </application> |
| 218 | |
| 219 | <instrumentation |
Brett Chabot | a26eda9 | 2018-07-23 13:08:30 -0700 | [diff] [blame] | 220 | android:name="androidx.test.runner.AndroidJUnitRunner" |
Santos Cordon | b060863 | 2017-04-05 10:31:15 -0700 | [diff] [blame] | 221 | android:targetPackage="com.android.frameworks.servicestests" |
| 222 | android:label="Frameworks Services Tests" /> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 223 | </manifest> |