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 | 134334b | 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" /> |
Nate Myren | d3a6385 | 2019-06-07 13:11:58 -0700 | [diff] [blame] | 105 | <!-- Permission required to test onPermissionsChangedListener --> |
| 106 | <uses-permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 107 | <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" /> |
| 108 | <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
| 109 | <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" /> |
| 110 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 111 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 39da553 | 2013-11-05 12:17:25 -0800 | [diff] [blame] | 112 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Zim | 349b2c1 | 2020-01-24 22:45:09 +0000 | [diff] [blame] | 113 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 114 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 115 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Sudheer Shanka | f5cea03 | 2016-06-08 17:13:24 -0700 | [diff] [blame] | 116 | <uses-permission android:name="android.permission.CREATE_USERS" /> |
Esteban Talavera | 9c17388 | 2014-09-12 15:48:55 +0100 | [diff] [blame] | 117 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
Robert Quattlebaum | f734671 | 2017-08-14 18:29:42 -0700 | [diff] [blame] | 118 | <uses-permission android:name="android.permission.ACCESS_LOWPAN_STATE"/> |
| 119 | <uses-permission android:name="android.permission.CHANGE_LOWPAN_STATE"/> |
| 120 | <uses-permission android:name="android.permission.READ_LOWPAN_CREDENTIAL"/> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 121 | <uses-permission android:name="android.permission.BLUETOOTH_STACK" /> |
Ian Pedowitz | 358e51f | 2016-03-15 17:08:27 +0000 | [diff] [blame] | 122 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Svetoslav | 1376d60 | 2014-03-13 11:17:26 -0700 | [diff] [blame] | 123 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" /> |
Allen Hair | 59d2b43 | 2014-04-23 10:23:07 -0700 | [diff] [blame] | 124 | <uses-permission android:name="android.permission.FRAME_STATS" /> |
Svet Ganov | be19c3a | 2014-07-21 23:46:05 -0700 | [diff] [blame] | 125 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
Adam Lesinski | b5cf61b | 2014-08-18 16:10:28 -0700 | [diff] [blame] | 126 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Svetoslav | 7e9c215 | 2014-10-21 14:52:00 -0700 | [diff] [blame] | 127 | <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/> |
Amith Yamasani | cf76872 | 2015-04-23 20:36:41 -0700 | [diff] [blame] | 128 | <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" /> |
Christopher Tate | ec3a9f3 | 2017-03-21 17:43:47 -0700 | [diff] [blame] | 129 | <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" /> |
Jeff Sharkey | 4c099d0 | 2015-05-15 13:45:00 -0700 | [diff] [blame] | 130 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
| 131 | <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 132 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
Hall Liu | 9cf3e7a | 2019-02-28 15:29:19 -0800 | [diff] [blame] | 133 | <!-- Shell only holds android.permission.NETWORK_SCAN in order to to enable CTS testing --> |
| 134 | <uses-permission android:name="android.permission.NETWORK_SCAN" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 135 | <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" /> |
| 136 | <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> |
| 137 | <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> |
Nicholas Sauer | 1344cb9 | 2015-08-25 08:47:50 -0700 | [diff] [blame] | 138 | <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> |
Dianne Hackborn | bf1b57d | 2018-03-07 12:42:47 -0800 | [diff] [blame] | 139 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" /> |
Felipe Leme | d1e0f12 | 2015-12-18 16:12:41 -0800 | [diff] [blame] | 140 | <uses-permission android:name="android.permission.VIBRATE" /> |
Filip Gruszczynski | 1ca4e54 | 2015-12-22 09:22:34 -0800 | [diff] [blame] | 141 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" /> |
Winson Chung | 58fb749 | 2018-03-17 12:51:14 -0700 | [diff] [blame] | 142 | <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" /> |
Michal Karpinski | 7b97a02 | 2018-12-14 15:17:29 +0000 | [diff] [blame] | 143 | <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" /> |
Andrii Kulian | 02689a7 | 2017-07-06 14:28:59 -0700 | [diff] [blame] | 144 | <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING" /> |
Felipe Leme | 6a05eee | 2016-02-19 14:43:51 -0800 | [diff] [blame] | 145 | <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
Amith Yamasani | bf12565 | 2016-05-13 11:13:16 -0700 | [diff] [blame] | 146 | <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> |
Felipe Leme | 5381aa4 | 2016-10-13 09:02:32 -0700 | [diff] [blame] | 147 | <uses-permission android:name="android.permission.MANAGE_AUTO_FILL" /> |
Felipe Leme | 749b889 | 2018-12-03 16:30:30 -0800 | [diff] [blame] | 148 | <uses-permission android:name="android.permission.MANAGE_CONTENT_CAPTURE" /> |
Winson Chung | 3fb0f25 | 2019-01-08 17:41:55 -0800 | [diff] [blame] | 149 | <uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" /> |
Sunny Goyal | 54e9134 | 2018-11-14 11:59:02 -0800 | [diff] [blame] | 150 | <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" /> |
Rebecca Silberstein | 2d935e1 | 2017-08-18 08:54:56 -0700 | [diff] [blame] | 151 | <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> |
| 152 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
mswest46 | 3f4c99d | 2018-02-01 10:13:10 -0800 | [diff] [blame] | 153 | <uses-permission android:name="android.permission.SET_TIME" /> |
| 154 | <uses-permission android:name="android.permission.SET_TIME_ZONE" /> |
Mathew Inwood | 5f1f29a | 2018-04-03 15:40:56 +0100 | [diff] [blame] | 155 | <uses-permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS" /> |
Hai Zhang | bc0df49 | 2018-11-19 17:27:47 -0800 | [diff] [blame] | 156 | <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" /> |
Hai Zhang | abf0d98 | 2019-02-26 16:50:53 -0800 | [diff] [blame] | 157 | <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" /> |
Julia Reynolds | 8762194 | 2019-01-29 16:19:36 -0500 | [diff] [blame] | 158 | <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" /> |
Evan Laird | deb46f3 | 2019-04-17 16:47:54 -0400 | [diff] [blame] | 159 | <uses-permission android:name="android.permission.STATUS_BAR" /> |
Felipe Leme | 65a9c67 | 2016-04-18 16:15:00 -0700 | [diff] [blame] | 160 | <!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) --> |
| 161 | <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" /> |
Julia Reynolds | dc6adc6 | 2019-04-08 10:35:40 -0400 | [diff] [blame] | 162 | <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" /> |
Wei Liu | 6e50001 | 2016-08-26 14:57:25 -0700 | [diff] [blame] | 163 | <!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) --> |
| 164 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
MÃ¥rten Kongstad | 2e0d0f3 | 2016-06-02 09:35:31 +0200 | [diff] [blame] | 165 | <!-- Permission needed to enable/disable overlays --> |
| 166 | <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" /> |
Karthik Ravi Shankar | ebc1b48 | 2017-03-26 02:56:44 -0700 | [diff] [blame] | 167 | <!-- Permission needed to access privileged VR APIs --> |
| 168 | <uses-permission android:name="android.permission.RESTRICTED_VR_ACCESS" /> |
Svet Ganov | d223db3 | 2017-12-22 09:43:48 -0800 | [diff] [blame] | 169 | <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE" /> |
Ben Gruver | 1ab3d6e | 2017-12-07 13:45:08 -0800 | [diff] [blame] | 170 | <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" /> |
Svet Ganov | 8bd1395 | 2018-01-15 21:32:00 -0800 | [diff] [blame] | 171 | <uses-permission android:name="android.permission.MANAGE_SENSORS" /> |
Svet Ganov | c1006a3 | 2018-01-16 14:05:18 -0800 | [diff] [blame] | 172 | <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" /> |
Svet Ganov | 82f09bc | 2018-01-12 22:08:40 -0800 | [diff] [blame] | 173 | <uses-permission android:name="android.permission.MANAGE_CAMERA" /> |
Jayant Chowdhary | 393ad6e | 2019-07-17 09:28:50 -0700 | [diff] [blame] | 174 | <!-- Permissions needed to test system only camera devices --> |
| 175 | <uses-permission android:name="android.permission.CAMERA" /> |
| 176 | <uses-permission android:name="android.permission.SYSTEM_CAMERA" /> |
Jayant Chowdhary | 4feeee8 | 2019-09-16 13:23:11 -0700 | [diff] [blame] | 177 | <!-- Permissions needed for CTS camera test: RecordingTest.java when assuming shell id --> |
| 178 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
Philip P. Moltmann | 6c644e6 | 2018-07-18 15:41:24 -0700 | [diff] [blame] | 179 | <!-- Permission needed to enable/disable Bluetooth/Wifi --> |
| 180 | <uses-permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED" /> |
| 181 | <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] | 182 | <!-- Permission needed to invoke DynamicSystem (AOT) --> |
| 183 | <uses-permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM" /> |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 184 | <!-- Used to clean up heap dumps on boot. --> |
| 185 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Po-Chien Hsueh | e56f2f58 | 2019-02-21 09:58:02 +0800 | [diff] [blame] | 186 | |
Svet Ganov | c1006a3 | 2018-01-16 14:05:18 -0800 | [diff] [blame] | 187 | |
Wale Ogunwale | 3d08881 | 2018-02-22 12:36:55 -0800 | [diff] [blame] | 188 | <uses-permission android:name="android.permission.CONTROL_KEYGUARD" /> |
Suprabh Shukla | 349f9a1 | 2018-07-16 13:23:21 -0700 | [diff] [blame] | 189 | <uses-permission android:name="android.permission.SUSPEND_APPS" /> |
Varun Shah | 0586192 | 2019-01-24 07:19:14 -0800 | [diff] [blame] | 190 | <uses-permission android:name="android.permission.OBSERVE_APP_USAGE" /> |
Chad Brubaker | bd175fe | 2018-10-01 10:38:54 -0700 | [diff] [blame] | 191 | <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND" /> |
William Hester | a96d3d3 | 2018-12-19 13:14:51 -0800 | [diff] [blame] | 192 | <!-- Permission needed to wipe the device for Test Harness Mode --> |
| 193 | <uses-permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE" /> |
Eugene Susla | 6eae4a6 | 2019-03-28 13:50:17 -0700 | [diff] [blame] | 194 | <uses-permission android:name="android.permission.MANAGE_COMPANION_DEVICES" /> |
Wale Ogunwale | 3d08881 | 2018-02-22 12:36:55 -0800 | [diff] [blame] | 195 | |
Svet Ganov | 8455ba2 | 2019-01-02 13:05:56 -0800 | [diff] [blame] | 196 | <uses-permission android:name="android.permission.MANAGE_APPOPS" /> |
| 197 | |
shafik | ae42afc | 2020-01-10 16:16:29 +0000 | [diff] [blame] | 198 | <!-- Permission required for storage tests - FuseDaemonHostTest --> |
| 199 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/> |
| 200 | |
Benedict Wong | 600d93f | 2019-02-15 12:11:17 -0800 | [diff] [blame] | 201 | <!-- Permission needed to run network tests in CTS --> |
| 202 | <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" /> |
markchien | 5e430e5 | 2019-01-23 17:24:10 +0800 | [diff] [blame] | 203 | <!-- Permission needed to test tcp keepalive offload. --> |
| 204 | <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> |
Benedict Wong | 600d93f | 2019-02-15 12:11:17 -0800 | [diff] [blame] | 205 | |
Zimuzo | 901c70d | 2019-03-19 21:45:49 +0000 | [diff] [blame] | 206 | <!-- Permission needed to run keyguard manager tests in CTS --> |
| 207 | <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" /> |
| 208 | |
wilsonshih | 5db7b39 | 2019-02-20 23:08:45 +0800 | [diff] [blame] | 209 | <!-- Permission needed to test wallpaper component --> |
| 210 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 211 | <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> |
| 212 | |
Narayan Kamath | a31ed1b | 2019-04-08 17:32:33 +0100 | [diff] [blame] | 213 | <!-- Permission required to test ContentResolver caching. --> |
| 214 | <uses-permission android:name="android.permission.CACHE_CONTENT" /> |
| 215 | |
Zimuzo | 0d70a6a | 2019-05-14 18:51:32 +0100 | [diff] [blame] | 216 | <!-- Permission required to test ExplicitHealthCheckServiceImpl. --> |
| 217 | <uses-permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" /> |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 218 | |
Varun Shah | a248265 | 2019-05-17 17:28:50 -0700 | [diff] [blame] | 219 | <!-- Permission required for CTS test - CrossProfileAppsHostSideTest --> |
| 220 | <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/> |
Zimuzo | 0d70a6a | 2019-05-14 18:51:32 +0100 | [diff] [blame] | 221 | |
Tyler Gunn | f701f7a | 2019-11-20 07:54:36 -0800 | [diff] [blame] | 222 | <!-- Permission required for CTS test - UiModeManagerTest --> |
Tyler Gunn | daef668 | 2019-09-30 15:12:24 -0700 | [diff] [blame] | 223 | <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/> |
| 224 | |
Hall Liu | b38ad5f | 2019-12-23 18:11:10 -0800 | [diff] [blame] | 225 | <!-- Permission required for CTS test - SystemConfigTest --> |
| 226 | <uses-permission android:name="android.permission.READ_CARRIER_APP_INFO"/> |
| 227 | |
| 228 | <!-- Permission required for CTS test - CarModeInCallServiceTest --> |
Tyler Gunn | f701f7a | 2019-11-20 07:54:36 -0800 | [diff] [blame] | 229 | <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/> |
| 230 | |
Jordan Liu | 4c0e2a4 | 2019-12-04 12:09:56 -0800 | [diff] [blame] | 231 | <!-- Permission requried for CTS test - CellBroadcastIntentsTest --> |
| 232 | <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"/> |
| 233 | |
markchien | a2ce459 | 2019-12-17 16:58:20 +0800 | [diff] [blame] | 234 | <!-- Permission required for CTS test - TetheringManagerTest --> |
| 235 | <uses-permission android:name="android.permission.TETHER_PRIVILEGED"/> |
| 236 | |
Felka Chang | 71e3efe | 2019-11-20 14:11:13 +0800 | [diff] [blame] | 237 | <!-- Permission required for CTS test - CtsOsTestCases --> |
| 238 | <uses-permission android:name="android.permission.MANAGE_CRATES"/> |
| 239 | |
Santos Cordon | c4fd8e6 | 2019-12-18 13:01:05 +0000 | [diff] [blame] | 240 | <!-- Allows setting brightness from the shell --> |
| 241 | <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS"/> |
| 242 | |
Steven Ng | 38e58de | 2020-01-23 14:21:51 +0000 | [diff] [blame] | 243 | <!-- Permissions required to test ambient display. --> |
| 244 | <uses-permission android:name="android.permission.READ_DREAM_STATE"/> |
| 245 | <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/> |
| 246 | |
Robin Lee | 413dd36 | 2020-01-21 02:06:47 +0100 | [diff] [blame] | 247 | <!-- Permission required for CTS test - CtsLightsManagerTest --> |
| 248 | <uses-permission android:name="android.permission.CONTROL_DEVICE_LIGHTS" /> |
| 249 | |
Jeff Sharkey | f9fc6d6 | 2015-11-08 16:46:05 -0800 | [diff] [blame] | 250 | <application android:label="@string/app_label" |
Abhijeet Kaur | 8549ccf | 2019-05-22 18:47:49 +0100 | [diff] [blame] | 251 | android:theme="@android:style/Theme.DeviceDefault.DayNight" |
| 252 | android:defaultToDeviceProtectedStorage="true" |
| 253 | android:directBootAware="true"> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 254 | <provider |
KOUSHIK PANUGANTI | e92135a6 | 2018-04-23 17:31:10 -0700 | [diff] [blame] | 255 | android:name="androidx.core.content.FileProvider" |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 256 | android:authorities="com.android.shell" |
| 257 | android:grantUriPermissions="true" |
| 258 | android:exported="false"> |
| 259 | <meta-data |
| 260 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 261 | android:resource="@xml/file_provider_paths" /> |
| 262 | </provider> |
| 263 | |
Ryo Hashimoto | dd98034 | 2015-03-17 19:56:42 +0900 | [diff] [blame] | 264 | <provider |
| 265 | android:name=".BugreportStorageProvider" |
| 266 | android:authorities="com.android.shell.documents" |
| 267 | android:grantUriPermissions="true" |
| 268 | android:exported="true" |
| 269 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 270 | android:enabled="false"> |
| 271 | <intent-filter> |
| 272 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 273 | </intent-filter> |
| 274 | </provider> |
| 275 | |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 276 | <provider android:name=".HeapDumpProvider" |
| 277 | android:authorities="com.android.shell.heapdump" |
| 278 | android:grantUriPermissions="true" |
| 279 | android:exported="true" /> |
| 280 | |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 281 | <activity |
| 282 | android:name=".BugreportWarningActivity" |
Abhijeet Kaur | 43bbe8a | 2019-09-26 14:19:32 +0100 | [diff] [blame] | 283 | android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight" |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 284 | android:finishOnCloseSystemDialogs="true" |
| 285 | android:excludeFromRecents="true" |
| 286 | android:exported="false" /> |
| 287 | |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 288 | <activity android:name=".HeapDumpActivity" |
| 289 | android:theme="@*android:style/Theme.Translucent.NoTitleBar" |
| 290 | android:label="@*android:string/dump_heap_title" |
| 291 | android:finishOnCloseSystemDialogs="true" |
| 292 | android:noHistory="true" |
| 293 | android:excludeFromRecents="true" |
| 294 | android:exported="false" /> |
| 295 | |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 296 | <receiver |
Abhijeet Kaur | 767c8bb | 2019-02-11 11:59:43 +0000 | [diff] [blame] | 297 | android:name=".BugreportRequestedReceiver" |
| 298 | android:permission="android.permission.TRIGGER_SHELL_BUGREPORT"> |
| 299 | <intent-filter> |
| 300 | <action android:name="com.android.internal.intent.action.BUGREPORT_REQUESTED" /> |
| 301 | </intent-filter> |
| 302 | </receiver> |
| 303 | |
Kweku Adams | 4d345d7 | 2019-06-26 17:05:55 -0700 | [diff] [blame] | 304 | <receiver |
| 305 | android:name=".HeapDumpReceiver" |
| 306 | android:permission="android.permission.DUMP"> |
| 307 | <intent-filter> |
| 308 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 309 | <action android:name="com.android.internal.intent.action.HEAP_DUMP_FINISHED" /> |
| 310 | <action android:name="com.android.shell.action.DELETE_HEAP_DUMP" /> |
| 311 | </intent-filter> |
| 312 | </receiver> |
| 313 | |
Felipe Leme | b9238b3 | 2015-11-24 17:31:47 -0800 | [diff] [blame] | 314 | <service |
| 315 | android:name=".BugreportProgressService" |
| 316 | android:exported="false"/> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 317 | </application> |
| 318 | </manifest> |