blob: b89f1412c6a6c4dfe84bd422d50514610733f424 [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" />
Dianne Hackborn514074f2013-02-11 10:52:46 -0800113 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
114 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Sudheer Shankaf5cea032016-06-08 17:13:24 -0700115 <uses-permission android:name="android.permission.CREATE_USERS" />
Esteban Talavera9c173882014-09-12 15:48:55 +0100116 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
Robert Quattlebaumf7346712017-08-14 18:29:42 -0700117 <uses-permission android:name="android.permission.ACCESS_LOWPAN_STATE"/>
118 <uses-permission android:name="android.permission.CHANGE_LOWPAN_STATE"/>
119 <uses-permission android:name="android.permission.READ_LOWPAN_CREDENTIAL"/>
Dianne Hackborn514074f2013-02-11 10:52:46 -0800120 <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
Ian Pedowitz358e51f2016-03-15 17:08:27 +0000121 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Svetoslav1376d602014-03-13 11:17:26 -0700122 <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" />
Allen Hair59d2b432014-04-23 10:23:07 -0700123 <uses-permission android:name="android.permission.FRAME_STATS" />
Svet Ganovbe19c3a2014-07-21 23:46:05 -0700124 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Adam Lesinskib5cf61b2014-08-18 16:10:28 -0700125 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Svetoslav7e9c2152014-10-21 14:52:00 -0700126 <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
Amith Yamasanicf768722015-04-23 20:36:41 -0700127 <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" />
Christopher Tateec3a9f32017-03-21 17:43:47 -0700128 <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
Jeff Sharkey4c099d02015-05-15 13:45:00 -0700129 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
130 <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" />
Yorke Leeadb53b32015-06-03 14:15:42 -0700131 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Hall Liu9cf3e7a2019-02-28 15:29:19 -0800132 <!-- Shell only holds android.permission.NETWORK_SCAN in order to to enable CTS testing -->
133 <uses-permission android:name="android.permission.NETWORK_SCAN" />
Yorke Leeadb53b32015-06-03 14:15:42 -0700134 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
135 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
136 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
Nicholas Sauer1344cb92015-08-25 08:47:50 -0700137 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
Dianne Hackbornbf1b57d2018-03-07 12:42:47 -0800138 <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" />
Felipe Lemed1e0f122015-12-18 16:12:41 -0800139 <uses-permission android:name="android.permission.VIBRATE" />
Filip Gruszczynski1ca4e542015-12-22 09:22:34 -0800140 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Winson Chung58fb7492018-03-17 12:51:14 -0700141 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" />
Michal Karpinski7b97a022018-12-14 15:17:29 +0000142 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
Andrii Kulian02689a72017-07-06 14:28:59 -0700143 <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING" />
Felipe Leme6a05eee2016-02-19 14:43:51 -0800144 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Amith Yamasanibf125652016-05-13 11:13:16 -0700145 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
Felipe Leme5381aa42016-10-13 09:02:32 -0700146 <uses-permission android:name="android.permission.MANAGE_AUTO_FILL" />
Felipe Leme749b8892018-12-03 16:30:30 -0800147 <uses-permission android:name="android.permission.MANAGE_CONTENT_CAPTURE" />
Winson Chung3fb0f252019-01-08 17:41:55 -0800148 <uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" />
Sunny Goyal54e91342018-11-14 11:59:02 -0800149 <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" />
Rebecca Silberstein2d935e12017-08-18 08:54:56 -0700150 <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
151 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
mswest463f4c99d2018-02-01 10:13:10 -0800152 <uses-permission android:name="android.permission.SET_TIME" />
153 <uses-permission android:name="android.permission.SET_TIME_ZONE" />
Mathew Inwood5f1f29a2018-04-03 15:40:56 +0100154 <uses-permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS" />
Hai Zhangbc0df492018-11-19 17:27:47 -0800155 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
Hai Zhangabf0d982019-02-26 16:50:53 -0800156 <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" />
Julia Reynolds87621942019-01-29 16:19:36 -0500157 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
Evan Lairddeb46f32019-04-17 16:47:54 -0400158 <uses-permission android:name="android.permission.STATUS_BAR" />
Felipe Leme65a9c672016-04-18 16:15:00 -0700159 <!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) -->
160 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Julia Reynoldsdc6adc62019-04-08 10:35:40 -0400161 <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
Wei Liu6e500012016-08-26 14:57:25 -0700162 <!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) -->
163 <uses-permission android:name="android.permission.WAKE_LOCK" />
MÃ¥rten Kongstad2e0d0f32016-06-02 09:35:31 +0200164 <!-- Permission needed to enable/disable overlays -->
165 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
Karthik Ravi Shankarebc1b482017-03-26 02:56:44 -0700166 <!-- Permission needed to access privileged VR APIs -->
167 <uses-permission android:name="android.permission.RESTRICTED_VR_ACCESS" />
Svet Ganovd223db32017-12-22 09:43:48 -0800168 <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE" />
Ben Gruver1ab3d6e2017-12-07 13:45:08 -0800169 <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" />
Svet Ganov8bd13952018-01-15 21:32:00 -0800170 <uses-permission android:name="android.permission.MANAGE_SENSORS" />
Svet Ganovc1006a32018-01-16 14:05:18 -0800171 <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" />
Svet Ganov82f09bc2018-01-12 22:08:40 -0800172 <uses-permission android:name="android.permission.MANAGE_CAMERA" />
Jayant Chowdhary393ad6e2019-07-17 09:28:50 -0700173 <!-- Permissions needed to test system only camera devices -->
174 <uses-permission android:name="android.permission.CAMERA" />
175 <uses-permission android:name="android.permission.SYSTEM_CAMERA" />
Jayant Chowdhary4feeee82019-09-16 13:23:11 -0700176 <!-- Permissions needed for CTS camera test: RecordingTest.java when assuming shell id -->
177 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Philip P. Moltmann6c644e62018-07-18 15:41:24 -0700178 <!-- Permission needed to enable/disable Bluetooth/Wifi -->
179 <uses-permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED" />
180 <uses-permission android:name="android.permission.MANAGE_WIFI_WHEN_WIRELESS_CONSENT_REQUIRED" />
Po-Chien Hsuehe56f2f582019-02-21 09:58:02 +0800181 <!-- Permission needed to invoke DynamicSystem (AOT) -->
182 <uses-permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM" />
Kweku Adams4d345d72019-06-26 17:05:55 -0700183 <!-- Used to clean up heap dumps on boot. -->
184 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Po-Chien Hsuehe56f2f582019-02-21 09:58:02 +0800185
Svet Ganovc1006a32018-01-16 14:05:18 -0800186
Wale Ogunwale3d088812018-02-22 12:36:55 -0800187 <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
Suprabh Shukla349f9a12018-07-16 13:23:21 -0700188 <uses-permission android:name="android.permission.SUSPEND_APPS" />
Varun Shah05861922019-01-24 07:19:14 -0800189 <uses-permission android:name="android.permission.OBSERVE_APP_USAGE" />
Chad Brubakerbd175fe2018-10-01 10:38:54 -0700190 <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND" />
William Hestera96d3d32018-12-19 13:14:51 -0800191 <!-- Permission needed to wipe the device for Test Harness Mode -->
192 <uses-permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE" />
Eugene Susla6eae4a62019-03-28 13:50:17 -0700193 <uses-permission android:name="android.permission.MANAGE_COMPANION_DEVICES" />
Wale Ogunwale3d088812018-02-22 12:36:55 -0800194
Svet Ganov8455ba22019-01-02 13:05:56 -0800195 <uses-permission android:name="android.permission.MANAGE_APPOPS" />
196
Benedict Wong600d93f2019-02-15 12:11:17 -0800197 <!-- Permission needed to run network tests in CTS -->
198 <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
markchien5e430e52019-01-23 17:24:10 +0800199 <!-- Permission needed to test tcp keepalive offload. -->
200 <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
Benedict Wong600d93f2019-02-15 12:11:17 -0800201
Zimuzo901c70d2019-03-19 21:45:49 +0000202 <!-- Permission needed to run keyguard manager tests in CTS -->
203 <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
204
wilsonshih5db7b392019-02-20 23:08:45 +0800205 <!-- Permission needed to test wallpaper component -->
206 <uses-permission android:name="android.permission.SET_WALLPAPER" />
207 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
208
Narayan Kamatha31ed1b2019-04-08 17:32:33 +0100209 <!-- Permission required to test ContentResolver caching. -->
210 <uses-permission android:name="android.permission.CACHE_CONTENT" />
211
Zimuzo0d70a6a2019-05-14 18:51:32 +0100212 <!-- Permission required to test ExplicitHealthCheckServiceImpl. -->
213 <uses-permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" />
Kweku Adams4d345d72019-06-26 17:05:55 -0700214
Varun Shaha2482652019-05-17 17:28:50 -0700215 <!-- Permission required for CTS test - CrossProfileAppsHostSideTest -->
216 <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/>
Zimuzo0d70a6a2019-05-14 18:51:32 +0100217
Tyler Gunnf701f7a2019-11-20 07:54:36 -0800218 <!-- Permission required for CTS test - UiModeManagerTest -->
Tyler Gunndaef6682019-09-30 15:12:24 -0700219 <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
220
Tyler Gunnf701f7a2019-11-20 07:54:36 -0800221 <!-- Permission required for CTS test - CarModeInCallServiceTest -->
222 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
223
Jordan Liu4c0e2a42019-12-04 12:09:56 -0800224 <!-- Permission requried for CTS test - CellBroadcastIntentsTest -->
225 <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"/>
226
Jeff Sharkeyf9fc6d62015-11-08 16:46:05 -0800227 <application android:label="@string/app_label"
Abhijeet Kaur8549ccf2019-05-22 18:47:49 +0100228 android:theme="@android:style/Theme.DeviceDefault.DayNight"
229 android:defaultToDeviceProtectedStorage="true"
230 android:directBootAware="true">
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800231 <provider
KOUSHIK PANUGANTIe92135a62018-04-23 17:31:10 -0700232 android:name="androidx.core.content.FileProvider"
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800233 android:authorities="com.android.shell"
234 android:grantUriPermissions="true"
235 android:exported="false">
236 <meta-data
237 android:name="android.support.FILE_PROVIDER_PATHS"
238 android:resource="@xml/file_provider_paths" />
239 </provider>
240
Ryo Hashimotodd980342015-03-17 19:56:42 +0900241 <provider
242 android:name=".BugreportStorageProvider"
243 android:authorities="com.android.shell.documents"
244 android:grantUriPermissions="true"
245 android:exported="true"
246 android:permission="android.permission.MANAGE_DOCUMENTS"
247 android:enabled="false">
248 <intent-filter>
249 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
250 </intent-filter>
251 </provider>
252
Kweku Adams4d345d72019-06-26 17:05:55 -0700253 <provider android:name=".HeapDumpProvider"
254 android:authorities="com.android.shell.heapdump"
255 android:grantUriPermissions="true"
256 android:exported="true" />
257
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800258 <activity
259 android:name=".BugreportWarningActivity"
Abhijeet Kaur43bbe8a2019-09-26 14:19:32 +0100260 android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight"
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800261 android:finishOnCloseSystemDialogs="true"
262 android:excludeFromRecents="true"
263 android:exported="false" />
264
Kweku Adams4d345d72019-06-26 17:05:55 -0700265 <activity android:name=".HeapDumpActivity"
266 android:theme="@*android:style/Theme.Translucent.NoTitleBar"
267 android:label="@*android:string/dump_heap_title"
268 android:finishOnCloseSystemDialogs="true"
269 android:noHistory="true"
270 android:excludeFromRecents="true"
271 android:exported="false" />
272
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800273 <receiver
Abhijeet Kaur767c8bb2019-02-11 11:59:43 +0000274 android:name=".BugreportRequestedReceiver"
275 android:permission="android.permission.TRIGGER_SHELL_BUGREPORT">
276 <intent-filter>
277 <action android:name="com.android.internal.intent.action.BUGREPORT_REQUESTED" />
278 </intent-filter>
279 </receiver>
280
Kweku Adams4d345d72019-06-26 17:05:55 -0700281 <receiver
282 android:name=".HeapDumpReceiver"
283 android:permission="android.permission.DUMP">
284 <intent-filter>
285 <action android:name="android.intent.action.BOOT_COMPLETED" />
286 <action android:name="com.android.internal.intent.action.HEAP_DUMP_FINISHED" />
287 <action android:name="com.android.shell.action.DELETE_HEAP_DUMP" />
288 </intent-filter>
289 </receiver>
290
Felipe Lemeb9238b32015-11-24 17:31:47 -0800291 <service
292 android:name=".BugreportProgressService"
293 android:exported="false"/>
Dianne Hackborn514074f2013-02-11 10:52:46 -0800294 </application>
295</manifest>