Alan Viverette | e3c38a0 | 2014-04-02 15:39:13 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
Felipe Leme | e53e85f | 2015-11-17 17:37:53 -0800 | [diff] [blame] | 4 | * Copyright (C) 2015 The Android Open Source Project |
Alan Viverette | e3c38a0 | 2014-04-02 15:39:13 -0700 | [diff] [blame] | 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | package="com.android.shell" |
| 21 | coreApp="true" |
| 22 | android:sharedUserId="android.uid.shell" |
| 23 | > |
| 24 | |
Nate Myren | 17f2159 | 2019-05-09 13:58:06 -0700 | [diff] [blame] | 25 | <!-- Standard permissions granted to the shell. --> |
| 26 | <uses-permission android:name="android.permission.GET_RUNTIME_PERMISSIONS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.SEND_SMS" /> |
Eugene Susla | 9351985 | 2018-06-13 16:44:31 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.READ_SMS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
chen xu | 6a942d48 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" /> |
Shuo Qian | b61230c | 2019-09-12 17:00:31 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.READ_ACTIVE_EMERGENCY_SESSION" /> |
Michael Groover | 1248e43 | 2018-10-08 09:39:24 -0700 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 35 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 36 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 37 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
| 38 | <uses-permission android:name="android.permission.READ_USER_DICTIONARY" /> |
| 39 | <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" /> |
| 40 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 41 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 42 | <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> |
| 43 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 44 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 45 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
Alex Klyubin | 1991f57 | 2017-03-03 14:08:36 -0800 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
Tim Kilbourn | bba73a0 | 2015-09-01 14:21:09 -0700 | [diff] [blame] | 48 | <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> |
Felipe Leme | 6a05eee | 2016-02-19 14:43:51 -0800 | [diff] [blame] | 49 | <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> |
Philip P. Moltmann | 30a2d63 | 2016-11-29 14:25:59 -0800 | [diff] [blame] | 50 | <uses-permission android:name="android.permission.MANAGE_USB" /> |
Jeff Sharkey | 4a53944 | 2018-01-05 17:09:52 -0700 | [diff] [blame] | 51 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
Dianne Hackborn | dd027b3 | 2018-01-19 17:44:46 -0800 | [diff] [blame] | 52 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 53 | <!-- System tool permissions granted to the shell. --> |
Dianne Hackborn | 2d7576b | 2014-10-03 16:26:04 -0700 | [diff] [blame] | 54 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 55 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> |
| 56 | <uses-permission android:name="android.permission.REORDER_TASKS" /> |
Jeff Sharkey | 4ba6923 | 2018-12-08 14:43:03 -0700 | [diff] [blame] | 57 | <uses-permission android:name="android.permission.REMOVE_TASKS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 58 | <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" /> |
| 59 | <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" /> |
| 60 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 61 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
Stanislav Zholnin | bec8835 | 2019-01-16 14:30:35 +0000 | [diff] [blame] | 62 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
| 63 | <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 64 | <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
Phil Weaver | 1df928f | 2018-10-12 15:48:34 -0700 | [diff] [blame] | 65 | <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 66 | <!-- Development tool permissions granted to the shell. --> |
| 67 | <uses-permission android:name="android.permission.SET_DEBUG_APP" /> |
| 68 | <uses-permission android:name="android.permission.SET_PROCESS_LIMIT" /> |
| 69 | <uses-permission android:name="android.permission.SET_ALWAYS_FINISH" /> |
| 70 | <uses-permission android:name="android.permission.DUMP" /> |
| 71 | <uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" /> |
| 72 | <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> |
| 73 | <!-- Internal permissions granted to the shell. --> |
| 74 | <uses-permission android:name="android.permission.FORCE_BACK" /> |
| 75 | <uses-permission android:name="android.permission.BATTERY_STATS" /> |
Sudheer Shanka | 93bfd05 | 2017-09-01 16:41:10 -0700 | [diff] [blame] | 76 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 77 | <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" /> |
| 78 | <uses-permission android:name="android.permission.INJECT_EVENTS" /> |
| 79 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT" /> |
| 80 | <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> |
| 81 | <uses-permission android:name="android.permission.READ_INPUT_STATE" /> |
| 82 | <uses-permission android:name="android.permission.SET_ORIENTATION" /> |
| 83 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
Jeff Sharkey | e515c64 | 2015-08-28 11:20:39 -0700 | [diff] [blame] | 84 | <uses-permission android:name="android.permission.MOVE_PACKAGE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 85 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> |
Jeff Sharkey | a4daf89 | 2017-04-09 21:37:56 -0600 | [diff] [blame] | 86 | <uses-permission android:name="android.permission.CLEAR_APP_CACHE" /> |
Sergii Piatakov | e8214d6 | 2018-04-02 16:48:56 +0300 | [diff] [blame] | 87 | <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 88 | <uses-permission android:name="android.permission.DELETE_CACHE_FILES" /> |
| 89 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
Richard Uhler | c739c8c | 2018-12-12 11:03:34 +0000 | [diff] [blame] | 90 | <uses-permission android:name="android.permission.MANAGE_ROLLBACKS" /> |
Richard Uhler | 1fc10c1 | 2019-03-18 11:38:46 +0000 | [diff] [blame] | 91 | <uses-permission android:name="android.permission.TEST_MANAGE_ROLLBACKS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 92 | <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> |
| 93 | <uses-permission android:name="android.permission.READ_FRAME_BUFFER" /> |
| 94 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
Salvador Martinez | 812ea75 | 2018-10-19 13:03:20 -0700 | [diff] [blame] | 95 | <uses-permission android:name="android.permission.POWER_SAVER" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 96 | <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" /> |
| 97 | <uses-permission android:name="android.permission.BACKUP" /> |
| 98 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> |
| 99 | <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> |
| 100 | <uses-permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" /> |
Svet Ganov | 7121e18 | 2015-07-13 22:38:12 -0700 | [diff] [blame] | 101 | <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" /> |
| 102 | <uses-permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS" /> |
| 103 | <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" /> |
Svet Ganov | d8eb8b2 | 2019-04-05 18:52:08 -0700 | [diff] [blame] | 104 | <uses-permission android:name="android.permission.WHITELIST_RESTRICTED_PERMISSIONS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 105 | <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" /> |
| 106 | <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
| 107 | <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" /> |
| 108 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 109 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 39da553 | 2013-11-05 12:17:25 -0800 | [diff] [blame] | 110 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Zim | 349b2c1 | 2020-01-24 22:45:09 +0000 | [diff] [blame] | 111 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 112 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 113 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Sudheer Shanka | f5cea03 | 2016-06-08 17:13:24 -0700 | [diff] [blame] | 114 | <uses-permission android:name="android.permission.CREATE_USERS" /> |
Esteban Talavera | 9c17388 | 2014-09-12 15:48:55 +0100 | [diff] [blame] | 115 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
Robert Quattlebaum | f734671 | 2017-08-14 18:29:42 -0700 | [diff] [blame] | 116 | <uses-permission android:name="android.permission.ACCESS_LOWPAN_STATE"/> |
| 117 | <uses-permission android:name="android.permission.CHANGE_LOWPAN_STATE"/> |
| 118 | <uses-permission android:name="android.permission.READ_LOWPAN_CREDENTIAL"/> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 119 | <uses-permission android:name="android.permission.BLUETOOTH_STACK" /> |
Ian Pedowitz | 358e51f | 2016-03-15 17:08:27 +0000 | [diff] [blame] | 120 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Svetoslav | 1376d60 | 2014-03-13 11:17:26 -0700 | [diff] [blame] | 121 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" /> |
Allen Hair | 59d2b43 | 2014-04-23 10:23:07 -0700 | [diff] [blame] | 122 | <uses-permission android:name="android.permission.FRAME_STATS" /> |
Svet Ganov | be19c3a | 2014-07-21 23:46:05 -0700 | [diff] [blame] | 123 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
Adam Lesinski | b5cf61b | 2014-08-18 16:10:28 -0700 | [diff] [blame] | 124 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Svetoslav | 7e9c215 | 2014-10-21 14:52:00 -0700 | [diff] [blame] | 125 | <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/> |
Amith Yamasani | cf76872 | 2015-04-23 20:36:41 -0700 | [diff] [blame] | 126 | <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" /> |
Christopher Tate | ec3a9f3 | 2017-03-21 17:43:47 -0700 | [diff] [blame] | 127 | <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" /> |
Jeff Sharkey | 4c099d0 | 2015-05-15 13:45:00 -0700 | [diff] [blame] | 128 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
| 129 | <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 130 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
Hall Liu | 9cf3e7a | 2019-02-28 15:29:19 -0800 | [diff] [blame] | 131 | <!-- Shell only holds android.permission.NETWORK_SCAN in order to to enable CTS testing --> |
| 132 | <uses-permission android:name="android.permission.NETWORK_SCAN" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 133 | <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" /> |
| 134 | <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> |
| 135 | <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> |
Nicholas Sauer | 1344cb9 | 2015-08-25 08:47:50 -0700 | [diff] [blame] | 136 | <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> |
Dianne Hackborn | bf1b57d | 2018-03-07 12:42:47 -0800 | [diff] [blame] | 137 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" /> |
Felipe Leme | d1e0f12 | 2015-12-18 16:12:41 -0800 | [diff] [blame] | 138 | <uses-permission android:name="android.permission.VIBRATE" /> |
Filip Gruszczynski | 1ca4e54 | 2015-12-22 09:22:34 -0800 | [diff] [blame] | 139 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" /> |
Winson Chung | 58fb749 | 2018-03-17 12:51:14 -0700 | [diff] [blame] | 140 | <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" /> |
Michal Karpinski | 7b97a02 | 2018-12-14 15:17:29 +0000 | [diff] [blame] | 141 | <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" /> |
Andrii Kulian | 02689a7 | 2017-07-06 14:28:59 -0700 | [diff] [blame] | 142 | <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING" /> |
Felipe Leme | 6a05eee | 2016-02-19 14:43:51 -0800 | [diff] [blame] | 143 | <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
Amith Yamasani | bf12565 | 2016-05-13 11:13:16 -0700 | [diff] [blame] | 144 | <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> |
Felipe Leme | 5381aa4 | 2016-10-13 09:02:32 -0700 | [diff] [blame] | 145 | <uses-permission android:name="android.permission.MANAGE_AUTO_FILL" /> |
Felipe Leme | 749b889 | 2018-12-03 16:30:30 -0800 | [diff] [blame] | 146 | <uses-permission android:name="android.permission.MANAGE_CONTENT_CAPTURE" /> |
Winson Chung | 3fb0f25 | 2019-01-08 17:41:55 -0800 | [diff] [blame] | 147 | <uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" /> |
Sunny Goyal | 54e9134 | 2018-11-14 11:59:02 -0800 | [diff] [blame] | 148 | <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" /> |
Rebecca Silberstein | 2d935e1 | 2017-08-18 08:54:56 -0700 | [diff] [blame] | 149 | <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> |
| 150 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
mswest46 | 3f4c99d | 2018-02-01 10:13:10 -0800 | [diff] [blame] | 151 | <uses-permission android:name="android.permission.SET_TIME" /> |
| 152 | <uses-permission android:name="android.permission.SET_TIME_ZONE" /> |
Mathew Inwood | 5f1f29a | 2018-04-03 15:40:56 +0100 | [diff] [blame] | 153 | <uses-permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS" /> |
Hai Zhang | bc0df49 | 2018-11-19 17:27:47 -0800 | [diff] [blame] | 154 | <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" /> |
Hai Zhang | abf0d98 | 2019-02-26 16:50:53 -0800 | [diff] [blame] | 155 | <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" /> |
Julia Reynolds | 8762194 | 2019-01-29 16:19:36 -0500 | [diff] [blame] | 156 | <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" /> |
Evan Laird | deb46f3 | 2019-04-17 16:47:54 -0400 | [diff] [blame] | 157 | <uses-permission android:name="android.permission.STATUS_BAR" /> |
Felipe Leme | 65a9c67 | 2016-04-18 16:15:00 -0700 | [diff] [blame] | 158 | <!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) --> |
| 159 | <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" /> |
Julia Reynolds | dc6adc6 | 2019-04-08 10:35:40 -0400 | [diff] [blame] | 160 | <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" /> |
Wei Liu | 6e50001 | 2016-08-26 14:57:25 -0700 | [diff] [blame] | 161 | <!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) --> |
| 162 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
MÃ¥rten Kongstad | 2e0d0f3 | 2016-06-02 09:35:31 +0200 | [diff] [blame] | 163 | <!-- Permission needed to enable/disable overlays --> |
| 164 | <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" /> |
Karthik Ravi Shankar | ebc1b48 | 2017-03-26 02:56:44 -0700 | [diff] [blame] | 165 | <!-- Permission needed to access privileged VR APIs --> |
| 166 | <uses-permission android:name="android.permission.RESTRICTED_VR_ACCESS" /> |
Svet Ganov | d223db3 | 2017-12-22 09:43:48 -0800 | [diff] [blame] | 167 | <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE" /> |
Ben Gruver | 1ab3d6e | 2017-12-07 13:45:08 -0800 | [diff] [blame] | 168 | <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" /> |
Svet Ganov | 8bd1395 | 2018-01-15 21:32:00 -0800 | [diff] [blame] | 169 | <uses-permission android:name="android.permission.MANAGE_SENSORS" /> |
Svet Ganov | c1006a3 | 2018-01-16 14:05:18 -0800 | [diff] [blame] | 170 | <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" /> |
Svet Ganov | 82f09bc | 2018-01-12 22:08:40 -0800 | [diff] [blame] | 171 | <uses-permission android:name="android.permission.MANAGE_CAMERA" /> |
Philip P. Moltmann | 6c644e6 | 2018-07-18 15:41:24 -0700 | [diff] [blame] | 172 | <!-- Permission needed to enable/disable Bluetooth/Wifi --> |
| 173 | <uses-permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED" /> |
| 174 | <uses-permission android:name="android.permission.MANAGE_WIFI_WHEN_WIRELESS_CONSENT_REQUIRED" /> |
Po-Chien Hsueh | e56f2f58 | 2019-02-21 09:58:02 +0800 | [diff] [blame] | 175 | <!-- Permission needed to invoke DynamicSystem (AOT) --> |
| 176 | <uses-permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM" /> |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 177 | <!-- Used to clean up heap dumps on boot. --> |
| 178 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Po-Chien Hsueh | e56f2f58 | 2019-02-21 09:58:02 +0800 | [diff] [blame] | 179 | |
Svet Ganov | c1006a3 | 2018-01-16 14:05:18 -0800 | [diff] [blame] | 180 | |
Wale Ogunwale | 3d08881 | 2018-02-22 12:36:55 -0800 | [diff] [blame] | 181 | <uses-permission android:name="android.permission.CONTROL_KEYGUARD" /> |
Suprabh Shukla | 349f9a1 | 2018-07-16 13:23:21 -0700 | [diff] [blame] | 182 | <uses-permission android:name="android.permission.SUSPEND_APPS" /> |
Varun Shah | 0586192 | 2019-01-24 07:19:14 -0800 | [diff] [blame] | 183 | <uses-permission android:name="android.permission.OBSERVE_APP_USAGE" /> |
Chad Brubaker | bd175fe | 2018-10-01 10:38:54 -0700 | [diff] [blame] | 184 | <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND" /> |
William Hester | a96d3d3 | 2018-12-19 13:14:51 -0800 | [diff] [blame] | 185 | <!-- Permission needed to wipe the device for Test Harness Mode --> |
| 186 | <uses-permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE" /> |
Wale Ogunwale | 3d08881 | 2018-02-22 12:36:55 -0800 | [diff] [blame] | 187 | |
Svet Ganov | 8455ba2 | 2019-01-02 13:05:56 -0800 | [diff] [blame] | 188 | <uses-permission android:name="android.permission.MANAGE_APPOPS" /> |
| 189 | |
shafik | ae42afc | 2020-01-10 16:16:29 +0000 | [diff] [blame] | 190 | <!-- Permission required for storage tests - FuseDaemonHostTest --> |
| 191 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/> |
| 192 | |
Benedict Wong | 600d93f | 2019-02-15 12:11:17 -0800 | [diff] [blame] | 193 | <!-- Permission needed to run network tests in CTS --> |
| 194 | <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" /> |
markchien | 5e430e5 | 2019-01-23 17:24:10 +0800 | [diff] [blame] | 195 | <!-- Permission needed to test tcp keepalive offload. --> |
| 196 | <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> |
Benedict Wong | 600d93f | 2019-02-15 12:11:17 -0800 | [diff] [blame] | 197 | |
Zimuzo | 901c70d | 2019-03-19 21:45:49 +0000 | [diff] [blame] | 198 | <!-- Permission needed to run keyguard manager tests in CTS --> |
| 199 | <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" /> |
| 200 | |
wilsonshih | 5db7b39 | 2019-02-20 23:08:45 +0800 | [diff] [blame] | 201 | <!-- Permission needed to test wallpaper component --> |
| 202 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 203 | <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> |
| 204 | |
Narayan Kamath | a31ed1b | 2019-04-08 17:32:33 +0100 | [diff] [blame] | 205 | <!-- Permission required to test ContentResolver caching. --> |
| 206 | <uses-permission android:name="android.permission.CACHE_CONTENT" /> |
| 207 | |
Zimuzo | 0d70a6a | 2019-05-14 18:51:32 +0100 | [diff] [blame] | 208 | <!-- Permission required to test ExplicitHealthCheckServiceImpl. --> |
| 209 | <uses-permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" /> |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 210 | |
Varun Shah | a248265 | 2019-05-17 17:28:50 -0700 | [diff] [blame] | 211 | <!-- Permission required for CTS test - CrossProfileAppsHostSideTest --> |
| 212 | <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/> |
Zimuzo | 0d70a6a | 2019-05-14 18:51:32 +0100 | [diff] [blame] | 213 | |
sqian | dfdee63 | 2020-01-30 14:14:43 -0800 | [diff] [blame] | 214 | <!-- permissions required for CTS test - PhoneStateListenerTest --> |
| 215 | <uses-permission android:name="android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH" /> |
| 216 | |
Tyler Gunn | f701f7a | 2019-11-20 07:54:36 -0800 | [diff] [blame] | 217 | <!-- Permission required for CTS test - UiModeManagerTest --> |
Tyler Gunn | f05f2c2 | 2019-09-30 15:12:24 -0700 | [diff] [blame] | 218 | <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/> |
| 219 | |
Tyler Gunn | f701f7a | 2019-11-20 07:54:36 -0800 | [diff] [blame] | 220 | <!-- Permission required for CTS test - CarModeInCallServiceTest --> |
| 221 | <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/> |
| 222 | |
markchien | 9fe658a | 2019-12-17 16:58:20 +0800 | [diff] [blame] | 223 | <!-- Permission required for CTS test - TetheringManagerTest --> |
| 224 | <uses-permission android:name="android.permission.TETHER_PRIVILEGED"/> |
| 225 | |
Steven Ng | 733ac0d | 2020-01-22 13:55:07 +0000 | [diff] [blame] | 226 | <!-- Permissions required to test ambient display. --> |
| 227 | <uses-permission android:name="android.permission.READ_DREAM_STATE"/> |
| 228 | <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/> |
| 229 | |
Hai Zhang | e244583 | 2020-01-31 17:06:45 -0800 | [diff] [blame^] | 230 | <!-- Permission needed to test mainline permission module rollback --> |
| 231 | <uses-permission android:name="android.permission.UPGRADE_RUNTIME_PERMISSIONS" /> |
| 232 | |
Jeff Sharkey | f9fc6d6 | 2015-11-08 16:46:05 -0800 | [diff] [blame] | 233 | <application android:label="@string/app_label" |
Abhijeet Kaur | 8549ccf | 2019-05-22 18:47:49 +0100 | [diff] [blame] | 234 | android:theme="@android:style/Theme.DeviceDefault.DayNight" |
| 235 | android:defaultToDeviceProtectedStorage="true" |
| 236 | android:directBootAware="true"> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 237 | <provider |
KOUSHIK PANUGANTI | e92135a6 | 2018-04-23 17:31:10 -0700 | [diff] [blame] | 238 | android:name="androidx.core.content.FileProvider" |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 239 | android:authorities="com.android.shell" |
| 240 | android:grantUriPermissions="true" |
| 241 | android:exported="false"> |
| 242 | <meta-data |
| 243 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 244 | android:resource="@xml/file_provider_paths" /> |
| 245 | </provider> |
| 246 | |
Ryo Hashimoto | dd98034 | 2015-03-17 19:56:42 +0900 | [diff] [blame] | 247 | <provider |
| 248 | android:name=".BugreportStorageProvider" |
| 249 | android:authorities="com.android.shell.documents" |
| 250 | android:grantUriPermissions="true" |
| 251 | android:exported="true" |
| 252 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 253 | android:enabled="false"> |
| 254 | <intent-filter> |
| 255 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 256 | </intent-filter> |
| 257 | </provider> |
| 258 | |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 259 | <provider android:name=".HeapDumpProvider" |
| 260 | android:authorities="com.android.shell.heapdump" |
| 261 | android:grantUriPermissions="true" |
| 262 | android:exported="true" /> |
| 263 | |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 264 | <activity |
| 265 | android:name=".BugreportWarningActivity" |
Abhijeet Kaur | b7518de | 2019-09-26 14:19:32 +0100 | [diff] [blame] | 266 | android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight" |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 267 | android:finishOnCloseSystemDialogs="true" |
| 268 | android:excludeFromRecents="true" |
| 269 | android:exported="false" /> |
| 270 | |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 271 | <activity android:name=".HeapDumpActivity" |
| 272 | android:theme="@*android:style/Theme.Translucent.NoTitleBar" |
| 273 | android:label="@*android:string/dump_heap_title" |
| 274 | android:finishOnCloseSystemDialogs="true" |
| 275 | android:noHistory="true" |
| 276 | android:excludeFromRecents="true" |
| 277 | android:exported="false" /> |
| 278 | |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 279 | <receiver |
| 280 | android:name=".BugreportReceiver" |
| 281 | android:permission="android.permission.DUMP"> |
| 282 | <intent-filter> |
Felipe Leme | 92aaaa2 | 2017-02-15 16:08:39 -0800 | [diff] [blame] | 283 | <action android:name="com.android.internal.intent.action.BUGREPORT_STARTED" /> |
| 284 | <action android:name="com.android.internal.intent.action.BUGREPORT_FINISHED" /> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 285 | </intent-filter> |
| 286 | </receiver> |
Felipe Leme | b9238b3 | 2015-11-24 17:31:47 -0800 | [diff] [blame] | 287 | |
Michal Karpinski | 226940e | 2015-12-15 18:14:26 +0000 | [diff] [blame] | 288 | <receiver |
| 289 | android:name=".RemoteBugreportReceiver" |
| 290 | android:permission="android.permission.DUMP"> |
| 291 | <intent-filter> |
Felipe Leme | 92aaaa2 | 2017-02-15 16:08:39 -0800 | [diff] [blame] | 292 | <action android:name="com.android.internal.intent.action.REMOTE_BUGREPORT_FINISHED" /> |
Michal Karpinski | 226940e | 2015-12-15 18:14:26 +0000 | [diff] [blame] | 293 | </intent-filter> |
| 294 | </receiver> |
| 295 | |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 296 | <receiver |
| 297 | android:name=".HeapDumpReceiver" |
| 298 | android:permission="android.permission.DUMP"> |
| 299 | <intent-filter> |
| 300 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 301 | <action android:name="com.android.internal.intent.action.HEAP_DUMP_FINISHED" /> |
| 302 | <action android:name="com.android.shell.action.DELETE_HEAP_DUMP" /> |
| 303 | </intent-filter> |
| 304 | </receiver> |
| 305 | |
Felipe Leme | b9238b3 | 2015-11-24 17:31:47 -0800 | [diff] [blame] | 306 | <service |
| 307 | android:name=".BugreportProgressService" |
| 308 | android:exported="false"/> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 309 | </application> |
| 310 | </manifest> |