blob: 0f3585303ed8e584a5d297a8737cb10c5360d4ab [file] [log] [blame]
Alan Viverettee3c38a02014-04-02 15:39:13 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
Felipe Lemee53e85f2015-11-17 17:37:53 -08004 * Copyright (C) 2015 The Android Open Source Project
Alan Viverettee3c38a02014-04-02 15:39:13 -07005 *
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 Hackborn514074f2013-02-11 10:52:46 -080019<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 Myren17f21592019-05-09 13:58:06 -070025 <!-- Standard permissions granted to the shell. -->
26 <uses-permission android:name="android.permission.GET_RUNTIME_PERMISSIONS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080027 <uses-permission android:name="android.permission.SEND_SMS" />
Eugene Susla93519852018-06-13 16:44:31 -070028 <uses-permission android:name="android.permission.READ_SMS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080029 <uses-permission android:name="android.permission.CALL_PHONE" />
Yorke Leeadb53b32015-06-03 14:15:42 -070030 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
chen xu6a942d482018-12-12 19:59:30 -080031 <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" />
Shuo Qian134334b2019-09-12 17:00:31 -070032 <uses-permission android:name="android.permission.READ_ACTIVE_EMERGENCY_SESSION" />
Michael Groover1248e432018-10-08 09:39:24 -070033 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080034 <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 Klyubin1991f572017-03-03 14:08:36 -080046 <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080047 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Tim Kilbournbba73a02015-09-01 14:21:09 -070048 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Felipe Leme6a05eee2016-02-19 14:43:51 -080049 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
Philip P. Moltmann30a2d632016-11-29 14:25:59 -080050 <uses-permission android:name="android.permission.MANAGE_USB" />
Jeff Sharkey4a539442018-01-05 17:09:52 -070051 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Dianne Hackborndd027b32018-01-19 17:44:46 -080052 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
Dianne Hackborn514074f2013-02-11 10:52:46 -080053 <!-- System tool permissions granted to the shell. -->
Dianne Hackborn2d7576b2014-10-03 16:26:04 -070054 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080055 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
56 <uses-permission android:name="android.permission.REORDER_TASKS" />
Jeff Sharkey4ba69232018-12-08 14:43:03 -070057 <uses-permission android:name="android.permission.REMOVE_TASKS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080058 <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 Zholninbec88352019-01-16 14:30:35 +000062 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
63 <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080064 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
Phil Weaver1df928f2018-10-12 15:48:34 -070065 <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080066 <!-- 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 Shanka93bfd052017-09-01 16:41:10 -070076 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080077 <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 Sharkeye515c642015-08-28 11:20:39 -070084 <uses-permission android:name="android.permission.MOVE_PACKAGE" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080085 <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
Jeff Sharkeya4daf892017-04-09 21:37:56 -060086 <uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
Sergii Piatakove8214d62018-04-02 16:48:56 +030087 <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080088 <uses-permission android:name="android.permission.DELETE_CACHE_FILES" />
89 <uses-permission android:name="android.permission.DELETE_PACKAGES" />
Richard Uhlerc739c8c2018-12-12 11:03:34 +000090 <uses-permission android:name="android.permission.MANAGE_ROLLBACKS" />
Richard Uhler1fc10c12019-03-18 11:38:46 +000091 <uses-permission android:name="android.permission.TEST_MANAGE_ROLLBACKS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080092 <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 Martinez812ea752018-10-19 13:03:20 -070095 <uses-permission android:name="android.permission.POWER_SAVER" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080096 <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 Ganov7121e182015-07-13 22:38:12 -0700101 <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 Ganovd8eb8b22019-04-05 18:52:08 -0700104 <uses-permission android:name="android.permission.WHITELIST_RESTRICTED_PERMISSIONS" />
Nate Myrend3a63852019-06-07 13:11:58 -0700105 <!-- Permission required to test onPermissionsChangedListener -->
106 <uses-permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -0800107 <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 Sharkey39da5532013-11-05 12:17:25 -0800112 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Zim349b2c12020-01-24 22:45:09 +0000113 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
Dianne Hackborn514074f2013-02-11 10:52:46 -0800114 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
115 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Sudheer Shankaf5cea032016-06-08 17:13:24 -0700116 <uses-permission android:name="android.permission.CREATE_USERS" />
Esteban Talavera9c173882014-09-12 15:48:55 +0100117 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
Robert Quattlebaumf7346712017-08-14 18:29:42 -0700118 <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 Hackborn514074f2013-02-11 10:52:46 -0800121 <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
Ian Pedowitz358e51f2016-03-15 17:08:27 +0000122 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Svetoslav1376d602014-03-13 11:17:26 -0700123 <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" />
Allen Hair59d2b432014-04-23 10:23:07 -0700124 <uses-permission android:name="android.permission.FRAME_STATS" />
Svet Ganovbe19c3a2014-07-21 23:46:05 -0700125 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Adam Lesinskib5cf61b2014-08-18 16:10:28 -0700126 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Svetoslav7e9c2152014-10-21 14:52:00 -0700127 <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
Amith Yamasanicf768722015-04-23 20:36:41 -0700128 <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" />
Christopher Tateec3a9f32017-03-21 17:43:47 -0700129 <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
Jeff Sharkey4c099d02015-05-15 13:45:00 -0700130 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
131 <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" />
Yorke Leeadb53b32015-06-03 14:15:42 -0700132 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Hall Liu9cf3e7a2019-02-28 15:29:19 -0800133 <!-- Shell only holds android.permission.NETWORK_SCAN in order to to enable CTS testing -->
134 <uses-permission android:name="android.permission.NETWORK_SCAN" />
Yorke Leeadb53b32015-06-03 14:15:42 -0700135 <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 Sauer1344cb92015-08-25 08:47:50 -0700138 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
Dianne Hackbornbf1b57d2018-03-07 12:42:47 -0800139 <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" />
Felipe Lemed1e0f122015-12-18 16:12:41 -0800140 <uses-permission android:name="android.permission.VIBRATE" />
Filip Gruszczynski1ca4e542015-12-22 09:22:34 -0800141 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Winson Chung58fb7492018-03-17 12:51:14 -0700142 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" />
Michal Karpinski7b97a022018-12-14 15:17:29 +0000143 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
Andrii Kulian02689a72017-07-06 14:28:59 -0700144 <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING" />
Felipe Leme6a05eee2016-02-19 14:43:51 -0800145 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Amith Yamasanibf125652016-05-13 11:13:16 -0700146 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
Felipe Leme5381aa42016-10-13 09:02:32 -0700147 <uses-permission android:name="android.permission.MANAGE_AUTO_FILL" />
Felipe Leme749b8892018-12-03 16:30:30 -0800148 <uses-permission android:name="android.permission.MANAGE_CONTENT_CAPTURE" />
Winson Chung3fb0f252019-01-08 17:41:55 -0800149 <uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" />
Sunny Goyal54e91342018-11-14 11:59:02 -0800150 <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" />
Rebecca Silberstein2d935e12017-08-18 08:54:56 -0700151 <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
152 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
mswest463f4c99d2018-02-01 10:13:10 -0800153 <uses-permission android:name="android.permission.SET_TIME" />
154 <uses-permission android:name="android.permission.SET_TIME_ZONE" />
Mathew Inwood5f1f29a2018-04-03 15:40:56 +0100155 <uses-permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS" />
Hai Zhangbc0df492018-11-19 17:27:47 -0800156 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
Hai Zhangabf0d982019-02-26 16:50:53 -0800157 <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" />
Julia Reynolds87621942019-01-29 16:19:36 -0500158 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
Evan Lairddeb46f32019-04-17 16:47:54 -0400159 <uses-permission android:name="android.permission.STATUS_BAR" />
Felipe Leme65a9c672016-04-18 16:15:00 -0700160 <!-- 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 Reynoldsdc6adc62019-04-08 10:35:40 -0400162 <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
Wei Liu6e500012016-08-26 14:57:25 -0700163 <!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) -->
164 <uses-permission android:name="android.permission.WAKE_LOCK" />
MÃ¥rten Kongstad2e0d0f32016-06-02 09:35:31 +0200165 <!-- Permission needed to enable/disable overlays -->
166 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
Karthik Ravi Shankarebc1b482017-03-26 02:56:44 -0700167 <!-- Permission needed to access privileged VR APIs -->
168 <uses-permission android:name="android.permission.RESTRICTED_VR_ACCESS" />
Svet Ganovd223db32017-12-22 09:43:48 -0800169 <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE" />
Ben Gruver1ab3d6e2017-12-07 13:45:08 -0800170 <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" />
Svet Ganov8bd13952018-01-15 21:32:00 -0800171 <uses-permission android:name="android.permission.MANAGE_SENSORS" />
Svet Ganovc1006a32018-01-16 14:05:18 -0800172 <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" />
Svet Ganov82f09bc2018-01-12 22:08:40 -0800173 <uses-permission android:name="android.permission.MANAGE_CAMERA" />
Jayant Chowdhary393ad6e2019-07-17 09:28:50 -0700174 <!-- 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 Chowdhary4feeee82019-09-16 13:23:11 -0700177 <!-- Permissions needed for CTS camera test: RecordingTest.java when assuming shell id -->
178 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Philip P. Moltmann6c644e62018-07-18 15:41:24 -0700179 <!-- 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 Hsuehe56f2f582019-02-21 09:58:02 +0800182 <!-- Permission needed to invoke DynamicSystem (AOT) -->
183 <uses-permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM" />
Kweku Adams4d345d72019-06-26 17:05:55 -0700184 <!-- Used to clean up heap dumps on boot. -->
185 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Po-Chien Hsuehe56f2f582019-02-21 09:58:02 +0800186
Svet Ganovc1006a32018-01-16 14:05:18 -0800187
Wale Ogunwale3d088812018-02-22 12:36:55 -0800188 <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
Suprabh Shukla349f9a12018-07-16 13:23:21 -0700189 <uses-permission android:name="android.permission.SUSPEND_APPS" />
Varun Shah05861922019-01-24 07:19:14 -0800190 <uses-permission android:name="android.permission.OBSERVE_APP_USAGE" />
Chad Brubakerbd175fe2018-10-01 10:38:54 -0700191 <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND" />
William Hestera96d3d32018-12-19 13:14:51 -0800192 <!-- Permission needed to wipe the device for Test Harness Mode -->
193 <uses-permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE" />
Eugene Susla6eae4a62019-03-28 13:50:17 -0700194 <uses-permission android:name="android.permission.MANAGE_COMPANION_DEVICES" />
Wale Ogunwale3d088812018-02-22 12:36:55 -0800195
Svet Ganov8455ba22019-01-02 13:05:56 -0800196 <uses-permission android:name="android.permission.MANAGE_APPOPS" />
197
shafikae42afc2020-01-10 16:16:29 +0000198 <!-- Permission required for storage tests - FuseDaemonHostTest -->
199 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
200
Benedict Wong600d93f2019-02-15 12:11:17 -0800201 <!-- Permission needed to run network tests in CTS -->
202 <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
markchien5e430e52019-01-23 17:24:10 +0800203 <!-- Permission needed to test tcp keepalive offload. -->
204 <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
Benedict Wong600d93f2019-02-15 12:11:17 -0800205
Zimuzo901c70d2019-03-19 21:45:49 +0000206 <!-- Permission needed to run keyguard manager tests in CTS -->
207 <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
208
wilsonshih5db7b392019-02-20 23:08:45 +0800209 <!-- 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 Kamatha31ed1b2019-04-08 17:32:33 +0100213 <!-- Permission required to test ContentResolver caching. -->
214 <uses-permission android:name="android.permission.CACHE_CONTENT" />
215
Zimuzo0d70a6a2019-05-14 18:51:32 +0100216 <!-- Permission required to test ExplicitHealthCheckServiceImpl. -->
217 <uses-permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" />
Kweku Adams4d345d72019-06-26 17:05:55 -0700218
Varun Shaha2482652019-05-17 17:28:50 -0700219 <!-- Permission required for CTS test - CrossProfileAppsHostSideTest -->
220 <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/>
Zimuzo0d70a6a2019-05-14 18:51:32 +0100221
Tyler Gunnf701f7a2019-11-20 07:54:36 -0800222 <!-- Permission required for CTS test - UiModeManagerTest -->
Tyler Gunndaef6682019-09-30 15:12:24 -0700223 <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
224
Hall Liub38ad5f2019-12-23 18:11:10 -0800225 <!-- 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 Gunnf701f7a2019-11-20 07:54:36 -0800229 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
230
Jordan Liu4c0e2a42019-12-04 12:09:56 -0800231 <!-- Permission requried for CTS test - CellBroadcastIntentsTest -->
232 <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"/>
233
markchiena2ce4592019-12-17 16:58:20 +0800234 <!-- Permission required for CTS test - TetheringManagerTest -->
235 <uses-permission android:name="android.permission.TETHER_PRIVILEGED"/>
236
Felka Chang71e3efe2019-11-20 14:11:13 +0800237 <!-- Permission required for CTS test - CtsOsTestCases -->
238 <uses-permission android:name="android.permission.MANAGE_CRATES"/>
239
Santos Cordonc4fd8e62019-12-18 13:01:05 +0000240 <!-- Allows setting brightness from the shell -->
241 <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS"/>
242
Steven Ng38e58de2020-01-23 14:21:51 +0000243 <!-- 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 Lee413dd362020-01-21 02:06:47 +0100247 <!-- Permission required for CTS test - CtsLightsManagerTest -->
248 <uses-permission android:name="android.permission.CONTROL_DEVICE_LIGHTS" />
249
Jeff Sharkeyf9fc6d62015-11-08 16:46:05 -0800250 <application android:label="@string/app_label"
Abhijeet Kaur8549ccf2019-05-22 18:47:49 +0100251 android:theme="@android:style/Theme.DeviceDefault.DayNight"
252 android:defaultToDeviceProtectedStorage="true"
253 android:directBootAware="true">
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800254 <provider
KOUSHIK PANUGANTIe92135a62018-04-23 17:31:10 -0700255 android:name="androidx.core.content.FileProvider"
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800256 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 Hashimotodd980342015-03-17 19:56:42 +0900264 <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 Adams4d345d72019-06-26 17:05:55 -0700276 <provider android:name=".HeapDumpProvider"
277 android:authorities="com.android.shell.heapdump"
278 android:grantUriPermissions="true"
279 android:exported="true" />
280
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800281 <activity
282 android:name=".BugreportWarningActivity"
Abhijeet Kaur43bbe8a2019-09-26 14:19:32 +0100283 android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight"
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800284 android:finishOnCloseSystemDialogs="true"
285 android:excludeFromRecents="true"
286 android:exported="false" />
287
Kweku Adams4d345d72019-06-26 17:05:55 -0700288 <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 Sharkey02ffba92013-03-08 16:13:15 -0800296 <receiver
Abhijeet Kaur767c8bb2019-02-11 11:59:43 +0000297 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 Adams4d345d72019-06-26 17:05:55 -0700304 <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 Lemeb9238b32015-11-24 17:31:47 -0800314 <service
315 android:name=".BugreportProgressService"
316 android:exported="false"/>
Dianne Hackborn514074f2013-02-11 10:52:46 -0800317 </application>
318</manifest>