blob: 216b87f89b90e527654d3b72c58b21c3efcad968 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/AndroidManifest.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Dianne Hackbornd2509fd2011-09-12 12:29:43 -070021 package="android" coreApp="true" android:sharedUserId="android.uid.system"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080022 android:sharedUserLabel="@string/android_system_label">
23
Dianne Hackborn854060af2009-07-09 18:14:31 -070024 <!-- ================================================ -->
25 <!-- Special broadcasts that only the system can send -->
26 <!-- ================================================ -->
27 <eat-comment />
Fred Quintanad4a1d2e2009-07-16 16:36:38 -070028
Dianne Hackborn854060af2009-07-09 18:14:31 -070029 <protected-broadcast android:name="android.intent.action.SCREEN_OFF" />
30 <protected-broadcast android:name="android.intent.action.SCREEN_ON" />
31 <protected-broadcast android:name="android.intent.action.USER_PRESENT" />
Jeff Sharkey61277df2013-06-12 18:16:01 -070032 <protected-broadcast android:name="android.intent.action.TIME_SET" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070033 <protected-broadcast android:name="android.intent.action.TIME_TICK" />
34 <protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
Jeff Sharkey61277df2013-06-12 18:16:01 -070035 <protected-broadcast android:name="android.intent.action.DATE_CHANGED" />
Nick Kralevicha3ecf452015-11-25 09:09:27 -080036 <protected-broadcast android:name="android.intent.action.PRE_BOOT_COMPLETED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070037 <protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070038 <protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
39 <protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
40 <protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
Dianne Hackborne7f97212011-02-24 14:40:20 -080041 <protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070042 <protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
Dianne Hackbornf9abb402011-08-10 15:00:59 -070043 <protected-broadcast android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070044 <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
Richard Uhlerb29f1452018-09-12 16:38:15 +010045 <protected-broadcast android:name="android.intent.action.PACKAGE_ENABLE_ROLLBACK" />
shafik4831ad72019-05-03 17:36:42 +010046 <protected-broadcast android:name="android.intent.action.CANCEL_ENABLE_ROLLBACK" />
Richard Uhlerdca7beb2019-01-24 09:56:03 +000047 <protected-broadcast android:name="android.intent.action.ROLLBACK_COMMITTED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070048 <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
49 <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
Dianne Hackborne7f97212011-02-24 14:40:20 -080050 <protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
Kenny Root5ab21572011-07-27 11:11:19 -070051 <protected-broadcast android:name="android.intent.action.PACKAGE_NEEDS_VERIFICATION" />
rich canningsd1b5cfc2012-08-29 14:49:51 -070052 <protected-broadcast android:name="android.intent.action.PACKAGE_VERIFIED" />
Andrei Stingaceanu69d5ebc2016-01-14 12:59:03 +000053 <protected-broadcast android:name="android.intent.action.PACKAGES_SUSPENDED" />
54 <protected-broadcast android:name="android.intent.action.PACKAGES_UNSUSPENDED" />
Suprabh Shukla79000492018-12-24 17:03:02 -080055 <protected-broadcast android:name="android.intent.action.DISTRACTING_PACKAGES_CHANGED" />
Makoto Onuki10305202016-07-14 18:14:08 -070056 <protected-broadcast android:name="android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070057 <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
Dianne Hackborn52c62342012-09-21 10:57:45 -070058 <protected-broadcast android:name="android.intent.action.QUERY_PACKAGE_RESTART" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070059 <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
Adam Lesinski57fccd62018-01-25 13:03:57 -080060 <protected-broadcast android:name="android.intent.action.SPLIT_CONFIGURATION_CHANGED" />
Dianne Hackborn362d5b92009-11-11 18:04:39 -080061 <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070062 <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
Fyodor Kupolov70e75432018-03-01 18:29:06 -080063 <protected-broadcast android:name="android.intent.action.BATTERY_LEVEL_CHANGED" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070064 <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
65 <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
66 <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
67 <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
68 <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
Dianne Hackborn4870e9d2015-04-08 16:55:47 -070069 <protected-broadcast android:name="android.intent.action.CHARGING" />
70 <protected-broadcast android:name="android.intent.action.DISCHARGING" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070071 <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
72 <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
Jake Hambybb371632010-08-23 18:16:48 -070073 <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
74 <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
Dianne Hackborn854060af2009-07-09 18:14:31 -070075 <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
76 <protected-broadcast android:name="android.intent.action.REBOOT" />
Dianne Hackborn7299c412010-03-04 18:41:49 -080077 <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
Bryce Leebc58f592015-09-25 16:43:01 -070078 <protected-broadcast android:name="android.intent.action.THERMAL_EVENT" />
Jason parks4ca74dc2011-03-14 15:23:31 -050079 <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
Amith Yamasani13593602012-03-22 16:16:17 -070080 <protected-broadcast android:name="android.intent.action.USER_ADDED" />
81 <protected-broadcast android:name="android.intent.action.USER_REMOVED" />
Jeff Sharkey61277df2013-06-12 18:16:01 -070082 <protected-broadcast android:name="android.intent.action.USER_STARTING" />
83 <protected-broadcast android:name="android.intent.action.USER_STARTED" />
84 <protected-broadcast android:name="android.intent.action.USER_STOPPING" />
Dianne Hackborn80a4af22012-08-27 19:18:31 -070085 <protected-broadcast android:name="android.intent.action.USER_STOPPED" />
Dianne Hackborn5dc5a002012-09-15 19:33:48 -070086 <protected-broadcast android:name="android.intent.action.USER_BACKGROUND" />
87 <protected-broadcast android:name="android.intent.action.USER_FOREGROUND" />
Amith Yamasani13593602012-03-22 16:16:17 -070088 <protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
Nick Kralevicha3ecf452015-11-25 09:09:27 -080089 <protected-broadcast android:name="android.intent.action.USER_INITIALIZE" />
Fabrice Di Meglio1c1b4712014-11-19 17:12:32 -080090 <protected-broadcast android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION" />
Mårten Kongstadeabc9e92015-12-15 16:40:23 +010091 <protected-broadcast android:name="android.intent.action.OVERLAY_ADDED" />
92 <protected-broadcast android:name="android.intent.action.OVERLAY_CHANGED" />
93 <protected-broadcast android:name="android.intent.action.OVERLAY_REMOVED" />
94 <protected-broadcast android:name="android.intent.action.OVERLAY_PRIORITY_CHANGED" />
Yoshiaki Nakae1bdfc822017-09-15 15:24:34 +090095 <protected-broadcast android:name="android.intent.action.USER_ACTIVITY_NOTIFICATION" />
Suprabh Shukla2fd43ba2018-03-22 16:57:49 -070096 <protected-broadcast android:name="android.intent.action.MY_PACKAGE_SUSPENDED" />
97 <protected-broadcast android:name="android.intent.action.MY_PACKAGE_UNSUSPENDED" />
Fred Quintanad4a1d2e2009-07-16 16:36:38 -070098
Dianne Hackborneb94fa72014-06-03 17:48:12 -070099 <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGED" />
John Spurlock1bb480a2014-08-02 17:12:43 -0400100 <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGING" />
Dianne Hackborn0b4daca2015-04-27 09:47:32 -0700101 <protected-broadcast android:name="android.os.action.DEVICE_IDLE_MODE_CHANGED" />
102 <protected-broadcast android:name="android.os.action.POWER_SAVE_WHITELIST_CHANGED" />
Amith Yamasaniaf575b92015-05-29 15:35:26 -0700103 <protected-broadcast android:name="android.os.action.POWER_SAVE_TEMP_WHITELIST_CHANGED" />
Jeff Sharkey925cc2a2016-03-02 16:21:58 -0700104 <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGED_INTERNAL" />
Dianne Hackborneb94fa72014-06-03 17:48:12 -0700105
Julius D'souzab22da802017-06-09 10:27:14 -0700106 <!-- @deprecated This is rarely used and will be phased out soon. -->
Bryce Lee84d6c0f2015-03-17 10:43:08 -0700107 <protected-broadcast android:name="android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED" />
108
Dianne Hackborn7299c412010-03-04 18:41:49 -0800109 <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
110 <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
Tyler Gunnf05f2c22019-09-30 15:12:24 -0700111 <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE_PRIVILEGED" />
112 <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE_PRIVILEGED" />
Dianne Hackborn7299c412010-03-04 18:41:49 -0800113 <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
114 <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
Adrian Roosc42a1e12014-07-07 23:35:53 +0200115 <protected-broadcast android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
Debashish Chatterjeee53eba02011-08-04 14:12:58 +0100116
Michal Karpinski3fc437e2015-12-15 10:09:00 +0000117 <protected-broadcast android:name="android.app.action.BUGREPORT_SHARING_DECLINED" />
118 <protected-broadcast android:name="android.app.action.BUGREPORT_FAILED" />
119 <protected-broadcast android:name="android.app.action.BUGREPORT_SHARE" />
phweissa0cb2512016-12-14 21:37:48 +0100120 <protected-broadcast android:name="android.app.action.SHOW_DEVICE_MONITORING_DIALOG" />
Joe Onorato5a15b552018-12-18 10:40:04 -0800121 <protected-broadcast android:name="android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED" />
Joe Onorato99598ee2019-02-11 15:55:13 +0000122 <protected-broadcast android:name="android.intent.action.INCIDENT_REPORT_READY" />
Michal Karpinski3fc437e2015-12-15 10:09:00 +0000123
Dianne Hackborna40cfeb2013-03-25 17:49:36 -0700124 <protected-broadcast android:name="android.appwidget.action.APPWIDGET_UPDATE_OPTIONS" />
125 <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DELETED" />
126 <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DISABLED" />
127 <protected-broadcast android:name="android.appwidget.action.APPWIDGET_ENABLED" />
Christopher Tateadfe8b82014-02-04 16:23:32 -0800128 <protected-broadcast android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
129 <protected-broadcast android:name="android.appwidget.action.APPWIDGET_RESTORED" />
Dianne Hackborna40cfeb2013-03-25 17:49:36 -0700130
Christopher Tate6597e342015-02-17 12:15:25 -0800131 <protected-broadcast android:name="android.os.action.SETTING_RESTORED" />
132
Christopher Tateca8bce52016-01-08 15:36:00 -0800133 <protected-broadcast android:name="android.app.backup.intent.RUN" />
134 <protected-broadcast android:name="android.app.backup.intent.CLEAR" />
135 <protected-broadcast android:name="android.app.backup.intent.INIT" />
Christopher Tate4cc86e12009-09-21 19:36:51 -0700136
Andre Eisenbach09bc4e02015-12-29 14:58:53 -0800137 <protected-broadcast android:name="android.bluetooth.intent.DISCOVERABLE_TIMEOUT" />
Nick Pelly72440a0e2009-09-15 17:21:10 -0700138 <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
139 <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
140 <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
141 <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
142 <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
Stanley Tngad4d1d82017-04-17 22:35:45 -0700143 <protected-broadcast android:name="android.bluetooth.adapter.action.BLUETOOTH_ADDRESS_CHANGED" />
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700144 <protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
Jeff Sharkey61277df2013-06-12 18:16:01 -0700145 <protected-broadcast android:name="android.bluetooth.device.action.UUID" />
Hemant Gupta8949bfb2013-08-16 14:57:55 +0530146 <protected-broadcast android:name="android.bluetooth.device.action.MAS_INSTANCE" />
Rahul Sabnis24ad4b52019-10-22 13:37:29 -0700147 <protected-broadcast android:name="android.bluetooth.action.ALIAS_CHANGED" />
Nick Pelly72440a0e2009-09-15 17:21:10 -0700148 <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
Nick Pelly72440a0e2009-09-15 17:21:10 -0700149 <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
150 <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
151 <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
152 <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
153 <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
154 <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
155 <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
156 <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
157 <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700158 <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700159 <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" />
160 <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" />
Ajay Panicker4f86d762016-04-19 10:16:54 -0700161 <protected-broadcast android:name="android.bluetooth.device.action.SDP_RECORD" />
Jack He1d312bf2017-06-16 19:43:58 -0700162 <protected-broadcast android:name="android.bluetooth.device.action.BATTERY_LEVEL_CHANGED" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700163 <protected-broadcast android:name="android.bluetooth.devicepicker.action.LAUNCH" />
164 <protected-broadcast android:name="android.bluetooth.devicepicker.action.DEVICE_SELECTED" />
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700165 <protected-broadcast
166 android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
167 <protected-broadcast
168 android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
169 <protected-broadcast
170 android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
171 <protected-broadcast
Jack He0bba1c62016-10-10 12:37:40 -0700172 android:name="android.bluetooth.headset.action.HF_INDICATORS_VALUE_CHANGED" />
173 <protected-broadcast
Jack He985cdcb2018-01-03 12:13:26 -0800174 android:name="android.bluetooth.headset.profile.action.ACTIVE_DEVICE_CHANGED" />
175 <protected-broadcast
Mike Lockwoodcf916d32014-06-12 11:23:40 -0700176 android:name="android.bluetooth.headsetclient.profile.action.CONNECTION_STATE_CHANGED" />
177 <protected-broadcast
178 android:name="android.bluetooth.headsetclient.profile.action.AUDIO_STATE_CHANGED" />
179 <protected-broadcast
180 android:name="android.bluetooth.headsetclient.profile.action.AG_EVENT" />
181 <protected-broadcast
182 android:name="android.bluetooth.headsetclient.profile.action.AG_CALL_CHANGED" />
183 <protected-broadcast
184 android:name="android.bluetooth.headsetclient.profile.action.RESULT" />
185 <protected-broadcast
186 android:name="android.bluetooth.headsetclient.profile.action.LAST_VTAG" />
187 <protected-broadcast
Jakub Pawlowskiea580fa2017-11-22 11:02:34 -0800188 android:name="android.bluetooth.hearingaid.profile.action.CONNECTION_STATE_CHANGED" />
189 <protected-broadcast
190 android:name="android.bluetooth.hearingaid.profile.action.PLAYING_STATE_CHANGED" />
191 <protected-broadcast
Hansong Zhangd7b35912018-03-16 09:15:48 -0700192 android:name="android.bluetooth.hearingaid.profile.action.ACTIVE_DEVICE_CHANGED" />
193 <protected-broadcast
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700194 android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
195 <protected-broadcast
Pavlin Radoslavov64a94352017-12-19 13:20:06 -0800196 android:name="android.bluetooth.a2dp.profile.action.ACTIVE_DEVICE_CHANGED" />
197 <protected-broadcast
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700198 android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
199 <protected-broadcast
Pavlin Radoslavov44a4ef02016-12-21 12:05:51 -0800200 android:name="android.bluetooth.a2dp.profile.action.CODEC_CONFIG_CHANGED" />
201 <protected-broadcast
Mike Lockwood2263dd12014-05-14 09:51:30 -0700202 android:name="android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED" />
203 <protected-broadcast
204 android:name="android.bluetooth.a2dp-sink.profile.action.PLAYING_STATE_CHANGED" />
205 <protected-broadcast
206 android:name="android.bluetooth.a2dp-sink.profile.action.AUDIO_CONFIG_CHANGED" />
Amit Mahajane5cd9fa2016-02-11 16:08:14 -0800207 <protected-broadcast
Pulkit Bhuwalkadab081c2017-09-25 19:19:46 -0700208 android:name="android.bluetooth.avrcp-controller.profile.action.BROWSE_CONNECTION_STATE_CHANGED" />
209 <protected-broadcast
Mike Lockwood94b59de2014-06-02 16:20:37 -0700210 android:name="android.bluetooth.avrcp-controller.profile.action.CONNECTION_STATE_CHANGED" />
Mike Lockwood2263dd12014-05-14 09:51:30 -0700211 <protected-broadcast
Pulkit Bhuwalkadab081c2017-09-25 19:19:46 -0700212 android:name="android.bluetooth.avrcp-controller.profile.action.FOLDER_LIST" />
213 <protected-broadcast
214 android:name="android.bluetooth.avrcp-controller.profile.action.TRACK_EVENT" />
215 <protected-broadcast
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700216 android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
217 <protected-broadcast
Pulkit Bhuwalkadab081c2017-09-25 19:19:46 -0700218 android:name="android.bluetooth.input.profile.action.IDLE_TIME_CHANGED" />
219 <protected-broadcast
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700220 android:name="android.bluetooth.input.profile.action.PROTOCOL_MODE_CHANGED" />
221 <protected-broadcast
222 android:name="android.bluetooth.input.profile.action.VIRTUAL_UNPLUG_STATUS" />
223 <protected-broadcast
Hansong Zhangc26c76c2017-10-20 15:55:59 -0700224 android:name="android.bluetooth.hiddevice.profile.action.CONNECTION_STATE_CHANGED" />
Ivan Podogov0afe1902016-12-23 11:52:21 +0000225 <protected-broadcast
Ajay Panicker2f78bf92016-05-03 11:14:07 -0700226 android:name="android.bluetooth.map.profile.action.CONNECTION_STATE_CHANGED" />
Jack He1ac34e32016-11-30 16:28:53 -0800227 <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.CONNECTION_STATE_CHANGED" />
228 <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.MESSAGE_RECEIVED" />
229 <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.MESSAGE_SENT_SUCCESSFULLY" />
230 <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.MESSAGE_DELIVERED_SUCCESSFULLY" />
Ajay Panicker2f78bf92016-05-03 11:14:07 -0700231 <protected-broadcast
Ajay Panicker1f5b7862016-08-17 15:36:24 -0700232 android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_SENT" />
233 <protected-broadcast
234 android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_DELIVERY" />
235 <protected-broadcast
Jaikumar Ganesh81e23ac2011-09-06 13:03:50 -0700236 android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
Jack He1ac34e32016-11-30 16:28:53 -0800237 <protected-broadcast android:name="android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED" />
Jack He37ab8152017-10-02 19:08:30 -0700238 <protected-broadcast android:name="android.bluetooth.pbapclient.profile.action.CONNECTION_STATE_CHANGED" />
Ajay Panicker9a236062016-08-17 15:36:24 -0700239 <protected-broadcast android:name="android.bluetooth.sap.profile.action.CONNECTION_STATE_CHANGED" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700240 <protected-broadcast android:name="android.btopp.intent.action.INCOMING_FILE_NOTIFICATION" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700241 <protected-broadcast android:name="android.btopp.intent.action.USER_CONFIRMATION_TIMEOUT" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700242 <protected-broadcast android:name="android.btopp.intent.action.LIST" />
243 <protected-broadcast android:name="android.btopp.intent.action.OPEN_OUTBOUND" />
244 <protected-broadcast android:name="android.btopp.intent.action.HIDE_COMPLETE" />
245 <protected-broadcast android:name="android.btopp.intent.action.CONFIRM" />
246 <protected-broadcast android:name="android.btopp.intent.action.HIDE" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700247 <protected-broadcast android:name="android.btopp.intent.action.RETRY" />
248 <protected-broadcast android:name="android.btopp.intent.action.OPEN" />
249 <protected-broadcast android:name="android.btopp.intent.action.OPEN_INBOUND" />
Ajay Panicker2759e422016-05-05 18:59:44 -0700250 <protected-broadcast android:name="android.btopp.intent.action.TRANSFER_COMPLETE" />
Jack Hec82a4f42016-09-20 16:06:32 -0700251 <protected-broadcast android:name="android.btopp.intent.action.ACCEPT" />
Marie Janssen71c52e62017-03-08 10:12:07 -0800252 <protected-broadcast android:name="android.btopp.intent.action.DECLINE" />
Ajay Panicker58dd0cd2016-06-28 16:12:37 -0700253 <protected-broadcast android:name="com.android.bluetooth.gatt.REFRESH_BATCHED_SCAN" />
Matthew Xie6b8a6a62013-08-20 18:07:25 -0700254 <protected-broadcast android:name="com.android.bluetooth.pbap.authchall" />
255 <protected-broadcast android:name="com.android.bluetooth.pbap.userconfirmtimeout" />
256 <protected-broadcast android:name="com.android.bluetooth.pbap.authresponse" />
257 <protected-broadcast android:name="com.android.bluetooth.pbap.authcancelled" />
Ajay Panicker9a236062016-08-17 15:36:24 -0700258 <protected-broadcast android:name="com.android.bluetooth.sap.USER_CONFIRM_TIMEOUT" />
259 <protected-broadcast android:name="com.android.bluetooth.sap.action.DISCONNECT_ACTION" />
Nick Pelly72440a0e2009-09-15 17:21:10 -0700260
Jeff Browne08ae382012-09-07 20:36:36 -0700261 <protected-broadcast android:name="android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED" />
262
Mike Lockwoodc4308f02011-03-01 08:04:54 -0800263 <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
Jeff Brown76c4c662015-07-07 12:44:17 -0700264 <protected-broadcast android:name="android.hardware.usb.action.USB_PORT_CHANGED" />
Mike Lockwoodc4308f02011-03-01 08:04:54 -0800265 <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
Michael Wrighta62e8a82015-09-21 15:41:24 +0100266 <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_DETACHED" />
Mike Lockwoodc4308f02011-03-01 08:04:54 -0800267 <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
268 <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
Mike Lockwood57c798a2010-06-23 17:36:36 -0400269
Mike Lockwood8f014052012-04-26 11:23:48 -0700270 <protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
Jean-Michel Trivi26d6ff02014-09-03 14:20:41 -0700271 <protected-broadcast android:name="android.media.action.HDMI_AUDIO_PLUG" />
Nobuaki Tanakac4218a02018-05-22 19:22:21 +0900272 <protected-broadcast android:name="android.media.action.MICROPHONE_MUTE_CHANGED" />
Jean-Michel Trivi2c1ac862019-03-26 15:20:21 -0700273 <protected-broadcast android:name="android.media.action.SPEAKERPHONE_STATE_CHANGED" />
Mike Lockwood8f014052012-04-26 11:23:48 -0700274
Jeff Sharkey61277df2013-06-12 18:16:01 -0700275 <protected-broadcast android:name="android.media.AUDIO_BECOMING_NOISY" />
276 <protected-broadcast android:name="android.media.RINGER_MODE_CHANGED" />
277 <protected-broadcast android:name="android.media.VIBRATE_SETTING_CHANGED" />
278 <protected-broadcast android:name="android.media.VOLUME_CHANGED_ACTION" />
279 <protected-broadcast android:name="android.media.MASTER_VOLUME_CHANGED_ACTION" />
280 <protected-broadcast android:name="android.media.MASTER_MUTE_CHANGED_ACTION" />
Andy Hungf04b84d2015-12-18 17:33:27 -0800281 <protected-broadcast android:name="android.media.MASTER_MONO_CHANGED_ACTION" />
Edward Savage-Jones35c292f2017-01-13 09:04:34 +0100282 <protected-broadcast android:name="android.media.MASTER_BALANCE_CHANGED_ACTION" />
Jeff Sharkey61277df2013-06-12 18:16:01 -0700283 <protected-broadcast android:name="android.media.SCO_AUDIO_STATE_CHANGED" />
284 <protected-broadcast android:name="android.media.ACTION_SCO_AUDIO_STATE_UPDATED" />
285
286 <protected-broadcast android:name="android.intent.action.MEDIA_REMOVED" />
287 <protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTED" />
288 <protected-broadcast android:name="android.intent.action.MEDIA_CHECKING" />
289 <protected-broadcast android:name="android.intent.action.MEDIA_NOFS" />
290 <protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED" />
291 <protected-broadcast android:name="android.intent.action.MEDIA_SHARED" />
292 <protected-broadcast android:name="android.intent.action.MEDIA_UNSHARED" />
293 <protected-broadcast android:name="android.intent.action.MEDIA_BAD_REMOVAL" />
294 <protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTABLE" />
295 <protected-broadcast android:name="android.intent.action.MEDIA_EJECT" />
296
Paul Jensen25a217c2015-02-27 22:55:47 -0500297 <protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL" />
Jeff Sharkey961e3042011-08-29 16:02:57 -0700298 <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
Erik Kline17e11fa2015-04-21 15:20:58 +0900299 <!-- @deprecated. Only {@link android.net.ConnectivityManager.CONNECTIVITY_ACTION} is sent. -->
Jeff Sharkey961e3042011-08-29 16:02:57 -0700300 <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
Haoyu Baidb3c8672012-06-20 14:29:57 -0700301 <protected-broadcast android:name="android.net.conn.DATA_ACTIVITY_CHANGE" />
Felipe Leme9778f762016-01-27 14:46:39 -0800302 <protected-broadcast android:name="android.net.conn.RESTRICT_BACKGROUND_CHANGED" />
Robert Greenwalt68b13ba2013-04-18 10:29:29 -0700303 <protected-broadcast android:name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" />
Russell Brenner108da0c2013-02-12 10:03:14 -0800304 <protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL_TEST_COMPLETED" />
Jeff Sharkey961e3042011-08-29 16:02:57 -0700305
Jeff Sharkey61277df2013-06-12 18:16:01 -0700306 <protected-broadcast android:name="android.net.nsd.STATE_CHANGED" />
307
Martijn Coenen5e906f82016-02-18 12:19:01 +0100308 <protected-broadcast android:name="android.nfc.action.ADAPTER_STATE_CHANGED" />
309 <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
310 <protected-broadcast android:name="com.android.nfc.action.LLCP_UP" />
311 <protected-broadcast android:name="com.android.nfc.action.LLCP_DOWN" />
312 <protected-broadcast android:name="com.android.nfc.cardemulation.action.CLOSE_TAP_DIALOG" />
313 <protected-broadcast android:name="com.android.nfc.handover.action.ALLOW_CONNECT" />
314 <protected-broadcast android:name="com.android.nfc.handover.action.DENY_CONNECT" />
Hiroki Yamamoto506350b2017-04-14 15:10:15 +0900315 <protected-broadcast android:name="com.android.nfc.handover.action.TIMEOUT_CONNECT" />
Nick Pelly367f41f2011-03-08 11:43:30 -0800316 <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
317 <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
318 <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
Martijn Coenen5e906f82016-02-18 12:19:01 +0100319 <!-- For NFC to BT handover -->
320 <protected-broadcast android:name="android.btopp.intent.action.WHITELIST_DEVICE" />
321 <protected-broadcast android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" />
322 <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_SEND" />
323 <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_SEND_MULTIPLE" />
Hiroki Yamamoto57a51452017-03-28 11:45:13 +0900324 <protected-broadcast android:name="com.android.nfc.handover.action.CANCEL_HANDOVER_TRANSFER" />
Martijn Coenen8abf6802015-04-20 13:44:58 +0200325
Robert Greenwalt03595d02010-11-02 14:08:23 -0700326 <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
Robert Greenwalt434203a2010-10-11 16:00:27 -0700327 <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
Nick Pelly038cabe2010-09-23 16:12:11 -0700328
Christopher Tate8662cab52012-02-23 14:59:36 -0800329 <protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
Nick Pellya64e2ad42011-03-14 10:28:11 -0700330
John Spurlockf4f6b4c2012-08-25 12:08:03 -0400331 <protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
332 <protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
Robert Greenwalt47918ae2012-11-28 16:42:32 -0800333 <protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
334
David Chenadaf8b32017-11-03 15:42:08 -0700335 <protected-broadcast android:name="com.android.server.stats.action.TRIGGER_COLLECTION" />
336
Robert Greenwalt47918ae2012-11-28 16:42:32 -0800337 <protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
Pierre Vandwalleb6ca9372015-06-18 14:48:39 -0700338 <protected-broadcast android:name="com.android.server.WifiManager.action.START_PNO" />
Robert Greenwalt47918ae2012-11-28 16:42:32 -0800339 <protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
Jeff Sharkey925cc2a2016-03-02 16:21:58 -0700340 <protected-broadcast android:name="com.android.server.WifiManager.action.DEVICE_IDLE" />
Michal Karpinski3fc437e2015-12-15 10:09:00 +0000341 <protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_SHARING_ACCEPTED" />
342 <protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_SHARING_DECLINED" />
yinxu7b5a0f42017-08-07 14:53:15 -0700343 <protected-broadcast android:name="com.android.internal.action.EUICC_FACTORY_RESET" />
Dianne Hackborna8e6f872016-05-24 13:22:18 -0700344 <protected-broadcast android:name="com.android.server.usb.ACTION_OPEN_IN_APPS" />
345 <protected-broadcast android:name="com.android.server.am.DELETE_DUMPHEAP" />
346 <protected-broadcast android:name="com.android.server.net.action.SNOOZE_WARNING" />
Jeff Sharkeybfb43ea2018-02-03 12:08:16 -0700347 <protected-broadcast android:name="com.android.server.net.action.SNOOZE_RAPID" />
Stephen Chencd9bdb62017-09-05 12:51:15 -0700348 <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.USER_DISMISSED_NOTIFICATION" />
349 <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.CONNECT_TO_NETWORK" />
350 <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.PICK_WIFI_NETWORK" />
351 <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.PICK_NETWORK_AFTER_FAILURE" />
Eric Schwarzenbach3caeb4e2018-01-10 17:31:28 -0800352 <protected-broadcast android:name="com.android.server.wifi.wakeup.DISMISS_NOTIFICATION" />
353 <protected-broadcast android:name="com.android.server.wifi.wakeup.OPEN_WIFI_PREFERENCES" />
354 <protected-broadcast android:name="com.android.server.wifi.wakeup.OPEN_WIFI_SETTINGS" />
355 <protected-broadcast android:name="com.android.server.wifi.wakeup.TURN_OFF_WIFI_WAKE" />
Robert Greenwalt47918ae2012-11-28 16:42:32 -0800356 <protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" />
357 <protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
Wenchao Tongcdd58582014-06-18 12:59:21 -0700358 <protected-broadcast android:name="android.net.wifi.WIFI_CREDENTIAL_CHANGED" />
Robert Greenwalt89710842013-06-25 11:41:53 -0700359 <protected-broadcast android:name="android.net.wifi.WIFI_SCAN_AVAILABLE" />
Etan Cohen04133272016-10-26 11:22:06 -0700360 <protected-broadcast android:name="android.net.wifi.aware.action.WIFI_AWARE_STATE_CHANGED" />
Etan Cohen58019f52017-10-25 07:23:35 -0700361 <protected-broadcast android:name="android.net.wifi.rtt.action.WIFI_RTT_STATE_CHANGED" />
Robert Greenwalt47918ae2012-11-28 16:42:32 -0800362 <protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
363 <protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
364 <protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
365 <protected-broadcast android:name="android.net.wifi.LINK_CONFIGURATION_CHANGED" />
366 <protected-broadcast android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" />
Peter Qiucb9ad342017-03-27 11:49:33 -0700367 <protected-broadcast android:name="android.net.wifi.action.PASSPOINT_DEAUTH_IMMINENT" />
368 <protected-broadcast android:name="android.net.wifi.action.PASSPOINT_ICON" />
369 <protected-broadcast android:name="android.net.wifi.action.PASSPOINT_OSU_PROVIDERS_LIST" />
370 <protected-broadcast android:name="android.net.wifi.action.PASSPOINT_SUBSCRIPTION_REMEDIATION" />
Ecco Park1460c302018-07-31 13:07:15 -0700371 <protected-broadcast android:name="android.net.wifi.action.PASSPOINT_LAUNCH_OSU_VIEW" />
Roshan Pius6a554a52018-11-02 08:05:32 -0700372 <protected-broadcast android:name="android.net.wifi.action.WIFI_NETWORK_SUGGESTION_POST_CONNECTION" />
Robert Greenwalt47918ae2012-11-28 16:42:32 -0800373 <protected-broadcast android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
374 <protected-broadcast android:name="android.net.wifi.supplicant.STATE_CHANGE" />
375 <protected-broadcast android:name="android.net.wifi.p2p.STATE_CHANGED" />
376 <protected-broadcast android:name="android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" />
377 <protected-broadcast android:name="android.net.wifi.p2p.THIS_DEVICE_CHANGED" />
378 <protected-broadcast android:name="android.net.wifi.p2p.PEERS_CHANGED" />
379 <protected-broadcast android:name="android.net.wifi.p2p.CONNECTION_STATE_CHANGE" />
380 <protected-broadcast android:name="android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED" />
381 <protected-broadcast android:name="android.net.conn.TETHER_STATE_CHANGED" />
382 <protected-broadcast android:name="android.net.conn.INET_CONDITION_ACTION" />
Brian Williammee1ed51622013-07-31 17:07:33 -0700383 <protected-broadcast android:name="android.net.conn.NETWORK_CONDITIONS_MEASURED" />
Jeff Sharkeyed74f8e2013-10-11 14:25:48 -0700384 <protected-broadcast
Vinit Deshapnde1f12cb52013-08-21 13:09:01 -0700385 android:name="android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED" />
Jeff Davidsonb51e0a62014-04-09 12:38:15 -0700386 <protected-broadcast android:name="android.net.scoring.SCORE_NETWORKS" />
Jeff Davidsonb096bdc2014-07-01 12:29:11 -0700387 <protected-broadcast android:name="android.net.scoring.SCORER_CHANGED" />
Nick Kralevicha4405ba2012-12-06 15:22:11 -0800388 <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
389 <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
390 <protected-broadcast android:name="android.intent.action.AIRPLANE_MODE" />
391 <protected-broadcast android:name="android.intent.action.ADVANCED_SETTINGS" />
Robin Lee66e5d962014-04-09 16:44:21 +0100392 <protected-broadcast android:name="android.intent.action.APPLICATION_RESTRICTIONS_CHANGED" />
John Spurlockf4f6b4c2012-08-25 12:08:03 -0400393
Christopher Tate4cf5a492016-02-03 16:42:19 -0800394 <!-- Legacy -->
Svetoslavb3038ec2013-02-13 14:39:30 -0800395 <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_START" />
396 <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_END" />
397
Christopher Tate27d92e42016-05-06 11:25:11 -0700398 <protected-broadcast android:name="com.android.server.ACTION_TRIGGER_IDLE" />
Christopher Tate4cf5a492016-02-03 16:42:19 -0800399
Jeff Sharkey61277df2013-06-12 18:16:01 -0700400 <protected-broadcast android:name="android.intent.action.HDMI_PLUGGED" />
401
402 <protected-broadcast android:name="android.intent.action.PHONE_STATE" />
403
Wink Saville05e6dde2014-08-31 19:24:10 -0700404 <protected-broadcast android:name="android.intent.action.SUB_DEFAULT_CHANGED" />
405
Jeff Sharkey61277df2013-06-12 18:16:01 -0700406 <protected-broadcast android:name="android.location.PROVIDERS_CHANGED" />
Tom O'Neill40a86c22013-09-03 18:05:13 -0700407 <protected-broadcast android:name="android.location.MODE_CHANGED" />
Jason Monk9ced3cd2013-08-12 16:42:38 -0400408 <protected-broadcast android:name="android.net.proxy.PAC_REFRESH" />
Jeff Sharkey61277df2013-06-12 18:16:01 -0700409
Yorke Lee107c4ce2015-06-15 12:08:24 -0700410 <protected-broadcast android:name="android.telecom.action.DEFAULT_DIALER_CHANGED" />
Dianne Hackborna8e6f872016-05-24 13:22:18 -0700411 <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED" />
Amit Mahajan8c1c45a2018-10-22 10:43:34 -0700412 <protected-broadcast android:name="android.provider.action.SMS_MMS_DB_CREATED" />
Jayachandran C349b9ba2018-10-30 15:09:06 -0700413 <protected-broadcast android:name="android.provider.action.SMS_MMS_DB_LOST" />
Dianne Hackborna8e6f872016-05-24 13:22:18 -0700414 <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" />
415 <protected-broadcast android:name="android.provider.Telephony.MMS_DOWNLOADED" />
Yorke Lee107c4ce2015-06-15 12:08:24 -0700416
Wink Saville948282b2013-08-29 08:55:16 -0700417 <protected-broadcast
418 android:name="com.android.server.connectivityservice.CONNECTED_TO_PROVISIONING_NETWORK_ACTION" />
419
Amith Yamasanif20d6402014-05-24 15:34:37 -0700420 <!-- Defined in RestrictionsManager -->
421 <protected-broadcast
422 android:name="android.intent.action.PERMISSION_RESPONSE_RECEIVED" />
423 <!-- Defined in RestrictionsManager -->
Andres Morales9740e462014-02-07 16:57:00 -0800424
Amith Yamasanif20d6402014-05-24 15:34:37 -0700425 <protected-broadcast android:name="android.intent.action.REQUEST_PERMISSION" />
Andres Morales9740e462014-02-07 16:57:00 -0800426 <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_STARTED" />
427 <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
428 <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_PROGRESS" />
429 <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
430
Wink Saville05e6dde2014-08-31 19:24:10 -0700431 <protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED" />
432 <protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED" />
433 <protected-broadcast android:name="android.intent.action.ACTION_SUBINFO_CONTENT_CHANGE" />
434 <protected-broadcast android:name="android.intent.action.ACTION_SUBINFO_RECORD_UPDATED" />
Amith Yamasanif20d6402014-05-24 15:34:37 -0700435
Wink Saville2af2d572014-10-17 15:03:58 -0700436 <protected-broadcast android:name="android.intent.action.ACTION_SET_RADIO_CAPABILITY_DONE" />
437 <protected-broadcast android:name="android.intent.action.ACTION_SET_RADIO_CAPABILITY_FAILED" />
438
Filip Gruszczynskid2e86402015-02-19 13:05:03 -0800439 <protected-broadcast android:name="android.internal.policy.action.BURN_IN_PROTECTION" />
Rubin Xu5faad8e2015-04-20 17:43:48 +0100440 <protected-broadcast android:name="android.app.action.SYSTEM_UPDATE_POLICY_CHANGED" />
Nicolas Prevot00799002015-07-27 18:15:20 +0100441 <protected-broadcast android:name="android.app.action.DEVICE_OWNER_CHANGED" />
Alex Chaub6a9f942017-11-07 11:28:56 +0800442 <protected-broadcast android:name="android.app.action.MANAGED_USER_CREATED" />
Rubin Xu0a29ecd2015-11-04 15:11:48 +0000443
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700444 <!-- Added in N -->
445 <protected-broadcast android:name="android.intent.action.ANR" />
446 <protected-broadcast android:name="android.intent.action.CALL" />
Svet Ganovc69266d2016-06-08 22:15:32 -0700447 <protected-broadcast android:name="android.intent.action.CALL_PRIVILEGED" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700448 <protected-broadcast android:name="android.intent.action.DROPBOX_ENTRY_ADDED" />
449 <protected-broadcast android:name="android.intent.action.INPUT_METHOD_CHANGED" />
450 <protected-broadcast android:name="android.intent.action.internal_sim_state_changed" />
451 <protected-broadcast android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
452 <protected-broadcast android:name="android.intent.action.PRECISE_CALL_STATE" />
453 <protected-broadcast android:name="android.intent.action.PRECISE_DATA_CONNECTION_STATE_CHANGED" />
454 <protected-broadcast android:name="android.intent.action.SUBSCRIPTION_PHONE_STATE" />
455 <protected-broadcast android:name="android.intent.action.USER_INFO_CHANGED" />
456 <protected-broadcast android:name="android.intent.action.USER_UNLOCKED" />
457 <protected-broadcast android:name="android.intent.action.WALLPAPER_CHANGED" />
458
459 <protected-broadcast android:name="android.app.action.DEVICE_POLICY_MANAGER_STATE_CHANGED" />
Makoto Onuki730a7592016-01-21 12:17:14 -0800460 <protected-broadcast android:name="android.app.action.CHOOSE_PRIVATE_KEY_ALIAS" />
461 <protected-broadcast android:name="android.app.action.DEVICE_ADMIN_DISABLED" />
462 <protected-broadcast android:name="android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED" />
463 <protected-broadcast android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
464 <protected-broadcast android:name="android.app.action.LOCK_TASK_ENTERING" />
465 <protected-broadcast android:name="android.app.action.LOCK_TASK_EXITING" />
466 <protected-broadcast android:name="android.app.action.NOTIFY_PENDING_SYSTEM_UPDATE" />
467 <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_CHANGED" />
468 <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_EXPIRING" />
469 <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_FAILED" />
470 <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_SUCCEEDED" />
471 <protected-broadcast android:name="com.android.server.ACTION_EXPIRED_PASSWORD_NOTIFICATION" />
Jeff Sharkey925cc2a2016-03-02 16:21:58 -0700472
Makoto Onuki730a7592016-01-21 12:17:14 -0800473 <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_ADDED" />
Jeff Sharkey925cc2a2016-03-02 16:21:58 -0700474 <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_UNLOCKED" />
475 <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_REMOVED" />
Makoto Onuki730a7592016-01-21 12:17:14 -0800476
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700477 <protected-broadcast android:name="android.bluetooth.adapter.action.BLE_STATE_CHANGED" />
Dianne Hackborna8e6f872016-05-24 13:22:18 -0700478 <protected-broadcast android:name="com.android.bluetooth.map.USER_CONFIRM_TIMEOUT" />
Ajay Panicker9a236062016-08-17 15:36:24 -0700479 <protected-broadcast android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_SENT" />
480 <protected-broadcast android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_DELIVERY" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700481 <protected-broadcast android:name="android.content.jobscheduler.JOB_DELAY_EXPIRED" />
482 <protected-broadcast android:name="android.content.syncmanager.SYNC_ALARM" />
483 <protected-broadcast android:name="android.media.INTERNAL_RINGER_MODE_CHANGED_ACTION" />
484 <protected-broadcast android:name="android.media.STREAM_DEVICES_CHANGED_ACTION" />
485 <protected-broadcast android:name="android.media.STREAM_MUTE_CHANGED_ACTION" />
486 <protected-broadcast android:name="android.net.sip.SIP_SERVICE_UP" />
487 <protected-broadcast android:name="android.nfc.action.ADAPTER_STATE_CHANGED" />
488 <protected-broadcast android:name="android.os.action.CHARGING" />
489 <protected-broadcast android:name="android.os.action.DISCHARGING" />
490 <protected-broadcast android:name="android.search.action.SEARCHABLES_CHANGED" />
491 <protected-broadcast android:name="android.security.STORAGE_CHANGED" />
Chad Brubaker4de59ef2016-05-02 13:17:31 -0700492 <protected-broadcast android:name="android.security.action.TRUST_STORE_CHANGED" />
493 <protected-broadcast android:name="android.security.action.KEYCHAIN_CHANGED" />
Robin Leed3ee8472016-07-22 14:25:00 +0100494 <protected-broadcast android:name="android.security.action.KEY_ACCESS_CHANGED" />
Tyler Gunn1965bb12019-01-16 10:42:14 -0800495 <protected-broadcast android:name="android.telecom.action.NUISANCE_CALL_STATUS_CHANGED" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700496 <protected-broadcast android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED" />
497 <protected-broadcast android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED" />
Sailesh Nepald1a28aa2016-01-23 13:51:32 -0800498 <protected-broadcast android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700499 <protected-broadcast android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" />
Malcolm Chen598d24c2017-04-24 18:37:29 -0700500 <protected-broadcast android:name="android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED" />
501 <protected-broadcast android:name="android.telephony.action.DEFAULT_SMS_SUBSCRIPTION_CHANGED" />
Shuo Qianf019b212019-10-18 15:10:35 -0700502 <protected-broadcast android:name="android.telephony.action.OTA_EMERGENCY_NUMBER_DB_INSTALLED" />
Hall Liu5bfebc72018-11-01 14:27:02 -0700503 <protected-broadcast android:name="android.telephony.action.SECRET_CODE" />
Ta-wei Yena302ac62017-03-23 12:54:36 -0700504 <protected-broadcast android:name="android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION" />
Jeff Sharkey0fc6d032018-03-30 16:25:11 -0600505 <protected-broadcast android:name="android.telephony.action.SUBSCRIPTION_PLANS_CHANGED" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700506
507 <protected-broadcast android:name="com.android.bluetooth.btservice.action.ALARM_WAKEUP" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700508 <protected-broadcast android:name="com.android.server.action.NETWORK_STATS_POLL" />
509 <protected-broadcast android:name="com.android.server.action.NETWORK_STATS_UPDATED" />
510 <protected-broadcast android:name="com.android.server.NetworkTimeUpdateService.action.POLL" />
511 <protected-broadcast android:name="com.android.server.telecom.intent.action.CALLS_ADD_ENTRY" />
512 <protected-broadcast android:name="com.android.settings.location.MODE_CHANGING" />
Marie Janssen977992f2017-06-09 16:38:19 -0700513 <protected-broadcast android:name="com.android.settings.bluetooth.ACTION_DISMISS_PAIRING" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700514
Julia Reynolds2a128742016-11-28 14:29:25 -0500515 <protected-broadcast android:name="NotificationManagerService.TIMEOUT" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700516 <protected-broadcast android:name="ScheduleConditionProvider.EVALUATE" />
Jeff Sharkey37fc7a72016-02-16 09:41:54 -0700517 <protected-broadcast android:name="EventConditionProvider.EVALUATE" />
Julia Reynolds72f1cbb2016-09-19 14:57:31 -0400518 <protected-broadcast android:name="SnoozeHelper.EVALUATE" />
Jeff Sharkey39a275b2015-12-04 14:49:52 -0700519 <protected-broadcast android:name="wifi_scan_available" />
520
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700521 <protected-broadcast android:name="action.cne.started" />
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700522 <protected-broadcast android:name="android.content.jobscheduler.JOB_DEADLINE_EXPIRED" />
523 <protected-broadcast android:name="android.intent.action.ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW" />
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700524 <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_SUPL" />
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700525 <protected-broadcast android:name="android.os.action.LIGHT_DEVICE_IDLE_MODE_CHANGED" />
526 <protected-broadcast android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
Jeff Sharkey029ae4d2016-03-21 17:05:49 -0600527 <protected-broadcast android:name="android.os.storage.action.DISK_SCANNED" />
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700528 <protected-broadcast android:name="com.android.server.action.UPDATE_TWILIGHT_STATE" />
Jeff Sharkeye9c752a2016-04-12 10:28:03 -0600529 <protected-broadcast android:name="com.android.server.action.RESET_TWILIGHT_AUTO" />
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700530 <protected-broadcast android:name="com.android.server.device_idle.STEP_IDLE_STATE" />
531 <protected-broadcast android:name="com.android.server.device_idle.STEP_LIGHT_IDLE_STATE" />
532 <protected-broadcast android:name="com.android.server.Wifi.action.TOGGLE_PNO" />
533 <protected-broadcast android:name="intent.action.ACTION_RF_BAND_INFO" />
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900534 <protected-broadcast android:name="android.intent.action.MEDIA_RESOURCE_GRANTED" />
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100535 <protected-broadcast android:name="android.app.action.NETWORK_LOGS_AVAILABLE" />
Rubin Xuc3cd05f2016-01-11 12:11:35 +0000536 <protected-broadcast android:name="android.app.action.SECURITY_LOGS_AVAILABLE" />
Jeff Sharkey4267eac2015-12-14 18:02:43 -0700537
Julia Reynolds9a25da12016-01-06 16:19:28 -0500538 <protected-broadcast android:name="android.app.action.INTERRUPTION_FILTER_CHANGED" />
539 <protected-broadcast android:name="android.app.action.INTERRUPTION_FILTER_CHANGED_INTERNAL" />
540 <protected-broadcast android:name="android.app.action.NOTIFICATION_POLICY_CHANGED" />
541 <protected-broadcast android:name="android.app.action.NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED" />
542 <protected-broadcast android:name="android.os.action.ACTION_EFFECTS_SUPPRESSOR_CHANGED" />
Julia Reynolds3eb3ffd2017-11-16 10:11:32 -0500543 <protected-broadcast android:name="android.app.action.NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED" />
544 <protected-broadcast android:name="android.app.action.NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED" />
Julia Reynoldsfc9767b2018-01-22 17:45:16 -0500545 <protected-broadcast android:name="android.app.action.APP_BLOCK_STATE_CHANGED" />
Julia Reynolds9a25da12016-01-06 16:19:28 -0500546
Felipe Lemef3fa0f82016-01-07 12:08:19 -0800547 <protected-broadcast android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" />
548 <protected-broadcast android:name="android.permission.CLEAR_APP_GRANTED_URI_PERMISSIONS" />
549
Peng Xua35b5532016-01-20 00:05:45 -0800550 <protected-broadcast android:name="android.intent.action.DYNAMIC_SENSOR_CHANGED" />
551
Pavel Zhamaitsiakd820abd2016-02-01 12:04:44 -0800552 <protected-broadcast android:name="android.intent.action.ACTION_RADIO_OFF" />
553
Jeff Sharkey37fc7a72016-02-16 09:41:54 -0700554 <protected-broadcast android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
Dmitry Dementyeva461e302017-04-12 11:00:48 -0700555 <protected-broadcast android:name="android.accounts.action.ACCOUNT_REMOVED" />
Dmitry Dementyev8882d882017-03-14 17:25:46 -0700556 <protected-broadcast android:name="android.accounts.action.VISIBLE_ACCOUNTS_CHANGED" />
Dmitry Dementyeva461e302017-04-12 11:00:48 -0700557
Jeff Sharkey37fc7a72016-02-16 09:41:54 -0700558 <protected-broadcast android:name="com.android.sync.SYNC_CONN_STATUS_CHANGED" />
559
560 <protected-broadcast android:name="com.android.phone.SIP_INCOMING_CALL" />
561 <protected-broadcast android:name="com.android.phone.SIP_ADD_PHONE" />
562 <protected-broadcast android:name="com.android.phone.SIP_REMOVE_PHONE" />
563 <protected-broadcast android:name="com.android.phone.SIP_CALL_OPTION_CHANGED" />
564
565 <protected-broadcast android:name="android.bluetooth.adapter.action.BLE_ACL_CONNECTED" />
566 <protected-broadcast android:name="android.bluetooth.adapter.action.BLE_ACL_DISCONNECTED" />
567
568 <protected-broadcast android:name="android.bluetooth.input.profile.action.HANDSHAKE" />
569 <protected-broadcast android:name="android.bluetooth.input.profile.action.REPORT" />
570
Jason Monk5dbd4aa2016-02-07 13:13:39 -0500571 <protected-broadcast android:name="android.intent.action.TWILIGHT_CHANGED" />
572
Jeff Sharkey925cc2a2016-03-02 16:21:58 -0700573 <protected-broadcast android:name="com.android.server.fingerprint.ACTION_LOCKOUT_RESET" />
574 <protected-broadcast android:name="android.net.wifi.PASSPOINT_ICON_RECEIVED" />
575 <protected-broadcast android:name="com.android.server.notification.CountdownConditionProvider" />
576
Jeff Sharkeyf9324a82016-04-05 18:30:56 -0600577 <protected-broadcast android:name="com.android.internal.location.ALARM_WAKEUP" />
578 <protected-broadcast android:name="com.android.internal.location.ALARM_TIMEOUT" />
579 <protected-broadcast android:name="android.intent.action.GLOBAL_BUTTON" />
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700580
Rubin Xudae6bed2016-04-25 18:47:36 +0100581 <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_AVAILABLE" />
582 <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_UNAVAILABLE" />
Ricky Waib1dd80b2016-06-07 18:00:55 +0100583 <protected-broadcast android:name="com.android.server.pm.DISABLE_QUIET_MODE_AFTER_UNLOCK" />
Rubin Xudae6bed2016-04-25 18:47:36 +0100584
Suprabh Shukladbbc7af2016-07-06 16:32:56 -0700585 <protected-broadcast android:name="com.android.server.retaildemo.ACTION_RESET_DEMO" />
Suprabh Shukla4ec430e2016-05-27 14:55:53 -0700586
Robin Lee92b83c62016-08-31 13:27:51 +0100587 <protected-broadcast android:name="android.intent.action.DEVICE_LOCKED_CHANGED" />
588
Felipe Lemefed51fc2016-11-11 14:50:31 -0800589 <!-- Added in O -->
Edman Anjosf9946772016-11-28 16:35:15 +0100590 <protected-broadcast android:name="android.app.action.APPLICATION_DELEGATION_SCOPES_CHANGED" />
Wale Ogunwale387e4c62017-02-13 09:50:02 -0800591 <protected-broadcast android:name="com.android.server.wm.ACTION_REVOKE_SYSTEM_ALERT_WINDOW_PERMISSION" />
Conrad Chen9105bea2017-04-04 15:24:07 -0700592 <protected-broadcast android:name="android.media.tv.action.PARENTAL_CONTROLS_ENABLED_CHANGED" />
Felipe Lemefed51fc2016-11-11 14:50:31 -0800593
Sunny Goyal6d7cb232017-01-30 10:43:18 -0800594 <protected-broadcast android:name="android.content.pm.action.SESSION_COMMITTED" />
Makoto Onuki4120ee32017-03-22 17:50:45 -0700595 <protected-broadcast android:name="android.os.action.USER_RESTRICTIONS_CHANGED" />
Conrad Chen558acf92017-04-05 17:31:01 -0700596 <protected-broadcast android:name="android.media.tv.action.PREVIEW_PROGRAM_ADDED_TO_WATCH_NEXT" />
597 <protected-broadcast android:name="android.media.tv.action.PREVIEW_PROGRAM_BROWSABLE_DISABLED" />
598 <protected-broadcast android:name="android.media.tv.action.WATCH_NEXT_PROGRAM_BROWSABLE_DISABLED" />
Dongwon Kang2e7f5ce2017-04-05 18:33:50 -0700599 <protected-broadcast android:name="android.media.tv.action.CHANNEL_BROWSABLE_REQUESTED" />
Yohei Yukawa603f4d02018-09-11 15:04:58 -0700600 <protected-broadcast android:name="com.android.server.inputmethod.InputMethodManagerService.SHOW_INPUT_METHOD_PICKER" />
Sunny Goyal6d7cb232017-01-30 10:43:18 -0800601
Neil Fullerb1442272017-12-18 15:59:50 +0000602 <!-- Time zone rules update intents fired by the system server -->
603 <protected-broadcast android:name="com.android.intent.action.timezone.RULES_UPDATE_OPERATION" />
604 <protected-broadcast android:name="com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK" />
605
Michael Wachenschwanzb3c88552017-09-14 15:40:04 -0700606 <!-- Made protected in P (was introduced in JB-MR2) -->
607 <protected-broadcast android:name="android.intent.action.GET_RESTRICTION_ENTRIES" />
Qingxi Li6019f9c2017-12-14 15:36:06 -0800608 <protected-broadcast android:name="android.telephony.euicc.action.OTA_STATUS_CHANGED" />
Michael Wachenschwanzb3c88552017-09-14 15:40:04 -0700609
arangelov8bae4ea2017-12-20 20:26:46 +0000610 <!-- Added in P -->
611 <protected-broadcast android:name="android.app.action.PROFILE_OWNER_CHANGED" />
arangeloveea3e932018-01-11 11:26:36 +0000612 <protected-broadcast android:name="android.app.action.TRANSFER_OWNERSHIP_COMPLETE" />
arangelovb46faf32018-01-17 21:27:40 +0000613 <protected-broadcast android:name="android.app.action.AFFILIATED_PROFILE_TRANSFER_OWNERSHIP_COMPLETE" />
Rubin Xucc391c22018-01-02 20:37:35 +0000614 <protected-broadcast android:name="android.app.action.DATA_SHARING_RESTRICTION_CHANGED" />
Bookatz0eb58ae392018-01-25 15:49:26 -0800615 <protected-broadcast android:name="android.app.action.STATSD_STARTED" />
Kevin Chyn95d628e2018-06-11 11:58:15 -0700616 <protected-broadcast android:name="com.android.server.biometrics.fingerprint.ACTION_LOCKOUT_RESET" />
Kevin Chyn2ffadb32018-06-19 11:29:38 -0700617 <protected-broadcast android:name="com.android.server.biometrics.face.ACTION_LOCKOUT_RESET" />
Rubin Xucc391c22018-01-02 20:37:35 +0000618
lpeter318abc92018-05-04 16:13:14 +0800619 <!-- For IdleController -->
620 <protected-broadcast android:name="android.intent.action.DOCK_IDLE" />
621 <protected-broadcast android:name="android.intent.action.DOCK_ACTIVE" />
622
Serik Beketayevc15cc132018-07-30 19:24:07 -0700623 <!-- Added in Q -->
Dario Frenie487ea22018-12-12 15:41:59 +0000624 <protected-broadcast android:name="android.content.pm.action.SESSION_UPDATED" />
Mill Chen48004da2019-04-05 10:36:56 -0700625 <protected-broadcast android:name="android.settings.action.GRAYSCALE_CHANGED" />
Serik Beketayevc15cc132018-07-30 19:24:07 -0700626
627 <!-- For CarIdlenessTracker -->
628 <protected-broadcast android:name="com.android.server.jobscheduler.GARAGE_MODE_ON" />
629 <protected-broadcast android:name="com.android.server.jobscheduler.GARAGE_MODE_OFF" />
630 <protected-broadcast android:name="com.android.server.jobscheduler.FORCE_IDLE" />
631 <protected-broadcast android:name="com.android.server.jobscheduler.UNFORCE_IDLE" />
632
Makoto Onukia042aaa2018-09-18 16:14:12 -0700633 <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL" />
634
Mårten Kongstadfd20b832018-10-26 15:36:20 +0200635 <protected-broadcast android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY" />
636
markchiena0d280f2018-09-07 16:19:12 +0800637 <!-- For tether entitlement recheck-->
638 <protected-broadcast
639 android:name="com.android.server.connectivity.tethering.PROVISIONING_RECHECK_ALARM" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700640 <!-- ====================================================================== -->
641 <!-- RUNTIME PERMISSIONS -->
642 <!-- ====================================================================== -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800643 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -0700644
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800645 <!-- Grouping for platform runtime permissions is not accessible to apps
646 @hide
647 @SystemApi
648 -->
649 <permission-group android:name="android.permission-group.UNDEFINED"
650 android:priority="100" />
651
Svetoslav61a4dd52015-04-09 10:17:40 -0700652 <!-- ====================================================================== -->
653 <!-- Permissions for accessing user's contacts including personal profile -->
654 <!-- ====================================================================== -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800655 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -0700656
Trevor Johns682c24e2016-04-12 10:13:47 -0700657 <!-- Used for runtime permissions related to contacts and profiles on this
658 device. -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700659 <permission-group android:name="android.permission-group.CONTACTS"
Svet Ganov39c8a082015-07-21 11:52:21 -0700660 android:icon="@drawable/perm_group_contacts"
Svetoslav61a4dd52015-04-09 10:17:40 -0700661 android:label="@string/permgrouplab_contacts"
662 android:description="@string/permgroupdesc_contacts"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -0700663 android:request="@string/permgrouprequest_contacts"
Svetoslav61a4dd52015-04-09 10:17:40 -0700664 android:priority="100" />
665
Svetoslav71b6ca62015-06-25 18:19:14 -0700666 <!-- Allows an application to read the user's contacts data.
667 <p>Protection level: dangerous
668 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700669 <permission android:name="android.permission.READ_CONTACTS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800670 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700671 android:label="@string/permlab_readContacts"
672 android:description="@string/permdesc_readContacts"
Chad Brubakere2107312019-02-04 12:30:01 -0800673 android:protectionLevel="dangerous" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700674
Svetoslav71b6ca62015-06-25 18:19:14 -0700675 <!-- Allows an application to write the user's contacts data.
676 <p>Protection level: dangerous
677 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700678 <permission android:name="android.permission.WRITE_CONTACTS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800679 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700680 android:label="@string/permlab_writeContacts"
681 android:description="@string/permdesc_writeContacts"
682 android:protectionLevel="dangerous" />
683
Svetoslav61a4dd52015-04-09 10:17:40 -0700684 <!-- ====================================================================== -->
685 <!-- Permissions for accessing user's calendar -->
686 <!-- ====================================================================== -->
687 <eat-comment />
688
689 <!-- Used for runtime permissions related to user's calendar. -->
690 <permission-group android:name="android.permission-group.CALENDAR"
691 android:icon="@drawable/perm_group_calendar"
692 android:label="@string/permgrouplab_calendar"
693 android:description="@string/permgroupdesc_calendar"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -0700694 android:request="@string/permgrouprequest_calendar"
Svetoslav61a4dd52015-04-09 10:17:40 -0700695 android:priority="200" />
696
Svetoslav71b6ca62015-06-25 18:19:14 -0700697 <!-- Allows an application to read the user's calendar data.
698 <p>Protection level: dangerous
699 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700700 <permission android:name="android.permission.READ_CALENDAR"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800701 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700702 android:label="@string/permlab_readCalendar"
703 android:description="@string/permdesc_readCalendar"
Chad Brubakere2107312019-02-04 12:30:01 -0800704 android:protectionLevel="dangerous" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700705
Svetoslav71b6ca62015-06-25 18:19:14 -0700706 <!-- Allows an application to write the user's calendar data.
707 <p>Protection level: dangerous
708 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700709 <permission android:name="android.permission.WRITE_CALENDAR"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800710 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700711 android:label="@string/permlab_writeCalendar"
712 android:description="@string/permdesc_writeCalendar"
713 android:protectionLevel="dangerous" />
714
715 <!-- ====================================================================== -->
716 <!-- Permissions for accessing and modifying user's SMS messages -->
717 <!-- ====================================================================== -->
718 <eat-comment />
719
720 <!-- Used for runtime permissions related to user's SMS messages. -->
721 <permission-group android:name="android.permission-group.SMS"
Svet Ganov39c8a082015-07-21 11:52:21 -0700722 android:icon="@drawable/perm_group_sms"
Svetoslav61a4dd52015-04-09 10:17:40 -0700723 android:label="@string/permgrouplab_sms"
724 android:description="@string/permgroupdesc_sms"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -0700725 android:request="@string/permgrouprequest_sms"
Svetoslav61a4dd52015-04-09 10:17:40 -0700726 android:priority="300" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -0700727
Svetoslav71b6ca62015-06-25 18:19:14 -0700728 <!-- Allows an application to send SMS messages.
729 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700730
731 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700732 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700733 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700734 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -0700735 <permission android:name="android.permission.SEND_SMS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800736 android:permissionGroup="android.permission-group.UNDEFINED"
Dianne Hackborncd403fc2012-09-13 00:24:38 -0700737 android:label="@string/permlab_sendSms"
Svetoslav61a4dd52015-04-09 10:17:40 -0700738 android:description="@string/permdesc_sendSms"
Svet Ganovd8eb8b22019-04-05 18:52:08 -0700739 android:permissionFlags="costsMoney|hardRestricted"
Svetoslav61a4dd52015-04-09 10:17:40 -0700740 android:protectionLevel="dangerous" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -0700741
Svetoslav71b6ca62015-06-25 18:19:14 -0700742 <!-- Allows an application to receive SMS messages.
743 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700744
745 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700746 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700747 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700748 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800749 <permission android:name="android.permission.RECEIVE_SMS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800750 android:permissionGroup="android.permission-group.UNDEFINED"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800751 android:label="@string/permlab_receiveSms"
Svetoslav61a4dd52015-04-09 10:17:40 -0700752 android:description="@string/permdesc_receiveSms"
Svet Ganovd8eb8b22019-04-05 18:52:08 -0700753 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -0800754 android:protectionLevel="dangerous" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800755
Svetoslav71b6ca62015-06-25 18:19:14 -0700756 <!-- Allows an application to read SMS messages.
757 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700758
759 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700760 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700761 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700762 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700763 <permission android:name="android.permission.READ_SMS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800764 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700765 android:label="@string/permlab_readSms"
766 android:description="@string/permdesc_readSms"
Svet Ganovd8eb8b22019-04-05 18:52:08 -0700767 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -0800768 android:protectionLevel="dangerous" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700769
Svetoslav71b6ca62015-06-25 18:19:14 -0700770 <!-- Allows an application to receive WAP push messages.
771 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700772
773 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700774 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700775 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700776 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700777 <permission android:name="android.permission.RECEIVE_WAP_PUSH"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800778 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700779 android:label="@string/permlab_receiveWapPush"
780 android:description="@string/permdesc_receiveWapPush"
Svet Ganovd8eb8b22019-04-05 18:52:08 -0700781 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -0800782 android:protectionLevel="dangerous" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700783
Svetoslav71b6ca62015-06-25 18:19:14 -0700784 <!-- Allows an application to monitor incoming MMS messages.
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700785 <p>Protection level: dangerous
786
787 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700788 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700789 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700790 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800791 <permission android:name="android.permission.RECEIVE_MMS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800792 android:permissionGroup="android.permission-group.UNDEFINED"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800793 android:label="@string/permlab_receiveMms"
Svetoslav61a4dd52015-04-09 10:17:40 -0700794 android:description="@string/permdesc_receiveMms"
Svet Ganovd8eb8b22019-04-05 18:52:08 -0700795 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -0800796 android:protectionLevel="dangerous" />
Jake Hambyab79ee42011-04-26 16:26:46 -0700797
Jordan Liu7aea3022019-09-23 13:35:02 -0700798 <!-- @SystemApi @TestApi Allows an application to forward cell broadcast messages to the cell
799 broadcast module. This is required in order to bind to the cell broadcast service, and
800 ensures that only the system can forward messages to it.
801
802 <p>Protection level: signature
803
804 @hide -->
805 <permission android:name="android.permission.BIND_CELL_BROADCAST_SERVICE"
806 android:label="@string/permlab_bindCellBroadcastService"
807 android:description="@string/permdesc_bindCellBroadcastService"
808 android:protectionLevel="signature" />
809
Philip P. Moltmannde9510d2018-11-14 17:00:34 -0800810 <!-- @SystemApi @TestApi Allows an application to read previously received cell broadcast
Jake Hambyc3296ff2012-04-18 12:32:18 -0700811 messages and to register a content observer to get notifications when
812 a cell broadcast has been received and added to the database. For
813 emergency alerts, the database is updated immediately after the
814 alert dialog and notification sound/vibration/speech are presented.
815 The "read" column is then updated after the user dismisses the alert.
816 This enables supplementary emergency assistance apps to start loading
817 additional emergency information (if Internet access is available)
818 when the alert is first received, and to delay presenting the info
819 to the user until after the initial alert dialog is dismissed.
Svetoslav71b6ca62015-06-25 18:19:14 -0700820 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700821
822 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700823 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700824 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
825
Jake Hambyc3296ff2012-04-18 12:32:18 -0700826 @hide Pending API council approval -->
827 <permission android:name="android.permission.READ_CELL_BROADCASTS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800828 android:permissionGroup="android.permission-group.UNDEFINED"
Jake Hambyc3296ff2012-04-18 12:32:18 -0700829 android:label="@string/permlab_readCellBroadcasts"
Svetoslav61a4dd52015-04-09 10:17:40 -0700830 android:description="@string/permdesc_readCellBroadcasts"
Svet Ganovd8eb8b22019-04-05 18:52:08 -0700831 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -0800832 android:protectionLevel="dangerous" />
Hemant Gupta8949bfb2013-08-16 14:57:55 +0530833
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700834 <!-- ====================================================================== -->
835 <!-- Permissions for accessing external storage -->
836 <!-- ====================================================================== -->
837 <eat-comment />
838
Philip P. Moltmann129a0b02019-03-27 12:24:45 -0700839 <!-- Used for runtime permissions related to the shared external storage. -->
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700840 <permission-group android:name="android.permission-group.STORAGE"
841 android:icon="@drawable/perm_group_storage"
842 android:label="@string/permgrouplab_storage"
843 android:description="@string/permgroupdesc_storage"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -0700844 android:request="@string/permgrouprequest_storage"
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700845 android:priority="900" />
846
847 <!-- Allows an application to read from external storage.
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700848 <p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
849 granted this permission.</p>
850 <p>This permission is enforced starting in API level 19. Before API level 19, this
851 permission is not enforced and all apps still have access to read from external storage.
852 You can test your app with the permission enforced by enabling <em>Protect USB
853 storage</em> under Developer options in the Settings app on a device running Android 4.1 or
854 higher.</p>
855 <p>Also starting in API level 19, this permission is <em>not</em> required to
856 read/write files in your application-specific directories returned by
857 {@link android.content.Context#getExternalFilesDir} and
858 {@link android.content.Context#getExternalCacheDir}.
859 <p class="note"><strong>Note:</strong> If <em>both</em> your <a
860 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
861 minSdkVersion}</a> and <a
862 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
863 targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
864 grants your app this permission. If you don't need this permission, be sure your <a
865 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
866 targetSdkVersion}</a> is 4 or higher.
867
868 <p> This is a soft restricted permission which cannot be held by an app it its
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700869 full form until the installer on record whitelists the permission.
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700870 Specifically, if the permission is whitelisted the holder app can access
871 external storage and the visual and aural media collections while if the
872 permission is not whitelisted the holder app can only access to the visual
873 and aural medial collections. Also the permission is immutably restricted
874 meaning that the whitelist state can be specified only at install time and
875 cannot change until the app is installed. For more details see
876 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -0700877 <p>Protection level: dangerous -->
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700878 <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800879 android:permissionGroup="android.permission-group.UNDEFINED"
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700880 android:label="@string/permlab_sdcardRead"
881 android:description="@string/permdesc_sdcardRead"
Svet Ganovd563e932019-04-14 13:07:41 -0700882 android:permissionFlags="softRestricted|immutablyRestricted"
Philip P. Moltmannc94ba822019-03-04 16:48:22 -0800883 android:protectionLevel="dangerous" />
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700884
885 <!-- Allows an application to write to external storage.
886 <p class="note"><strong>Note:</strong> If <em>both</em> your <a
887 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
888 minSdkVersion}</a> and <a
889 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
890 targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
891 grants your app this permission. If you don't need this permission, be sure your <a
892 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
893 targetSdkVersion}</a> is 4 or higher.
894 <p>Starting in API level 19, this permission is <em>not</em> required to
895 read/write files in your application-specific directories returned by
896 {@link android.content.Context#getExternalFilesDir} and
Svetoslav71b6ca62015-06-25 18:19:14 -0700897 {@link android.content.Context#getExternalCacheDir}.
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -0700898 <p>If this permission is not whitelisted for an app that targets an API level before
Philip P. Moltmann64f20dd2019-06-25 08:41:51 -0700899 {@link android.os.Build.VERSION_CODES#Q} this permission cannot be granted to apps.</p>
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -0700900 <p>Protection level: dangerous</p>
Svetoslav71b6ca62015-06-25 18:19:14 -0700901 -->
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700902 <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800903 android:permissionGroup="android.permission-group.UNDEFINED"
Svet Ganovee7fb4d2015-06-11 09:58:21 -0700904 android:label="@string/permlab_sdcardWrite"
905 android:description="@string/permdesc_sdcardWrite"
Svet Ganovd563e932019-04-14 13:07:41 -0700906 android:permissionFlags="softRestricted|immutablyRestricted"
Philip P. Moltmannc94ba822019-03-04 16:48:22 -0800907 android:protectionLevel="dangerous" />
Jeff Sharkey4aacd8b2018-07-24 15:24:21 -0600908
Jeff Sharkey4aacd8b2018-07-24 15:24:21 -0600909 <!-- Allows an application to access any geographic locations persisted in the
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -0700910 user's shared collection.
911 <p>Protection level: dangerous -->
Jeff Sharkey4aacd8b2018-07-24 15:24:21 -0600912 <permission android:name="android.permission.ACCESS_MEDIA_LOCATION"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800913 android:permissionGroup="android.permission-group.UNDEFINED"
Jeff Sharkey4aacd8b2018-07-24 15:24:21 -0600914 android:label="@string/permlab_mediaLocation"
915 android:description="@string/permdesc_mediaLocation"
Chad Brubakere2107312019-02-04 12:30:01 -0800916 android:protectionLevel="dangerous" />
Jeff Sharkey4aacd8b2018-07-24 15:24:21 -0600917
Jeff Sharkey15707b32018-12-10 12:08:41 -0700918 <!-- @hide @SystemApi @TestApi
Jeff Sharkey4aacd8b2018-07-24 15:24:21 -0600919 Allows an application to modify OBB files visible to other apps. -->
920 <permission android:name="android.permission.WRITE_OBB"
921 android:protectionLevel="signature|privileged" />
922
Svetoslav61a4dd52015-04-09 10:17:40 -0700923 <!-- ====================================================================== -->
924 <!-- Permissions for accessing the device location -->
925 <!-- ====================================================================== -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -0700926 <eat-comment />
927
Svetoslav61a4dd52015-04-09 10:17:40 -0700928 <!-- Used for permissions that allow accessing the device location. -->
929 <permission-group android:name="android.permission-group.LOCATION"
930 android:icon="@drawable/perm_group_location"
931 android:label="@string/permgrouplab_location"
932 android:description="@string/permgroupdesc_location"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -0700933 android:request="@string/permgrouprequest_location"
Philip P. Moltmann4a6dff02018-06-12 16:23:54 -0700934 android:requestDetail="@string/permgrouprequestdetail_location"
935 android:backgroundRequest="@string/permgroupbackgroundrequest_location"
936 android:backgroundRequestDetail="@string/permgroupbackgroundrequestdetail_location"
Svetoslav61a4dd52015-04-09 10:17:40 -0700937 android:priority="400" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -0700938
Svetoslav71b6ca62015-06-25 18:19:14 -0700939 <!-- Allows an app to access precise location.
Scott Mainb1874562016-11-15 15:22:32 -0800940 Alternatively, you might want {@link #ACCESS_COARSE_LOCATION}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700941 <p>Protection level: dangerous
942 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700943 <permission android:name="android.permission.ACCESS_FINE_LOCATION"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800944 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700945 android:label="@string/permlab_accessFineLocation"
946 android:description="@string/permdesc_accessFineLocation"
Philip P. Moltmann4a6dff02018-06-12 16:23:54 -0700947 android:backgroundPermission="android.permission.ACCESS_BACKGROUND_LOCATION"
Chad Brubakere2107312019-02-04 12:30:01 -0800948 android:protectionLevel="dangerous|instant" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700949
Svetoslav71b6ca62015-06-25 18:19:14 -0700950 <!-- Allows an app to access approximate location.
Scott Mainb1874562016-11-15 15:22:32 -0800951 Alternatively, you might want {@link #ACCESS_FINE_LOCATION}.
Svetoslav71b6ca62015-06-25 18:19:14 -0700952 <p>Protection level: dangerous
953 -->
Svetoslav61a4dd52015-04-09 10:17:40 -0700954 <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800955 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -0700956 android:label="@string/permlab_accessCoarseLocation"
957 android:description="@string/permdesc_accessCoarseLocation"
Philip P. Moltmann4a6dff02018-06-12 16:23:54 -0700958 android:backgroundPermission="android.permission.ACCESS_BACKGROUND_LOCATION"
Chad Brubakere2107312019-02-04 12:30:01 -0800959 android:protectionLevel="dangerous|instant" />
Svetoslav61a4dd52015-04-09 10:17:40 -0700960
Kevin Hufnagle91324812019-05-21 12:22:13 -0700961 <!-- Allows an app to access location in the background. If you're requesting this permission,
962 you must also request either {@link #ACCESS_COARSE_LOCATION} or
963 {@link #ACCESS_FINE_LOCATION}. Requesting this permission by itself doesn't give you
Dianne Hackbornafba8162018-04-26 13:46:22 -0700964 location access.
965 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700966
967 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -0700968 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -0700969 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Dianne Hackbornafba8162018-04-26 13:46:22 -0700970 -->
971 <permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -0800972 android:permissionGroup="android.permission-group.UNDEFINED"
Dianne Hackbornafba8162018-04-26 13:46:22 -0700973 android:label="@string/permlab_accessBackgroundLocation"
Philip P. Moltmanncac85872019-05-17 17:13:45 -0700974 android:permissionFlags="hardRestricted"
Dianne Hackbornafba8162018-04-26 13:46:22 -0700975 android:description="@string/permdesc_accessBackgroundLocation"
Chad Brubakere2107312019-02-04 12:30:01 -0800976 android:protectionLevel="dangerous|instant" />
Dianne Hackbornafba8162018-04-26 13:46:22 -0700977
Svetoslav61a4dd52015-04-09 10:17:40 -0700978 <!-- ====================================================================== -->
Dianne Hackborned23b9b2018-04-27 16:56:35 -0700979 <!-- Permissions for accessing the call log -->
980 <!-- ====================================================================== -->
981 <eat-comment />
982
983 <!-- Used for permissions that are associated telephony features. -->
984 <permission-group android:name="android.permission-group.CALL_LOG"
Fan Zhang8e6adb12018-05-29 14:22:16 -0700985 android:icon="@drawable/perm_group_call_log"
Dianne Hackborned23b9b2018-04-27 16:56:35 -0700986 android:label="@string/permgrouplab_calllog"
987 android:description="@string/permgroupdesc_calllog"
988 android:request="@string/permgrouprequest_calllog"
989 android:priority="450" />
990
991 <!-- Allows an application to access the IMS call service: making and
992 modifying a call
993 <p>Protection level: signature|privileged
994 @hide
995 -->
996 <permission android:name="android.permission.ACCESS_IMS_CALL_SERVICE"
997 android:label="@string/permlab_accessImsCallService"
998 android:description="@string/permdesc_accessImsCallService"
999 android:protectionLevel="signature|privileged" />
1000
1001 <!-- Allows an application to read the user's call log.
1002 <p class="note"><strong>Note:</strong> If your app uses the
1003 {@link #READ_CONTACTS} permission and <em>both</em> your <a
1004 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1005 minSdkVersion}</a> and <a
1006 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1007 targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
1008 grants your app this permission. If you don't need this permission, be sure your <a
1009 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1010 targetSdkVersion}</a> is 16 or higher.</p>
1011 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -07001012
1013 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -07001014 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -07001015 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001016 -->
1017 <permission android:name="android.permission.READ_CALL_LOG"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001018 android:permissionGroup="android.permission-group.UNDEFINED"
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001019 android:label="@string/permlab_readCallLog"
1020 android:description="@string/permdesc_readCallLog"
Svet Ganovd8eb8b22019-04-05 18:52:08 -07001021 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -08001022 android:protectionLevel="dangerous" />
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001023
1024 <!-- Allows an application to write (but not read) the user's
1025 call log data.
1026 <p class="note"><strong>Note:</strong> If your app uses the
1027 {@link #WRITE_CONTACTS} permission and <em>both</em> your <a
1028 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1029 minSdkVersion}</a> and <a
1030 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1031 targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
1032 grants your app this permission. If you don't need this permission, be sure your <a
1033 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1034 targetSdkVersion}</a> is 16 or higher.</p>
1035 <p>Protection level: dangerous
Svet Ganov3f01e91f2019-07-09 13:23:28 -07001036
1037 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -07001038 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -07001039 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001040 -->
1041 <permission android:name="android.permission.WRITE_CALL_LOG"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001042 android:permissionGroup="android.permission-group.UNDEFINED"
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001043 android:label="@string/permlab_writeCallLog"
1044 android:description="@string/permdesc_writeCallLog"
Svet Ganovd8eb8b22019-04-05 18:52:08 -07001045 android:permissionFlags="hardRestricted"
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001046 android:protectionLevel="dangerous" />
1047
1048 <!-- Allows an application to see the number being dialed during an outgoing
1049 call with the option to redirect the call to a different number or
1050 abort the call altogether.
1051 <p>Protection level: dangerous
Tyler Gunnf8c3cca2019-03-29 16:38:29 -07001052
Svet Ganov3f01e91f2019-07-09 13:23:28 -07001053 <p> This is a hard restricted permission which cannot be held by an app until
Hai Zhangf2cf8d12019-07-22 14:01:32 -07001054 the installer on record whitelists the permission. For more details see
Svet Ganov3f01e91f2019-07-09 13:23:28 -07001055 {@link android.content.pm.PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set)}.
1056
Tyler Gunnf8c3cca2019-03-29 16:38:29 -07001057 @deprecated Applications should use {@link android.telecom.CallRedirectionService} instead
1058 of the {@link android.content.Intent#ACTION_NEW_OUTGOING_CALL} broadcast.
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001059 -->
1060 <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001061 android:permissionGroup="android.permission-group.UNDEFINED"
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001062 android:label="@string/permlab_processOutgoingCalls"
1063 android:description="@string/permdesc_processOutgoingCalls"
Svet Ganovd8eb8b22019-04-05 18:52:08 -07001064 android:permissionFlags="hardRestricted"
Chad Brubakere2107312019-02-04 12:30:01 -08001065 android:protectionLevel="dangerous" />
Dianne Hackborned23b9b2018-04-27 16:56:35 -07001066
1067 <!-- ====================================================================== -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001068 <!-- Permissions for accessing the device telephony -->
1069 <!-- ====================================================================== -->
1070 <eat-comment />
1071
1072 <!-- Used for permissions that are associated telephony features. -->
1073 <permission-group android:name="android.permission-group.PHONE"
1074 android:icon="@drawable/perm_group_phone_calls"
1075 android:label="@string/permgrouplab_phone"
1076 android:description="@string/permgroupdesc_phone"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -07001077 android:request="@string/permgrouprequest_phone"
Svetoslav61a4dd52015-04-09 10:17:40 -07001078 android:priority="500" />
1079
Hall Liu7700ee32016-03-24 17:34:19 -07001080 <!-- Allows read only access to phone state, including the phone number of the device,
1081 current cellular network information, the status of any ongoing calls, and a list of any
1082 {@link android.telecom.PhoneAccount}s registered on the device.
Svetoslav61a4dd52015-04-09 10:17:40 -07001083 <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1084 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1085 minSdkVersion}</a> and <a
1086 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1087 targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1088 grants your app this permission. If you don't need this permission, be sure your <a
1089 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
Svetoslav71b6ca62015-06-25 18:19:14 -07001090 targetSdkVersion}</a> is 4 or higher.
1091 <p>Protection level: dangerous
1092 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001093 <permission android:name="android.permission.READ_PHONE_STATE"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001094 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -07001095 android:label="@string/permlab_readPhoneState"
1096 android:description="@string/permdesc_readPhoneState"
Chad Brubakere2107312019-02-04 12:30:01 -08001097 android:protectionLevel="dangerous" />
Chad Brubaker73ec8f92016-11-10 11:24:40 -08001098
Chad Brubaker0c1651f2017-03-30 16:29:10 -07001099 <!-- Allows read access to the device's phone number(s). This is a subset of the capabilities
Todd Kennedyc247fa12017-06-02 10:29:22 -07001100 granted by {@link #READ_PHONE_STATE} but is exposed to instant applications.
Chad Brubaker73ec8f92016-11-10 11:24:40 -08001101 <p>Protection level: dangerous-->
Chad Brubaker0c1651f2017-03-30 16:29:10 -07001102 <permission android:name="android.permission.READ_PHONE_NUMBERS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001103 android:permissionGroup="android.permission-group.UNDEFINED"
Chad Brubaker1d990792017-04-10 10:48:35 -07001104 android:label="@string/permlab_readPhoneNumbers"
Chad Brubaker0c1651f2017-03-30 16:29:10 -07001105 android:description="@string/permdesc_readPhoneNumbers"
Chad Brubakere2107312019-02-04 12:30:01 -08001106 android:protectionLevel="dangerous|instant" />
Svetoslav61a4dd52015-04-09 10:17:40 -07001107
1108 <!-- Allows an application to initiate a phone call without going through
Svetoslav71b6ca62015-06-25 18:19:14 -07001109 the Dialer user interface for the user to confirm the call.
1110 <p>Protection level: dangerous
1111 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001112 <permission android:name="android.permission.CALL_PHONE"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001113 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -07001114 android:permissionFlags="costsMoney"
1115 android:label="@string/permlab_callPhone"
1116 android:description="@string/permdesc_callPhone"
1117 android:protectionLevel="dangerous" />
1118
Svetoslav71b6ca62015-06-25 18:19:14 -07001119 <!-- Allows an application to add voicemails into the system.
1120 <p>Protection level: dangerous
1121 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001122 <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001123 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -07001124 android:label="@string/permlab_addVoicemail"
1125 android:description="@string/permdesc_addVoicemail"
1126 android:protectionLevel="dangerous" />
1127
Svetoslav71b6ca62015-06-25 18:19:14 -07001128 <!-- Allows an application to use SIP service.
1129 <p>Protection level: dangerous
1130 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001131 <permission android:name="android.permission.USE_SIP"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001132 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -07001133 android:description="@string/permdesc_use_sip"
1134 android:label="@string/permlab_use_sip"
1135 android:protectionLevel="dangerous"/>
1136
Eugene Suslacae3d3e2017-01-31 11:08:11 -08001137 <!-- Allows the app to answer an incoming phone call.
1138 <p>Protection level: dangerous
1139 -->
1140 <permission android:name="android.permission.ANSWER_PHONE_CALLS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001141 android:permissionGroup="android.permission-group.UNDEFINED"
Eugene Suslacae3d3e2017-01-31 11:08:11 -08001142 android:label="@string/permlab_answerPhoneCalls"
1143 android:description="@string/permdesc_answerPhoneCalls"
Chad Brubakera5d70a12017-03-23 11:04:50 -07001144 android:protectionLevel="dangerous|runtime" />
Eugene Suslacae3d3e2017-01-31 11:08:11 -08001145
Tyler Gunnbde7b4a2017-04-28 10:45:23 -07001146 <!-- Allows a calling application which manages it own calls through the self-managed
1147 {@link android.telecom.ConnectionService} APIs. See
koprivab08f4642018-10-02 16:47:42 -07001148 {@link android.telecom.PhoneAccount#CAPABILITY_SELF_MANAGED} for more information on the
Tyler Gunnbde7b4a2017-04-28 10:45:23 -07001149 self-managed ConnectionService APIs.
1150 <p>Protection level: normal
1151 -->
1152 <permission android:name="android.permission.MANAGE_OWN_CALLS"
1153 android:label="@string/permlab_manageOwnCalls"
1154 android:description="@string/permdesc_manageOwnCalls"
1155 android:protectionLevel="normal" />
Eugene Suslacae3d3e2017-01-31 11:08:11 -08001156
Youming Ye8ded93a2018-10-02 13:24:43 -07001157 <!--Allows an app which implements the
Hector Dearman923382c2018-12-13 16:42:33 +00001158 {@link android.telecom.InCallService InCallService} API to be eligible to be enabled as a
1159 calling companion app. This means that the Telecom framework will bind to the app's
1160 InCallService implementation when there are calls active. The app can use the InCallService
1161 API to view information about calls on the system and control these calls.
Youming Ye8ded93a2018-10-02 13:24:43 -07001162 <p>Protection level: normal
1163 -->
1164 <permission android:name="android.permission.CALL_COMPANION_APP"
1165 android:label="@string/permlab_callCompanionApp"
1166 android:description="@string/permdesc_callCompanionApp"
1167 android:protectionLevel="normal" />
1168
Tyler Gunn79bc1ec2018-01-22 15:17:54 -08001169 <!-- Allows a calling app to continue a call which was started in another app. An example is a
1170 video calling app that wants to continue a voice call on the user's mobile network.<p>
1171 When the handover of a call from one app to another takes place, there are two devices
1172 which are involved in the handover; the initiating and receiving devices. The initiating
1173 device is where the request to handover the call was started, and the receiving device is
1174 where the handover request is confirmed by the other party.<p>
1175 This permission protects access to the
1176 {@link android.telecom.TelecomManager#acceptHandover(Uri, int, PhoneAccountHandle)} which
1177 the receiving side of the handover uses to accept a handover.
1178 <p>Protection level: dangerous
1179 -->
1180 <permission android:name="android.permission.ACCEPT_HANDOVER"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001181 android:permissionGroup="android.permission-group.UNDEFINED"
Tyler Gunn79bc1ec2018-01-22 15:17:54 -08001182 android.label="@string/permlab_acceptHandover"
1183 android:description="@string/permdesc_acceptHandovers"
1184 android:protectionLevel="dangerous" />
1185
Svetoslav61a4dd52015-04-09 10:17:40 -07001186 <!-- ====================================================================== -->
1187 <!-- Permissions for accessing the device microphone -->
1188 <!-- ====================================================================== -->
1189 <eat-comment />
1190
1191 <!-- Used for permissions that are associated with accessing
1192 microphone audio from the device. Note that phone calls also capture audio
1193 but are in a separate (more visible) permission group. -->
1194 <permission-group android:name="android.permission-group.MICROPHONE"
1195 android:icon="@drawable/perm_group_microphone"
1196 android:label="@string/permgrouplab_microphone"
1197 android:description="@string/permgroupdesc_microphone"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -07001198 android:request="@string/permgrouprequest_microphone"
Svetoslav61a4dd52015-04-09 10:17:40 -07001199 android:priority="600" />
1200
Svetoslav71b6ca62015-06-25 18:19:14 -07001201 <!-- Allows an application to record audio.
1202 <p>Protection level: dangerous
1203 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001204 <permission android:name="android.permission.RECORD_AUDIO"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001205 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -07001206 android:label="@string/permlab_recordAudio"
1207 android:description="@string/permdesc_recordAudio"
Chad Brubakere2107312019-02-04 12:30:01 -08001208 android:protectionLevel="dangerous|instant" />
Svetoslav61a4dd52015-04-09 10:17:40 -07001209
1210 <!-- ====================================================================== -->
Zimuzo72baeaf2018-10-05 11:55:30 +01001211 <!-- Permissions for activity recognition -->
1212 <!-- ====================================================================== -->
1213 <eat-comment />
1214
Zimuzoa3fec762019-02-21 12:06:41 +00001215 <!-- Used for permissions that are associated with activity recognition. -->
Zimuzo72baeaf2018-10-05 11:55:30 +01001216 <permission-group android:name="android.permission-group.ACTIVITY_RECOGNITION"
Zimuzoe12c1ac2019-01-17 11:12:07 +00001217 android:icon="@drawable/perm_group_activity_recognition"
Zimuzo72baeaf2018-10-05 11:55:30 +01001218 android:label="@string/permgrouplab_activityRecognition"
1219 android:description="@string/permgroupdesc_activityRecognition"
1220 android:request="@string/permgrouprequest_activityRecognition"
1221 android:priority="1000" />
1222
1223 <!-- Allows an application to recognize physical activity.
1224 <p>Protection level: dangerous
1225 -->
1226 <permission android:name="android.permission.ACTIVITY_RECOGNITION"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001227 android:permissionGroup="android.permission-group.UNDEFINED"
Zimuzo72baeaf2018-10-05 11:55:30 +01001228 android:label="@string/permlab_activityRecognition"
1229 android:description="@string/permdesc_activityRecognition"
Chad Brubakere2107312019-02-04 12:30:01 -08001230 android:protectionLevel="dangerous|instant" />
Zimuzo72baeaf2018-10-05 11:55:30 +01001231
1232 <!-- ====================================================================== -->
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -07001233 <!-- Permissions for accessing the UCE Service -->
1234 <!-- ====================================================================== -->
1235
1236 <!-- @hide Allows an application to Access UCE-Presence.
Peter Visontayfb5883e2017-07-10 16:26:58 +01001237 <p>Protection level: signature|privileged
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -07001238 -->
1239 <permission android:name="android.permission.ACCESS_UCE_PRESENCE_SERVICE"
1240 android:permissionGroup="android.permission-group.PHONE"
Peter Visontayfb5883e2017-07-10 16:26:58 +01001241 android:protectionLevel="signature|privileged"/>
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -07001242
1243 <!-- @hide Allows an application to Access UCE-OPTIONS.
Peter Visontayfb5883e2017-07-10 16:26:58 +01001244 <p>Protection level: signature|privileged
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -07001245 -->
1246 <permission android:name="android.permission.ACCESS_UCE_OPTIONS_SERVICE"
1247 android:permissionGroup="android.permission-group.PHONE"
Peter Visontayfb5883e2017-07-10 16:26:58 +01001248 android:protectionLevel="signature|privileged"/>
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -07001249
1250
1251
1252 <!-- ====================================================================== -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001253 <!-- Permissions for accessing the device camera -->
1254 <!-- ====================================================================== -->
1255 <eat-comment />
1256
1257 <!-- Used for permissions that are associated with accessing
1258 camera or capturing images/video from the device. -->
1259 <permission-group android:name="android.permission-group.CAMERA"
1260 android:icon="@drawable/perm_group_camera"
1261 android:label="@string/permgrouplab_camera"
1262 android:description="@string/permgroupdesc_camera"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -07001263 android:request="@string/permgrouprequest_camera"
Svetoslav61a4dd52015-04-09 10:17:40 -07001264 android:priority="700" />
1265
1266 <!-- Required to be able to access the camera device.
kopriva4234f152018-09-29 13:34:24 -07001267 <p>This will automatically enforce the
1268 <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">
1269 uses-feature</a> manifest element for <em>all</em> camera features.
Svetoslav61a4dd52015-04-09 10:17:40 -07001270 If you do not require all camera features or can properly operate if a camera
1271 is not available, then you must modify your manifest as appropriate in order to
Svetoslav71b6ca62015-06-25 18:19:14 -07001272 install on devices that don't support all camera features.</p>
1273 <p>Protection level: dangerous
1274 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001275 <permission android:name="android.permission.CAMERA"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001276 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav61a4dd52015-04-09 10:17:40 -07001277 android:label="@string/permlab_camera"
1278 android:description="@string/permdesc_camera"
Chad Brubakere2107312019-02-04 12:30:01 -08001279 android:protectionLevel="dangerous|instant" />
Svetoslav61a4dd52015-04-09 10:17:40 -07001280
1281
1282 <!-- ====================================================================== -->
1283 <!-- Permissions for accessing the device sensors -->
1284 <!-- ====================================================================== -->
1285 <eat-comment />
1286
1287 <!-- Used for permissions that are associated with accessing
Andrew Solovay175d9902017-10-27 13:55:07 -07001288 body or environmental sensors. -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001289 <permission-group android:name="android.permission-group.SENSORS"
Svet Ganov39c8a082015-07-21 11:52:21 -07001290 android:icon="@drawable/perm_group_sensors"
Svetoslav61a4dd52015-04-09 10:17:40 -07001291 android:label="@string/permgrouplab_sensors"
1292 android:description="@string/permgroupdesc_sensors"
Philip P. Moltmann27ffeb32017-07-06 13:54:46 -07001293 android:request="@string/permgrouprequest_sensors"
Svetoslav61a4dd52015-04-09 10:17:40 -07001294 android:priority="800" />
Dave Santoro43251332011-05-11 11:39:54 -07001295
Aravind Akellacd9a7bb2014-04-07 22:55:21 +00001296 <!-- Allows an application to access data from sensors that the user uses to
Svetoslav71b6ca62015-06-25 18:19:14 -07001297 measure what is happening inside his/her body, such as heart rate.
1298 <p>Protection level: dangerous -->
Aravind Akellacd9a7bb2014-04-07 22:55:21 +00001299 <permission android:name="android.permission.BODY_SENSORS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001300 android:permissionGroup="android.permission-group.UNDEFINED"
Aravind Akellacd9a7bb2014-04-07 22:55:21 +00001301 android:label="@string/permlab_bodySensors"
Svetoslav61a4dd52015-04-09 10:17:40 -07001302 android:description="@string/permdesc_bodySensors"
Chad Brubakere2107312019-02-04 12:30:01 -08001303 android:protectionLevel="dangerous" />
Aravind Akellacd9a7bb2014-04-07 22:55:21 +00001304
Svetoslav71b6ca62015-06-25 18:19:14 -07001305 <!-- Allows an app to use fingerprint hardware.
1306 <p>Protection level: normal
Vishwath Mohancf87df12018-03-20 22:57:17 -07001307 @deprecated Applications should request {@link
1308 android.Manifest.permission#USE_BIOMETRIC} instead
Svetoslav71b6ca62015-06-25 18:19:14 -07001309 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001310 <permission android:name="android.permission.USE_FINGERPRINT"
Svet Ganov321f0152015-05-16 22:51:50 -07001311 android:permissionGroup="android.permission-group.SENSORS"
Svetoslav61a4dd52015-04-09 10:17:40 -07001312 android:label="@string/permlab_useFingerprint"
1313 android:description="@string/permdesc_useFingerprint"
Jorim Jaggid6bd9da2015-05-20 12:04:41 -07001314 android:protectionLevel="normal" />
Svetoslav61a4dd52015-04-09 10:17:40 -07001315
Vishwath Mohancf87df12018-03-20 22:57:17 -07001316 <!-- Allows an app to use device supported biometric modalities.
1317 <p>Protection level: normal
1318 -->
1319 <permission android:name="android.permission.USE_BIOMETRIC"
1320 android:permissionGroup="android.permission-group.SENSORS"
1321 android:label="@string/permlab_useBiometric"
1322 android:description="@string/permdesc_useBiometric"
1323 android:protectionLevel="normal" />
1324
Svetoslav61a4dd52015-04-09 10:17:40 -07001325 <!-- ====================================================================== -->
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +00001326 <!-- REMOVED PERMISSIONS -->
1327 <!-- ====================================================================== -->
1328
1329 <!-- @hide We need to keep this around for backwards compatibility -->
1330 <permission android:name="android.permission.READ_PROFILE"
1331 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001332 android:permissionFlags="removed"/>
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +00001333
1334 <!-- @hide We need to keep this around for backwards compatibility -->
1335 <permission android:name="android.permission.WRITE_PROFILE"
1336 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001337 android:permissionFlags="removed"/>
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +00001338
1339 <!-- @hide We need to keep this around for backwards compatibility -->
1340 <permission android:name="android.permission.READ_SOCIAL_STREAM"
1341 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001342 android:permissionFlags="removed"/>
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +00001343
1344 <!-- @hide We need to keep this around for backwards compatibility -->
1345 <permission android:name="android.permission.WRITE_SOCIAL_STREAM"
1346 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001347 android:permissionFlags="removed"/>
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +00001348
Svetoslavc5e43c52015-06-23 17:13:26 -07001349 <!-- @hide We need to keep this around for backwards compatibility -->
1350 <permission android:name="android.permission.READ_USER_DICTIONARY"
1351 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001352 android:permissionFlags="removed"/>
Svetoslavc5e43c52015-06-23 17:13:26 -07001353
1354 <!-- @hide We need to keep this around for backwards compatibility -->
1355 <permission android:name="android.permission.WRITE_USER_DICTIONARY"
1356 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001357 android:permissionFlags="removed"/>
Svetoslavc5e43c52015-06-23 17:13:26 -07001358
Svet Ganovf1418ae2015-08-20 06:57:31 -07001359 <!-- @hide We need to keep this around for backwards compatibility -->
1360 <permission android:name="android.permission.WRITE_SMS"
1361 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001362 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001363
1364 <!-- @hide We need to keep this around for backwards compatibility -->
1365 <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
1366 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001367 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001368
1369 <!-- @hide We need to keep this around for backwards compatibility -->
1370 <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
1371 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001372 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001373
1374 <!-- @hide We need to keep this around for backwards compatibility -->
1375 <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
1376 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001377 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001378
1379 <!-- @hide We need to keep this around for backwards compatibility -->
1380 <permission android:name="android.permission.MANAGE_ACCOUNTS"
1381 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001382 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001383
1384 <!-- @hide We need to keep this around for backwards compatibility -->
1385 <permission android:name="android.permission.USE_CREDENTIALS"
1386 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001387 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001388
1389 <!-- @hide We need to keep this around for backwards compatibility -->
1390 <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1391 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001392 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001393
1394 <!-- @hide We need to keep this around for backwards compatibility -->
1395 <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1396 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001397 android:permissionFlags="removed"/>
Svet Ganovf1418ae2015-08-20 06:57:31 -07001398
Svetoslav Ganov1463ceb2016-01-04 12:15:16 -08001399 <!-- @hide We need to keep this around for backwards compatibility -->
1400 <permission android:name="android.permission.FLASHLIGHT"
1401 android:protectionLevel="normal"
Svet Ganov2a1376d2016-02-22 17:20:35 -08001402 android:permissionFlags="removed"/>
Svetoslav Ganov1463ceb2016-01-04 12:15:16 -08001403
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +00001404 <!-- ====================================================================== -->
1405 <!-- INSTALL PERMISSIONS -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001406 <!-- ====================================================================== -->
1407
1408 <!-- ================================== -->
1409 <!-- Permissions for accessing messages -->
1410 <!-- ================================== -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001411 <eat-comment />
Dave Santoro0b61f592011-10-03 18:25:26 -07001412
Adrian Roos66f85912018-12-11 19:47:33 +01001413 <!-- Allows an application (Phone) to send a request to other applications
Svetoslav61a4dd52015-04-09 10:17:40 -07001414 to handle the respond-via-message action during incoming calls.
1415 <p>Not for use by third-party applications. -->
1416 <permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001417 android:protectionLevel="signature|privileged" />
Dave Santoro0b61f592011-10-03 18:25:26 -07001418
Amit Mahajane5cd9fa2016-02-11 16:08:14 -08001419 <!-- @SystemApi Allows an application to send SMS to premium shortcodes without user permission.
Amit Mahajana8955592016-05-02 14:45:46 -07001420 <p>Not for use by third-party applications.
1421 @hide -->
Amit Mahajane5cd9fa2016-02-11 16:08:14 -08001422 <permission android:name="android.permission.SEND_SMS_NO_CONFIRMATION"
1423 android:protectionLevel="signature|privileged" />
1424
Svetoslav61a4dd52015-04-09 10:17:40 -07001425 <!-- Allows an application to filter carrier specific sms.
1426 @hide -->
1427 <permission android:name="android.permission.CARRIER_FILTER_SMS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001428 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001429
Svetoslav61a4dd52015-04-09 10:17:40 -07001430 <!-- @SystemApi Allows an application to receive emergency cell broadcast messages,
1431 to record or display them to the user.
Amit Mahajana8955592016-05-02 14:45:46 -07001432 <p>Not for use by third-party applications.
1433 @hide -->
Svetoslav61a4dd52015-04-09 10:17:40 -07001434 <permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001435 android:protectionLevel="signature|privileged" />
Svetoslav61a4dd52015-04-09 10:17:40 -07001436
1437 <!-- Allows an application to monitor incoming Bluetooth MAP messages, to record
1438 or perform processing on them. -->
1439 <!-- @hide -->
1440 <permission android:name="android.permission.RECEIVE_BLUETOOTH_MAP"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001441 android:protectionLevel="signature|privileged" />
Svetoslav61a4dd52015-04-09 10:17:40 -07001442
1443 <!-- @SystemApi @hide Allows an application to execute contacts directory search.
1444 This should only be used by ContactsProvider.
1445 <p>Not for use by third-party applications. -->
1446 <permission android:name="android.permission.BIND_DIRECTORY_SEARCH"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001447 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001448
Bryce Leef82631f2015-06-30 07:53:17 -07001449 <!-- @SystemApi @hide Allows an application to modify cell broadcasts through the content provider.
1450 <p>Not for use by third-party applications. -->
1451 <permission android:name="android.permission.MODIFY_CELL_BROADCASTS"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03001452 android:protectionLevel="signature|privileged" />
Bryce Leef82631f2015-06-30 07:53:17 -07001453
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001454 <!-- =============================================================== -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001455 <!-- Permissions for setting the device alarm -->
1456 <!-- =============================================================== -->
1457 <eat-comment />
1458
Svetoslav71b6ca62015-06-25 18:19:14 -07001459 <!-- Allows an application to broadcast an Intent to set an alarm for the user.
1460 <p>Protection level: normal
1461 -->
Patrick Scotta73c4b02010-09-22 08:16:53 -04001462 <permission android:name="com.android.alarm.permission.SET_ALARM"
Patrick Scotta73c4b02010-09-22 08:16:53 -04001463 android:label="@string/permlab_setAlarm"
1464 android:description="@string/permdesc_setAlarm"
1465 android:protectionLevel="normal" />
1466
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001467 <!-- =============================================================== -->
1468 <!-- Permissions for accessing the user voicemail -->
1469 <!-- =============================================================== -->
1470 <eat-comment />
1471
Trevor Johns682c24e2016-04-12 10:13:47 -07001472 <!-- Allows an application to modify and remove existing voicemails in the system.
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03001473 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07001474 -->
Yorke Leea19d7bf2014-07-18 16:24:29 -07001475 <permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03001476 android:protectionLevel="signature|privileged" />
Yorke Lee5a2f4882014-06-23 17:05:30 -07001477
Svetoslav71b6ca62015-06-25 18:19:14 -07001478 <!-- Allows an application to read voicemails in the system.
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03001479 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07001480 -->
Yorke Leea19d7bf2014-07-18 16:24:29 -07001481 <permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03001482 android:protectionLevel="signature|privileged" />
Svetoslav38228962013-01-29 01:04:35 -08001483
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001484 <!-- ======================================= -->
1485 <!-- Permissions for accessing location info -->
1486 <!-- ======================================= -->
1487 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07001488
Trevor Johns682c24e2016-04-12 10:13:47 -07001489 <!-- Allows an application to access extra location provider commands.
Svetoslav71b6ca62015-06-25 18:19:14 -07001490 <p>Protection level: normal
1491 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001492 <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001493 android:label="@string/permlab_accessLocationExtraCommands"
Svetoslav61a4dd52015-04-09 10:17:40 -07001494 android:description="@string/permdesc_accessLocationExtraCommands"
1495 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001496
Adrian Roos66f85912018-12-11 19:47:33 +01001497 <!-- Allows an application to install a location provider into the Location Manager.
Scott Main93e60b52013-06-10 11:05:55 -07001498 <p>Not for use by third-party applications. -->
Mike Lockwood275555c2009-05-01 11:30:34 -04001499 <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001500 android:protectionLevel="signature|privileged" />
Mike Lockwood275555c2009-05-01 11:30:34 -04001501
Jeff Brownb61eaaa2014-06-06 19:46:26 -07001502 <!-- @SystemApi @hide Allows HDMI-CEC service to access device and configuration files.
1503 This should only be used by HDMI-CEC service.
Jinsuk Kim4f512fb2014-02-28 17:41:17 +09001504 -->
1505 <permission android:name="android.permission.HDMI_CEC"
Nick Chalko9efce1e2018-05-10 12:13:12 -07001506 android:protectionLevel="signature|privileged|vendorPrivileged" />
Jinsuk Kim4f512fb2014-02-28 17:41:17 +09001507
Adrian Roos66f85912018-12-11 19:47:33 +01001508 <!-- Allows an application to use location features in hardware,
Scott Main93e60b52013-06-10 11:05:55 -07001509 such as the geofencing api.
1510 <p>Not for use by third-party applications. -->
Jaikumar Ganesh8ce470d2013-04-03 12:22:18 -07001511 <permission android:name="android.permission.LOCATION_HARDWARE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001512 android:protectionLevel="signature|privileged" />
Jaikumar Ganesh8ce470d2013-04-03 12:22:18 -07001513 <uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
1514
Svetoslav71b6ca62015-06-25 18:19:14 -07001515 <!-- @SystemApi Allows an application to create mock location providers for testing.
1516 <p>Protection level: signature
1517 @hide
1518 -->
Svetoslav7f242252015-04-14 14:44:11 -07001519 <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
Svet Ganovf7e9cf42015-05-13 10:40:31 -07001520 android:protectionLevel="signature" />
Svetoslav7f242252015-04-14 14:44:11 -07001521
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001522 <!-- ======================================= -->
1523 <!-- Permissions for accessing networks -->
1524 <!-- ======================================= -->
1525 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07001526
Svetoslav71b6ca62015-06-25 18:19:14 -07001527 <!-- Allows applications to open network sockets.
1528 <p>Protection level: normal
1529 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001530 <permission android:name="android.permission.INTERNET"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001531 android:description="@string/permdesc_createNetworkSockets"
Svetoslav61a4dd52015-04-09 10:17:40 -07001532 android:label="@string/permlab_createNetworkSockets"
Todd Kennedyc247fa12017-06-02 10:29:22 -07001533 android:protectionLevel="normal|instant" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001534
Trevor Johns682c24e2016-04-12 10:13:47 -07001535 <!-- Allows applications to access information about networks.
Svetoslav71b6ca62015-06-25 18:19:14 -07001536 <p>Protection level: normal
1537 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001538 <permission android:name="android.permission.ACCESS_NETWORK_STATE"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001539 android:description="@string/permdesc_accessNetworkState"
Svetoslav61a4dd52015-04-09 10:17:40 -07001540 android:label="@string/permlab_accessNetworkState"
Todd Kennedyc247fa12017-06-02 10:29:22 -07001541 android:protectionLevel="normal|instant" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001542
Svetoslav71b6ca62015-06-25 18:19:14 -07001543 <!-- Allows applications to access information about Wi-Fi networks.
1544 <p>Protection level: normal
1545 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001546 <permission android:name="android.permission.ACCESS_WIFI_STATE"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001547 android:description="@string/permdesc_accessWifiState"
Svetoslav61a4dd52015-04-09 10:17:40 -07001548 android:label="@string/permlab_accessWifiState"
1549 android:protectionLevel="normal" />
Russell Brenner108da0c2013-02-12 10:03:14 -08001550
Svetoslav71b6ca62015-06-25 18:19:14 -07001551 <!-- Allows applications to change Wi-Fi connectivity state.
1552 <p>Protection level: normal
1553 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001554 <permission android:name="android.permission.CHANGE_WIFI_STATE"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001555 android:description="@string/permdesc_changeWifiState"
Svetoslav61a4dd52015-04-09 10:17:40 -07001556 android:label="@string/permlab_changeWifiState"
Svet Ganov033a68f2015-06-11 20:04:04 -07001557 android:protectionLevel="normal" />
Adrian Ludwig361dfeb2012-06-01 19:57:57 -07001558
Nathan Harold15978842018-03-21 15:32:42 -07001559 <!-- @SystemApi @hide Allows apps to create and manage IPsec tunnels.
1560 <p>Only granted to applications that are currently bound by the
1561 system for creating and managing IPsec-based interfaces.
1562 -->
1563 <permission android:name="android.permission.MANAGE_IPSEC_TUNNELS"
1564 android:protectionLevel="signature|appop" />
1565
Benedict Wong600d93f2019-02-15 12:11:17 -08001566 <!-- @hide Allows apps to create and manage Test Networks.
1567 <p>Granted only to shell. CTS tests will use
1568 UiAutomation.AdoptShellPermissionIdentity() to gain access.
1569 -->
1570 <permission android:name="android.permission.MANAGE_TEST_NETWORKS"
1571 android:protectionLevel="signature" />
1572
Wenchao Tongcdd58582014-06-18 12:59:21 -07001573 <!-- @SystemApi @hide Allows applications to read Wi-Fi credential.
1574 <p>Not for use by third-party applications. -->
1575 <permission android:name="android.permission.READ_WIFI_CREDENTIAL"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001576 android:protectionLevel="signature|privileged" />
Wenchao Tongcdd58582014-06-18 12:59:21 -07001577
Jeremy Kleind42209d2015-12-28 15:11:58 -08001578 <!-- @SystemApi @hide Allows applications to change tether state and run
1579 tether carrier provisioning.
1580 <p>Not for use by third-party applications. -->
1581 <permission android:name="android.permission.TETHER_PRIVILEGED"
1582 android:protectionLevel="signature|privileged" />
1583
Wenchao Tongcdd58582014-06-18 12:59:21 -07001584 <!-- @SystemApi @hide Allow system apps to receive broadcast
1585 when a wifi network credential is changed.
1586 <p>Not for use by third-party applications. -->
1587 <permission android:name="android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001588 android:protectionLevel="signature|privileged" />
Wenchao Tongcdd58582014-06-18 12:59:21 -07001589
Sky Faber3e3857c2014-09-22 13:54:18 -07001590 <!-- @SystemApi @hide Allows an application to modify any wifi configuration, even if created
Svetoslav61a4dd52015-04-09 10:17:40 -07001591 by another application. Once reconfigured the original creator cannot make any further
1592 modifications.
1593 <p>Not for use by third-party applications. -->
Sky Faber3e3857c2014-09-22 13:54:18 -07001594 <permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001595 android:protectionLevel="signature|privileged" />
Sky Faber3e3857c2014-09-22 13:54:18 -07001596
Robert Greenwalt8588e472011-11-08 10:12:25 -08001597 <!-- @hide -->
tk.mun148c7d02011-10-13 22:51:57 +09001598 <permission android:name="android.permission.ACCESS_WIMAX_STATE"
tk.mun148c7d02011-10-13 22:51:57 +09001599 android:description="@string/permdesc_accessWimaxState"
Svetoslav61a4dd52015-04-09 10:17:40 -07001600 android:label="@string/permlab_accessWimaxState"
1601 android:protectionLevel="normal" />
Adrian Ludwigdc410cb2012-04-13 13:51:48 -07001602
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001603 <!-- @hide -->
1604 <permission android:name="android.permission.CHANGE_WIMAX_STATE"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001605 android:description="@string/permdesc_changeWimaxState"
Svetoslav61a4dd52015-04-09 10:17:40 -07001606 android:label="@string/permlab_changeWimaxState"
Svet Ganov033a68f2015-06-11 20:04:04 -07001607 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001608
Fyodor Kupolov136a2e7f2015-07-27 12:20:18 -07001609 <!-- Allows applications to act as network scorers. @hide @SystemApi-->
Jeff Davidsonb51e0a62014-04-09 12:38:15 -07001610 <permission android:name="android.permission.SCORE_NETWORKS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001611 android:protectionLevel="signature|privileged" />
Jeff Davidsonb51e0a62014-04-09 12:38:15 -07001612
Jeremy Joslina9ad1d32017-01-18 16:16:39 -08001613 <!-- Allows applications to request network
Jeremy Joslin7231d442016-12-21 14:16:19 -08001614 recommendations and scores from the NetworkScoreService.
1615 <p>Not for use by third-party applications. @hide -->
1616 <permission android:name="android.permission.REQUEST_NETWORK_SCORES"
Sundeep Ghuman3d12a052017-01-20 10:32:18 -08001617 android:protectionLevel="signature|setup" />
Jeremy Joslin7231d442016-12-21 14:16:19 -08001618
Rebecca Silbersteinea55ae72017-03-23 00:29:28 -07001619 <!-- Allows network stack services (Connectivity and Wifi) to coordinate
1620 <p>Not for use by third-party or privileged applications.
1621 @hide This should only be used by Connectivity and Wifi Services.
1622 -->
1623 <permission android:name="android.permission.NETWORK_STACK"
1624 android:protectionLevel="signature" />
1625
Rebecca Silbersteine694fa72017-05-09 23:05:09 -07001626 <!-- Allows Settings and SystemUI to call methods in Networking services
1627 <p>Not for use by third-party or privileged applications.
1628 @hide This should only be used by Settings and SystemUI.
1629 -->
1630 <permission android:name="android.permission.NETWORK_SETTINGS"
Chen Xuda02e072019-10-07 00:24:41 -07001631 android:protectionLevel="signature|telephony" />
Rebecca Silbersteine694fa72017-05-09 23:05:09 -07001632
Roshan Piusb65a1cf2018-04-24 10:09:46 -07001633 <!-- Allows SetupWizard to call methods in Networking services
1634 <p>Not for use by any other third-party or privileged applications.
Lorenzo Colitti85eca482018-10-09 18:50:32 +09001635 @SystemApi
Roshan Piusb65a1cf2018-04-24 10:09:46 -07001636 @hide This should only be used by SetupWizard.
1637 -->
1638 <permission android:name="android.permission.NETWORK_SETUP_WIZARD"
1639 android:protectionLevel="signature|setup" />
1640
Roshan Piusb4c45332018-11-14 14:53:53 -08001641 <!-- Allows Managed Provisioning to call methods in Networking services
1642 <p>Not for use by any other third-party or privileged applications.
1643 @SystemApi
1644 @hide This should only be used by ManagedProvisioning app.
1645 -->
1646 <permission android:name="android.permission.NETWORK_MANAGED_PROVISIONING"
Roshan Pius1e61c432018-12-05 11:30:04 -08001647 android:protectionLevel="signature" />
Roshan Piusb4c45332018-11-14 14:53:53 -08001648
Roshan Pius831cbaa2019-03-29 09:12:23 -07001649 <!-- Allows Carrier Provisioning to call methods in Networking services
1650 <p>Not for use by any other third-party or privileged applications.
1651 @SystemApi
1652 @hide This should only be used by CarrierProvisioning.
1653 -->
1654 <permission android:name="android.permission.NETWORK_CARRIER_PROVISIONING"
1655 android:protectionLevel="signature|privileged" />
1656
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -08001657 <!-- #SystemApi @hide Allows applications to access information about LoWPAN interfaces.
1658 <p>Not for use by third-party applications. -->
1659 <permission android:name="android.permission.ACCESS_LOWPAN_STATE"
1660 android:protectionLevel="signature|privileged" />
1661
1662 <!-- #SystemApi @hide Allows applications to change LoWPAN connectivity state.
1663 <p>Not for use by third-party applications. -->
1664 <permission android:name="android.permission.CHANGE_LOWPAN_STATE"
1665 android:protectionLevel="signature|privileged" />
1666
1667 <!-- #SystemApi @hide Allows applications to read LoWPAN credential.
1668 <p>Not for use by third-party applications. -->
1669 <permission android:name="android.permission.READ_LOWPAN_CREDENTIAL"
1670 android:protectionLevel="signature|privileged" />
1671
1672 <!-- #SystemApi @hide Allows a service to register or unregister
1673 new LoWPAN interfaces.
1674 <p>Not for use by third-party applications. -->
1675 <permission android:name="android.permission.MANAGE_LOWPAN_INTERFACES"
1676 android:protectionLevel="signature|privileged" />
1677
baishengf62d8692018-01-25 18:07:24 +08001678 <!-- @hide Allows internal management of Wi-Fi connectivity state when on
Philip P. Moltmann6c644e62018-07-18 15:41:24 -07001679 wireless consent mode.
baishengf62d8692018-01-25 18:07:24 +08001680 <p>Not for use by third-party applications. -->
Philip P. Moltmann6c644e62018-07-18 15:41:24 -07001681 <permission android:name="android.permission.MANAGE_WIFI_WHEN_WIRELESS_CONSENT_REQUIRED"
baishengf62d8692018-01-25 18:07:24 +08001682 android:protectionLevel="signature" />
1683
Remi NGUYEN VAN62594fd2018-04-25 17:46:10 +09001684 <!-- #SystemApi @hide Allows an app to bypass Private DNS.
1685 <p>Not for use by third-party applications.
1686 TODO: publish as system API in next API release. -->
1687 <permission android:name="android.permission.NETWORK_BYPASS_PRIVATE_DNS"
1688 android:protectionLevel="signature" />
1689
David Su796b2db2018-11-20 10:19:30 -08001690 <!-- #SystemApi @hide Allows device mobility state to be set so that Wifi scan interval can be increased
1691 when the device is stationary in order to save power.
1692 <p>Not for use by third-party applications. -->
1693 <permission android:name="android.permission.WIFI_SET_DEVICE_MOBILITY_STATE"
1694 android:protectionLevel="signature|privileged" />
1695
Mingguang Xu86833142019-01-09 13:54:29 -08001696 <!-- #SystemApi @hide Allows privileged system APK to update Wifi usability stats and score.
1697 <p>Not for use by third-party applications. -->
1698 <permission android:name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"
1699 android:protectionLevel="signature|privileged" />
1700
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001701 <!-- ======================================= -->
1702 <!-- Permissions for short range, peripheral networks -->
1703 <!-- ======================================= -->
1704 <eat-comment />
1705
Svetoslav71b6ca62015-06-25 18:19:14 -07001706 <!-- Allows applications to connect to paired bluetooth devices.
1707 <p>Protection level: normal
1708 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001709 <permission android:name="android.permission.BLUETOOTH"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001710 android:description="@string/permdesc_bluetooth"
Svetoslav61a4dd52015-04-09 10:17:40 -07001711 android:label="@string/permlab_bluetooth"
Svet Ganovd81897d2015-06-11 18:24:26 -07001712 android:protectionLevel="normal" />
Russell Brenner108da0c2013-02-12 10:03:14 -08001713
Varun Shah85d80b52019-04-04 16:11:07 -07001714 <!-- @SystemApi @TestApi Allows an application to suspend other apps, which will prevent the
1715 user from using them until they are unsuspended.
Suprabh Shukla021b57a2018-03-08 18:21:50 -08001716 @hide
1717 -->
1718 <permission android:name="android.permission.SUSPEND_APPS"
Varun Shah5f303652018-11-16 18:11:19 -08001719 android:protectionLevel="signature|wellbeing" />
Suprabh Shukla021b57a2018-03-08 18:21:50 -08001720
Svetoslav71b6ca62015-06-25 18:19:14 -07001721 <!-- Allows applications to discover and pair bluetooth devices.
1722 <p>Protection level: normal
1723 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001724 <permission android:name="android.permission.BLUETOOTH_ADMIN"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001725 android:description="@string/permdesc_bluetoothAdmin"
Svetoslav61a4dd52015-04-09 10:17:40 -07001726 android:label="@string/permlab_bluetoothAdmin"
Svet Ganovd81897d2015-06-11 18:24:26 -07001727 android:protectionLevel="normal" />
Russell Brenner108da0c2013-02-12 10:03:14 -08001728
Adrian Roos66f85912018-12-11 19:47:33 +01001729 <!-- Allows applications to pair bluetooth devices without user interaction, and to
Edward Jee8dd30aa2014-09-05 00:29:14 -07001730 allow or disallow phonebook access or message access.
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07001731 <p>Not for use by third-party applications. -->
Matthew Xie091fc2b2013-09-23 23:23:13 -07001732 <permission android:name="android.permission.BLUETOOTH_PRIVILEGED"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03001733 android:protectionLevel="signature|privileged" />
Matthew Xie091fc2b2013-09-23 23:23:13 -07001734
Matthew Xie6b932292014-07-24 14:54:04 +02001735 <!-- Control access to email providers exclusively for Bluetooth
1736 @hide
1737 -->
1738 <permission android:name="android.permission.BLUETOOTH_MAP"
Svetoslav61a4dd52015-04-09 10:17:40 -07001739 android:protectionLevel="signature" />
Matthew Xie6b932292014-07-24 14:54:04 +02001740
Matthew Xiefca9d632012-10-04 12:25:28 -07001741 <!-- Allows bluetooth stack to access files
1742 @hide This should only be used by Bluetooth apk.
1743 -->
1744 <permission android:name="android.permission.BLUETOOTH_STACK"
Matthew Xiefca9d632012-10-04 12:25:28 -07001745 android:protectionLevel="signature" />
1746
Svetoslav71b6ca62015-06-25 18:19:14 -07001747 <!-- Allows applications to perform I/O operations over NFC.
1748 <p>Protection level: normal
1749 -->
Nick Pellye47150e2010-10-17 19:05:47 -07001750 <permission android:name="android.permission.NFC"
Nick Pellye47150e2010-10-17 19:05:47 -07001751 android:description="@string/permdesc_nfc"
Svetoslav61a4dd52015-04-09 10:17:40 -07001752 android:label="@string/permlab_nfc"
Svet Ganovb4673302015-05-12 20:50:14 -07001753 android:protectionLevel="normal" />
Nick Pelly038cabe2010-09-23 16:12:11 -07001754
Ruchi Kandoi62c46ea2018-01-03 12:20:46 -08001755 <!-- Allows applications to receive NFC transaction events.
1756 <p>Protection level: normal
1757 -->
1758 <permission android:name="android.permission.NFC_TRANSACTION_EVENT"
1759 android:protectionLevel="normal" />
1760
Jeff Brownb61eaaa2014-06-06 19:46:26 -07001761 <!-- @SystemApi Allows an internal user to use privileged ConnectivityManager APIs.
Jason Long193f0492014-06-09 20:02:15 -07001762 @hide -->
Robert Greenwalt14f2ef42010-06-15 12:19:37 -07001763 <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001764 android:protectionLevel="signature|privileged" />
Robert Greenwalt14f2ef42010-06-15 12:19:37 -07001765
Lorenzo Colitti87b59632017-03-22 11:19:26 +09001766 <!-- @SystemApi Allows an internal user to use restricted Networks.
Hugo Benichi514da602016-07-19 15:59:27 +09001767 @hide -->
1768 <permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"
1769 android:protectionLevel="signature|privileged" />
Chalard Jeanae4c7772019-05-28 06:01:54 -07001770 <uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
Hugo Benichi514da602016-07-19 15:59:27 +09001771
paulhu3d67f532019-03-22 16:35:06 +08001772 <!-- @SystemApi Allows an internal user to set signal strength in NetworkRequest. This kind of
1773 request will wake up device when signal strength meets the given value.
1774 @hide -->
1775 <permission android:name="android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP"
1776 android:protectionLevel="signature|privileged" />
1777
junyulai7fe17a42019-01-29 15:28:19 +08001778 <!-- @SystemApi Allows a system application to access hardware packet offload capabilities.
Lorenzo Colitti7b700362015-09-08 13:23:00 +09001779 @hide -->
1780 <permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD"
1781 android:protectionLevel="signature|privileged" />
1782
Svetoslav61a4dd52015-04-09 10:17:40 -07001783 <!-- @SystemApi
1784 @hide -->
Haoyu Baidb3c8672012-06-20 14:29:57 -07001785 <permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001786 android:protectionLevel="signature|privileged" />
Haoyu Baidb3c8672012-06-20 14:29:57 -07001787
Jeff Brownb61eaaa2014-06-06 19:46:26 -07001788 <!-- @SystemApi Allows access to the loop radio (Android@Home mesh network) device.
Jason Long193f0492014-06-09 20:02:15 -07001789 @hide -->
Doug Zongkerb616f0c2013-01-29 09:05:21 -08001790 <permission android:name="android.permission.LOOP_RADIO"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001791 android:protectionLevel="signature|privileged" />
Russell Brenner108da0c2013-02-12 10:03:14 -08001792
Andres Morales9740e462014-02-07 16:57:00 -08001793 <!-- Allows sending and receiving handover transfer status from Wifi and Bluetooth
Svetoslav61a4dd52015-04-09 10:17:40 -07001794 @hide -->
Andres Morales9740e462014-02-07 16:57:00 -08001795 <permission android:name="android.permission.NFC_HANDOVER_STATUS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001796 android:protectionLevel="signature|privileged" />
Andres Morales9740e462014-02-07 16:57:00 -08001797
Philip P. Moltmann6c644e62018-07-18 15:41:24 -07001798 <!-- @hide Allows internal management of Bluetooth state when on wireless consent mode.
baishengf62d8692018-01-25 18:07:24 +08001799 <p>Not for use by third-party applications. -->
Philip P. Moltmann6c644e62018-07-18 15:41:24 -07001800 <permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED"
baishengf62d8692018-01-25 18:07:24 +08001801 android:protectionLevel="signature" />
1802
William Hestera96d3d32018-12-19 13:14:51 -08001803 <!-- @hide Allows the device to be reset, clearing all data and enables Test Harness Mode. -->
1804 <permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE"
1805 android:protectionLevel="signature" />
1806
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001807 <!-- ================================== -->
1808 <!-- Permissions for accessing accounts -->
1809 <!-- ================================== -->
1810 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07001811
Svetoslav71b6ca62015-06-25 18:19:14 -07001812 <!-- Allows access to the list of accounts in the Accounts Service.
Trevor Johns682c24e2016-04-12 10:13:47 -07001813
1814 <p class="note"><strong>Note:</strong> Beginning with Android 6.0 (API level
1815 23), if an app shares the signature of the authenticator that manages an
1816 account, it does not need <code>"GET_ACCOUNTS"</code> permission to read
1817 information about that account. On Android 5.1 and lower, all apps need
1818 <code>"GET_ACCOUNTS"</code> permission to read information about any
1819 account.</p>
1820
1821 <p>Protection level: dangerous
Svetoslav71b6ca62015-06-25 18:19:14 -07001822 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001823 <permission android:name="android.permission.GET_ACCOUNTS"
Philip P. Moltmann2a01ddb2018-11-30 12:42:26 -08001824 android:permissionGroup="android.permission-group.UNDEFINED"
Svetoslav Ganov2c202772015-07-17 17:35:05 +00001825 android:protectionLevel="dangerous"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001826 android:description="@string/permdesc_getAccounts"
Chad Brubakere2107312019-02-04 12:30:01 -08001827 android:label="@string/permlab_getAccounts" />
Svetoslav Ganov5cb29732016-07-11 19:32:30 -07001828 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001829
Adrian Roos66f85912018-12-11 19:47:33 +01001830 <!-- Allows applications to call into AccountAuthenticators.
Scott Main93e60b52013-06-10 11:05:55 -07001831 <p>Not for use by third-party applications. -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001832 <permission android:name="android.permission.ACCOUNT_MANAGER"
Svetoslav61a4dd52015-04-09 10:17:40 -07001833 android:protectionLevel="signature" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001834
1835 <!-- ================================== -->
1836 <!-- Permissions for accessing hardware that may effect battery life-->
1837 <!-- ================================== -->
1838 <eat-comment />
1839
Svetoslav71b6ca62015-06-25 18:19:14 -07001840 <!-- Allows applications to enter Wi-Fi Multicast mode.
1841 <p>Protection level: normal
1842 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001843 <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001844 android:description="@string/permdesc_changeWifiMulticastState"
Svetoslav61a4dd52015-04-09 10:17:40 -07001845 android:label="@string/permlab_changeWifiMulticastState"
Svet Ganov033a68f2015-06-11 20:04:04 -07001846 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001847
Svetoslav71b6ca62015-06-25 18:19:14 -07001848 <!-- Allows access to the vibrator.
1849 <p>Protection level: normal
1850 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001851 <permission android:name="android.permission.VIBRATE"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001852 android:label="@string/permlab_vibrate"
Svetoslav61a4dd52015-04-09 10:17:40 -07001853 android:description="@string/permdesc_vibrate"
Todd Kennedyc247fa12017-06-02 10:29:22 -07001854 android:protectionLevel="normal|instant" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001855
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001856 <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
Svetoslav71b6ca62015-06-25 18:19:14 -07001857 from dimming.
1858 <p>Protection level: normal
1859 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001860 <permission android:name="android.permission.WAKE_LOCK"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001861 android:label="@string/permlab_wakeLock"
Svetoslav61a4dd52015-04-09 10:17:40 -07001862 android:description="@string/permdesc_wakeLock"
Todd Kennedyc247fa12017-06-02 10:29:22 -07001863 android:protectionLevel="normal|instant" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001864
Svetoslav71b6ca62015-06-25 18:19:14 -07001865 <!-- Allows using the device's IR transmitter, if available.
1866 <p>Protection level: normal
1867 -->
Erik Gilling51e95df2013-06-26 11:06:51 -07001868 <permission android:name="android.permission.TRANSMIT_IR"
Erik Gilling51e95df2013-06-26 11:06:51 -07001869 android:label="@string/permlab_transmitIr"
Svetoslav61a4dd52015-04-09 10:17:40 -07001870 android:description="@string/permdesc_transmitIr"
1871 android:protectionLevel="normal" />
Erik Gilling51e95df2013-06-26 11:06:51 -07001872
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001873 <!-- ==================================================== -->
1874 <!-- Permissions related to changing audio settings -->
1875 <!-- ==================================================== -->
Dirk Doughertyf6878b02013-04-18 16:38:01 -07001876 <eat-comment />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001877
Svetoslav71b6ca62015-06-25 18:19:14 -07001878 <!-- Allows an application to modify global audio settings.
1879 <p>Protection level: normal
1880 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001881 <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001882 android:label="@string/permlab_modifyAudioSettings"
Svetoslav61a4dd52015-04-09 10:17:40 -07001883 android:description="@string/permdesc_modifyAudioSettings"
1884 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001885
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001886 <!-- ================================== -->
1887 <!-- Permissions for accessing hardware -->
1888 <!-- ================================== -->
1889 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07001890
Jeff Brownb61eaaa2014-06-06 19:46:26 -07001891 <!-- @SystemApi Allows an application to manage preferences and permissions for USB devices
Mike Lockwood02eb8742011-02-27 09:10:37 -08001892 @hide -->
1893 <permission android:name="android.permission.MANAGE_USB"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001894 android:protectionLevel="signature|privileged" />
Mike Lockwood31ac8e92010-05-10 18:26:40 -04001895
Kenny Roota5964c02018-01-23 20:08:39 +09001896 <!-- @SystemApi Allows an application to manage Android Debug Bridge settings.
1897 <p>Not for use by third-party applications.
1898 @hide -->
1899 <permission android:name="android.permission.MANAGE_DEBUGGING"
1900 android:protectionLevel="signature|privileged" />
1901
Jeff Brownb61eaaa2014-06-06 19:46:26 -07001902 <!-- @SystemApi Allows an application to access the MTP USB kernel driver.
Mike Lockwood10bc1112011-01-10 08:24:08 -05001903 For use only by the device side MTP implementation.
1904 @hide -->
1905 <permission android:name="android.permission.ACCESS_MTP"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001906 android:protectionLevel="signature|privileged" />
Mike Lockwood10bc1112011-01-10 08:24:08 -05001907
Svetoslav71b6ca62015-06-25 18:19:14 -07001908 <!-- @SystemApi Allows access to hardware peripherals. Intended only for hardware testing.
1909 <p>Not for use by third-party applications.
1910 @hide
1911 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001912 <permission android:name="android.permission.HARDWARE_TEST"
Svetoslav61a4dd52015-04-09 10:17:40 -07001913 android:protectionLevel="signature" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001914
Po-Chien Hsueh4e908c22019-03-07 11:57:17 +08001915 <!-- @hide Allows an application to manage DynamicSystem image -->
1916 <permission android:name="android.permission.MANAGE_DYNAMIC_SYSTEM"
Howard Chen0a947642019-01-07 14:10:44 +08001917 android:protectionLevel="signature" />
1918
Po-Chien Hsueh6762e2b2019-03-22 11:11:26 +08001919 <!-- @SystemApi Allows an application to install a DynamicSystem image and get status updates.
1920 @hide -->
1921 <permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM"
1922 android:protectionLevel="signature|privileged" />
1923
Tomasz Wasilczykdf776432017-07-21 14:07:09 -07001924 <!-- @SystemApi Allows access to Broadcast Radio
1925 @hide This is not a third-party API (intended for system apps).-->
1926 <permission android:name="android.permission.ACCESS_BROADCAST_RADIO"
1927 android:protectionLevel="signature|privileged" />
1928
1929 <!-- @deprecated @SystemApi Allows access to FM
Benson Huang981258e2014-09-23 10:57:40 +08001930 @hide This is not a third-party API (intended for system apps).-->
1931 <permission android:name="android.permission.ACCESS_FM_RADIO"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001932 android:protectionLevel="signature|privileged" />
Benson Huang981258e2014-09-23 10:57:40 +08001933
Ramesh Sudini0e7b5a02011-03-28 09:18:31 -05001934 <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
1935 @hide -->
1936 <permission android:name="android.permission.NET_ADMIN"
Ramesh Sudini0e7b5a02011-03-28 09:18:31 -05001937 android:protectionLevel="signature" />
1938
Jeff Sharkey098d5802012-04-26 17:30:34 -07001939 <!-- Allows registration for remote audio playback. @hide -->
1940 <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
Jeff Sharkey098d5802012-04-26 17:30:34 -07001941 android:protectionLevel="signature" />
1942
Jeff Brownb61eaaa2014-06-06 19:46:26 -07001943 <!-- @SystemApi Allows TvInputService to access underlying TV input hardware such as
Wonsik Kimc22dbb62014-05-26 02:26:04 +00001944 built-in tuners and HDMI-in's.
1945 @hide This should only be used by OEM's TvInputService's.
1946 -->
1947 <permission android:name="android.permission.TV_INPUT_HARDWARE"
Nick Chalko604afcb2018-05-10 13:17:47 -07001948 android:protectionLevel="signature|privileged|vendorPrivileged" />
Wonsik Kimc22dbb62014-05-26 02:26:04 +00001949
Terry Heoc086a3d2014-06-18 14:26:44 +09001950 <!-- @SystemApi Allows to capture a frame of TV input hardware such as
1951 built-in tuners and HDMI-in's.
1952 @hide <p>Not for use by third-party applications.
1953 -->
1954 <permission android:name="android.permission.CAPTURE_TV_INPUT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001955 android:protectionLevel="signature|privileged" />
Terry Heoc086a3d2014-06-18 14:26:44 +09001956
Jaesung Chung58739e72015-04-24 19:39:59 +09001957 <!-- @hide Allows TvInputService to access DVB device.
1958 <p>Not for use by third-party applications. -->
1959 <permission android:name="android.permission.DVB_DEVICE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001960 android:protectionLevel="signature|privileged" />
Jaesung Chung58739e72015-04-24 19:39:59 +09001961
Andrew Scull3b8b46f2017-02-13 18:12:15 +00001962 <!-- @SystemApi Allows reading and enabling/disabling the OEM unlock allowed by carrier state
1963 @hide <p>Not for use by third-party applications. -->
1964 <permission android:name="android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE"
1965 android:protectionLevel="signature|privileged" />
1966
1967 <!-- @SystemApi Allows reading and enabling/disabling the OEM unlock allowed by user state
1968 @hide <p>Not for use by third-party applications. -->
1969 <permission android:name="android.permission.MANAGE_USER_OEM_UNLOCK_STATE"
1970 android:protectionLevel="signature|privileged" />
1971
Amith Yamasanid2b21042016-06-03 10:12:47 -07001972 <!-- @SystemApi Allows reading the OEM unlock state
1973 @hide <p>Not for use by third-party applications. -->
1974 <permission android:name="android.permission.READ_OEM_UNLOCK_STATE"
1975 android:protectionLevel="signature|privileged" />
1976
Andres Morales68d4acd2014-07-01 19:40:41 -07001977 <!-- @hide Allows enabling/disabling OEM unlock
1978 <p>Not for use by third-party applications. -->
1979 <permission android:name="android.permission.OEM_UNLOCK_STATE"
Svetoslav61a4dd52015-04-09 10:17:40 -07001980 android:protectionLevel="signature" />
Andres Morales68d4acd2014-07-01 19:40:41 -07001981
Andres Morales6b0c7ac2014-11-24 14:14:54 -08001982 <!-- @hide Allows querying state of PersistentDataBlock
1983 <p>Not for use by third-party applications. -->
1984 <permission android:name="android.permission.ACCESS_PDB_STATE"
Svetoslav61a4dd52015-04-09 10:17:40 -07001985 android:protectionLevel="signature" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001986
Alexandru-Andrei Rotaru7f31bb02017-09-07 16:29:48 +01001987 <!-- Allows testing if a passwords is forbidden by the admins.
1988 @hide <p>Not for use by third-party applications. -->
1989 <permission android:name="android.permission.TEST_BLACKLISTED_PASSWORD"
1990 android:protectionLevel="signature" />
1991
Rubin Xudc105cc2015-04-14 23:38:01 +01001992 <!-- @hide Allows system update service to notify device owner about pending updates.
1993 <p>Not for use by third-party applications. -->
1994 <permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07001995 android:protectionLevel="signature|privileged" />
Rubin Xudc105cc2015-04-14 23:38:01 +01001996
Dianne Hackborncd403fc2012-09-13 00:24:38 -07001997 <!-- =========================================== -->
1998 <!-- Permissions associated with camera and image capture -->
1999 <!-- =========================================== -->
2000 <eat-comment />
2001
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002002 <!-- @SystemApi Allows disabling the transmit-indicator LED that is normally on when
Igor Murashkinf640bb9b2013-04-23 14:32:19 -07002003 a camera is in use by an application.
2004 @hide -->
2005 <permission android:name="android.permission.CAMERA_DISABLE_TRANSMIT_LED"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002006 android:protectionLevel="signature|privileged" />
Igor Murashkinf640bb9b2013-04-23 14:32:19 -07002007
Ruben Brunk9d21ee52015-03-20 22:18:55 -07002008 <!-- Allows sending the camera service notifications about system-wide events.
2009 @hide -->
2010 <permission android:name="android.permission.CAMERA_SEND_SYSTEM_EVENTS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002011 android:protectionLevel="signature|privileged" />
Ruben Brunk9d21ee52015-03-20 22:18:55 -07002012
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002013 <!-- =========================================== -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002014 <!-- Permissions associated with telephony state -->
2015 <!-- =========================================== -->
2016 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07002017
Adrian Roos66f85912018-12-11 19:47:33 +01002018 <!-- Allows modification of the telephony state - power on, mmi, etc.
Scott Main93e60b52013-06-10 11:05:55 -07002019 Does not include placing calls.
2020 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002021 <permission android:name="android.permission.MODIFY_PHONE_STATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002022 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002023
Antonio Marín Cerezuelac5ac15a2013-05-27 11:36:36 +02002024 <!-- Allows read only access to precise phone state.
2025 @hide Pending API council approval -->
2026 <permission android:name="android.permission.READ_PRECISE_PHONE_STATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002027 android:protectionLevel="signature|privileged" />
Antonio Marín Cerezuelac5ac15a2013-05-27 11:36:36 +02002028
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002029 <!-- @SystemApi Allows read access to privileged phone state.
Jake Hamby463f2212011-07-21 17:55:53 -07002030 @hide Used internally. -->
2031 <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002032 android:protectionLevel="signature|privileged" />
Jake Hamby463f2212011-07-21 17:55:53 -07002033
Shuo Qiane6f0e852019-09-04 16:21:10 -07002034 <!-- @SystemApi Allows read access to emergency number information for ongoing calls or SMS
2035 sessions.
2036 @hide Used internally. -->
2037 <permission android:name="android.permission.READ_ACTIVE_EMERGENCY_SESSION"
2038 android:protectionLevel="signature" />
2039
Evan Charlton0e094d92014-11-08 15:49:16 -08002040 <!-- @SystemApi Protects the ability to register any PhoneAccount with
Santos Cordon2ef87ee2014-10-31 12:39:44 -07002041 PhoneAccount#CAPABILITY_SIM_SUBSCRIPTION. This capability indicates that the PhoneAccount
Evan Charlton0e094d92014-11-08 15:49:16 -08002042 corresponds to a device SIM.
2043 @hide -->
Santos Cordon2ef87ee2014-10-31 12:39:44 -07002044 <permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002045 android:protectionLevel="signature|privileged" />
Evan Charltoncef5a542014-10-24 15:09:00 -07002046
Evan Charlton0e094d92014-11-08 15:49:16 -08002047 <!-- @SystemApi Protects the ability to register any PhoneAccount with
2048 PhoneAccount#CAPABILITY_CALL_PROVIDER.
2049 @hide -->
Santos Cordon2ef87ee2014-10-31 12:39:44 -07002050 <permission android:name="android.permission.REGISTER_CALL_PROVIDER"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002051 android:protectionLevel="signature|privileged" />
Santos Cordon2ef87ee2014-10-31 12:39:44 -07002052
Evan Charlton0e094d92014-11-08 15:49:16 -08002053 <!-- @SystemApi Protects the ability to register any PhoneAccount with
2054 PhoneAccount#CAPABILITY_CONNECTION_MANAGER
2055 @hide -->
Evan Charltoncef5a542014-10-24 15:09:00 -07002056 <permission android:name="android.permission.REGISTER_CONNECTION_MANAGER"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002057 android:protectionLevel="signature|privileged" />
Evan Charltoncef5a542014-10-24 15:09:00 -07002058
Yorke Leee9d766a2015-04-28 16:08:25 -07002059 <!-- Must be required by a {@link android.telecom.InCallService},
Svetoslav71b6ca62015-06-25 18:19:14 -07002060 to ensure that only the system can bind to it.
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002061 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07002062 -->
Tyler Gunn2ac40102014-08-18 16:23:10 -07002063 <permission android:name="android.permission.BIND_INCALL_SERVICE"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002064 android:protectionLevel="signature|privileged" />
Santos Cordon79836382013-08-13 14:29:47 -07002065
Hall Liue4f2c0f2019-03-21 16:08:03 -07002066 <!-- Allows the app to request network scans from telephony.
2067 <p>Not for use by third-party applications.
2068 @SystemApi @hide-->
2069 <permission android:name="android.permission.NETWORK_SCAN"
2070 android:protectionLevel="signature|privileged" />
2071
Ta-wei Yen485d6de2016-12-16 12:17:30 -08002072 <!-- Must be required by a link {@link android.telephony.VisualVoicemailService} to ensure that
2073 only the system can bind to it.
2074 <p>Protection level: signature|privileged
2075 -->
2076 <permission
2077 android:name="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"
2078 android:protectionLevel="signature|privileged"/>
2079
Sailesh Nepal1bef3392016-01-24 18:21:53 -08002080 <!-- Must be required by a {@link android.telecom.CallScreeningService},
2081 to ensure that only the system can bind to it.
2082 <p>Protection level: signature|privileged
2083 -->
2084 <permission android:name="android.permission.BIND_SCREENING_SERVICE"
2085 android:protectionLevel="signature|privileged" />
2086
Hall Liuc47570d2018-12-06 17:53:25 -08002087 <!-- Must be required by a {@link android.telecom.PhoneAccountSuggestionService},
2088 to ensure that only the system can bind to it.
Hall Liuee609ff2019-02-26 17:58:53 -08002089 <p>Protection level: signature
Hall Liuc47570d2018-12-06 17:53:25 -08002090 @SystemApi
2091 @hide
2092 -->
2093 <permission android:name="android.permission.BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE"
Hall Liuee609ff2019-02-26 17:58:53 -08002094 android:protectionLevel="signature" />
Hall Liuc47570d2018-12-06 17:53:25 -08002095
sqian49c39fe2018-07-26 11:35:58 -07002096 <!-- Must be required by a {@link android.telecom.CallRedirectionService},
2097 to ensure that only the system can bind to it.
2098 <p>Protection level: signature|privileged
2099 -->
2100 <permission android:name="android.permission.BIND_CALL_REDIRECTION_SERVICE"
2101 android:protectionLevel="signature|privileged" />
2102
Yorke Leee9d766a2015-04-28 16:08:25 -07002103 <!-- Must be required by a {@link android.telecom.ConnectionService},
Yorke Lee249c12e2015-05-13 15:59:29 -07002104 to ensure that only the system can bind to it.
2105 @deprecated {@link android.telecom.ConnectionService}s should require
2106 android.permission.BIND_TELECOM_CONNECTION_SERVICE instead.
2107 @SystemApi
2108 @hide -->
Tyler Gunn0dae9a42014-08-15 15:55:20 -07002109 <permission android:name="android.permission.BIND_CONNECTION_SERVICE"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002110 android:protectionLevel="signature|privileged" />
Tyler Gunn0dae9a42014-08-15 15:55:20 -07002111
Yorke Lee249c12e2015-05-13 15:59:29 -07002112 <!-- Must be required by a {@link android.telecom.ConnectionService},
Svetoslav71b6ca62015-06-25 18:19:14 -07002113 to ensure that only the system can bind to it.
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002114 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07002115 -->
Yorke Lee249c12e2015-05-13 15:59:29 -07002116 <permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002117 android:protectionLevel="signature|privileged" />
Yorke Lee249c12e2015-05-13 15:59:29 -07002118
Tyler Gunn2ac40102014-08-18 16:23:10 -07002119 <!-- @SystemApi Allows an application to control the in-call experience.
2120 @hide -->
2121 <permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002122 android:protectionLevel="signature|privileged" />
Tyler Gunn2ac40102014-08-18 16:23:10 -07002123
Amit Mahajan59acd142015-06-10 17:02:39 -07002124 <!-- Allows an application to receive STK related commands.
2125 @hide -->
2126 <permission android:name="android.permission.RECEIVE_STK_COMMANDS"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002127 android:protectionLevel="signature|privileged" />
Amit Mahajan59acd142015-06-10 17:02:39 -07002128
Hall Liu14f52d92017-08-09 16:16:44 -07002129 <!-- Allows an application to send EMBMS download intents to apps
2130 @hide -->
Hall Liu55f557d2017-06-29 18:37:11 -07002131 <permission android:name="android.permission.SEND_EMBMS_INTENTS"
2132 android:protectionLevel="signature|privileged" />
2133
Svet Ganov8bd13952018-01-15 21:32:00 -08002134
2135 <!-- Allows internal management of the sensor framework
2136 @hide -->
2137 <permission android:name="android.permission.MANAGE_SENSORS"
2138 android:protectionLevel="signature" />
2139
Brad Ebinger024aaf22017-01-23 15:17:50 -08002140 <!-- Must be required by an ImsService to ensure that only the
2141 system can bind to it.
Jack Yu30295ad2018-01-31 16:40:33 -08002142 <p>Protection level: signature|privileged|vendorPrivileged
Brad Ebinger024aaf22017-01-23 15:17:50 -08002143 @SystemApi
2144 @hide
2145 -->
2146 <permission android:name="android.permission.BIND_IMS_SERVICE"
Jiyong Parkef262862017-11-20 22:58:34 +09002147 android:protectionLevel="signature|privileged|vendorPrivileged" />
Brad Ebinger024aaf22017-01-23 15:17:50 -08002148
Jack Yu568b81a2018-02-02 10:40:11 -08002149 <!-- Must be required by a telephony data service to ensure that only the
Jack Yu30295ad2018-01-31 16:40:33 -08002150 system can bind to it.
Chen Xuda02e072019-10-07 00:24:41 -07002151 <p>Protection level: signature|telephony
Jack Yu30295ad2018-01-31 16:40:33 -08002152 @SystemApi
2153 @hide
2154 -->
Jack Yu568b81a2018-02-02 10:40:11 -08002155 <permission android:name="android.permission.BIND_TELEPHONY_DATA_SERVICE"
Chen Xuda02e072019-10-07 00:24:41 -07002156 android:protectionLevel="signature|telephony" />
Jack Yu30295ad2018-01-31 16:40:33 -08002157
Malcolm Chenec102212018-01-29 15:10:46 -08002158 <!-- Must be required by a NetworkService to ensure that only the
2159 system can bind to it.
2160 <p>Protection level: signature
2161 @SystemApi
2162 @hide
2163 -->
2164 <permission android:name="android.permission.BIND_TELEPHONY_NETWORK_SERVICE"
2165 android:protectionLevel="signature" />
2166
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -08002167 <!-- @SystemApi Allows an application to manage embedded subscriptions (those on a eUICC)
2168 through EuiccManager APIs.
Jeff Davidson35cda392017-02-27 09:46:00 -08002169 <p>Protection level: signature|privileged|development
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -08002170 @hide
2171 -->
2172 <permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"
Jeff Davidson35cda392017-02-27 09:46:00 -08002173 android:protectionLevel="signature|privileged|development" />
2174
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -08002175 <!-- @SystemApi Must be required by an EuiccService to ensure that only the system can bind to
2176 it.
Chen Xuda02e072019-10-07 00:24:41 -07002177 <p>Protection level: signature|telephony
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -08002178 @hide
2179 -->
2180 <permission android:name="android.permission.BIND_EUICC_SERVICE"
Chen Xuda02e072019-10-07 00:24:41 -07002181 android:protectionLevel="signature|telephony" />
Jeff Davidson35cda392017-02-27 09:46:00 -08002182
San Mehat29b57e62009-04-23 09:18:32 -07002183 <!-- ================================== -->
2184 <!-- Permissions for sdcard interaction -->
2185 <!-- ================================== -->
2186 <eat-comment />
2187
Jeff Sharkey87a56162019-01-24 17:17:44 -07002188 <!-- @SystemApi @TestApi Allows an application to write to internal media storage
Mike Lockwood1e23db42011-04-22 07:05:21 -07002189 @hide -->
2190 <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002191 android:protectionLevel="signature|privileged" />
Mike Lockwood1e23db42011-04-22 07:05:21 -07002192
Jeff Sharkey9ecfee02013-04-19 14:05:03 -07002193 <!-- Allows an application to manage access to documents, usually as part
Svetoslav71b6ca62015-06-25 18:19:14 -07002194 of a document picker.
Jeff Sharkey87314082016-03-11 17:25:11 -07002195 <p>This permission should <em>only</em> be requested by the platform
2196 document management app. This permission cannot be granted to
2197 third-party apps.
Svetoslav71b6ca62015-06-25 18:19:14 -07002198 -->
Jeff Sharkey9ecfee02013-04-19 14:05:03 -07002199 <permission android:name="android.permission.MANAGE_DOCUMENTS"
Jeff Sharkey15707b32018-12-10 12:08:41 -07002200 android:protectionLevel="signature|documenter" />
Jeff Sharkey9ecfee02013-04-19 14:05:03 -07002201
Jeff Sharkey87314082016-03-11 17:25:11 -07002202 <!-- @hide Allows an application to cache content.
2203 <p>Not for use by third-party applications.
Jeff Sharkey87314082016-03-11 17:25:11 -07002204 -->
2205 <permission android:name="android.permission.CACHE_CONTENT"
Jeff Sharkeyaa3bd782018-12-12 09:28:28 -07002206 android:protectionLevel="signature|documenter" />
Jeff Sharkey87314082016-03-11 17:25:11 -07002207
Jeff Sharkeya4d34d92017-04-27 11:21:41 -06002208 <!-- @SystemApi @hide
2209 Allows an application to aggressively allocate disk space.
Jeff Sharkey500ce9e2017-02-12 02:39:24 -07002210 <p>Not for use by third-party applications.
2211 -->
2212 <permission android:name="android.permission.ALLOCATE_AGGRESSIVE"
2213 android:protectionLevel="signature|privileged" />
2214
Jeff Sharkey4a539442018-01-05 17:09:52 -07002215 <!-- @SystemApi @hide
2216 Allows an application to use reserved disk space.
2217 <p>Not for use by third-party applications. Should only be requested by
2218 apps that provide core system functionality, to ensure system stability
2219 when disk is otherwise completely full.
2220 -->
2221 <permission android:name="android.permission.USE_RESERVED_DISK"
2222 android:protectionLevel="signature|privileged" />
2223
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002224 <!-- ================================== -->
2225 <!-- Permissions for screenlock -->
2226 <!-- ================================== -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002227 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07002228
Svetoslav71b6ca62015-06-25 18:19:14 -07002229 <!-- Allows applications to disable the keyguard if it is not secure.
2230 <p>Protection level: normal
2231 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002232 <permission android:name="android.permission.DISABLE_KEYGUARD"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002233 android:description="@string/permdesc_disableKeyguard"
Svetoslav61a4dd52015-04-09 10:17:40 -07002234 android:label="@string/permlab_disableKeyguard"
Svet Ganovb4673302015-05-12 20:50:14 -07002235 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002236
Bernard Chau09121902019-02-08 15:48:35 +00002237 <!-- Allows an application to request the screen lock complexity and prompt users to update the
Bernard Chau58053152018-11-26 10:56:18 +00002238 screen lock to a certain complexity level.
2239 <p>Protection level: normal
2240 -->
bernardchau7ac9a712019-03-11 16:37:44 +00002241 <permission android:name="android.permission.REQUEST_PASSWORD_COMPLEXITY"
2242 android:label="@string/permlab_requestPasswordComplexity"
2243 android:description="@string/permdesc_requestPasswordComplexity"
Bernard Chau58053152018-11-26 10:56:18 +00002244 android:protectionLevel="normal" />
2245
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002246 <!-- ================================== -->
2247 <!-- Permissions to access other installed applications -->
2248 <!-- ================================== -->
2249 <eat-comment />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002250
Dianne Hackborn2d7576b2014-10-03 16:26:04 -07002251 <!-- @deprecated No longer enforced. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002252 <permission android:name="android.permission.GET_TASKS"
Dianne Hackborn2d7576b2014-10-03 16:26:04 -07002253 android:label="@string/permlab_getTasks"
Svetoslav61a4dd52015-04-09 10:17:40 -07002254 android:description="@string/permdesc_getTasks"
2255 android:protectionLevel="normal" />
Dianne Hackborn2d7576b2014-10-03 16:26:04 -07002256
2257 <!-- New version of GET_TASKS that apps can request, since GET_TASKS doesn't really
2258 give access to task information. We need this new one because there are
2259 many existing apps that use add libraries and such that have validation
2260 code to ensure the app has requested the GET_TASKS permission by seeing
2261 if it has been granted the permission... if it hasn't, it kills the app
2262 with a message about being upset. So we need to have it continue to look
2263 like the app is getting that permission, even though it will never be
2264 checked, and new privileged apps can now request this one for real access.
2265 @hide
2266 @SystemApi -->
2267 <permission android:name="android.permission.REAL_GET_TASKS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002268 android:protectionLevel="signature|privileged" />
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002269
Craig Mautnerdc00cbe2014-07-20 17:48:47 -07002270 <!-- Allows an application to start a task from a ActivityManager#RecentTaskInfo.
2271 @hide -->
2272 <permission android:name="android.permission.START_TASKS_FROM_RECENTS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002273 android:protectionLevel="signature|privileged" />
Craig Mautnerdc00cbe2014-07-20 17:48:47 -07002274
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002275 <!-- @SystemApi @hide Allows an application to call APIs that allow it to do interactions
Dianne Hackbornb4163a62012-08-02 18:31:26 -07002276 across the users on the device, using singleton services and
2277 user-targeted broadcasts. This permission is not available to
2278 third party applications. -->
2279 <permission android:name="android.permission.INTERACT_ACROSS_USERS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002280 android:protectionLevel="signature|privileged|development" />
Dianne Hackbornb4163a62012-08-02 18:31:26 -07002281
Svet Ganovae0e03a2016-02-25 18:22:10 -08002282 <!-- @SystemApi Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
Dianne Hackbornb4163a62012-08-02 18:31:26 -07002283 that removes restrictions on where broadcasts can be sent and allows other
Svet Ganovae0e03a2016-02-25 18:22:10 -08002284 types of interactions
2285 @hide -->
Dianne Hackbornb4163a62012-08-02 18:31:26 -07002286 <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
Svetoslav3e7d9772015-07-06 18:31:23 -07002287 android:protectionLevel="signature|installer" />
Dianne Hackbornb4163a62012-08-02 18:31:26 -07002288
Varun Shahbdb849f2019-01-16 12:06:18 -08002289 <!-- @SystemApi Allows an application to start its own activities, but on a different profile
2290 associated with the user. For example, an application running on the main profile of a user
2291 can start an activity on a managed profile of that user.
Varun Shahacad1382018-11-28 11:56:08 -08002292 This permission is not available to third party applications.
2293 @hide -->
2294 <permission android:name="android.permission.INTERACT_ACROSS_PROFILES"
2295 android:protectionLevel="signature|privileged" />
2296
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002297 <!-- @SystemApi @hide Allows an application to call APIs that allow it to query and manage
Amith Yamasani2a003292012-08-14 18:25:45 -07002298 users on the device. This permission is not available to
2299 third party applications. -->
2300 <permission android:name="android.permission.MANAGE_USERS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002301 android:protectionLevel="signature|privileged" />
Russell Brenner108da0c2013-02-12 10:03:14 -08002302
Sudheer Shankaf5cea032016-06-08 17:13:24 -07002303 <!-- @hide Allows an application to create, remove users and get the list of
2304 users on the device. Applications holding this permission can only create restricted,
Sudheer Shanka234d1af2016-08-26 15:42:53 -07002305 guest, managed, demo, and ephemeral users. For creating other kind of users,
Sudheer Shankaf5cea032016-06-08 17:13:24 -07002306 {@link android.Manifest.permission#MANAGE_USERS} is needed.
2307 This permission is not available to third party applications. -->
2308 <permission android:name="android.permission.CREATE_USERS"
2309 android:protectionLevel="signature" />
2310
Nicolas Prevot28063742015-01-08 15:37:12 +00002311 <!-- @hide Allows an application to set the profile owners and the device owner.
2312 This permission is not available to third party applications.-->
2313 <permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS"
Nicolas Prevot28063742015-01-08 15:37:12 +00002314 android:protectionLevel="signature"
2315 android:label="@string/permlab_manageProfileAndDeviceOwners"
2316 android:description="@string/permdesc_manageProfileAndDeviceOwners" />
2317
Dianne Hackborn8238e712012-04-24 11:15:40 -07002318 <!-- Allows an application to get full detailed information about
2319 recently running tasks, with full fidelity to the real state.
2320 @hide -->
2321 <permission android:name="android.permission.GET_DETAILED_TASKS"
Svetoslav61a4dd52015-04-09 10:17:40 -07002322 android:protectionLevel="signature" />
Dianne Hackborn8238e712012-04-24 11:15:40 -07002323
Svetoslav71b6ca62015-06-25 18:19:14 -07002324 <!-- Allows an application to change the Z-order of tasks.
2325 <p>Protection level: normal
2326 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002327 <permission android:name="android.permission.REORDER_TASKS"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002328 android:label="@string/permlab_reorderTasks"
Svetoslav61a4dd52015-04-09 10:17:40 -07002329 android:description="@string/permdesc_reorderTasks"
2330 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002331
Jeff Sharkey15707b32018-12-10 12:08:41 -07002332 <!-- @SystemApi @TestApi @hide Allows an application to change to remove/kill tasks -->
Dianne Hackborn0c5001d2011-04-12 18:16:08 -07002333 <permission android:name="android.permission.REMOVE_TASKS"
Jeff Sharkey15707b32018-12-10 12:08:41 -07002334 android:protectionLevel="signature|documenter" />
Dianne Hackborn0c5001d2011-04-12 18:16:08 -07002335
Jeff Sharkey23bc81d2018-03-27 14:25:55 -06002336 <!-- @SystemApi @TestApi @hide Allows an application to create/manage/remove stacks -->
Dianne Hackborn053f61d2013-06-26 18:07:43 -07002337 <permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"
sanryhuang722f0d32018-12-18 17:06:03 +08002338 android:protectionLevel="signature" />
Dianne Hackborn053f61d2013-06-26 18:07:43 -07002339
Jeff Sharkey23bc81d2018-03-27 14:25:55 -06002340 <!-- @SystemApi @TestApi @hide Allows an application to embed other activities -->
Andrii Kulian71587642017-07-06 14:28:59 -07002341 <permission android:name="android.permission.ACTIVITY_EMBEDDING"
lumark793e0562018-07-09 22:14:33 +08002342 android:protectionLevel="signature|privileged" />
Andrii Kulian71587642017-07-06 14:28:59 -07002343
Jeff Sharkey35be7562012-04-18 19:16:15 -07002344 <!-- Allows an application to start any activity, regardless of permission
Svetoslav61a4dd52015-04-09 10:17:40 -07002345 protection or exported state.
2346 @hide -->
Jeff Sharkey35be7562012-04-18 19:16:15 -07002347 <permission android:name="android.permission.START_ANY_ACTIVITY"
Svetoslav61a4dd52015-04-09 10:17:40 -07002348 android:protectionLevel="signature" />
Jeff Sharkey35be7562012-04-18 19:16:15 -07002349
Michal Karpinski7b97a022018-12-14 15:17:29 +00002350 <!-- Allows an application to start activities from background
2351 @hide -->
2352 <permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"
Michal Karpinskia3f40a22019-02-08 13:43:32 +00002353 android:protectionLevel="signature|privileged|vendorPrivileged|oem|verifier" />
Michal Karpinski7b97a022018-12-14 15:17:29 +00002354
Suprabh Shukla3c3af142018-03-30 00:28:37 -07002355 <!-- @SystemApi Must be required by activities that handle the intent action
2356 {@link Intent#ACTION_SEND_SHOW_SUSPENDED_APP_DETAILS}. This is for use by apps that
2357 hold {@link Manifest.permission#SUSPEND_APPS} to interact with the system.
2358 <p>Not for use by third-party applications.
2359 @hide -->
2360 <permission android:name="android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS"
2361 android:protectionLevel="signature" />
2362 <uses-permission android:name="android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS" />
2363
Alison Cichowlas3e340502018-08-07 17:15:01 -04002364 <!-- Allows an application to start an activity as another app, provided that app has been
2365 granted a permissionToken from the ActivityManagerService.
2366 @hide -->
2367 <permission android:name="android.permission.START_ACTIVITY_AS_CALLER"
2368 android:protectionLevel="signature" />
2369
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002370 <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
2371 API is no longer supported. -->
2372 <permission android:name="android.permission.RESTART_PACKAGES"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002373 android:label="@string/permlab_killBackgroundProcesses"
Svetoslav61a4dd52015-04-09 10:17:40 -07002374 android:description="@string/permdesc_killBackgroundProcesses"
2375 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002376
2377 <!-- Allows an application to call
Svetoslav71b6ca62015-06-25 18:19:14 -07002378 {@link android.app.ActivityManager#killBackgroundProcesses}.
2379 <p>Protection level: normal
2380 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002381 <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002382 android:label="@string/permlab_killBackgroundProcesses"
Svetoslav61a4dd52015-04-09 10:17:40 -07002383 android:description="@string/permdesc_killBackgroundProcesses"
2384 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002385
Chong Zhang8e4f4b32015-12-02 12:18:52 -08002386 <!-- @SystemApi @hide Allows an application to query process states and current
2387 OOM adjustment scores.
2388 <p>Not for use by third-party applications. -->
2389 <permission android:name="android.permission.GET_PROCESS_STATE_AND_OOM_SCORE"
2390 android:protectionLevel="signature|privileged|development" />
2391
Dianne Hackborne5ad41b2016-02-29 18:02:43 -08002392 <!-- Allows use of PendingIntent.getIntent().
2393 @hide -->
2394 <permission android:name="android.permission.GET_INTENT_SENDER_INTENT"
2395 android:protectionLevel="signature" />
2396
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002397 <!-- ================================== -->
2398 <!-- Permissions affecting the display of other applications -->
2399 <!-- ================================== -->
2400 <eat-comment />
2401
Trevor Johns682c24e2016-04-12 10:13:47 -07002402 <!-- Allows an app to create windows using the type
Wale Ogunwale791a8872017-02-22 10:39:29 -08002403 {@link android.view.WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY},
Trevor Johns682c24e2016-04-12 10:13:47 -07002404 shown on top of all other apps. Very few apps
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002405 should use this permission; these windows are intended for
Trevor Johns682c24e2016-04-12 10:13:47 -07002406 system-level interaction with the user.
2407
2408 <p class="note"><strong>Note:</strong> If the app
2409 targets API level 23 or higher, the app user must explicitly grant
2410 this permission to the app through a permission management screen. The app requests
2411 the user's approval by sending an intent with action
2412 {@link android.provider.Settings#ACTION_MANAGE_OVERLAY_PERMISSION}.
2413 The app can check whether it has this authorization by calling
2414 {@link android.provider.Settings#canDrawOverlays
2415 Settings.canDrawOverlays()}.
Nate Myren59627e12019-05-24 10:26:37 -07002416 <p>Protection level: signature|preinstalled|appop|pre23|development -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002417 <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002418 android:label="@string/permlab_systemAlertWindow"
Svetoslav61a4dd52015-04-09 10:17:40 -07002419 android:description="@string/permdesc_systemAlertWindow"
Svetoslav01af6a42015-10-27 15:22:39 -07002420 android:protectionLevel="signature|preinstalled|appop|pre23|development" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002421
Eugene Susla06642212017-04-27 17:09:23 -07002422 <!-- @deprecated Use {@link android.Manifest.permission#REQUEST_COMPANION_RUN_IN_BACKGROUND}
2423 @hide
Svet Ganovda0acdf2017-02-15 10:28:51 -08002424 -->
2425 <permission android:name="android.permission.RUN_IN_BACKGROUND"
2426 android:label="@string/permlab_runInBackground"
2427 android:description="@string/permdesc_runInBackground"
2428 android:protectionLevel="signature" />
2429
Eugene Susla06642212017-04-27 17:09:23 -07002430 <!-- @deprecated Use
2431 {@link android.Manifest.permission#REQUEST_COMPANION_USE_DATA_IN_BACKGROUND}
2432 @hide
Svet Ganovda0acdf2017-02-15 10:28:51 -08002433 -->
2434 <permission android:name="android.permission.USE_DATA_IN_BACKGROUND"
2435 android:label="@string/permlab_useDataInBackground"
2436 android:description="@string/permdesc_useDataInBackground"
2437 android:protectionLevel="signature" />
2438
Julius D'souza069f46c2017-03-22 13:27:00 -07002439 <!-- @hide Allows an application to set display offsets for the screen.
2440 This permission is not available to third party applications. -->
2441 <permission android:name="android.permission.SET_DISPLAY_OFFSET"
Julius D'souza8e9ea902017-04-11 23:41:27 -07002442 android:protectionLevel="signature|privileged" />
Julius D'souza069f46c2017-03-22 13:27:00 -07002443
Eugene Susla06642212017-04-27 17:09:23 -07002444 <!-- Allows a companion app to run in the background.
Eugene Suslafa09f7a2017-05-01 14:25:52 -07002445 <p>Protection level: normal
Eugene Susla06642212017-04-27 17:09:23 -07002446 -->
2447 <permission android:name="android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND"
2448 android:label="@string/permlab_runInBackground"
2449 android:description="@string/permdesc_runInBackground"
Eugene Suslafa09f7a2017-05-01 14:25:52 -07002450 android:protectionLevel="normal" />
Eugene Susla06642212017-04-27 17:09:23 -07002451
2452 <!-- Allows a companion app to use data in the background.
Eugene Suslafa09f7a2017-05-01 14:25:52 -07002453 <p>Protection level: normal
Eugene Susla06642212017-04-27 17:09:23 -07002454 -->
2455 <permission android:name="android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND"
2456 android:label="@string/permlab_useDataInBackground"
2457 android:description="@string/permdesc_useDataInBackground"
Eugene Suslafa09f7a2017-05-01 14:25:52 -07002458 android:protectionLevel="normal" />
Eugene Susla06642212017-04-27 17:09:23 -07002459
2460
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002461 <!-- ================================== -->
2462 <!-- Permissions affecting the system wallpaper -->
2463 <!-- ================================== -->
2464 <eat-comment />
2465
Svetoslav71b6ca62015-06-25 18:19:14 -07002466 <!-- Allows applications to set the wallpaper.
2467 <p>Protection level: normal
2468 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002469 <permission android:name="android.permission.SET_WALLPAPER"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002470 android:label="@string/permlab_setWallpaper"
Svetoslav61a4dd52015-04-09 10:17:40 -07002471 android:description="@string/permdesc_setWallpaper"
2472 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002473
Svetoslav71b6ca62015-06-25 18:19:14 -07002474 <!-- Allows applications to set the wallpaper hints.
2475 <p>Protection level: normal
2476 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002477 <permission android:name="android.permission.SET_WALLPAPER_HINTS"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002478 android:label="@string/permlab_setWallpaperHints"
Svetoslav61a4dd52015-04-09 10:17:40 -07002479 android:description="@string/permdesc_setWallpaperHints"
2480 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002481
Christopher Tate8a71c482017-08-14 16:45:03 -07002482 <!-- Allow the app to read the system wallpaper image without
2483 holding the READ_EXTERNAL_STORAGE permission.
2484 <p>Not for use by third-party applications.
2485 @hide
2486 @SystemApi
2487 -->
2488 <permission android:name="android.permission.READ_WALLPAPER_INTERNAL"
2489 android:protectionLevel="signature|privileged" />
2490
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002491 <!-- ============================================ -->
2492 <!-- Permissions for changing the system clock -->
2493 <!-- ============================================ -->
2494 <eat-comment />
2495
Adrian Roos66f85912018-12-11 19:47:33 +01002496 <!-- Allows applications to set the system time.
Scott Main93e60b52013-06-10 11:05:55 -07002497 <p>Not for use by third-party applications. -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002498 <permission android:name="android.permission.SET_TIME"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002499 android:protectionLevel="signature|privileged" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002500
Svetoslav71b6ca62015-06-25 18:19:14 -07002501 <!-- Allows applications to set the system time zone.
Christopher Tatea49078e2016-10-26 18:06:42 -07002502 <p>Not for use by third-party applications.
Svetoslav71b6ca62015-06-25 18:19:14 -07002503 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002504 <permission android:name="android.permission.SET_TIME_ZONE"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002505 android:label="@string/permlab_setTimeZone"
Svetoslav61a4dd52015-04-09 10:17:40 -07002506 android:description="@string/permdesc_setTimeZone"
Christopher Tatea49078e2016-10-26 18:06:42 -07002507 android:protectionLevel="signature|privileged" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002508
2509 <!-- ==================================================== -->
2510 <!-- Permissions related to changing status bar -->
2511 <!-- ==================================================== -->
Dirk Doughertyf6878b02013-04-18 16:38:01 -07002512 <eat-comment />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002513
Svetoslav71b6ca62015-06-25 18:19:14 -07002514 <!-- Allows an application to expand or collapse the status bar.
2515 <p>Protection level: normal
2516 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002517 <permission android:name="android.permission.EXPAND_STATUS_BAR"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002518 android:label="@string/permlab_expandStatusBar"
Svetoslav61a4dd52015-04-09 10:17:40 -07002519 android:description="@string/permdesc_expandStatusBar"
2520 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002521
Winson Chung45167982013-09-25 15:17:40 -07002522 <!-- ============================================================== -->
2523 <!-- Permissions related to adding/removing shortcuts from Launcher -->
2524 <!-- ============================================================== -->
2525 <eat-comment />
2526
Svetoslav71b6ca62015-06-25 18:19:14 -07002527 <!-- Allows an application to install a shortcut in Launcher.
Kevin Hufnaglef5b210a2017-03-20 21:39:04 -07002528 <p>In Android O (API level 26) and higher, the <code>INSTALL_SHORTCUT</code> broadcast no
2529 longer has any effect on your app because it's a private, implicit
2530 broadcast. Instead, you should create an app shortcut by using the
2531 {@link android.content.pm.ShortcutManager#requestPinShortcut requestPinShortcut()}
2532 method from the {@link android.content.pm.ShortcutManager} class.
Svetoslav71b6ca62015-06-25 18:19:14 -07002533 <p>Protection level: normal
2534 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07002535 <permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
Winson Chung45167982013-09-25 15:17:40 -07002536 android:label="@string/permlab_install_shortcut"
Svetoslav61a4dd52015-04-09 10:17:40 -07002537 android:description="@string/permdesc_install_shortcut"
Hyunyoung Song8a1533e2015-06-19 15:27:42 -07002538 android:protectionLevel="normal"/>
Winson Chung45167982013-09-25 15:17:40 -07002539
Kevin Hufnagle789879a2018-02-02 11:07:15 -08002540 <!-- <p class="caution"><strong>Don't use this permission in your app.</strong><br>This
2541 permission is no longer supported.
Svetoslav71b6ca62015-06-25 18:19:14 -07002542 -->
Svetoslav61a4dd52015-04-09 10:17:40 -07002543 <permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
Winson Chung45167982013-09-25 15:17:40 -07002544 android:label="@string/permlab_uninstall_shortcut"
Svetoslav61a4dd52015-04-09 10:17:40 -07002545 android:description="@string/permdesc_uninstall_shortcut"
Hyunyoung Song8a1533e2015-06-19 15:27:42 -07002546 android:protectionLevel="normal"/>
Winson Chung45167982013-09-25 15:17:40 -07002547
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002548 <!-- ==================================================== -->
2549 <!-- Permissions related to accessing sync settings -->
2550 <!-- ==================================================== -->
Dirk Doughertyf6878b02013-04-18 16:38:01 -07002551 <eat-comment />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002552
Svetoslav71b6ca62015-06-25 18:19:14 -07002553 <!-- Allows applications to read the sync settings.
2554 <p>Protection level: normal
2555 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002556 <permission android:name="android.permission.READ_SYNC_SETTINGS"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002557 android:description="@string/permdesc_readSyncSettings"
Svetoslav61a4dd52015-04-09 10:17:40 -07002558 android:label="@string/permlab_readSyncSettings"
2559 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002560
Svetoslav71b6ca62015-06-25 18:19:14 -07002561 <!-- Allows applications to write the sync settings.
2562 <p>Protection level: normal
2563 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002564 <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002565 android:description="@string/permdesc_writeSyncSettings"
Svetoslav61a4dd52015-04-09 10:17:40 -07002566 android:label="@string/permlab_writeSyncSettings"
2567 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002568
Svetoslav71b6ca62015-06-25 18:19:14 -07002569 <!-- Allows applications to read the sync stats.
2570 <p>Protection level: normal
2571 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002572 <permission android:name="android.permission.READ_SYNC_STATS"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002573 android:description="@string/permdesc_readSyncStats"
Svetoslav61a4dd52015-04-09 10:17:40 -07002574 android:label="@string/permlab_readSyncStats"
2575 android:protectionLevel="normal" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002576
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002577 <!-- ============================================ -->
2578 <!-- Permissions for low-level system interaction -->
2579 <!-- ============================================ -->
2580 <eat-comment />
2581
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002582 <!-- @SystemApi @hide Change the screen compatibility mode of applications -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002583 <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
Svetoslav61a4dd52015-04-09 10:17:40 -07002584 android:protectionLevel="signature" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002585
Adrian Roos66f85912018-12-11 19:47:33 +01002586 <!-- Allows an application to modify the current configuration, such
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07002587 as locale.
2588 <p>Protection level: signature|privileged|development -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002589 <permission android:name="android.permission.CHANGE_CONFIGURATION"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002590 android:protectionLevel="signature|privileged|development" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002591
Svet Ganov39c8a082015-07-21 11:52:21 -07002592 <!-- Allows an application to read or write the system settings.
Trevor Johns682c24e2016-04-12 10:13:47 -07002593
2594 <p class="note"><strong>Note:</strong> If the app targets API level 23
2595 or higher, the app user
2596 must explicitly grant this permission to the app through a permission management screen.
2597 The app requests the user's approval by sending an intent with action
2598 {@link android.provider.Settings#ACTION_MANAGE_WRITE_SETTINGS}. The app
2599 can check whether it has this authorization by calling {@link
2600 android.provider.Settings.System#canWrite Settings.System.canWrite()}.
2601
Nate Myren59627e12019-05-24 10:26:37 -07002602 <p>Protection level: signature|preinstalled|appop|pre23
Svet Ganov39c8a082015-07-21 11:52:21 -07002603 -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002604 <permission android:name="android.permission.WRITE_SETTINGS"
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002605 android:label="@string/permlab_writeSettings"
Svetoslav61a4dd52015-04-09 10:17:40 -07002606 android:description="@string/permdesc_writeSettings"
Billy Lau22b3f4c2015-07-08 00:31:01 +01002607 android:protectionLevel="signature|preinstalled|appop|pre23" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002608
Adrian Roos66f85912018-12-11 19:47:33 +01002609 <!-- Allows an application to modify the Google service map.
Scott Main93e60b52013-06-10 11:05:55 -07002610 <p>Not for use by third-party applications. -->
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002611 <permission android:name="android.permission.WRITE_GSERVICES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002612 android:protectionLevel="signature|privileged" />
Dianne Hackborncd403fc2012-09-13 00:24:38 -07002613
Richard Uhler8a977452019-03-08 13:27:17 +00002614 <!-- @SystemApi @TestApi @hide Allows an application to modify config settings.
Stanislav Zholnin596437f2018-12-28 15:34:23 +00002615 <p>Not for use by third-party applications. -->
2616 <permission android:name="android.permission.WRITE_DEVICE_CONFIG"
Stanislav Zholnin046519c2019-06-20 22:59:49 +01002617 android:protectionLevel="signature|verifier|configurator"/>
Stanislav Zholnin596437f2018-12-28 15:34:23 +00002618
2619 <!-- @SystemApi @hide Allows an application to read config settings.
2620 <p>Not for use by third-party applications. -->
2621 <permission android:name="android.permission.READ_DEVICE_CONFIG"
2622 android:protectionLevel="signature|preinstalled" />
2623
lumark793e0562018-07-09 22:14:33 +08002624 <!-- @SystemApi @TestApi Allows an application to call
Dianne Hackborn03abb812010-01-04 18:43:19 -08002625 {@link android.app.ActivityManager#forceStopPackage}.
2626 @hide -->
2627 <permission android:name="android.permission.FORCE_STOP_PACKAGES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002628 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002629
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002630 <!-- @SystemApi @hide Allows an application to retrieve the content of the active window
Svetoslav Ganov8643aa02011-04-20 12:12:33 -07002631 An active window is the window that has fired an accessibility event. -->
2632 <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002633 android:protectionLevel="signature|privileged" />
Svetoslav Ganov8643aa02011-04-20 12:12:33 -07002634
Adrian Roos66f85912018-12-11 19:47:33 +01002635 <!-- Modify the global animation scaling factor.
Scott Main93e60b52013-06-10 11:05:55 -07002636 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002637 <permission android:name="android.permission.SET_ANIMATION_SCALE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002638 android:protectionLevel="signature|privileged|development" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002639
Dianne Hackbornd3efa392010-09-01 17:34:12 -07002640 <!-- @deprecated This functionality will be removed in the future; please do
Adrian Ludwigdc410cb2012-04-13 13:51:48 -07002641 not use. Allow an application to make its activities persistent. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002642 <permission android:name="android.permission.PERSISTENT_ACTIVITY"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002643 android:label="@string/permlab_persistentActivity"
Svetoslav61a4dd52015-04-09 10:17:40 -07002644 android:description="@string/permdesc_persistentActivity"
2645 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002646
Svetoslav71b6ca62015-06-25 18:19:14 -07002647 <!-- Allows an application to find out the space used by any package.
2648 <p>Protection level: normal
2649 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002650 <permission android:name="android.permission.GET_PACKAGE_SIZE"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002651 android:label="@string/permlab_getPackageSize"
Svetoslav61a4dd52015-04-09 10:17:40 -07002652 android:description="@string/permdesc_getPackageSize"
2653 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002654
Dianne Hackborna7ca0e52009-12-01 14:31:55 -08002655 <!-- @deprecated No longer useful, see
2656 {@link android.content.pm.PackageManager#addPackageToPreferred}
2657 for details. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002658 <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
Hai Zhangb295ac42018-11-16 16:08:18 -08002659 android:protectionLevel="signature|installer|verifier" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002660
2661 <!-- Allows an application to receive the
2662 {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
2663 broadcast after the system finishes booting. If you don't
2664 request this permission, you will not receive the broadcast at
2665 that time. Though holding this permission does not have any
2666 security implications, it can have a negative impact on the
2667 user experience by increasing the amount of time it takes the
2668 system to start and allowing applications to have themselves
2669 running without the user being aware of them. As such, you must
2670 explicitly declare your use of this facility to make that visible
Svetoslav71b6ca62015-06-25 18:19:14 -07002671 to the user.
2672 <p>Protection level: normal
2673 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002674 <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002675 android:label="@string/permlab_receiveBootCompleted"
Svetoslav61a4dd52015-04-09 10:17:40 -07002676 android:description="@string/permdesc_receiveBootCompleted"
2677 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002678
2679 <!-- Allows an application to broadcast sticky intents. These are
2680 broadcasts whose data is held by the system after being finished,
2681 so that clients can quickly retrieve that data without having
Svetoslav71b6ca62015-06-25 18:19:14 -07002682 to wait for the next broadcast.
2683 <p>Protection level: normal
2684 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002685 <permission android:name="android.permission.BROADCAST_STICKY"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002686 android:label="@string/permlab_broadcastSticky"
Svetoslav61a4dd52015-04-09 10:17:40 -07002687 android:description="@string/permdesc_broadcastSticky"
2688 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002689
Adrian Roos66f85912018-12-11 19:47:33 +01002690 <!-- Allows mounting and unmounting file systems for removable storage.
Scott Main93e60b52013-06-10 11:05:55 -07002691 <p>Not for use by third-party applications.-->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002692 <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002693 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002694
Adrian Roos66f85912018-12-11 19:47:33 +01002695 <!-- Allows formatting file systems for removable storage.
Scott Main93e60b52013-06-10 11:05:55 -07002696 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002697 <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03002698 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002699
Jeff Sharkeyf9fc6d62015-11-08 16:46:05 -08002700 <!-- @hide -->
2701 <permission android:name="android.permission.STORAGE_INTERNAL"
2702 android:protectionLevel="signature" />
2703
San Mehat02735bc2010-01-26 15:18:08 -08002704 <!-- Allows access to ASEC non-destructive API calls
2705 @hide -->
2706 <permission android:name="android.permission.ASEC_ACCESS"
Svetoslav61a4dd52015-04-09 10:17:40 -07002707 android:protectionLevel="signature" />
San Mehat02735bc2010-01-26 15:18:08 -08002708
2709 <!-- Allows creation of ASEC volumes
2710 @hide -->
2711 <permission android:name="android.permission.ASEC_CREATE"
Svetoslav61a4dd52015-04-09 10:17:40 -07002712 android:protectionLevel="signature" />
San Mehat02735bc2010-01-26 15:18:08 -08002713
2714 <!-- Allows destruction of ASEC volumes
2715 @hide -->
2716 <permission android:name="android.permission.ASEC_DESTROY"
Svetoslav61a4dd52015-04-09 10:17:40 -07002717 android:protectionLevel="signature" />
San Mehat02735bc2010-01-26 15:18:08 -08002718
2719 <!-- Allows mount / unmount of ASEC volumes
2720 @hide -->
2721 <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
Svetoslav61a4dd52015-04-09 10:17:40 -07002722 android:protectionLevel="signature" />
San Mehat02735bc2010-01-26 15:18:08 -08002723
2724 <!-- Allows rename of ASEC volumes
2725 @hide -->
2726 <permission android:name="android.permission.ASEC_RENAME"
Svetoslav61a4dd52015-04-09 10:17:40 -07002727 android:protectionLevel="signature" />
San Mehat02735bc2010-01-26 15:18:08 -08002728
Adrian Roos66f85912018-12-11 19:47:33 +01002729 <!-- Allows applications to write the apn settings and read sensitive fields of
Jordan Liucd0bc572018-07-10 11:24:42 -07002730 an existing apn settings like user and password.
Scott Main93e60b52013-06-10 11:05:55 -07002731 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002732 <permission android:name="android.permission.WRITE_APN_SETTINGS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002733 android:protectionLevel="signature|privileged" />
Fred Quintana60307342009-03-24 22:48:12 -07002734
Svetoslav71b6ca62015-06-25 18:19:14 -07002735 <!-- Allows applications to change network connectivity state.
Lorenzo Colittid5427052015-10-15 16:29:00 +09002736 <p>Protection level: normal
Svetoslav71b6ca62015-06-25 18:19:14 -07002737 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002738 <permission android:name="android.permission.CHANGE_NETWORK_STATE"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002739 android:description="@string/permdesc_changeNetworkState"
Svetoslav61a4dd52015-04-09 10:17:40 -07002740 android:label="@string/permlab_changeNetworkState"
Lorenzo Colittid5427052015-10-15 16:29:00 +09002741 android:protectionLevel="normal" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002742
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002743 <!-- Allows an application to clear the caches of all installed
Svetoslav71b6ca62015-06-25 18:19:14 -07002744 applications on the device.
Peter Visontayfb5883e2017-07-10 16:26:58 +01002745 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07002746 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002747 <permission android:name="android.permission.CLEAR_APP_CACHE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002748 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002749
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002750 <!-- @SystemApi Allows an application to use any media decoder when decoding for playback
Jean-Michel Trivi4ba27fe2011-11-07 14:35:20 -08002751 @hide -->
2752 <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002753 android:protectionLevel="signature|privileged" />
Jean-Michel Trivi4ba27fe2011-11-07 14:35:20 -08002754
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002755 <!-- @SystemApi Allows an application to install and/or uninstall CA certificates on
Maggie Benthallda51e682013-08-08 22:35:44 -04002756 behalf of the user.
2757 @hide -->
2758 <permission android:name="android.permission.MANAGE_CA_CERTIFICATES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002759 android:protectionLevel="signature|privileged" />
Maggie Benthallda51e682013-08-08 22:35:44 -04002760
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002761 <!-- @SystemApi Allows an application to do certain operations needed for
Doug Zongker183415e2014-08-12 10:18:40 -07002762 interacting with the recovery (system update) system.
2763 @hide -->
Doug Zongker3b0218b2014-01-14 12:29:06 -08002764 <permission android:name="android.permission.RECOVERY"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002765 android:protectionLevel="signature|privileged" />
Doug Zongker3b0218b2014-01-14 12:29:06 -08002766
Tao Bao07342dc2017-01-24 15:08:21 -08002767 <!-- @SystemApi Allows an application to read system update info.
2768 @hide -->
2769 <permission android:name="android.permission.READ_SYSTEM_UPDATE_INFO"
2770 android:protectionLevel="signature" />
2771
Christopher Tate115afda2014-06-06 19:06:26 -07002772 <!-- Allows the system to bind to an application's task services
Christopher Tated417d622013-08-19 16:14:25 -07002773 @hide -->
Christopher Tate7060b042014-06-09 19:50:00 -07002774 <permission android:name="android.permission.BIND_JOB_SERVICE"
Svetoslav61a4dd52015-04-09 10:17:40 -07002775 android:protectionLevel="signature" />
Christopher Tate7060b042014-06-09 19:50:00 -07002776 <uses-permission android:name="android.permission.BIND_JOB_SERVICE"/>
Christopher Tated417d622013-08-19 16:14:25 -07002777
Ben Gruver12964bf2015-04-06 10:55:08 -07002778 <!-- Allows an application to initiate configuration updates
2779 <p>An application requesting this permission is responsible for
2780 verifying the source and integrity of any update before passing
2781 it off to the various individual installer components
2782 @hide -->
2783 <permission android:name="android.permission.UPDATE_CONFIG"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002784 android:protectionLevel="signature|privileged" />
Ben Gruver12964bf2015-04-06 10:55:08 -07002785
Neil Fullerb214bc42017-12-18 16:57:22 +00002786 <!-- Allows an application to query the current time zone rules state
2787 on device.
2788 @SystemApi @hide -->
2789 <permission android:name="android.permission.QUERY_TIME_ZONE_RULES"
2790 android:protectionLevel="signature|privileged" />
2791
Neil Fullerfe6ec562017-03-16 18:29:36 +00002792 <!-- Allows a time zone rule updater application to request
2793 the system installs / uninstalls timezone rules.
2794 <p>An application requesting this permission is responsible for
2795 verifying the source and integrity of the update before passing
2796 it off to the installer components.
Neil Fuller8bb41402017-08-11 13:22:36 +01002797 @SystemApi @hide -->
Neil Fullerfe6ec562017-03-16 18:29:36 +00002798 <permission android:name="android.permission.UPDATE_TIME_ZONE_RULES"
2799 android:protectionLevel="signature|privileged" />
2800
2801 <!-- Must be required by a time zone rule updater application,
2802 to ensure that only the system can trigger it.
2803 @hide -->
2804 <permission android:name="android.permission.TRIGGER_TIME_ZONE_RULES_CHECK"
2805 android:protectionLevel="signature" />
2806 <uses-permission android:name="android.permission.TRIGGER_TIME_ZONE_RULES_CHECK"/>
2807
Makoto Onuki4d36b3a2016-04-27 12:00:17 -07002808 <!-- Allows the system to reset throttling in shortcut manager.
2809 @hide -->
2810 <permission android:name="android.permission.RESET_SHORTCUT_MANAGER_THROTTLING"
2811 android:protectionLevel="signature" />
2812
Jeremy Joslin72f5e082016-12-28 10:32:46 -08002813 <!-- Allows the system to bind to the discovered Network Recommendation Service.
2814 @SystemApi @hide -->
2815 <permission android:name="android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"
2816 android:protectionLevel="signature" />
Jeremy Joslind6876932016-12-29 10:18:48 -08002817 <uses-permission android:name="android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"/>
Jeremy Joslin72f5e082016-12-28 10:32:46 -08002818
Mårten Kongstadeabc9e92015-12-15 16:40:23 +01002819 <!-- Allows an application to enable, disable and change priority of
2820 runtime resource overlays.
2821 @hide -->
2822 <permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES"
Adam Lesinskiaea3cf42017-02-23 18:17:11 -08002823 android:protectionLevel="signature|privileged" />
Mårten Kongstadeabc9e92015-12-15 16:40:23 +01002824
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002825 <!-- ========================================= -->
2826 <!-- Permissions for special development tools -->
2827 <!-- ========================================= -->
2828 <eat-comment />
Fred Quintana60307342009-03-24 22:48:12 -07002829
Adrian Roos66f85912018-12-11 19:47:33 +01002830 <!-- Allows an application to read or write the secure system settings.
Scott Main93e60b52013-06-10 11:05:55 -07002831 <p>Not for use by third-party applications. -->
Dianne Hackborne639da72012-02-21 15:11:13 -08002832 <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002833 android:protectionLevel="signature|privileged|development" />
Dianne Hackborne639da72012-02-21 15:11:13 -08002834
Adrian Roos66f85912018-12-11 19:47:33 +01002835 <!-- Allows an application to retrieve state dump information from system services.
Scott Main93e60b52013-06-10 11:05:55 -07002836 <p>Not for use by third-party applications. -->
Dianne Hackborne639da72012-02-21 15:11:13 -08002837 <permission android:name="android.permission.DUMP"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002838 android:protectionLevel="signature|privileged|development" />
Dianne Hackborne639da72012-02-21 15:11:13 -08002839
Adrian Roos66f85912018-12-11 19:47:33 +01002840 <!-- Allows an application to read the low-level system log files.
Scott Main93e60b52013-06-10 11:05:55 -07002841 <p>Not for use by third-party applications, because
2842 Log entries can contain the user's private information. -->
Nick Kralevichcb5863e2012-03-23 10:06:06 -07002843 <permission android:name="android.permission.READ_LOGS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002844 android:protectionLevel="signature|privileged|development" />
Nick Kralevichcb5863e2012-03-23 10:06:06 -07002845
Adrian Roos66f85912018-12-11 19:47:33 +01002846 <!-- Configure an application for debugging.
Scott Main93e60b52013-06-10 11:05:55 -07002847 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002848 <permission android:name="android.permission.SET_DEBUG_APP"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002849 android:protectionLevel="signature|privileged|development" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002850
Adrian Roos66f85912018-12-11 19:47:33 +01002851 <!-- Allows an application to set the maximum number of (not needed)
Scott Main93e60b52013-06-10 11:05:55 -07002852 application processes that can be running.
2853 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002854 <permission android:name="android.permission.SET_PROCESS_LIMIT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002855 android:protectionLevel="signature|privileged|development" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002856
Adrian Roos66f85912018-12-11 19:47:33 +01002857 <!-- Allows an application to control whether activities are immediately
Scott Main93e60b52013-06-10 11:05:55 -07002858 finished when put in the background.
2859 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002860 <permission android:name="android.permission.SET_ALWAYS_FINISH"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002861 android:protectionLevel="signature|privileged|development" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002862
Adrian Roos66f85912018-12-11 19:47:33 +01002863 <!-- Allow an application to request that a signal be sent to all persistent processes.
Scott Main93e60b52013-06-10 11:05:55 -07002864 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002865 <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002866 android:protectionLevel="signature|privileged|development" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002867
Joe Onorato5a15b552018-12-18 10:40:04 -08002868 <!-- @hide @SystemApi @TestApi
2869 Allow an application to approve incident and bug reports to be
2870 shared off-device. There can be only one application installed on the
2871 device with this permission, and since this is a privileged permission, it
2872 must be in priv-app.
2873 <p>Not for use by third-party applications. -->
2874 <permission android:name="android.permission.APPROVE_INCIDENT_REPORTS"
2875 android:protectionLevel="signature|incidentReportApprover" />
2876
Joe Onoratoe21ab7e2018-12-18 15:00:25 -08002877 <!-- @hide Allow an application to approve an incident or bug report approval from
2878 the system. -->
2879 <permission android:name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"
2880 android:protectionLevel="signature|privileged" />
2881
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002882 <!-- ==================================== -->
Svetoslav61a4dd52015-04-09 10:17:40 -07002883 <!-- Private permissions -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002884 <!-- ==================================== -->
2885 <eat-comment />
2886
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07002887 <!-- Allows access to the list of accounts in the Accounts Service.
2888 <p>Protection level: signature|privileged -->
Svet Ganov2062eef2015-07-21 19:23:17 -07002889 <permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"
2890 android:protectionLevel="signature|privileged" />
2891
Carlos Valdivia714bbd82016-04-22 14:10:40 -07002892 <!-- Allows but does not guarantee access to user passwords at the conclusion of add account
2893 @hide -->
2894 <permission android:name="android.permission.GET_PASSWORD"
2895 android:protectionLevel="signature" />
Carlos Valdivia51b651a2016-03-30 13:44:28 -07002896
Adrian Roos66f85912018-12-11 19:47:33 +01002897 <!-- Allows applications to RW to diagnostic resources.
Scott Main93e60b52013-06-10 11:05:55 -07002898 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002899 <permission android:name="android.permission.DIAGNOSTIC"
Svetoslav61a4dd52015-04-09 10:17:40 -07002900 android:protectionLevel="signature" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002901
Adrian Roos66f85912018-12-11 19:47:33 +01002902 <!-- Allows an application to open, close, or disable the status bar
Scott Main93e60b52013-06-10 11:05:55 -07002903 and its icons.
2904 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002905 <permission android:name="android.permission.STATUS_BAR"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002906 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002907
Joe Onorato8bc6c512010-06-04 16:21:12 -04002908 <!-- Allows an application to be the status bar. Currently used only by SystemUI.apk
2909 @hide -->
2910 <permission android:name="android.permission.STATUS_BAR_SERVICE"
Joe Onorato8bc6c512010-06-04 16:21:12 -04002911 android:protectionLevel="signature" />
2912
Jason Monkbbadff82015-11-06 15:47:26 -05002913 <!-- Allows an application to bind to third party quick settings tiles.
2914 <p>Should only be requested by the System, should be required by
Jason Monkd5a204f2015-12-21 08:50:01 -05002915 TileService declarations.-->
Jason Monkbbadff82015-11-06 15:47:26 -05002916 <permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE"
2917 android:protectionLevel="signature" />
2918
Svetoslav71b6ca62015-06-25 18:19:14 -07002919 <!-- @SystemApi Allows an application to force a BACK operation on whatever is the
Scott Main93e60b52013-06-10 11:05:55 -07002920 top activity.
Svetoslav71b6ca62015-06-25 18:19:14 -07002921 <p>Not for use by third-party applications.
2922 @hide
2923 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002924 <permission android:name="android.permission.FORCE_BACK"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002925 android:protectionLevel="signature" />
2926
Adrian Roos66f85912018-12-11 19:47:33 +01002927 <!-- Allows an application to update device statistics.
Scott Main93e60b52013-06-10 11:05:55 -07002928 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002929 <permission android:name="android.permission.UPDATE_DEVICE_STATS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002930 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002931
Peter Visontaye19d8412017-08-08 16:25:17 +01002932 <!-- @SystemApi @hide Allows an application to collect application operation statistics.
2933 Not for use by third party apps. -->
Dianne Hackborn35654b62013-01-14 17:38:02 -08002934 <permission android:name="android.permission.GET_APP_OPS_STATS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002935 android:protectionLevel="signature|privileged|development" />
Dianne Hackborn35654b62013-01-14 17:38:02 -08002936
Jeff Brownb61eaaa2014-06-06 19:46:26 -07002937 <!-- @SystemApi Allows an application to update application operation statistics. Not for
Svet Ganovae0e03a2016-02-25 18:22:10 -08002938 use by third party apps.
2939 @hide -->
Dianne Hackborna06de0f2012-12-11 16:34:47 -08002940 <permission android:name="android.permission.UPDATE_APP_OPS_STATS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07002941 android:protectionLevel="signature|privileged|installer" />
Dianne Hackborna06de0f2012-12-11 16:34:47 -08002942
Svet Ganovae0e03a2016-02-25 18:22:10 -08002943 <!-- @SystemApi Allows an application to update the user app op restrictions.
Svet Ganov9cea80cd2016-02-16 11:47:00 -08002944 Not for use by third party apps.
2945 @hide -->
2946 <permission android:name="android.permission.MANAGE_APP_OPS_RESTRICTIONS"
2947 android:protectionLevel="signature|installer" />
2948
Dianne Hackbornbf1b57d2018-03-07 12:42:47 -08002949 <!-- Allows an application to update the user app op modes.
2950 Not for use by third party apps.
2951 @hide -->
2952 <permission android:name="android.permission.MANAGE_APP_OPS_MODES"
2953 android:protectionLevel="signature|installer|verifier" />
2954
Svetoslav71b6ca62015-06-25 18:19:14 -07002955 <!-- @SystemApi Allows an application to open windows that are for use by parts
Scott Main93e60b52013-06-10 11:05:55 -07002956 of the system user interface.
Svetoslav71b6ca62015-06-25 18:19:14 -07002957 <p>Not for use by third-party applications.
2958 @hide
2959 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002960 <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
Chen Xuda02e072019-10-07 00:24:41 -07002961 android:protectionLevel="signature|telephony" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002962
Wale Ogunwale01ad4342017-06-30 07:07:01 -07002963 <!-- @SystemApi Allows an application to use
Philip P. Moltmann66ce2382018-10-09 13:46:11 -07002964 {@link android.view.WindowManager.LayoutsParams#SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS}
Wale Ogunwale01ad4342017-06-30 07:07:01 -07002965 to hide non-system-overlay windows.
2966 <p>Not for use by third-party applications.
2967 @hide
2968 -->
2969 <permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"
2970 android:protectionLevel="signature|installer" />
2971
Svetoslav71b6ca62015-06-25 18:19:14 -07002972 <!-- @SystemApi Allows an application to manage (create, destroy,
Scott Main93e60b52013-06-10 11:05:55 -07002973 Z-order) application tokens in the window manager.
Svetoslav71b6ca62015-06-25 18:19:14 -07002974 <p>Not for use by third-party applications.
2975 @hide
2976 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002977 <permission android:name="android.permission.MANAGE_APP_TOKENS"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002978 android:protectionLevel="signature" />
2979
Filip Gruszczynski64cdc142015-11-29 21:10:07 -08002980 <!-- Allows System UI to register listeners for events from Window Manager.
2981 @hide -->
2982 <permission android:name="android.permission.REGISTER_WINDOW_MANAGER_LISTENERS"
2983 android:protectionLevel="signature" />
2984
Dianne Hackborn9d9ece32012-09-10 15:33:52 -07002985 <!-- @hide Allows the application to temporarily freeze the screen for a
2986 full-screen transition. -->
2987 <permission android:name="android.permission.FREEZE_SCREEN"
Dianne Hackborn9d9ece32012-09-10 15:33:52 -07002988 android:protectionLevel="signature" />
Russell Brenner108da0c2013-02-12 10:03:14 -08002989
Svetoslav71b6ca62015-06-25 18:19:14 -07002990 <!-- @SystemApi Allows an application to inject user events (keys, touch, trackball)
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002991 into the event stream and deliver them to ANY window. Without this
2992 permission, you can only deliver events to windows in your own process.
Svetoslav71b6ca62015-06-25 18:19:14 -07002993 <p>Not for use by third-party applications.
2994 @hide
2995 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002996 <permission android:name="android.permission.INJECT_EVENTS"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08002997 android:protectionLevel="signature" />
2998
Svetoslav Ganovc9c9a482012-07-16 08:46:07 -07002999 <!-- @hide Allows an application to register an input filter which filters the stream
3000 of user events (keys, touch, trackball) before they are dispatched to any window. -->
3001 <permission android:name="android.permission.FILTER_EVENTS"
Svetoslav Ganovc9c9a482012-07-16 08:46:07 -07003002 android:protectionLevel="signature" />
3003
Svetoslav1376d602014-03-13 11:17:26 -07003004 <!-- @hide Allows an application to retrieve the window token from the accessibility manager. -->
3005 <permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN"
Svetoslav1376d602014-03-13 11:17:26 -07003006 android:protectionLevel="signature" />
3007
Phil Weaverf00cd142017-03-03 13:44:00 -08003008 <!-- @hide Allows an application to modify accessibility information from another app. -->
3009 <permission android:name="android.permission.MODIFY_ACCESSIBILITY_DATA"
3010 android:protectionLevel="signature" />
3011
Phil Weaverf1a9aff2017-03-23 17:21:29 -07003012 <!-- @hide Allows an application to change the accessibility volume. -->
3013 <permission android:name="android.permission.CHANGE_ACCESSIBILITY_VOLUME"
3014 android:protectionLevel="signature" />
3015
Svetoslav1376d602014-03-13 11:17:26 -07003016 <!-- @hide Allows an application to collect frame statistics -->
3017 <permission android:name="android.permission.FRAME_STATS"
Svetoslav1376d602014-03-13 11:17:26 -07003018 android:protectionLevel="signature" />
3019
Svetoslav Ganov7befb7d2012-09-27 16:49:23 -07003020 <!-- @hide Allows an application to temporary enable accessibility on the device. -->
3021 <permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
Svetoslav Ganov7befb7d2012-09-27 16:49:23 -07003022 android:protectionLevel="signature" />
3023
Jackal Guo03e67da2019-02-14 15:27:25 +08003024 <!-- @SystemApi Allows an application to launch detail settings activity of a particular
3025 accessibility service.
3026 <p>Not for use by third-party applications.
3027 @hide -->
3028 <permission android:name="android.permission.OPEN_ACCESSIBILITY_DETAILS_SETTINGS"
3029 android:protectionLevel="signature|installer" />
3030
Svetoslav71b6ca62015-06-25 18:19:14 -07003031 <!-- @SystemApi Allows an application to watch and control how activities are
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003032 started globally in the system. Only for is in debugging
Scott Main93e60b52013-06-10 11:05:55 -07003033 (usually the monkey command).
Svetoslav71b6ca62015-06-25 18:19:14 -07003034 <p>Not for use by third-party applications.
3035 @hide
3036 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003037 <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003038 android:protectionLevel="signature" />
3039
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003040 <!-- @SystemApi Allows an application to call the activity manager shutdown() API
Dianne Hackborn7f205432009-07-28 00:13:47 -07003041 to put the higher-level system there into a shutdown state.
3042 @hide -->
Dianne Hackborn55280a92009-05-07 15:53:46 -07003043 <permission android:name="android.permission.SHUTDOWN"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003044 android:protectionLevel="signature|privileged" />
Dianne Hackborn55280a92009-05-07 15:53:46 -07003045
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003046 <!-- @SystemApi Allows an application to tell the activity manager to temporarily
Dianne Hackborn95fc68f2009-05-19 18:37:45 -07003047 stop application switches, putting it into a special mode that
3048 prevents applications from immediately switching away from some
Dianne Hackborn7f205432009-07-28 00:13:47 -07003049 critical UI such as the home screen.
3050 @hide -->
Dianne Hackborn95fc68f2009-05-19 18:37:45 -07003051 <permission android:name="android.permission.STOP_APP_SWITCHES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003052 android:protectionLevel="signature|privileged" />
Dianne Hackborn95fc68f2009-05-19 18:37:45 -07003053
Svetoslav71b6ca62015-06-25 18:19:14 -07003054 <!-- @SystemApi Allows an application to retrieve private information about
Scott Main93e60b52013-06-10 11:05:55 -07003055 the current top activity, such as any assist context it can provide.
Svetoslav71b6ca62015-06-25 18:19:14 -07003056 <p>Not for use by third-party applications.
3057 @hide
3058 -->
Dianne Hackbornf9c5e0f2013-01-23 14:39:13 -08003059 <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
Dianne Hackbornf9c5e0f2013-01-23 14:39:13 -08003060 android:protectionLevel="signature" />
3061
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003062 <!-- Allows an application to retrieve the current state of keys and
Scott Main93e60b52013-06-10 11:05:55 -07003063 switches.
3064 <p>Not for use by third-party applications.
Jeff Brownac143512012-04-05 18:57:33 -07003065 @deprecated The API that used this permission has been removed. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003066 <permission android:name="android.permission.READ_INPUT_STATE"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003067 android:protectionLevel="signature" />
3068
Dianne Hackbornd6847842010-01-12 18:14:19 -08003069 <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003070 to ensure that only the system can bind to it.
3071 <p>Protection level: signature
3072 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003073 <permission android:name="android.permission.BIND_INPUT_METHOD"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003074 android:protectionLevel="signature" />
3075
Mike Lockwoode0a6ca62015-06-04 13:43:56 -07003076 <!-- Must be required by an {@link android.media.midi.MidiDeviceService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003077 to ensure that only the system can bind to it.
3078 <p>Protection level: signature
3079 -->
Mike Lockwoode0a6ca62015-06-04 13:43:56 -07003080 <permission android:name="android.permission.BIND_MIDI_DEVICE_SERVICE"
3081 android:protectionLevel="signature" />
3082
Svetoslav38228962013-01-29 01:04:35 -08003083 <!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003084 to ensure that only the system can bind to it.
3085 <p>Protection level: signature
3086 -->
Svetoslav Ganove63049b2012-05-16 18:27:34 -07003087 <permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
Svetoslav Ganove63049b2012-05-16 18:27:34 -07003088 android:protectionLevel="signature" />
3089
Jeff Brown511cd352013-08-23 17:43:37 -07003090 <!-- Must be required by a {@link android.printservice.PrintService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003091 to ensure that only the system can bind to it.
3092 <p>Protection level: signature
3093 -->
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -07003094 <permission android:name="android.permission.BIND_PRINT_SERVICE"
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -07003095 android:protectionLevel="signature" />
3096
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -07003097 <!-- Must be required by a {@link android.printservice.recommendation.RecommendationService},
3098 to ensure that only the system can bind to it.
3099 @hide
3100 @SystemApi
3101 <p>Protection level: signature
3102 -->
3103 <permission android:name="android.permission.BIND_PRINT_RECOMMENDATION_SERVICE"
3104 android:protectionLevel="signature" />
3105
Philip P. Moltmann68700332017-06-19 10:55:09 -07003106 <!-- Allows applications to get the installed and enabled print services.
3107 @hide
3108 @SystemApi
Philip P. Moltmann68700332017-06-19 10:55:09 -07003109 <p>Protection level: signature|preinstalled
3110 -->
3111 <permission android:name="android.permission.READ_PRINT_SERVICES"
3112 android:protectionLevel="signature|preinstalled" />
3113
3114 <!-- Allows applications to get the currently recommended print services for printers.
3115 @hide
3116 @SystemApi
3117 <p>Protection level: signature|preinstalled
3118 -->
3119 <permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS"
3120 android:protectionLevel="signature|preinstalled" />
3121
Jeff Brown511cd352013-08-23 17:43:37 -07003122 <!-- Must be required by a {@link android.nfc.cardemulation.HostApduService}
Martijn Coenena7397882013-07-30 20:07:47 -07003123 or {@link android.nfc.cardemulation.OffHostApduService} to ensure that only
Svetoslav71b6ca62015-06-25 18:19:14 -07003124 the system can bind to it.
3125 <p>Protection level: signature
3126 -->
Martijn Coenena7397882013-07-30 20:07:47 -07003127 <permission android:name="android.permission.BIND_NFC_SERVICE"
Martijn Coenena7397882013-07-30 20:07:47 -07003128 android:protectionLevel="signature" />
3129
Dianne Hackbornebc15ef2013-10-09 17:36:57 -07003130 <!-- Must be required by the PrintSpooler to ensure that only the system can bind to it.
3131 @hide -->
Svetoslav Ganovd26d4892013-08-28 14:37:54 -07003132 <permission android:name="android.permission.BIND_PRINT_SPOOLER_SERVICE"
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -07003133 android:protectionLevel="signature" />
3134
Eugene Susla6ed45d82017-01-22 13:52:51 -08003135 <!-- Must be required by the CompanionDeviceManager to ensure that only the system can bind to it.
3136 @hide -->
3137 <permission android:name="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE"
3138 android:protectionLevel="signature" />
3139
Svet Ganovae0e03a2016-02-25 18:22:10 -08003140 <!-- @SystemApi Must be required by the RuntimePermissionPresenterService to ensure
3141 that only the system can bind to it.
3142 @hide -->
3143 <permission android:name="android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE"
3144 android:protectionLevel="signature" />
3145
3146 <!-- Must be required by a TextService (e.g. SpellCheckerService)
Svetoslav71b6ca62015-06-25 18:19:14 -07003147 to ensure that only the system can bind to it.
3148 <p>Protection level: signature
3149 -->
satok988323c2011-06-22 16:38:13 +09003150 <permission android:name="android.permission.BIND_TEXT_SERVICE"
satok988323c2011-06-22 16:38:13 +09003151 android:protectionLevel="signature" />
3152
Alex Salob81472f2018-12-12 14:44:28 -08003153 <!-- @SystemApi Must be required by a AttentionService
3154 to ensure that only the system can bind to it.
3155 <p>Protection level: signature
3156 @hide
3157 -->
3158 <permission android:name="android.permission.BIND_ATTENTION_SERVICE"
3159 android:protectionLevel="signature" />
3160 <uses-permission android:name="android.permission.BIND_ATTENTION_SERVICE" />
3161
Jeff Brown511cd352013-08-23 17:43:37 -07003162 <!-- Must be required by a {@link android.net.VpnService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003163 to ensure that only the system can bind to it.
3164 <p>Protection level: signature
3165 -->
Chia-chi Yeh199ed6e2011-08-03 17:38:49 -07003166 <permission android:name="android.permission.BIND_VPN_SERVICE"
Chia-chi Yeh199ed6e2011-08-03 17:38:49 -07003167 android:protectionLevel="signature" />
3168
Dianne Hackbornd6847842010-01-12 18:14:19 -08003169 <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003170 to ensure that only the system can bind to it.
Peter Visontayfb5883e2017-07-10 16:26:58 +01003171 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07003172 -->
Dianne Hackborn4c62fc02009-08-08 20:40:27 -07003173 <permission android:name="android.permission.BIND_WALLPAPER"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003174 android:protectionLevel="signature|privileged" />
Dianne Hackborn4c62fc02009-08-08 20:40:27 -07003175
Dianne Hackborn91097de2014-04-04 18:02:06 -07003176 <!-- Must be required by a {@link android.service.voice.VoiceInteractionService},
Svetoslav71b6ca62015-06-25 18:19:14 -07003177 to ensure that only the system can bind to it.
3178 <p>Protection level: signature
3179 -->
Dianne Hackborn91097de2014-04-04 18:02:06 -07003180 <permission android:name="android.permission.BIND_VOICE_INTERACTION"
Dianne Hackborn91097de2014-04-04 18:02:06 -07003181 android:protectionLevel="signature" />
3182
Felipe Leme640f30a2017-03-06 15:44:06 -08003183 <!-- Must be required by a {@link android.service.autofill.AutofillService},
Felipe Leme5381aa42016-10-13 09:02:32 -07003184 to ensure that only the system can bind to it.
3185 <p>Protection level: signature
3186 -->
Felipe Lemedecd8872017-04-26 17:42:38 -07003187 <permission android:name="android.permission.BIND_AUTOFILL_SERVICE"
Felipe Leme640f30a2017-03-06 15:44:06 -08003188 android:protectionLevel="signature" />
3189
Felipe Leme87b7f8f2018-01-30 18:39:28 +00003190 <!-- Alternative version of android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE.
3191 This permission was renamed during the O previews but it was supported on the final O
3192 release, so we need to carry it over.
3193 <p>Protection level: signature
3194 @hide
3195 -->
3196 <permission android:name="android.permission.BIND_AUTOFILL"
3197 android:protectionLevel="signature" />
3198
Felipe Lemebc055b02018-01-05 17:04:10 -08003199 <!-- Must be required by an {@link android.service.autofill.AutofillFieldClassificationService}
3200 to ensure that only the system can bind to it.
3201 @hide This is not a third-party API (intended for OEMs and system apps).
3202 -->
3203 <permission android:name="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE"
3204 android:protectionLevel="signature" />
3205
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -08003206 <!-- Must be required by a android.service.textclassifier.TextClassifierService,
3207 to ensure that only the system can bind to it.
3208 @SystemApi @hide This is not a third-party API (intended for OEMs and system apps).
3209 <p>Protection level: signature
3210 -->
3211 <permission android:name="android.permission.BIND_TEXTCLASSIFIER_SERVICE"
3212 android:protectionLevel="signature" />
3213
Felipe Leme749b8892018-12-03 16:30:30 -08003214 <!-- Must be required by a android.service.contentcapture.ContentCaptureService,
Felipe Leme1dfa9a02018-10-17 17:24:37 -07003215 to ensure that only the system can bind to it.
3216 @SystemApi @hide This is not a third-party API (intended for OEMs and system apps).
3217 <p>Protection level: signature
3218 -->
Felipe Leme749b8892018-12-03 16:30:30 -08003219 <permission android:name="android.permission.BIND_CONTENT_CAPTURE_SERVICE"
3220 android:protectionLevel="signature" />
3221
Zak Cohen969d39d2019-03-01 14:53:09 -08003222 <!-- Must be required by a android.service.contentsuggestions.ContentSuggestionsService,
3223 to ensure that only the system can bind to it.
3224 @SystemApi @hide This is not a third-party API (intended for OEMs and system apps).
3225 <p>Protection level: signature
3226 -->
3227 <permission android:name="android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE"
3228 android:protectionLevel="signature" />
3229
Felipe Leme749b8892018-12-03 16:30:30 -08003230 <!-- Must be required by a android.service.autofill.augmented.AugmentedAutofillService,
3231 to ensure that only the system can bind to it.
3232 @SystemApi @hide This is not a third-party API (intended for OEMs and system apps).
3233 <p>Protection level: signature
3234 -->
3235 <permission android:name="android.permission.BIND_AUGMENTED_AUTOFILL_SERVICE"
Felipe Leme1dfa9a02018-10-17 17:24:37 -07003236 android:protectionLevel="signature" />
3237
Sandeep Siddharthae5706782014-05-29 17:54:06 -07003238 <!-- Must be required by hotword enrollment application,
3239 to ensure that only the system can interact with it.
3240 @hide <p>Not for use by third-party applications.</p> -->
3241 <permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003242 android:protectionLevel="signature|privileged" />
Sandeep Siddharthae5706782014-05-29 17:54:06 -07003243
Jeff Brownf3c99e82013-11-05 16:29:21 -08003244 <!-- Must be required by a {@link com.android.media.remotedisplay.RemoteDisplayProvider},
3245 to ensure that only the system can bind to it.
3246 @hide -->
3247 <permission android:name="android.permission.BIND_REMOTE_DISPLAY"
Jeff Brownf3c99e82013-11-05 16:29:21 -08003248 android:protectionLevel="signature" />
3249
Jae Seod5cc4a22014-05-30 16:57:43 -07003250 <!-- Must be required by a {@link android.media.tv.TvInputService}
Svetoslav71b6ca62015-06-25 18:19:14 -07003251 to ensure that only the system can bind to it.
Peter Visontayfb5883e2017-07-10 16:26:58 +01003252 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07003253 -->
Jae Seo39570912014-02-20 18:23:25 -08003254 <permission android:name="android.permission.BIND_TV_INPUT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003255 android:protectionLevel="signature|privileged" />
Jae Seo39570912014-02-20 18:23:25 -08003256
Hongming Jinfa329d32018-10-26 16:18:07 -07003257 <!-- Must be required by an {@link android.service.sms.FinancialSmsService}
3258 to ensure that only the system can bind to it.
3259 @hide This is not a third-party API (intended for OEMs and system apps).
3260 -->
3261 <permission android:name="android.permission.BIND_FINANCIAL_SMS_SERVICE"
3262 android:protectionLevel="signature" />
3263
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -08003264 <!-- @SystemApi
3265 Must be required by a {@link com.android.media.tv.remoteprovider.TvRemoteProvider}
3266 to ensure that only the system can bind to it.
3267 <p>Protection level: signature|privileged
3268 <p>Not for use by third-party applications. </p>
3269 @hide -->
3270 <permission android:name="android.permission.BIND_TV_REMOTE_SERVICE"
3271 android:protectionLevel="signature|privileged" />
3272
3273 <!-- @SystemApi
3274 Must be required for a virtual remote controller for TV.
3275 <p>Protection level: signature|privileged
3276 <p>Not for use by third-party applications. </p>
3277 @hide -->
3278 <permission android:name="android.permission.TV_VIRTUAL_REMOTE_CONTROLLER"
3279 android:protectionLevel="signature|privileged" />
3280
Shubange41b76f2017-06-07 13:23:12 -07003281 <!-- Allows an application to change HDMI CEC active source.
3282 <p>Not for use by third-party applications.
3283 @hide -->
3284 <permission android:name="android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE"
3285 android:protectionLevel="signature|privileged" />
3286
Jae Seo783645e2014-07-28 17:30:50 +09003287 <!-- @SystemApi Allows an application to modify parental controls
3288 <p>Not for use by third-party applications.
3289 @hide -->
3290 <permission android:name="android.permission.MODIFY_PARENTAL_CONTROLS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003291 android:protectionLevel="signature|privileged" />
Jae Seo783645e2014-07-28 17:30:50 +09003292
Shubangd3307ff2017-06-27 16:09:41 -07003293 <!-- @SystemApi Allows an application to read TvContentRatingSystemInfo
3294 <p>Not for use by third-party applications.
3295 @hide -->
3296 <permission android:name="android.permission.READ_CONTENT_RATING_SYSTEMS"
3297 android:protectionLevel="signature|privileged" />
3298
Conrad Chen558acf92017-04-05 17:31:01 -07003299 <!-- @SystemApi Allows an application to notify TV inputs by sending broadcasts.
3300 <p>Protection level: signature|privileged
3301 <p>Not for use by third-party applications.
3302 @hide -->
3303 <permission android:name="android.permission.NOTIFY_TV_INPUTS"
3304 android:protectionLevel="signature|privileged" />
3305
Jeff Brown01a500e2014-07-10 22:50:50 -07003306 <!-- Must be required by a {@link android.media.routing.MediaRouteService}
RoboErik07c70772014-03-20 13:33:52 -07003307 to ensure that only the system can interact with it.
RoboErik42ea7ee2014-05-16 16:27:35 -07003308 @hide -->
RoboErik07c70772014-03-20 13:33:52 -07003309 <permission android:name="android.permission.BIND_ROUTE_PROVIDER"
RoboErik07c70772014-03-20 13:33:52 -07003310 android:protectionLevel="signature" />
3311
Dianne Hackbornd6847842010-01-12 18:14:19 -08003312 <!-- Must be required by device administration receiver, to ensure that only the
Svetoslav71b6ca62015-06-25 18:19:14 -07003313 system can interact with it.
3314 <p>Protection level: signature
3315 -->
Dianne Hackbornd6847842010-01-12 18:14:19 -08003316 <permission android:name="android.permission.BIND_DEVICE_ADMIN"
Dianne Hackbornd6847842010-01-12 18:14:19 -08003317 android:protectionLevel="signature" />
3318
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003319 <!-- @SystemApi Required to add or remove another application as a device admin.
Dianne Hackbornebc15ef2013-10-09 17:36:57 -07003320 <p>Not for use by third-party applications.
Zimuzo8236d332018-08-29 10:47:51 +01003321 @hide
3322 @removed -->
Amith Yamasania418cf22013-07-19 12:39:17 -07003323 <permission android:name="android.permission.MANAGE_DEVICE_ADMINS"
Zimuzo8236d332018-08-29 10:47:51 +01003324 android:protectionLevel="signature" />
Amith Yamasania418cf22013-07-19 12:39:17 -07003325
Zimuzo9f62a262018-09-03 13:47:23 +01003326 <!-- @SystemApi Allows an app to reset the device password.
3327 <p>Not for use by third-party applications.
3328 @hide -->
3329 <permission android:name="android.permission.RESET_PASSWORD"
3330 android:protectionLevel="signature|privileged" />
3331
3332 <!-- @SystemApi Allows an app to lock the device.
3333 <p>Not for use by third-party applications.
3334 @hide -->
3335 <permission android:name="android.permission.LOCK_DEVICE"
3336 android:protectionLevel="signature|privileged" />
3337
Svetoslav71b6ca62015-06-25 18:19:14 -07003338 <!-- @SystemApi Allows low-level access to setting the orientation (actually
Scott Main93e60b52013-06-10 11:05:55 -07003339 rotation) of the screen.
Svetoslav71b6ca62015-06-25 18:19:14 -07003340 <p>Not for use by third-party applications.
3341 @hide
3342 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003343 <permission android:name="android.permission.SET_ORIENTATION"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003344 android:protectionLevel="signature" />
3345
Svetoslav71b6ca62015-06-25 18:19:14 -07003346 <!-- @SystemApi Allows low-level access to setting the pointer speed.
3347 <p>Not for use by third-party applications.
3348 @hide
3349 -->
Jeff Brown1a84fd12011-06-02 01:26:32 -07003350 <permission android:name="android.permission.SET_POINTER_SPEED"
Jeff Brown1a84fd12011-06-02 01:26:32 -07003351 android:protectionLevel="signature" />
3352
Jason Gerecked6396d62014-01-27 18:30:37 -08003353 <!-- Allows low-level access to setting input device calibration.
3354 <p>Not for use by normal applications.
3355 @hide -->
3356 <permission android:name="android.permission.SET_INPUT_CALIBRATION"
Jason Gerecked6396d62014-01-27 18:30:37 -08003357 android:protectionLevel="signature" />
3358
Jeff Brown9f25b7f2012-04-10 14:30:49 -07003359 <!-- Allows low-level access to setting the keyboard layout.
Scott Main93e60b52013-06-10 11:05:55 -07003360 <p>Not for use by third-party applications.
Jeff Brown507f5582012-05-07 19:06:06 -07003361 @hide -->
Jeff Brown9f25b7f2012-04-10 14:30:49 -07003362 <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
Jeff Brown9f25b7f2012-04-10 14:30:49 -07003363 android:protectionLevel="signature" />
3364
Michael Wright9209c9c2015-09-03 17:57:01 +01003365 <!-- Allows an application to query tablet mode state and monitor changes
3366 in it.
Michael Wright39e5e942015-08-19 22:52:47 +01003367 <p>Not for use by third-party applications.
3368 @hide -->
Michael Wright9209c9c2015-09-03 17:57:01 +01003369 <permission android:name="android.permission.TABLET_MODE"
Michael Wright39e5e942015-08-19 22:52:47 +01003370 android:protectionLevel="signature" />
3371
Svet Ganov86877e42015-05-28 08:19:48 -07003372 <!-- Allows an application to request installing packages. Apps
Suprabh Shukla2f34b1a2016-12-16 14:47:25 -08003373 targeting APIs greater than 25 must hold this permission in
Svetoslav71b6ca62015-06-25 18:19:14 -07003374 order to use {@link android.content.Intent#ACTION_INSTALL_PACKAGE}.
Suprabh Shuklaaef25132017-01-23 18:09:03 -08003375 <p>Protection level: signature
Svetoslav71b6ca62015-06-25 18:19:14 -07003376 -->
Svet Ganov86877e42015-05-28 08:19:48 -07003377 <permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
3378 android:label="@string/permlab_requestInstallPackages"
3379 android:description="@string/permdesc_requestInstallPackages"
Suprabh Shukla2f34b1a2016-12-16 14:47:25 -08003380 android:protectionLevel="signature|appop" />
Svet Ganov86877e42015-05-28 08:19:48 -07003381
Svet Ganov67882122016-12-11 16:36:34 -08003382 <!-- Allows an application to request deleting packages. Apps
Philip P. Moltmannd9bb39a2017-09-05 12:41:15 -07003383 targeting APIs {@link android.os.Build.VERSION_CODES#P} or greater must hold this
3384 permission in order to use {@link android.content.Intent#ACTION_UNINSTALL_PACKAGE} or
3385 {@link android.content.pm.PackageInstaller#uninstall}.
Svet Ganov67882122016-12-11 16:36:34 -08003386 <p>Protection level: normal
3387 -->
3388 <permission android:name="android.permission.REQUEST_DELETE_PACKAGES"
3389 android:label="@string/permlab_requestDeletePackages"
3390 android:description="@string/permdesc_requestDeletePackages"
3391 android:protectionLevel="normal" />
3392
Adrian Roos66f85912018-12-11 19:47:33 +01003393 <!-- Allows an application to install packages.
Scott Main93e60b52013-06-10 11:05:55 -07003394 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003395 <permission android:name="android.permission.INSTALL_PACKAGES"
Chad Brubakercfdc1ee2017-08-18 12:52:47 -07003396 android:protectionLevel="signature|privileged" />
3397
3398 <!-- @SystemApi Allows an application to install self updates. This is a limited version
3399 of {@link android.Manifest.permission#INSTALL_PACKAGES}.
3400 <p>Not for use by third-party applications.
3401 @hide
3402 -->
3403 <permission android:name="android.permission.INSTALL_SELF_UPDATES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003404 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003405
Chad Brubakeradcb5222018-01-11 14:22:15 -08003406 <!-- @SystemApi Allows an application to install updates. This is a limited version
3407 of {@link android.Manifest.permission#INSTALL_PACKAGES}.
3408 <p>Not for use by third-party applications.
3409 @hide
3410 -->
3411 <permission android:name="android.permission.INSTALL_PACKAGE_UPDATES"
3412 android:protectionLevel="signature|privileged" />
3413
Rhed Jaocd47c262018-06-13 11:16:16 +08003414 <!-- Allows an application to install existing system packages. This is a limited
3415 version of {@link android.Manifest.permission#INSTALL_PACKAGES}.
3416 <p>Not for use by third-party applications.
3417 TODO(b/80204953): remove this permission once we have a long-term solution.
3418 @hide
3419 -->
3420 <permission android:name="com.android.permission.INSTALL_EXISTING_PACKAGES"
3421 android:protectionLevel="signature|privileged" />
3422
Jeff Sharkeycb269aac2019-01-25 11:15:38 -07003423 <!-- @SystemApi @TestApi Allows an application to clear user data.
Svetoslav71b6ca62015-06-25 18:19:14 -07003424 <p>Not for use by third-party applications
3425 @hide
3426 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003427 <permission android:name="android.permission.CLEAR_APP_USER_DATA"
Svetoslav3e7d9772015-07-06 18:31:23 -07003428 android:protectionLevel="signature|installer" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003429
Felipe Lemef3fa0f82016-01-07 12:08:19 -08003430 <!-- @hide Allows an application to get the URI permissions
3431 granted to another application.
3432 <p>Not for use by third-party applications
3433 -->
3434 <permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS"
3435 android:protectionLevel="signature" />
3436
3437 <!-- @hide Allows an application to clear the URI permissions
3438 granted to another application.
3439 <p>Not for use by third-party applications
3440 -->
3441 <permission
3442 android:name="android.permission.CLEAR_APP_GRANTED_URI_PERMISSIONS"
3443 android:protectionLevel="signature" />
3444
Felipe Leme667baa52018-01-09 17:29:24 -08003445 <!-- @hide
3446 Allows an application to change the status of Scoped Access Directory requests granted or
3447 rejected by the user.
3448 <p>This permission should <em>only</em> be requested by the platform
3449 settings app. This permission cannot be granted to third-party apps.
3450 <p>Protection level: signature
3451 -->
Felipe Leme988234a2018-02-14 12:00:29 -08003452 <permission
3453 android:name="android.permission.MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS"
3454 android:protectionLevel="signature" />
3455
3456 <!-- @hide
3457 Allows an application to change the status of a persistable URI permission granted
3458 to another application.
3459 <p>This permission should <em>only</em> be requested by the platform
3460 settings app. This permission cannot be granted to third-party apps.
3461 <p>Protection level: signature
3462 -->
3463 <permission android:name="android.permission.FORCE_PERSISTABLE_URI_PERMISSIONS"
Felipe Leme667baa52018-01-09 17:29:24 -08003464 android:protectionLevel="signature" />
3465
Adrian Roos66f85912018-12-11 19:47:33 +01003466 <!-- Old permission for deleting an app's cache files, no longer used,
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07003467 but signals for us to quietly ignore calls instead of throwing an exception.
3468 <p>Protection level: signature|privileged -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003469 <permission android:name="android.permission.DELETE_CACHE_FILES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003470 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003471
Dianne Hackborn1b794fa2018-02-09 14:12:56 -08003472 <!-- Allows an application to delete cache files.
3473 @hide -->
3474 <permission android:name="android.permission.INTERNAL_DELETE_CACHE_FILES"
3475 android:protectionLevel="signature" />
3476
Adrian Roos66f85912018-12-11 19:47:33 +01003477 <!-- Allows an application to delete packages.
Sudheer Shankaeaa6c6b2016-05-04 15:03:30 -07003478 <p>Not for use by third-party applications.
3479 <p>Starting in {@link android.os.Build.VERSION_CODES#N}, user confirmation is requested
3480 when the application deleting the package is not the same application that installed the
3481 package. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003482 <permission android:name="android.permission.DELETE_PACKAGES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003483 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003484
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003485 <!-- @SystemApi Allows an application to move location of installed package.
Jeff Brownec7c78f2010-03-30 23:37:25 -07003486 @hide -->
Suchi Amalapurapu8946dd32010-02-19 09:19:34 -08003487 <permission android:name="android.permission.MOVE_PACKAGE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003488 android:protectionLevel="signature|privileged" />
Suchi Amalapurapu8946dd32010-02-19 09:19:34 -08003489
Adrian Roos66f85912018-12-11 19:47:33 +01003490 <!-- Allows an application to change whether an application component (other than its own) is
Scott Main93e60b52013-06-10 11:05:55 -07003491 enabled or not.
3492 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003493 <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003494 android:protectionLevel="signature|privileged" />
Dianne Hackborne639da72012-02-21 15:11:13 -08003495
Svet Ganovae0e03a2016-02-25 18:22:10 -08003496 <!-- @SystemApi Allows an application to grant specific permissions.
Svet Ganov7121e182015-07-13 22:38:12 -07003497 @hide -->
3498 <permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS"
Svetoslav7bddf5a2015-10-29 17:00:06 -07003499 android:protectionLevel="signature|installer|verifier" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003500
Svet Ganovae0e03a2016-02-25 18:22:10 -08003501 <!-- @SystemApi Allows an app that has this permission and the permissions to install packages
Svet Ganov7121e182015-07-13 22:38:12 -07003502 to request certain runtime permissions to be granted at installation.
Svet Ganovae0e03a2016-02-25 18:22:10 -08003503 @hide -->
Svet Ganov7121e182015-07-13 22:38:12 -07003504 <permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"
3505 android:protectionLevel="signature|installer|verifier" />
3506
Svet Ganovae0e03a2016-02-25 18:22:10 -08003507 <!-- @SystemApi Allows an application to revoke specific permissions.
3508 @hide -->
Svet Ganov7121e182015-07-13 22:38:12 -07003509 <permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS"
3510 android:protectionLevel="signature|installer|verifier" />
3511
Philip P. Moltmannbc054d82018-12-21 09:41:58 -08003512 <!-- @SystemApi Allows the system to read runtime permission state.
3513 @hide -->
3514 <permission android:name="android.permission.GET_RUNTIME_PERMISSIONS"
3515 android:protectionLevel="signature" />
3516
Philip P. Moltmann2a537a62019-02-08 13:07:57 -08003517 <!-- @SystemApi Allows an application to change policy_fixed permissions.
3518 @hide -->
3519 <permission android:name="android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY"
3520 android:protectionLevel="signature|installer" />
3521
Svet Ganovd8eb8b22019-04-05 18:52:08 -07003522 <!-- @SystemApi Allows an application to whitelist restricted permissions
3523 on any of the whitelists.
3524 @hide -->
3525 <permission android:name="android.permission.WHITELIST_RESTRICTED_PERMISSIONS"
3526 android:protectionLevel="signature|installer" />
3527
Svetoslavf7c06eb2015-06-10 18:43:22 -07003528 <!-- @hide Allows an application to observe permission changes. -->
3529 <permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003530 android:protectionLevel="signature|privileged" />
Svetoslavf7c06eb2015-06-10 18:43:22 -07003531
Hai Zhangb7776682018-09-25 15:10:57 -07003532 <!-- @SystemApi Allows an application to manage the holders of a role.
3533 @hide -->
3534 <permission android:name="android.permission.MANAGE_ROLE_HOLDERS"
3535 android:protectionLevel="signature|installer" />
3536
Hai Zhang31d06ba2018-12-06 18:14:42 -08003537 <!-- @SystemApi Allows an application to observe role holder changes.
3538 @hide -->
3539 <permission android:name="android.permission.OBSERVE_ROLE_HOLDERS"
3540 android:protectionLevel="signature|installer" />
3541
Svetoslav71b6ca62015-06-25 18:19:14 -07003542 <!-- @SystemApi Allows an application to use SurfaceFlinger's low level features.
3543 <p>Not for use by third-party applications.
3544 @hide
3545 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003546 <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003547 android:protectionLevel="signature" />
3548
Nandana Duttcaa42032018-08-08 09:35:59 +01003549 <!-- Allows an application to take screen shots and more generally
Scott Main93e60b52013-06-10 11:05:55 -07003550 get access to the frame buffer data.
Nandana Duttcaa42032018-08-08 09:35:59 +01003551 <p>Not for use by third-party applications.
3552 @hide
3553 @removed -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003554 <permission android:name="android.permission.READ_FRAME_BUFFER"
Nandana Duttcaa42032018-08-08 09:35:59 +01003555 android:protectionLevel="signature" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003556
Jeff Brown6c1c0b62013-07-12 16:56:34 -07003557 <!-- Allows an application to use InputFlinger's low level features.
Jeff Brown465c5de2014-06-09 18:34:20 -07003558 @hide -->
Jeff Brown6c1c0b62013-07-12 16:56:34 -07003559 <permission android:name="android.permission.ACCESS_INPUT_FLINGER"
Jeff Brown6c1c0b62013-07-12 16:56:34 -07003560 android:protectionLevel="signature" />
3561
Siarhei Vishniakoua7f99b52017-03-21 17:39:40 -07003562 <!-- Allows an application to disable/enable input devices.
3563 Could be used to prevent unwanted touch events
3564 on a touchscreen, for example during swimming or rain.
3565 @hide -->
3566 <permission android:name="android.permission.DISABLE_INPUT_DEVICE"
3567 android:protectionLevel="signature" />
3568
Jeff Brown4b71e4e2012-09-07 17:41:02 -07003569 <!-- Allows an application to configure and connect to Wifi displays
3570 @hide -->
3571 <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
Jeff Brown4b71e4e2012-09-07 17:41:02 -07003572 android:protectionLevel="signature" />
3573
3574 <!-- Allows an application to control low-level features of Wifi displays
3575 such as opening an RTSP socket. This permission should only be used
3576 by the display manager.
3577 @hide -->
3578 <permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
Jeff Brown4b71e4e2012-09-07 17:41:02 -07003579 android:protectionLevel="signature" />
3580
Michael Wright1c9977b2016-07-12 13:30:10 -07003581 <!-- Allows an application to control the color modes set for displays system-wide.
Michael Wright58e829f2015-09-15 00:13:26 +01003582 <p>Not for use by third-party applications.</p>
3583 @hide -->
Michael Wright1c9977b2016-07-12 13:30:10 -07003584 <permission android:name="android.permission.CONFIGURE_DISPLAY_COLOR_MODE"
Michael Wright58e829f2015-09-15 00:13:26 +01003585 android:protectionLevel="signature" />
3586
Bryan Mawhinney462e29d2018-03-22 15:52:41 +00003587 <!-- Allows an application to control the color saturation of the display.
3588 @hide
3589 @SystemApi -->
3590 <permission android:name="android.permission.CONTROL_DISPLAY_SATURATION"
3591 android:protectionLevel="signature|privileged" />
3592
Christine Franks39b03112018-07-03 14:46:07 -07003593 <!-- Allows an application to control display color transformations.
3594 <p>Not for use by third-party applications.</p>
3595 @hide
3596 @SystemApi -->
3597 <permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"
3598 android:protectionLevel="signature|privileged" />
3599
Kenny Guy22bd0442017-10-26 00:15:54 +01003600 <!-- Allows an application to collect usage infomation about brightness slider changes.
3601 <p>Not for use by third-party applications.</p>
Kenny Guy0ff44892018-01-10 14:06:42 +00003602 @hide
Michael Wright22db4942018-03-09 23:10:20 +00003603 @SystemApi
3604 @TestApi -->
Kenny Guy22bd0442017-10-26 00:15:54 +01003605 <permission android:name="android.permission.BRIGHTNESS_SLIDER_USAGE"
Kenny Guy0ff44892018-01-10 14:06:42 +00003606 android:protectionLevel="signature|privileged|development" />
Kenny Guy22bd0442017-10-26 00:15:54 +01003607
Peeyush Agarwalcc155dd2018-01-10 11:51:33 +00003608 <!-- Allows an application to collect ambient light stats.
3609 <p>Not for use by third party applications.</p>
Peeyush Agarwal90eabcc2018-03-01 12:07:59 +00003610 @hide
3611 @SystemApi -->
Peeyush Agarwalcc155dd2018-01-10 11:51:33 +00003612 <permission android:name="android.permission.ACCESS_AMBIENT_LIGHT_STATS"
3613 android:protectionLevel="signature|privileged|development" />
3614
Michael Wrighteef0e132017-11-21 17:57:52 +00003615 <!-- Allows an application to modify the display brightness configuration
Kenny Guy0ff44892018-01-10 14:06:42 +00003616 @hide
Michael Wright22db4942018-03-09 23:10:20 +00003617 @SystemApi
3618 @TestApi -->
Michael Wrighteef0e132017-11-21 17:57:52 +00003619 <permission android:name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"
3620 android:protectionLevel="signature|privileged|development" />
3621
Michael Wrightd8460232018-01-16 18:04:59 +00003622 <!-- Allows an application to control the system's display brightness
3623 @hide -->
3624 <permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS"
3625 android:protectionLevel="signature" />
3626
Jeff Davidsonbc19c182014-11-11 13:20:01 -08003627 <!-- @SystemApi Allows an application to control VPN.
3628 <p>Not for use by third-party applications.</p>
3629 @hide -->
3630 <permission android:name="android.permission.CONTROL_VPN"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003631 android:protectionLevel="signature|privileged" />
Jeff Davidsonbc19c182014-11-11 13:20:01 -08003632 <uses-permission android:name="android.permission.CONTROL_VPN" />
3633
Pavel Grafova462bcb2019-01-25 08:50:06 +00003634 <!-- Allows an application to access and modify always-on VPN configuration.
3635 <p>Not for use by third-party or privileged applications.
3636 @hide -->
3637 <permission android:name="android.permission.CONTROL_ALWAYS_ON_VPN"
3638 android:protectionLevel="signature" />
3639
Adrian Roos66f85912018-12-11 19:47:33 +01003640 <!-- Allows an application to capture audio output.
Kevin Rocarda3a4bbb2019-03-07 18:29:48 -08003641 Use the {@code CAPTURE_MEDIA_OUTPUT} permission if only the {@code USAGE_UNKNOWN}),
3642 {@code USAGE_MEDIA}) or {@code USAGE_GAME}) usages are intended to be captured.
Jeff Brown7d00aff2013-08-02 19:03:49 -07003643 <p>Not for use by third-party applications.</p> -->
3644 <permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003645 android:protectionLevel="signature|privileged" />
Jeff Brown7d00aff2013-08-02 19:03:49 -07003646
Kevin Rocarda3a4bbb2019-03-07 18:29:48 -08003647 <!-- @SystemApi Allows an application to capture the audio played by other apps
3648 that have set an allow capture policy of
3649 {@link android.media.AudioAttributes#ALLOW_CAPTURE_BY_SYSTEM}.
3650
3651 Without this permission, only audio with an allow capture policy of
3652 {@link android.media.AudioAttributes#ALLOW_CAPTURE_BY_ALL} can be used.
3653
3654 There are strong restriction listed at
3655 {@link android.media.AudioAttributes#ALLOW_CAPTURE_BY_SYSTEM}
3656 on what an app can do with the captured audio.
3657
3658 See {@code CAPTURE_AUDIO_OUTPUT} for capturing audio use cases other than media playback.
3659
3660 <p>Not for use by third-party applications.</p>
3661 @hide -->
3662 <permission android:name="android.permission.CAPTURE_MEDIA_OUTPUT"
3663 android:protectionLevel="signature|privileged" />
3664
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003665 <!-- @SystemApi Allows an application to capture audio for hotword detection.
Eric Laurent357263d2013-09-09 10:31:59 -07003666 <p>Not for use by third-party applications.</p>
3667 @hide -->
3668 <permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003669 android:protectionLevel="signature|privileged" />
Eric Laurent357263d2013-09-09 10:31:59 -07003670
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003671 <!-- @SystemApi Allows an application to modify audio routing and override policy decisions.
Eric Laurent01fae552014-05-29 14:42:54 -07003672 <p>Not for use by third-party applications.</p>
3673 @hide -->
3674 <permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003675 android:protectionLevel="signature|privileged" />
Eric Laurent01fae552014-05-29 14:42:54 -07003676
Ari Hausman-Cohenf2783af2018-01-11 14:38:35 -08003677 <!-- Allows an application to modify what effects are applied to all audio
3678 (matching certain criteria) from any application.
3679 <p>Not for use by third-party applications.</p>
3680 @hide -->
3681 <permission android:name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"
3682 android:protectionLevel="signature|privileged" />
3683
Zimuzoe91f5012018-09-25 19:44:49 +01003684 <!-- @SystemApi Allows an application to provide remote displays.
3685 <p>Not for use by third-party applications.</p>
3686 @hide -->
3687 <permission android:name="android.permission.REMOTE_DISPLAY_PROVIDER"
3688 android:protectionLevel="signature|privileged" />
3689
Nandana Dutta69e3672018-08-15 11:48:03 +01003690 <!-- Allows an application to capture video output.
3691 <p>Not for use by third-party applications.</p>
3692 @hide
3693 @removed -->
Jeff Brown7d00aff2013-08-02 19:03:49 -07003694 <permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
Zimuzoe91f5012018-09-25 19:44:49 +01003695 android:protectionLevel="signature" />
Jeff Brown7d00aff2013-08-02 19:03:49 -07003696
Nandana Dutta69e3672018-08-15 11:48:03 +01003697 <!-- Allows an application to capture secure video output.
3698 <p>Not for use by third-party applications.</p>
3699 @hide
3700 @removed -->
Jeff Brown7d00aff2013-08-02 19:03:49 -07003701 <permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
Zimuzoe91f5012018-09-25 19:44:49 +01003702 android:protectionLevel="signature" />
Jeff Brown7d00aff2013-08-02 19:03:49 -07003703
Adrian Roos66f85912018-12-11 19:47:33 +01003704 <!-- Allows an application to know what content is playing and control its playback.
Jean-Michel Trivi7ddd2262013-09-01 18:06:45 -07003705 <p>Not for use by third-party applications due to privacy of media consumption</p> -->
3706 <permission android:name="android.permission.MEDIA_CONTENT_CONTROL"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003707 android:protectionLevel="signature|privileged" />
Jean-Michel Trivi7ddd2262013-09-01 18:06:45 -07003708
Jaewan Kim50269362016-12-23 11:22:02 +09003709 <!-- @SystemApi @hide Allows an application to set the volume key long-press listener.
3710 <p>When it's set, the application will receive the volume key long-press event
3711 instead of changing volume.</p>
3712 <p>Not for use by third-party applications</p> -->
3713 <permission android:name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER"
3714 android:protectionLevel="signature|privileged|development" />
3715
Jaewan Kim6e2b01c2017-01-19 16:33:14 -08003716 <!-- @SystemApi @hide Allows an application to set media key event listener.
3717 <p>When it's set, the application will receive the media key event before
3718 any other media sessions. If the event is handled by the listener, other sessions
3719 cannot get the event.</p>
3720 <p>Not for use by third-party applications</p> -->
3721 <permission android:name="android.permission.SET_MEDIA_KEY_LISTENER"
3722 android:protectionLevel="signature|privileged|development" />
3723
Svetoslav71b6ca62015-06-25 18:19:14 -07003724 <!-- @SystemApi Required to be able to disable the device (very dangerous!).
3725 <p>Not for use by third-party applications.
3726 @hide
3727 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003728 <permission android:name="android.permission.BRICK"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003729 android:protectionLevel="signature" />
3730
Adrian Roos66f85912018-12-11 19:47:33 +01003731 <!-- Required to be able to reboot the device.
Scott Main93e60b52013-06-10 11:05:55 -07003732 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003733 <permission android:name="android.permission.REBOOT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003734 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003735
Svetoslav71b6ca62015-06-25 18:19:14 -07003736 <!-- @SystemApi Allows low-level access to power management.
3737 <p>Not for use by third-party applications.
3738 @hide
3739 -->
3740 <permission android:name="android.permission.DEVICE_POWER"
Chen Xuda02e072019-10-07 00:24:41 -07003741 android:protectionLevel="signature|telephony" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003742
Salvador Martineza80bbab2018-09-24 10:36:11 -07003743 <!-- Allows toggling battery saver on the system.
3744 Superseded by DEVICE_POWER permission. @hide @SystemApi
3745 -->
3746 <permission android:name="android.permission.POWER_SAVER"
3747 android:protectionLevel="signature|privileged" />
3748
Jeff Brown0a571122014-08-21 21:50:43 -07003749 <!-- Allows access to the PowerManager.userActivity function.
3750 <p>Not for use by third-party applications. @hide @SystemApi -->
3751 <permission android:name="android.permission.USER_ACTIVITY"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003752 android:protectionLevel="signature|privileged" />
Jeff Brown0a571122014-08-21 21:50:43 -07003753
Dianne Hackborn8832c182012-09-17 17:20:24 -07003754 <!-- @hide Allows low-level access to tun tap driver -->
fredc0f420372012-04-12 00:02:00 -07003755 <permission android:name="android.permission.NET_TUNNELING"
fredc0f420372012-04-12 00:02:00 -07003756 android:protectionLevel="signature" />
3757
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003758 <!-- Run as a manufacturer test application, running as the root user.
Scott Main93e60b52013-06-10 11:05:55 -07003759 Only available when the device is running in manufacturer test mode.
Svetoslav71b6ca62015-06-25 18:19:14 -07003760 <p>Not for use by third-party applications.
3761 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003762 <permission android:name="android.permission.FACTORY_TEST"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003763 android:protectionLevel="signature" />
3764
3765 <!-- Allows an application to broadcast a notification that an application
Scott Main93e60b52013-06-10 11:05:55 -07003766 package has been removed.
Svetoslav71b6ca62015-06-25 18:19:14 -07003767 <p>Not for use by third-party applications.
3768 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003769 <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003770 android:protectionLevel="signature" />
3771
Scott Main93e60b52013-06-10 11:05:55 -07003772 <!-- Allows an application to broadcast an SMS receipt notification.
Svetoslav71b6ca62015-06-25 18:19:14 -07003773 <p>Not for use by third-party applications.
3774 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003775 <permission android:name="android.permission.BROADCAST_SMS"
Chen Xuda02e072019-10-07 00:24:41 -07003776 android:protectionLevel="signature|telephony" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003777
Scott Main93e60b52013-06-10 11:05:55 -07003778 <!-- Allows an application to broadcast a WAP PUSH receipt notification.
Svetoslav71b6ca62015-06-25 18:19:14 -07003779 <p>Not for use by third-party applications.
3780 -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003781 <permission android:name="android.permission.BROADCAST_WAP_PUSH"
Chen Xuda02e072019-10-07 00:24:41 -07003782 android:protectionLevel="signature|telephony" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003783
Jeff Davidson16197792014-11-03 17:39:54 -08003784 <!-- @SystemApi Allows an application to broadcast privileged networking requests.
Jeremy Joslin7231d442016-12-21 14:16:19 -08003785 <p>Not for use by third-party applications.
3786 @hide
3787 @deprecated Use {@link android.Manifest.permission#REQUEST_NETWORK_SCORES} instead
3788 -->
Jeff Davidson16197792014-11-03 17:39:54 -08003789 <permission android:name="android.permission.BROADCAST_NETWORK_PRIVILEGED"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003790 android:protectionLevel="signature|privileged" />
Jeff Davidsonb51e0a62014-04-09 12:38:15 -07003791
Adrian Roos66f85912018-12-11 19:47:33 +01003792 <!-- Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003793 <permission android:name="android.permission.MASTER_CLEAR"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003794 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003795
Adrian Roos66f85912018-12-11 19:47:33 +01003796 <!-- Allows an application to call any phone number, including emergency
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003797 numbers, without going through the Dialer user interface for the user
Scott Main93e60b52013-06-10 11:05:55 -07003798 to confirm the call being placed.
3799 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003800 <permission android:name="android.permission.CALL_PRIVILEGED"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003801 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003802
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003803 <!-- @SystemApi Allows an application to perform CDMA OTA provisioning @hide -->
Jim Miller767be5f2009-08-25 19:33:57 -07003804 <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003805 android:protectionLevel="signature|privileged" />
Jim Miller767be5f2009-08-25 19:33:57 -07003806
Santos Cordon15a13782015-03-31 18:32:31 -07003807 <!-- @SystemApi Allows an application to perform SIM Activation @hide -->
3808 <permission android:name="android.permission.PERFORM_SIM_ACTIVATION"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003809 android:protectionLevel="signature|privileged" />
Santos Cordon15a13782015-03-31 18:32:31 -07003810
Adrian Roos66f85912018-12-11 19:47:33 +01003811 <!-- Allows enabling/disabling location update notifications from
Scott Main93e60b52013-06-10 11:05:55 -07003812 the radio.
3813 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003814 <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003815 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003816
Adrian Roos66f85912018-12-11 19:47:33 +01003817 <!-- Allows read/write access to the "properties" table in the checkin
Scott Main93e60b52013-06-10 11:05:55 -07003818 database, to change values that get uploaded.
3819 <p>Not for use by third-party applications. -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003820 <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003821 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003822
Adrian Roos66f85912018-12-11 19:47:33 +01003823 <!-- Allows an application to collect component usage
Zoltan Szatmary-Ban9c5dfa52015-02-23 17:20:20 +00003824 statistics
Zoltan Szatmary-Ban763e1702015-05-06 10:52:14 +01003825 <p>Declaring the permission implies intention to use the API and the user of the
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07003826 device can grant permission through the Settings application.
3827 <p>Protection level: signature|privileged|development|appop -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003828 <permission android:name="android.permission.PACKAGE_USAGE_STATS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003829 android:protectionLevel="signature|privileged|development|appop" />
Adam Powell09a65602014-07-20 16:23:14 -07003830 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003831
Amith Yamasanibc813eb2018-03-20 19:37:46 -07003832 <!-- @hide @SystemApi Allows an application to observe usage time of apps. The app can register
3833 for callbacks when apps reach a certain usage time limit, etc. -->
3834 <permission android:name="android.permission.OBSERVE_APP_USAGE"
3835 android:protectionLevel="signature|privileged" />
3836
Philip P. Moltmann33115152018-04-11 13:39:36 -07003837 <!-- @hide @TestApi @SystemApi Allows an application to change the app idle state of an app.
Amith Yamasanicf768722015-04-23 20:36:41 -07003838 <p>Not for use by third-party applications. -->
3839 <permission android:name="android.permission.CHANGE_APP_IDLE_STATE"
Amith Yamasani4470ab92017-10-31 13:29:00 -07003840 android:protectionLevel="signature|privileged" />
Amith Yamasanicf768722015-04-23 20:36:41 -07003841
Amith Yamasaniaf575b92015-05-29 15:35:26 -07003842 <!-- @hide @SystemApi Allows an application to temporarily whitelist an inactive app to
3843 access the network and acquire wakelocks.
3844 <p>Not for use by third-party applications. -->
3845 <permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03003846 android:protectionLevel="signature|privileged" />
Amith Yamasaniaf575b92015-05-29 15:35:26 -07003847
Dianne Hackbornc7b57b12015-08-10 14:52:52 -07003848 <!-- Permission an application must hold in order to use
3849 {@link android.provider.Settings#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS}.
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07003850 <p>Protection level: normal -->
Dianne Hackbornc7b57b12015-08-10 14:52:52 -07003851 <permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"
Felipe Leme965f4262016-12-05 10:51:30 -08003852 android:label="@string/permlab_requestIgnoreBatteryOptimizations"
3853 android:description="@string/permdesc_requestIgnoreBatteryOptimizations"
Dianne Hackbornc7b57b12015-08-10 14:52:52 -07003854 android:protectionLevel="normal" />
3855
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07003856 <!-- Allows an application to collect battery statistics
3857 <p>Protection level: signature|privileged|development -->
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003858 <permission android:name="android.permission.BATTERY_STATS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003859 android:protectionLevel="signature|privileged|development" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003860
Bookatz94726412017-08-31 09:26:15 -07003861 <!--Allows an application to manage statscompanion.
3862 <p>Not for use by third-party applications.
3863 @hide -->
3864 <permission android:name="android.permission.STATSCOMPANION"
3865 android:protectionLevel="signature" />
3866
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003867 <!-- @SystemApi Allows an application to control the backup and restore process.
Scott Main93e60b52013-06-10 11:05:55 -07003868 <p>Not for use by third-party applications.
Christopher Tate181fafa2009-05-14 11:12:14 -07003869 @hide pending API council -->
3870 <permission android:name="android.permission.BACKUP"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003871 android:protectionLevel="signature|privileged" />
Christopher Tate181fafa2009-05-14 11:12:14 -07003872
Dmitry Dementyev59ca9b52018-03-22 09:32:13 -07003873 <!-- @SystemApi Allows application to manage
3874 {@link android.security.keystore.recovery.RecoveryController}.
3875 <p>Not for use by third-party applications.
Dmitry Dementyevf9a89c12017-12-11 11:53:52 -08003876 @hide -->
3877 <permission android:name="android.permission.RECOVER_KEYSTORE"
3878 android:protectionLevel="signature|privileged" />
3879
Christopher Tate4a627c72011-04-01 14:43:32 -07003880 <!-- Allows a package to launch the secure full-backup confirmation UI.
3881 ONLY the system process may hold this permission.
3882 @hide -->
3883 <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
Christopher Tate4a627c72011-04-01 14:43:32 -07003884 android:protectionLevel="signature" />
3885
Adrian Roos66f85912018-12-11 19:47:33 +01003886 <!-- Must be required by a {@link android.widget.RemoteViewsService},
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07003887 to ensure that only the system can bind to it.
3888 <p>Protection level: signature|privileged -->
Winson Chung81f39eb2011-01-11 18:05:01 -08003889 <permission android:name="android.permission.BIND_REMOTEVIEWS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003890 android:protectionLevel="signature|privileged" />
Winson Chung81f39eb2011-01-11 18:05:01 -08003891
Adrian Roos66f85912018-12-11 19:47:33 +01003892 <!-- Allows an application to tell the AppWidget service which application
The Android Open Source Projectc39a6e02009-03-11 12:11:56 -07003893 can access AppWidget's data. The normal user flow is that a user
3894 picks an AppWidget to go into a particular host, thereby giving that
3895 host application access to the private data from the AppWidget app.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003896 An application that has this permission should honor that contract.
Scott Main93e60b52013-06-10 11:05:55 -07003897 <p>Not for use by third-party applications. -->
The Android Open Source Projectc39a6e02009-03-11 12:11:56 -07003898 <permission android:name="android.permission.BIND_APPWIDGET"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003899 android:protectionLevel="signature|privileged" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003900
Jason Monkf7624962018-01-17 17:50:29 -05003901 <!-- @hide Allows sysui to manage user grants of slice permissions. -->
3902 <permission android:name="android.permission.MANAGE_SLICE_PERMISSIONS"
3903 android:protectionLevel="signature" />
3904
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003905 <!-- @SystemApi Private permission, to restrict who can bring up a dialog to add a new
Michael Jurkafc753c02012-10-30 18:30:52 -07003906 keyguard widget
3907 @hide -->
3908 <permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003909 android:protectionLevel="signature|privileged" />
Michael Jurkafc753c02012-10-30 18:30:52 -07003910
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003911 <!-- @SystemApi Internal permission allowing an application to query/set which
Michael Jurka61a5b012012-04-13 10:39:45 -07003912 applications can bind AppWidgets.
3913 @hide -->
3914 <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003915 android:protectionLevel="signature|privileged" />
Michael Jurka61a5b012012-04-13 10:39:45 -07003916
Scott Main93e60b52013-06-10 11:05:55 -07003917 <!-- Allows applications to change the background data setting.
3918 <p>Not for use by third-party applications.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003919 @hide pending API council -->
3920 <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
Svetoslav61a4dd52015-04-09 10:17:40 -07003921 android:protectionLevel="signature" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003922
Adrian Roos66f85912018-12-11 19:47:33 +01003923 <!-- This permission can be used on content providers to allow the global
Dianne Hackborn2af632f2009-07-08 14:56:37 -07003924 search system to access their data. Typically it used when the
3925 provider has some permissions protecting it (which global search
3926 would not be expected to hold), and added as a read-only permission
3927 to the path in the provider where global search queries are
3928 performed. This permission can not be held by regular applications;
3929 it is used by applications to protect themselves from everyone else
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07003930 besides global search.
3931 <p>Protection level: signature|privileged -->
Dianne Hackborn2af632f2009-07-08 14:56:37 -07003932 <permission android:name="android.permission.GLOBAL_SEARCH"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003933 android:protectionLevel="signature|privileged" />
Dianne Hackborn2af632f2009-07-08 14:56:37 -07003934
3935 <!-- Internal permission protecting access to the global search
3936 system: ensures that only the system can access the provider
3937 to perform queries (since this otherwise provides unrestricted
3938 access to a variety of content providers), and to write the
3939 search statistics (to keep applications from gaming the source
3940 ranking).
3941 @hide -->
3942 <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
Dianne Hackborn2af632f2009-07-08 14:56:37 -07003943 android:protectionLevel="signature" />
3944
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003945 <!-- @SystemApi Internal permission to allows an application to read indexable data.
Fabrice Di Megliob49995d2014-03-14 19:06:20 -07003946 @hide -->
3947 <permission android:name="android.permission.READ_SEARCH_INDEXABLES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003948 android:protectionLevel="signature|privileged" />
Fabrice Di Megliob49995d2014-03-14 19:06:20 -07003949
Fan Zhang723bf372017-08-25 17:22:31 -07003950 <!-- @SystemApi Internal permission to allows an application to bind to suggestion service.
3951 @hide -->
3952 <permission android:name="android.permission.BIND_SETTINGS_SUGGESTIONS_SERVICE"
3953 android:protectionLevel="signature" />
3954
Sunny Shaoa9df0282018-07-31 15:30:44 +08003955 <!-- @hide Internal permission to allows an application to access card content provider. -->
3956 <permission android:name="android.permission.WRITE_SETTINGS_HOMEPAGE_DATA"
3957 android:protectionLevel="signature|privileged" />
3958
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003959 <!-- @SystemApi Allows applications to set a live wallpaper.
Dianne Hackbornaef405d2009-09-27 17:05:46 -07003960 @hide XXX Change to signature once the picker is moved to its
3961 own apk as Ghod Intended. -->
Dianne Hackborn4c62fc02009-08-08 20:40:27 -07003962 <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003963 android:protectionLevel="signature|privileged" />
Dianne Hackborn4c62fc02009-08-08 20:40:27 -07003964
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003965 <!-- @SystemApi Allows applications to read dream settings and dream state.
John Spurlockf4f6b4c2012-08-25 12:08:03 -04003966 @hide -->
3967 <permission android:name="android.permission.READ_DREAM_STATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003968 android:protectionLevel="signature|privileged" />
John Spurlockf4f6b4c2012-08-25 12:08:03 -04003969
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003970 <!-- @SystemApi Allows applications to write dream settings, and start or stop dreaming.
John Spurlockf4f6b4c2012-08-25 12:08:03 -04003971 @hide -->
3972 <permission android:name="android.permission.WRITE_DREAM_STATE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003973 android:protectionLevel="signature|privileged" />
John Spurlockf4f6b4c2012-08-25 12:08:03 -04003974
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003975 <!-- @SystemApi Allow an application to read and write the cache partition.
Jeff Brownec7c78f2010-03-30 23:37:25 -07003976 @hide -->
Doug Zongker6e99b7a2010-01-06 15:02:52 -08003977 <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003978 android:protectionLevel="signature|privileged" />
Doug Zongker6e99b7a2010-01-06 15:02:52 -08003979
Suchi Amalapurapuc028be42010-01-25 12:19:12 -08003980 <!-- Must be required by default container service so that only
3981 the system can bind to it and use it to copy
3982 protected data to secure containers or files
3983 accessible to the system.
3984 @hide -->
3985 <permission android:name="android.permission.COPY_PROTECTED_DATA"
Suchi Amalapurapuc028be42010-01-25 12:19:12 -08003986 android:protectionLevel="signature" />
3987
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003988 <!-- @SystemApi Internal permission protecting access to the encryption methods
Jason parks8888c592011-01-20 22:46:41 -06003989 @hide
3990 -->
3991 <permission android:name="android.permission.CRYPT_KEEPER"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003992 android:protectionLevel="signature|privileged" />
Jason parks8888c592011-01-20 22:46:41 -06003993
Jeff Brownb61eaaa2014-06-06 19:46:26 -07003994 <!-- @SystemApi Allows an application to read historical network usage for
Jeff Sharkey21c9c452011-06-07 12:26:43 -07003995 specific networks and applications. @hide -->
3996 <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07003997 android:protectionLevel="signature|privileged" />
Jeff Sharkey21c9c452011-06-07 12:26:43 -07003998
3999 <!-- Allows an application to manage network policies (such as warning and disable
4000 limits) and to define application-specific rules. @hide -->
4001 <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
Jeff Sharkey21c9c452011-06-07 12:26:43 -07004002 android:protectionLevel="signature" />
Jason parks8888c592011-01-20 22:46:41 -06004003
Jeff Sharkey9f09e6a72017-06-26 11:24:47 -06004004 <!-- @SystemApi @hide @deprecated use UPDATE_DEVICE_STATS instead -->
Jeff Sharkey9e18fd12011-05-02 17:51:29 -07004005 <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004006 android:protectionLevel="signature|privileged" />
Jeff Sharkey9e18fd12011-05-02 17:51:29 -07004007
Jeff Sharkeyb74799882017-07-28 16:55:41 -06004008 <!-- @SystemApi @hide Allows an application to manage carrier subscription plans. -->
4009 <permission android:name="android.permission.MANAGE_SUBSCRIPTION_PLANS"
4010 android:protectionLevel="signature|privileged" />
4011
Tom Taylorb0381682011-08-11 14:27:25 -07004012 <!-- C2DM permission.
Costin Manolache63cfebf2010-02-04 16:52:34 -08004013 @hide Used internally.
4014 -->
Costin Manolache8d83f9e2010-05-12 16:04:10 -07004015 <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
Costin Manolache63cfebf2010-02-04 16:52:34 -08004016 android:protectionLevel="signature" />
Costin Manolache8d83f9e2010-05-12 16:04:10 -07004017 <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
Costin Manolache63cfebf2010-02-04 16:52:34 -08004018
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004019 <!-- @SystemApi @hide Package verifier needs to have this permission before the PackageManager will
Kenny Root5ab21572011-07-27 11:11:19 -07004020 trust it to verify packages.
Kenny Root5ab21572011-07-27 11:11:19 -07004021 -->
4022 <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004023 android:protectionLevel="signature|privileged" />
Kenny Root5ab21572011-07-27 11:11:19 -07004024
4025 <!-- Must be required by package verifier receiver, to ensure that only the
4026 system can interact with it.
4027 @hide
4028 -->
4029 <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
Kenny Root5ab21572011-07-27 11:11:19 -07004030 android:protectionLevel="signature" />
4031
Richard Uhlerb29f1452018-09-12 16:38:15 +01004032 <!-- @hide Rollback manager needs to have this permission before the PackageManager will
4033 trust it to enable rollback.
4034 -->
4035 <permission android:name="android.permission.PACKAGE_ROLLBACK_AGENT"
4036 android:protectionLevel="signature" />
4037
Richard Uhler8a977452019-03-08 13:27:17 +00004038 <!-- @SystemApi @TestApi @hide Allows managing apk level rollbacks. -->
Richard Uhlerc739c8c2018-12-12 11:03:34 +00004039 <permission android:name="android.permission.MANAGE_ROLLBACKS"
Richard Uhler4d559762019-01-14 09:28:05 +00004040 android:protectionLevel="signature|verifier" />
Richard Uhlerc739c8c2018-12-12 11:03:34 +00004041
Richard Uhlerb904a202019-03-21 16:08:39 +00004042 <!-- @TestApi @hide Allows testing apk level rollbacks. -->
Richard Uhler1fc10c12019-03-18 11:38:46 +00004043 <permission android:name="android.permission.TEST_MANAGE_ROLLBACKS"
4044 android:protectionLevel="signature" />
4045
Ben Gruver1ab3d6e2017-12-07 13:45:08 -08004046 <!-- @SystemApi @hide Allows an application to mark other applications as harmful -->
4047 <permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS"
4048 android:protectionLevel="signature|verifier" />
4049
Fabrice Di Meglio1c1b4712014-11-19 17:12:32 -08004050 <!-- @SystemApi @hide Intent filter verifier needs to have this permission before the
4051 PackageManager will trust it to verify intent filters.
4052 -->
4053 <permission android:name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004054 android:protectionLevel="signature|privileged" />
Fabrice Di Meglio1c1b4712014-11-19 17:12:32 -08004055
4056 <!-- Must be required by intent filter verifier receiver, to ensure that only the
4057 system can interact with it.
4058 @hide
4059 -->
4060 <permission android:name="android.permission.BIND_INTENT_FILTER_VERIFIER"
Fabrice Di Meglio1c1b4712014-11-19 17:12:32 -08004061 android:protectionLevel="signature" />
4062
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004063 <!-- @SystemApi Allows applications to access serial ports via the SerialManager.
Mike Lockwoodb01e8bf2011-08-29 20:11:07 -04004064 @hide -->
4065 <permission android:name="android.permission.SERIAL_PORT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004066 android:protectionLevel="signature|privileged" />
Mike Lockwoodb01e8bf2011-08-29 20:11:07 -04004067
Svetoslav Ganov25872aa2012-02-03 19:19:09 -08004068 <!-- Allows the holder to access content providers from outside an ApplicationThread.
4069 This permission is enforced by the ActivityManagerService on the corresponding APIs,
4070 in particular ActivityManagerService#getContentProviderExternal(String) and
4071 ActivityManagerService#removeContentProviderExternal(String).
4072 @hide
4073 -->
4074 <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
Svetoslav Ganov25872aa2012-02-03 19:19:09 -08004075 android:protectionLevel="signature" />
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004076
4077 <!-- @SystemApi Allows an application to hold an UpdateLock, recommending that a headless
Christopher Tate8662cab52012-02-23 14:59:36 -08004078 OTA reboot *not* occur while the lock is held.
4079 @hide -->
4080 <permission android:name="android.permission.UPDATE_LOCK"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004081 android:protectionLevel="signature|privileged" />
Svetoslav Ganov25872aa2012-02-03 19:19:09 -08004082
Julia Reynoldsd0ceefa2019-03-03 16:10:52 -05004083 <!-- @SystemApi Allows an application the opportunity to become a
4084 {@link android.service.notification.NotificationAssistantService}.
4085 User permission is still required before access is granted.
4086 @hide -->
4087 <permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"
4088 android:protectionLevel="signature|privileged" />
4089
Philip P. Moltmann33115152018-04-11 13:39:36 -07004090 <!-- @SystemApi @TestApi Allows an application to read the current set of notifications, including
Daniel Sandlerfde19b12013-01-17 00:21:05 -05004091 any metadata and intents attached.
4092 @hide -->
4093 <permission android:name="android.permission.ACCESS_NOTIFICATIONS"
Svet Ganovda0acdf2017-02-15 10:28:51 -08004094 android:protectionLevel="signature|privileged|appop" />
Daniel Sandlerfde19b12013-01-17 00:21:05 -05004095
Beverly4c870242019-01-09 16:45:45 -05004096 <!-- Marker permission for applications that wish to access notification policy. This permission
4097 is not supported on managed profiles.
Svetoslav71b6ca62015-06-25 18:19:14 -07004098 <p>Protection level: normal
4099 -->
John Spurlock7c74f782015-06-04 13:01:42 -04004100 <permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY"
4101 android:description="@string/permdesc_access_notification_policy"
4102 android:label="@string/permlab_access_notification_policy"
4103 android:protectionLevel="normal" />
4104
Julia Reynolds6ee26172015-09-28 11:34:48 -04004105 <!-- Allows modification of do not disturb rules and policies. Only allowed for system
4106 processes.
4107 @hide -->
4108 <permission android:name="android.permission.MANAGE_NOTIFICATIONS"
4109 android:protectionLevel="signature" />
4110
Julia Reynolds4db59552017-06-30 13:34:01 -04004111 <!-- Allows notifications to be colorized
4112 <p>Not for use by third-party applications. @hide -->
4113 <permission android:name="android.permission.USE_COLORIZED_NOTIFICATIONS"
4114 android:protectionLevel="signature|setup" />
4115
Jim Miller5ecd8112013-01-09 18:50:26 -08004116 <!-- Allows access to keyguard secure storage. Only allowed for system processes.
4117 @hide -->
4118 <permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"
Svetoslav61a4dd52015-04-09 10:17:40 -07004119 android:protectionLevel="signature" />
Jim Miller5ecd8112013-01-09 18:50:26 -08004120
Jim Millerba67aee2015-02-20 16:21:26 -08004121 <!-- Allows managing (adding, removing) fingerprint templates. Reserved for the system. @hide -->
4122 <permission android:name="android.permission.MANAGE_FINGERPRINT"
Yury Zhauniarovich381e0a42015-12-13 20:01:03 +03004123 android:protectionLevel="signature|privileged" />
Jim Millerba67aee2015-02-20 16:21:26 -08004124
Jim Millere0507bb2015-08-12 20:30:34 -07004125 <!-- Allows an app to reset fingerprint attempt counter. Reserved for the system. @hide -->
4126 <permission android:name="android.permission.RESET_FINGERPRINT_LOCKOUT"
4127 android:protectionLevel="signature" />
4128
Kevin Chyna24e9fd2018-08-27 12:39:17 -07004129 <!-- Allows direct access to the <Biometric>Service interfaces. Reserved for the system. @hide -->
4130 <permission android:name="android.permission.MANAGE_BIOMETRIC"
4131 android:protectionLevel="signature" />
4132
4133 <!-- Allows direct access to the <Biometric>Service authentication methods. Reserved for the system. @hide -->
4134 <permission android:name="android.permission.USE_BIOMETRIC_INTERNAL"
4135 android:protectionLevel="signature" />
Gilad Brettercb51b8b2018-03-22 17:04:51 +02004136
Kevin Chyn95c27e02018-09-12 01:46:16 -07004137 <!-- Allows the system to control the BiometricDialog (SystemUI). Reserved for the system. @hide -->
4138 <permission android:name="android.permission.MANAGE_BIOMETRIC_DIALOG"
4139 android:protectionLevel="signature" />
4140
Gilad Brettercb51b8b2018-03-22 17:04:51 +02004141 <!-- Allows an app to reset face authentication attempt counter. Reserved for the system. @hide -->
4142 <permission android:name="android.permission.RESET_FACE_LOCKOUT"
4143 android:protectionLevel="signature" />
4144
Jim Millerc0b676d2013-03-22 16:11:08 -07004145 <!-- Allows an application to control keyguard. Only allowed for system processes.
4146 @hide -->
4147 <permission android:name="android.permission.CONTROL_KEYGUARD"
Svetoslav61a4dd52015-04-09 10:17:40 -07004148 android:protectionLevel="signature" />
Jim Millerc0b676d2013-03-22 16:11:08 -07004149
Zimuzob3b9c262018-10-31 11:54:20 +00004150 <!-- @SystemApi Allows an application to control keyguard features like secure notifications.
4151 @hide -->
4152 <permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"
4153 android:protectionLevel="signature|privileged" />
4154
Adrian Roos82142c22014-03-27 14:56:59 +01004155 <!-- Allows an application to listen to trust changes. Only allowed for system processes.
4156 @hide -->
4157 <permission android:name="android.permission.TRUST_LISTENER"
Svetoslav61a4dd52015-04-09 10:17:40 -07004158 android:protectionLevel="signature" />
Adrian Roos82142c22014-03-27 14:56:59 +01004159
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004160 <!-- @SystemApi Allows an application to provide a trust agent.
Adrian Roos18ea8932014-05-28 14:53:06 +02004161 @hide For security reasons, this is a platform-only permission. -->
4162 <permission android:name="android.permission.PROVIDE_TRUST_AGENT"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004163 android:protectionLevel="signature|privileged" />
Adrian Roos18ea8932014-05-28 14:53:06 +02004164
Lucas Dupinc80c67e2017-12-04 14:29:10 -08004165 <!-- @SystemApi Allows an application to show a message
4166 on the keyguard when asking to dismiss it.
4167 @hide For security reasons, this is a platform-only permission. -->
4168 <permission android:name="android.permission.SHOW_KEYGUARD_MESSAGE"
4169 android:protectionLevel="signature|privileged" />
4170
Ido Ofir29372ab2014-06-04 10:52:44 -07004171 <!-- Allows an application to launch the trust agent settings activity.
4172 @hide -->
4173 <permission android:name="android.permission.LAUNCH_TRUST_AGENT_SETTINGS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004174 android:protectionLevel="signature|privileged" />
Ido Ofir29372ab2014-06-04 10:52:44 -07004175
Adrian Roosa06d5ca2014-07-28 15:14:21 +02004176 <!-- @SystemApi Must be required by an {@link
4177 android.service.trust.TrustAgentService},
4178 to ensure that only the system can bind to it.
4179 @hide -->
Adrian Roos7e03dfc2014-05-16 16:06:28 +02004180 <permission android:name="android.permission.BIND_TRUST_AGENT"
Svetoslav61a4dd52015-04-09 10:17:40 -07004181 android:protectionLevel="signature" />
Adrian Roosff2144c2014-03-28 13:02:19 +01004182
4183 <!-- Must be required by an {@link
Daniel Sandler5feceeb2013-03-22 18:29:23 -07004184 android.service.notification.NotificationListenerService},
Svetoslav71b6ca62015-06-25 18:19:14 -07004185 to ensure that only the system can bind to it.
4186 <p>Protection level: signature
4187 -->
Daniel Sandler5feceeb2013-03-22 18:29:23 -07004188 <permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
Daniel Sandler5feceeb2013-03-22 18:29:23 -07004189 android:protectionLevel="signature" />
4190
Julia Reynolds1327d3c2017-02-17 09:26:45 -05004191 <!-- @SystemApi Must be required by an {@link
Julia Reynolds79672302017-01-12 08:30:16 -05004192 android.service.notification.NotificationAssistantService} to ensure that only the system
Julia Reynolds77b2cc92016-11-08 14:41:09 -05004193 can bind to it.
Chris Wren9fa689f2015-11-20 16:44:53 -05004194 <p>Protection level: signature
Julia Reynolds1327d3c2017-02-17 09:26:45 -05004195 @hide
Chris Wren9fa689f2015-11-20 16:44:53 -05004196 -->
Julia Reynolds77b2cc92016-11-08 14:41:09 -05004197 <permission android:name="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"
Chris Wren9fa689f2015-11-20 16:44:53 -05004198 android:protectionLevel="signature" />
4199
Adam Powelle30c9af32015-02-27 15:51:11 -08004200 <!-- Must be required by a {@link
4201 android.service.chooser.ChooserTargetService}, to ensure that
Svetoslav71b6ca62015-06-25 18:19:14 -07004202 only the system can bind to it.
4203 <p>Protection level: signature
4204 -->
Adam Powelle30c9af32015-02-27 15:51:11 -08004205 <permission android:name="android.permission.BIND_CHOOSER_TARGET_SERVICE"
Adam Powelle30c9af32015-02-27 15:51:11 -08004206 android:protectionLevel="signature" />
4207
Kang Li61cf4d12017-04-13 09:17:07 -07004208 <!-- @SystemApi Must be held by services that extend
4209 {@link android.service.resolver.ResolverRankerService}.
4210 <p>Protection level: signature|privileged
4211 @hide
4212 -->
4213 <permission android:name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"
4214 android:protectionLevel="signature|privileged" />
4215
Kang Libbced1c2017-04-05 12:30:55 -07004216 <!-- @SystemApi Must be required by services that extend
4217 {@link android.service.resolver.ResolverRankerService}, to ensure that only the system can
4218 bind to them.
4219 <p>Protection level: signature
4220 @hide
4221 -->
4222 <permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE"
4223 android:protectionLevel="signature" />
4224
Julia Reynoldsb0a773f2015-08-25 15:01:22 -04004225 <!-- Must be required by a {@link
John Spurlock7340fc82014-04-24 18:50:12 -04004226 android.service.notification.ConditionProviderService},
4227 to ensure that only the system can bind to it.
Julia Reynoldsb0a773f2015-08-25 15:01:22 -04004228 <p>Protection level: signature
4229 -->
John Spurlock7340fc82014-04-24 18:50:12 -04004230 <permission android:name="android.permission.BIND_CONDITION_PROVIDER_SERVICE"
John Spurlock7340fc82014-04-24 18:50:12 -04004231 android:protectionLevel="signature" />
4232
John Spurlockeb8d1be2014-06-25 17:46:15 -04004233 <!-- Must be required by an {@link android.service.dreams.DreamService},
Svetoslav71b6ca62015-06-25 18:19:14 -07004234 to ensure that only the system can bind to it.
4235 <p>Protection level: signature
4236 -->
John Spurlockeb8d1be2014-06-25 17:46:15 -04004237 <permission android:name="android.permission.BIND_DREAM_SERVICE"
John Spurlockeb8d1be2014-06-25 17:46:15 -04004238 android:protectionLevel="signature" />
4239
Daniel Nishicf9d19e2017-01-23 14:33:42 -08004240 <!-- Must be required by an {@link android.app.usage.CacheQuotaService} to ensure that only the
4241 system can bind to it.
4242 @hide This is not a third-party API (intended for OEMs and system apps).
4243 -->
4244 <permission android:name="android.permission.BIND_CACHE_QUOTA_SERVICE"
4245 android:protectionLevel="signature" />
4246
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004247 <!-- @SystemApi Allows an application to call into a carrier setup flow. It is up to the
Evan Charlton843d5ea2013-05-13 10:35:33 -07004248 carrier setup application to enforce that this permission is required
4249 @hide This is not a third-party API (intended for OEMs and system apps). -->
4250 <permission android:name="android.permission.INVOKE_CARRIER_SETUP"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004251 android:protectionLevel="signature|privileged" />
Evan Charlton843d5ea2013-05-13 10:35:33 -07004252
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004253 <!-- @SystemApi Allows an application to listen for network condition observations.
Brian Williammee1ed51622013-07-31 17:07:33 -07004254 @hide This is not a third-party API (intended for system apps). -->
4255 <permission android:name="android.permission.ACCESS_NETWORK_CONDITIONS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004256 android:protectionLevel="signature|privileged" />
Brian Williammee1ed51622013-07-31 17:07:33 -07004257
Jeff Brownb61eaaa2014-06-06 19:46:26 -07004258 <!-- @SystemApi Allows an application to provision and access DRM certificates
Jeff Tinker9de8c1d2014-04-03 11:51:37 -07004259 @hide This is not a third-party API (intended for system apps). -->
4260 <permission android:name="android.permission.ACCESS_DRM_CERTIFICATES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004261 android:protectionLevel="signature|privileged" />
Jeff Tinker9de8c1d2014-04-03 11:51:37 -07004262
Michael Wrightd86ecd22014-08-12 19:27:54 -07004263 <!-- Api Allows an application to manage media projection sessions.
Michael Wrightc39d47a2014-07-08 18:07:36 -07004264 @hide This is not a third-party API (intended for system apps). -->
Michael Wrightd86ecd22014-08-12 19:27:54 -07004265 <permission android:name="android.permission.MANAGE_MEDIA_PROJECTION"
Michael Wrightc39d47a2014-07-08 18:07:36 -07004266 android:protectionLevel="signature" />
4267
Jeff Sharkey16c8e3f2014-07-24 17:08:17 -07004268 <!-- @SystemApi Allows an application to read install sessions
4269 @hide This is not a third-party API (intended for system apps). -->
4270 <permission android:name="android.permission.READ_INSTALL_SESSIONS"
4271 android:label="@string/permlab_readInstallSessions"
Svetoslav61a4dd52015-04-09 10:17:40 -07004272 android:description="@string/permdesc_readInstallSessions"
4273 android:protectionLevel="normal"/>
Jeff Tinker6bf5b602014-04-30 10:02:39 -07004274
4275 <!-- @SystemApi Allows an application to remove DRM certificates
4276 @hide This is not a third-party API (intended for system apps). -->
4277 <permission android:name="android.permission.REMOVE_DRM_CERTIFICATES"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004278 android:protectionLevel="signature|privileged" />
Jeff Sharkey16c8e3f2014-07-24 17:08:17 -07004279
Zach Johnsoncdaaa912015-05-13 16:25:12 -07004280 <!-- @deprecated Use {@link android.Manifest.permission#BIND_CARRIER_SERVICES} instead -->
Cheuksan Wangf9c50c42014-10-21 15:58:23 -07004281 <permission android:name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004282 android:protectionLevel="signature|privileged" />
Cheuksan Wangf9c50c42014-10-21 15:58:23 -07004283
Jorim Jaggi25e12ab2015-04-02 11:46:28 -07004284 <!-- Allows an application to interact with the currently active
4285 {@link android.service.voice.VoiceInteractionService}.
4286 @hide -->
4287 <permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE"
Svetoslav61a4dd52015-04-09 10:17:40 -07004288 android:protectionLevel="signature" />
Jorim Jaggi25e12ab2015-04-02 11:46:28 -07004289
Zach Johnsoncdaaa912015-05-13 16:25:12 -07004290 <!-- The system process that is allowed to bind to services in carrier apps will
4291 have this permission. Carrier apps should use this permission to protect
Svetoslav71b6ca62015-06-25 18:19:14 -07004292 their services that only the system is allowed to bind to.
Peter Visontayfb5883e2017-07-10 16:26:58 +01004293 <p>Protection level: signature|privileged
Svetoslav71b6ca62015-06-25 18:19:14 -07004294 -->
Zach Johnsoncdaaa912015-05-13 16:25:12 -07004295 <permission android:name="android.permission.BIND_CARRIER_SERVICES"
4296 android:label="@string/permlab_bindCarrierServices"
4297 android:description="@string/permdesc_bindCarrierServices"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004298 android:protectionLevel="signature|privileged" />
Jonathan Basseri9a1c9b62015-02-25 13:01:52 -08004299
Svet Ganov810d4842019-05-01 12:17:09 -07004300 <!--
4301 Allows the holder to start the permission usage screen for an app.
4302 <p>Protection level: signature|installer
4303 -->
4304 <permission android:name="android.permission.START_VIEW_PERMISSION_USAGE"
4305 android:label="@string/permlab_startViewPermissionUsage"
4306 android:description="@string/permdesc_startViewPermissionUsage"
4307 android:protectionLevel="signature|installer" />
4308
Andrei Kapishnikov4eb6a362015-04-02 15:21:20 -04004309 <!-- Allows an application to query whether DO_NOT_ASK_CREDENTIALS_ON_BOOT
4310 flag is set.
4311 @hide -->
4312 <permission android:name="android.permission.QUERY_DO_NOT_ASK_CREDENTIALS_ON_BOOT"
4313 android:protectionLevel="signature" />
4314
Svet Ganovae0e03a2016-02-25 18:22:10 -08004315 <!-- @SystemApi Allows applications to kill UIDs.
Svet Ganov019d2302015-05-04 11:07:38 -07004316 <p>Not for use by third-party applications.
4317 @hide -->
4318 <permission android:name="android.permission.KILL_UID"
Svetoslav3e7d9772015-07-06 18:31:23 -07004319 android:protectionLevel="signature|installer" />
Svet Ganov019d2302015-05-04 11:07:38 -07004320
Fyodor Kupolov136a2e7f2015-07-27 12:20:18 -07004321 <!-- @SystemApi Allows applications to read the local WiFi and Bluetooth MAC address.
4322 @hide -->
Svet Ganov408abf72015-05-12 19:13:36 -07004323 <permission android:name="android.permission.LOCAL_MAC_ADDRESS"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004324 android:protectionLevel="signature|privileged" />
Rubin Xu218718d2017-12-20 17:47:32 +00004325 <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS"/>
Svet Ganov408abf72015-05-12 19:13:36 -07004326
Fyodor Kupolov136a2e7f2015-07-27 12:20:18 -07004327 <!-- @SystemApi Allows access to MAC addresses of WiFi and Bluetooth peer devices.
4328 @hide -->
4329 <permission android:name="android.permission.PEERS_MAC_ADDRESS"
Svetoslav Ganovb2457c32016-10-11 16:12:29 -07004330 android:protectionLevel="signature|setup" />
Fyodor Kupolov136a2e7f2015-07-27 12:20:18 -07004331
Rubin Xu12134872015-06-19 20:38:43 +01004332 <!-- Allows the Nfc stack to dispatch Nfc messages to applications. Applications
4333 can use this permission to ensure incoming Nfc messages are from the Nfc stack
4334 and not simulated by another application.
4335 @hide -->
4336 <permission android:name="android.permission.DISPATCH_NFC_MESSAGE"
Dianne Hackborna90c8de2015-07-07 17:25:25 -07004337 android:protectionLevel="signature|privileged" />
Rubin Xu12134872015-06-19 20:38:43 +01004338
keunyounga7710492015-09-23 11:33:58 -07004339 <!-- @SystemApi Allows changing day / night mode when system is configured with
4340 config_lockDayNightMode set to true. If requesting app does not have permission,
4341 it will be ignored.
4342 @hide -->
4343 <permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"
Tyler Gunnf05f2c22019-09-30 15:12:24 -07004344 android:protectionLevel="signature|privileged" />
4345
4346 <!-- @SystemApi Allows entering or exiting car mode using a specified priority.
4347 This permission is required to use UiModeManager while specifying a priority for the calling
4348 app. A device manufacturer uses this permission to prioritize the apps which can
4349 potentially request to enter car-mode on a device to help establish the correct behavior
4350 where multiple such apps are active at the same time.
4351 @hide -->
4352 <permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"
4353 android:protectionLevel="signature|privileged" />
4354
4355 <!-- @SystemApi Required to receive ACTION_ENTER_CAR_MODE_PRIVILEGED or
4356 ACTION_EXIT_CAR_MODE_PRIVILEGED.
4357 @hide -->
4358 <permission android:name="android.permission.HANDLE_CAR_MODE_CHANGES"
keunyounga7710492015-09-23 11:33:58 -07004359 android:protectionLevel="signature|privileged" />
4360
Christopher Tate4a627c72011-04-01 14:43:32 -07004361 <!-- The system process is explicitly the only one allowed to launch the
4362 confirmation UI for full backup/restore -->
4363 <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
4364
Varun Shah5f303652018-11-16 18:11:19 -08004365 <!-- @SystemApi Allows the holder to access and manage instant applications on the device.
4366 @hide -->
Svetoslav Ganov096d3042017-01-30 16:34:13 -08004367 <permission android:name="android.permission.ACCESS_INSTANT_APPS"
Varun Shah5f303652018-11-16 18:11:19 -08004368 android:protectionLevel="signature|installer|verifier|wellbeing" />
Svet Ganovd223db32017-12-22 09:43:48 -08004369 <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS"/>
Svet Ganov2acf0632015-11-24 19:10:59 -08004370
Todd Kennedy3051caa2017-05-23 15:54:18 -07004371 <!-- Allows the holder to view the instant applications on the device.
4372 @hide -->
4373 <permission android:name="android.permission.VIEW_INSTANT_APPS"
Svet Ganovd223db32017-12-22 09:43:48 -08004374 android:protectionLevel="signature|preinstalled" />
4375
4376 <!-- Allows the holder to manage whether the system can bind to services
4377 provided by instant apps. This permission is intended to protect
4378 test/development fucntionality and should be used only in such cases.
4379 @hide -->
4380 <permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE"
4381 android:protectionLevel="signature" />
Todd Kennedy3051caa2017-05-23 15:54:18 -07004382
Dongwon Kang2034a4c2015-12-14 21:57:34 +09004383 <!-- Allows receiving the usage of media resource e.g. video/audio codec and
4384 graphic memory.
4385 @hide -->
4386 <permission android:name="android.permission.RECEIVE_MEDIA_RESOURCE_USAGE"
4387 android:protectionLevel="signature|privileged" />
4388
Arunesh Mishraa772e5f2016-01-25 10:33:11 -08004389 <!-- Must be required by system/priv apps when accessing the sound trigger
4390 APIs given by {@link SoundTriggerManager}.
Philip P. Moltmanna5fd0292018-03-06 13:44:07 -08004391 @hide
4392 @SystemApi -->
Arunesh Mishraa772e5f2016-01-25 10:33:11 -08004393 <permission android:name="android.permission.MANAGE_SOUND_TRIGGER"
4394 android:protectionLevel="signature|privileged" />
4395
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -08004396 <!-- Must be required by system/priv apps implementing sound trigger detection services
4397 @hide
4398 @SystemApi -->
4399 <permission android:name="android.permission.BIND_SOUND_TRIGGER_DETECTION_SERVICE"
4400 android:protectionLevel="signature" />
4401
Steven Ng980a1b62016-02-02 17:43:18 +00004402 <!-- @SystemApi Allows trusted applications to dispatch managed provisioning message to Managed
4403 Provisioning app. If requesting app does not have permission, it will be ignored.
4404 @hide -->
4405 <permission android:name="android.permission.DISPATCH_PROVISIONING_MESSAGE"
4406 android:protectionLevel="signature|privileged" />
4407
Abhijith Shastryd6e1ed52016-02-05 18:28:15 -08004408 <!-- Allows the holder to read blocked numbers. See
4409 {@link android.provider.BlockedNumberContract}.
4410 @hide -->
4411 <permission android:name="android.permission.READ_BLOCKED_NUMBERS"
Chen Xuda02e072019-10-07 00:24:41 -07004412 android:protectionLevel="signature|telephony" />
Abhijith Shastryd6e1ed52016-02-05 18:28:15 -08004413
4414 <!-- Allows the holder to write blocked numbers. See
4415 {@link android.provider.BlockedNumberContract}.
4416 @hide -->
4417 <permission android:name="android.permission.WRITE_BLOCKED_NUMBERS"
Chen Xuda02e072019-10-07 00:24:41 -07004418 android:protectionLevel="signature|telephony" />
Abhijith Shastryd6e1ed52016-02-05 18:28:15 -08004419
Ruben Brunke24b9a62016-02-16 21:38:24 -08004420 <!-- Must be required by an {@link android.service.vr.VrListenerService}, to ensure that only
4421 the system can bind to it.
4422 <p>Protection level: signature -->
4423 <permission android:name="android.permission.BIND_VR_LISTENER_SERVICE"
4424 android:protectionLevel="signature" />
4425
Karthik Ravi Shankar246b4142017-01-24 10:18:19 -08004426 <!-- Must be required by system apps when accessing restricted VR APIs.
Karthik Ravi Shankard74c0a72017-04-28 11:21:04 -07004427 @hide
4428 @SystemApi
Karthik Ravi Shankar246b4142017-01-24 10:18:19 -08004429 <p>Protection level: signature -->
4430 <permission android:name="android.permission.RESTRICTED_VR_ACCESS"
4431 android:protectionLevel="signature|preinstalled" />
4432
Ruben Brunkc7be3be2016-04-01 17:07:51 -07004433 <!-- Required to make calls to {@link android.service.vr.IVrManager}.
4434 @hide -->
4435 <permission android:name="android.permission.ACCESS_VR_MANAGER"
4436 android:protectionLevel="signature" />
4437
Santos Cordone6d77232017-08-08 17:11:41 -07004438 <!-- Required to access VR-Mode state and state change events via {android.app.VrStateCallback}
4439 @hide -->
4440 <permission android:name="android.permission.ACCESS_VR_STATE"
4441 android:protectionLevel="signature|preinstalled" />
4442
Russell Brennerb3ad5672016-03-25 12:18:07 -07004443 <!-- Allows an application to whitelist tasks during lock task mode
4444 @hide <p>Not for use by third-party applications.</p> -->
4445 <permission android:name="android.permission.UPDATE_LOCK_TASK_PACKAGES"
4446 android:protectionLevel="signature|setup" />
4447
Dan Sandler732bd6c2016-04-12 14:20:32 -04004448 <!-- @SystemApi Allows an application to replace the app name displayed alongside notifications
4449 in the N-release and later.
4450 @hide <p>Not for use by third-party applications.</p> -->
4451 <permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"
4452 android:protectionLevel="signature|privileged" />
4453
Maurice Lam132710e2017-03-03 19:13:42 -08004454 <!-- @SystemApi Allows an application to show notifications before the device is provisioned.
4455 @hide <p>Not for use by third-party applications.</p> -->
4456 <permission android:name="android.permission.NOTIFICATION_DURING_SETUP"
4457 android:protectionLevel="signature|privileged" />
4458
Felipe Leme5381aa42016-10-13 09:02:32 -07004459 <!-- @SystemApi Allows an application to manage auto-fill sessions.
4460 @hide <p>Not for use by third-party applications.</p> -->
4461 <permission android:name="android.permission.MANAGE_AUTO_FILL"
4462 android:protectionLevel="signature" />
4463
Felipe Leme749b8892018-12-03 16:30:30 -08004464 <!-- @SystemApi Allows an application to manage the content capture service.
Felipe Leme5933efb2018-11-29 16:08:49 -08004465 @hide <p>Not for use by third-party applications.</p> -->
Felipe Leme749b8892018-12-03 16:30:30 -08004466 <permission android:name="android.permission.MANAGE_CONTENT_CAPTURE"
Felipe Leme5933efb2018-11-29 16:08:49 -08004467 android:protectionLevel="signature" />
4468
Winson Chung3fb0f252019-01-08 17:41:55 -08004469 <!-- @SystemApi Allows an application to manage the content suggestions service.
4470 @hide <p>Not for use by third-party applications.</p> -->
4471 <permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS"
4472 android:protectionLevel="signature" />
4473
Sunny Goyal54e91342018-11-14 11:59:02 -08004474 <!-- @SystemApi Allows an application to manage the app predictions service.
4475 @hide <p>Not for use by third-party applications.</p> -->
4476 <permission android:name="android.permission.MANAGE_APP_PREDICTIONS"
George Hodulikcd7695d2019-01-29 18:17:05 -08004477 android:protectionLevel="signature|appPredictor" />
Sunny Goyal54e91342018-11-14 11:59:02 -08004478
Jason Monk97a06a12016-11-09 15:53:30 -05004479 <!-- Allows an app to set the theme overlay in /vendor/overlay
4480 being used.
4481 @hide <p>Not for use by third-party applications.</p> -->
4482 <permission android:name="android.permission.MODIFY_THEME_OVERLAY"
4483 android:protectionLevel="signature" />
4484
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07004485 <!-- Allows an instant app to create foreground services.
4486 <p>Protection level: signature|development|instant|appop -->
Chad Brubaker97b383f2017-02-02 15:04:35 -08004487 <permission android:name="android.permission.INSTANT_APP_FOREGROUND_SERVICE"
Todd Kennedyc247fa12017-06-02 10:29:22 -07004488 android:protectionLevel="signature|development|instant|appop" />
Chad Brubaker97b383f2017-02-02 15:04:35 -08004489
Dianne Hackborndd027b32018-01-19 17:44:46 -08004490 <!-- Allows a regular application to use {@link android.app.Service#startForeground
4491 Service.startForeground}.
4492 <p>Protection level: normal
4493 -->
4494 <permission android:name="android.permission.FOREGROUND_SERVICE"
4495 android:description="@string/permdesc_foregroundService"
4496 android:label="@string/permlab_foregroundService"
4497 android:protectionLevel="normal|instant" />
4498
Makoto Onuki700feef2018-02-15 10:59:41 -08004499 <!-- @SystemApi Allows to access all app shortcuts.
4500 @hide -->
Makoto Onuki634cecb2017-10-13 17:10:48 -07004501 <permission android:name="android.permission.ACCESS_SHORTCUTS"
Makoto Onuki700feef2018-02-15 10:59:41 -08004502 android:protectionLevel="signature|textClassifier" />
4503
4504 <!-- @SystemApi Allows unlimited calls to shortcut mutation APIs.
4505 @hide -->
4506 <permission android:name="android.permission.UNLIMITED_SHORTCUTS_API_CALLS"
4507 android:protectionLevel="signature|textClassifier" />
Makoto Onuki634cecb2017-10-13 17:10:48 -07004508
Calin Juravle45f8b292017-11-07 18:49:43 -08004509 <!-- @SystemApi Allows an application to read the runtime profiles of other apps.
4510 @hide <p>Not for use by third-party applications. -->
4511 <permission android:name="android.permission.READ_RUNTIME_PROFILES"
4512 android:protectionLevel="signature|privileged" />
4513
Svet Ganovc1006a32018-01-16 14:05:18 -08004514 <!-- @hide Allows audio policy management. -->
4515 <permission android:name="android.permission.MANAGE_AUDIO_POLICY"
4516 android:protectionLevel="signature" />
4517
Tony Make3d1f652017-12-12 11:00:37 +00004518 <!-- @SystemApi Allows an application to turn on / off quiet mode.
4519 @hide <p>Not for use by third-party applications. -->
4520 <permission android:name="android.permission.MODIFY_QUIET_MODE"
4521 android:protectionLevel="signature|privileged" />
4522
Svet Ganov82f09bc2018-01-12 22:08:40 -08004523 <!-- Allows internal management of the camera framework
4524 @hide -->
4525 <permission android:name="android.permission.MANAGE_CAMERA"
4526 android:protectionLevel="signature" />
4527
Jorim Jaggi33a701a2017-12-01 14:58:18 +01004528 <!-- Allows an application to control remote animations. See
4529 {@link ActivityOptions#makeRemoteAnimation}
4530 @hide <p>Not for use by third-party applications. -->
4531 <permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"
4532 android:protectionLevel="signature|privileged" />
4533
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -08004534 <!-- Allows an application to watch changes and/or active state of app ops.
4535 @hide <p>Not for use by third-party applications. -->
4536 <permission android:name="android.permission.WATCH_APPOPS"
Jeff Sharkeyb66f4f42019-05-17 18:48:11 -06004537 android:protectionLevel="signature|privileged" />
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -08004538
Ben Lin296f80a2018-02-27 15:23:38 -08004539 <!-- Allows an application to directly open the "Open by default" page inside a package's
4540 Details screen.
4541 @hide <p>Not for use by third-party applications. -->
Ben Lin21da7f52018-09-13 15:28:50 -07004542 <permission android:name="android.permission.OPEN_APP_OPEN_BY_DEFAULT_SETTINGS"
Ben Lin296f80a2018-02-27 15:23:38 -08004543 android:protectionLevel="signature" />
4544
Mathew Inwood5f1f29a2018-04-03 15:40:56 +01004545 <!-- Allows hidden API checks to be disabled when starting a process.
4546 @hide <p>Not for use by third-party applications. -->
4547 <permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS"
4548 android:protectionLevel="signature" />
4549
Makoto Onukia042aaa2018-09-18 16:14:12 -07004550 <!-- @hide Permission that protects the
4551 {@link android.provider.Telephony.Intents#ACTION_DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL}
4552 broadcast -->
4553 <permission android:name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE"
Nadia Benbernou1ee91a32019-01-28 11:26:46 -05004554 android:protectionLevel="signature|privileged" />
Makoto Onukia042aaa2018-09-18 16:14:12 -07004555
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07004556 <!-- A subclass of {@link android.service.carrier.CarrierMessagingClientService} must be protected with this permission.
4557 <p>Protection level: signature -->
Makoto Onuki05d64cb2019-02-01 16:04:16 -08004558 <permission android:name="android.permission.BIND_CARRIER_MESSAGING_CLIENT_SERVICE"
Makoto Onukidf7e4812018-09-24 14:31:25 -07004559 android:protectionLevel="signature" />
4560
Zimuzoa3bb67d2019-03-15 18:05:58 +00004561 <!-- Must be required by an {@link android.service.watchdog.ExplicitHealthCheckService} to
4562 ensure that only the system can bind to it.
4563 @hide This is not a third-party API (intended for OEMs and system apps).
4564 -->
4565 <permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"
4566 android:protectionLevel="signature|privileged" />
4567
Svet Ganov8455ba22019-01-02 13:05:56 -08004568 <!-- @hide Permission that allows configuring appops.
4569 <p>Not for use by third-party applications. -->
4570 <permission android:name="android.permission.MANAGE_APPOPS"
4571 android:protectionLevel="signature" />
4572
Chad Brubakerbd175fe2018-10-01 10:38:54 -07004573 <!-- @hide Permission that allows background clipboard access.
4574 <p>Not for use by third-party applications. -->
4575 <permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND"
4576 android:protectionLevel="signature" />
4577
Phil Weaver27beee52018-10-09 15:01:49 -07004578 <!-- @SystemApi Allows modifying accessibility state.
4579 @hide -->
4580 <permission android:name="android.permission.MANAGE_ACCESSIBILITY"
Eran Messeribb271892018-10-17 18:27:50 +01004581 android:protectionLevel="signature|setup" />
4582
4583 <!-- @SystemApi Allows an app to grant a profile owner access to device identifiers.
4584 <p>Not for use by third-party applications.
4585 @hide -->
4586 <permission android:name="android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS"
4587 android:protectionLevel="signature" />
Phil Weaver27beee52018-10-09 15:01:49 -07004588
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07004589 <!-- Allows financial apps to read filtered sms messages.
4590 Protection level: signature|appop -->
Hongming Jin228cd012018-11-09 14:47:50 -08004591 <permission android:name="android.permission.SMS_FINANCIAL_TRANSACTIONS"
4592 android:protectionLevel="signature|appop" />
4593
Julia Reynoldsbd8e5be2018-12-20 14:08:16 -05004594 <!-- Required for apps targeting {@link android.os.Build.VERSION_CODES#Q} that want to use
Julia Reynolds47fd15f2018-11-28 10:16:00 -05004595 {@link android.app.Notification.Builder#setFullScreenIntent notification full screen
Kevin Hufnaglee0fd9ab2019-07-18 14:00:07 -07004596 intents}.
4597 <p>Protection level: normal -->
Julia Reynolds47fd15f2018-11-28 10:16:00 -05004598 <permission android:name="android.permission.USE_FULL_SCREEN_INTENT"
4599 android:protectionLevel="normal" />
4600
Mårten Kongstadfd20b832018-10-26 15:36:20 +02004601 <!-- @SystemApi Allows requesting the framework broadcast the
4602 {@link Intent#ACTION_DEVICE_CUSTOMIZATION_READY} intent.
4603 @hide -->
4604 <permission android:name="android.permission.SEND_DEVICE_CUSTOMIZATION_READY"
4605 android:protectionLevel="signature|privileged" />
4606
4607 <!-- @SystemApi Permission that protects the {@link Intent#ACTION_DEVICE_CUSTOMIZATION_READY}
4608 intent.
4609 @hide -->
4610 <permission android:name="android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY"
4611 android:protectionLevel="signature|preinstalled" />
Mike Digman037d4c62019-03-01 13:22:24 -08004612
Lucas Dupin4c8c3272018-11-06 17:47:48 -08004613 <!-- @SystemApi Allows wallpaper to be rendered in ambient mode.
4614 @hide -->
4615 <permission android:name="android.permission.AMBIENT_WALLPAPER"
4616 android:protectionLevel="signature|preinstalled" />
Mike Digman037d4c62019-03-01 13:22:24 -08004617
Chad Brubaker90f391f2018-10-19 10:26:19 -07004618 <!-- @SystemApi Allows sensor privacy to be modified.
4619 @hide -->
4620 <permission android:name="android.permission.MANAGE_SENSOR_PRIVACY"
4621 android:protectionLevel="signature" />
Joel Galenson3f5c6992019-03-01 17:51:51 -08004622 <!-- @SystemApi Permission that protects the {@link Intent#ACTION_REVIEW_ACCESSIBILITY_SERVICES}
4623 intent.
4624 @hide -->
4625 <permission android:name="android.permission.REVIEW_ACCESSIBILITY_SERVICES"
4626 android:protectionLevel="signature" />
Mårten Kongstadfd20b832018-10-26 15:36:20 +02004627
Mike Digman037d4c62019-03-01 13:22:24 -08004628 <!-- @SystemApi Allows an activity to replace the app name and icon displayed in share targets
4629 in the sharesheet for the Q-release and later.
4630 @hide <p>Not for use by third-party applications.</p> -->
4631 <permission android:name="android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"
4632 android:protectionLevel="signature|privileged" />
4633
Hai Zhang1ad238f2019-03-20 16:11:07 -07004634 <!-- @SystemApi Allows an application to access shared libraries.
4635 @hide -->
4636 <permission android:name="android.permission.ACCESS_SHARED_LIBRARIES"
4637 android:protectionLevel="signature|installer" />
4638
Michael Wrightc7995232019-02-14 12:33:46 +00004639 <!-- Allows input events to be monitored. Very dangerous! @hide -->
4640 <permission android:name="android.permission.MONITOR_INPUT"
4641 android:protectionLevel="signature" />
4642
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08004643 <application android:process="system"
4644 android:persistent="true"
4645 android:hasCode="false"
4646 android:label="@string/android_system_label"
4647 android:allowClearUserData="false"
Amith Yamasani30f8eb42013-11-06 14:54:50 -08004648 android:backupAgent="com.android.server.backup.SystemBackupAgent"
Christopher Tate5e1ab332009-09-01 20:32:49 -07004649 android:killAfterRestore="false"
Fabrice Di Meglio4497e0c2012-09-10 20:46:33 -07004650 android:icon="@drawable/ic_launcher_android"
Alan Viveretteb9da2802015-05-05 14:09:21 -07004651 android:supportsRtl="true"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004652 android:theme="@style/Theme.DeviceDefault.Light.DarkActionBar"
Jeff Sharkey8a372a02016-03-16 16:25:45 -06004653 android:defaultToDeviceProtectedStorage="true"
4654 android:directBootAware="true">
Adam Powelle7c74cc2016-01-28 16:42:27 +00004655 <activity android:name="com.android.internal.app.ChooserActivity"
4656 android:theme="@style/Theme.DeviceDefault.Resolver"
4657 android:finishOnCloseSystemDialogs="true"
4658 android:excludeFromRecents="true"
4659 android:documentLaunchMode="never"
4660 android:relinquishTaskIdentity="true"
Adam Powell46ef0572016-05-04 16:29:53 -07004661 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
Chad Brubakeraef01222017-04-03 14:45:23 -07004662 android:process=":ui"
4663 android:visibleToInstantApps="true">
Adam Powelle7c74cc2016-01-28 16:42:27 +00004664 <intent-filter>
4665 <action android:name="android.intent.action.CHOOSER" />
4666 <category android:name="android.intent.category.DEFAULT" />
4667 <category android:name="android.intent.category.VOICE" />
4668 </intent-filter>
4669 </activity>
Casey Burkhardt5e8b9802017-03-24 10:07:20 -07004670 <activity android:name="com.android.internal.app.AccessibilityButtonChooserActivity"
Casey Burkhardtafe3ef1b2017-04-05 16:47:19 -07004671 android:exported="false"
Casey Burkhardt5e8b9802017-03-24 10:07:20 -07004672 android:theme="@style/Theme.DeviceDefault.Resolver"
4673 android:finishOnCloseSystemDialogs="true"
4674 android:excludeFromRecents="true"
4675 android:documentLaunchMode="never"
4676 android:relinquishTaskIdentity="true"
4677 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
Chad Brubakeraef01222017-04-03 14:45:23 -07004678 android:process=":ui"
4679 android:visibleToInstantApps="true">
Casey Burkhardt5e8b9802017-03-24 10:07:20 -07004680 <intent-filter>
Casey Burkhardtafe3ef1b2017-04-05 16:47:19 -07004681 <action android:name="com.android.internal.intent.action.CHOOSE_ACCESSIBILITY_BUTTON" />
Casey Burkhardt5e8b9802017-03-24 10:07:20 -07004682 <category android:name="android.intent.category.DEFAULT" />
4683 </intent-filter>
4684 </activity>
Nicolas Prevot10fa67c2014-03-24 13:44:38 +00004685 <activity android:name="com.android.internal.app.IntentForwarderActivity"
4686 android:finishOnCloseSystemDialogs="true"
4687 android:theme="@style/Theme.NoDisplay"
4688 android:excludeFromRecents="true"
4689 android:label="@string/user_owner_label"
4690 android:exported="true"
Patrick Baumann33ea16b2018-02-05 11:07:39 -08004691 android:visibleToInstantApps="true"
Nicolas Prevot10fa67c2014-03-24 13:44:38 +00004692 >
4693 </activity>
Nicolas Prevot741abfc2015-08-11 12:03:51 +01004694 <activity-alias android:name="com.android.internal.app.ForwardIntentToParent"
Nicolas Prevot10fa67c2014-03-24 13:44:38 +00004695 android:targetActivity="com.android.internal.app.IntentForwarderActivity"
Nicolas Prevot10fa67c2014-03-24 13:44:38 +00004696 android:exported="true"
4697 android:label="@string/user_owner_label">
4698 </activity-alias>
4699 <activity-alias android:name="com.android.internal.app.ForwardIntentToManagedProfile"
4700 android:targetActivity="com.android.internal.app.IntentForwarderActivity"
Tony Mak9d0fedf2017-11-09 10:56:56 +00004701 android:icon="@drawable/ic_corp_badge"
Nicolas Prevot10fa67c2014-03-24 13:44:38 +00004702 android:exported="true"
4703 android:label="@string/managed_profile_label">
4704 </activity-alias>
Dianne Hackborn860755f2010-06-03 18:47:52 -07004705 <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004706 android:theme="@style/Theme.DeviceDefault.Light.Dialog"
Dianne Hackborn860755f2010-06-03 18:47:52 -07004707 android:label="@string/heavy_weight_switcher_title"
4708 android:finishOnCloseSystemDialogs="true"
Dianne Hackborn905577f2011-09-07 18:31:28 -07004709 android:excludeFromRecents="true"
4710 android:process=":ui">
Dianne Hackborn860755f2010-06-03 18:47:52 -07004711 </activity>
Dianne Hackborn08d5b8f2010-08-04 11:12:40 -07004712 <activity android:name="com.android.internal.app.PlatLogoActivity"
Dan Sandler8c7b8cb2019-06-26 01:01:26 -04004713 android:theme="@style/Theme.DeviceDefault.DayNight"
Dan Sandler2200f862014-10-06 01:04:47 -04004714 android:configChanges="orientation|keyboardHidden"
Dan Sandler8c7b8cb2019-06-26 01:01:26 -04004715 android:icon="@drawable/platlogo"
Dianne Hackborn905577f2011-09-07 18:31:28 -07004716 android:process=":ui">
Dianne Hackborn08d5b8f2010-08-04 11:12:40 -07004717 </activity>
Tobias Haamel154f7a12010-02-17 11:56:39 -08004718 <activity android:name="com.android.internal.app.DisableCarModeActivity"
4719 android:theme="@style/Theme.NoDisplay"
Dianne Hackborn905577f2011-09-07 18:31:28 -07004720 android:excludeFromRecents="true"
4721 android:process=":ui">
Tobias Haamel154f7a12010-02-17 11:56:39 -08004722 </activity>
Dianne Hackbornb9a5e4a2015-03-03 17:04:12 -08004723 <activity android:name="com.android.internal.app.DumpHeapActivity"
4724 android:theme="@style/Theme.Translucent.NoTitleBar"
4725 android:label="@string/dump_heap_title"
4726 android:finishOnCloseSystemDialogs="true"
4727 android:noHistory="true"
4728 android:excludeFromRecents="true"
4729 android:process=":ui">
4730 </activity>
4731 <provider android:name="com.android.server.am.DumpHeapProvider"
4732 android:authorities="com.android.server.heapdump"
4733 android:grantUriPermissions="true"
4734 android:multiprocess="false"
4735 android:singleUser="true" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08004736
Fred Quintana33269202009-04-20 16:05:10 -07004737 <activity android:name="android.accounts.ChooseAccountActivity"
4738 android:excludeFromRecents="true"
Fabrice Di Meglio795f1352011-01-20 16:12:36 -08004739 android:exported="true"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004740 android:theme="@style/Theme.DeviceDefault.Light.Dialog"
Dianne Hackborn905577f2011-09-07 18:31:28 -07004741 android:label="@string/choose_account_label"
Chad Brubakeraef01222017-04-03 14:45:23 -07004742 android:process=":ui"
4743 android:visibleToInstantApps="true">
Fred Quintana33269202009-04-20 16:05:10 -07004744 </activity>
4745
Fred Quintana1121bb52011-09-14 23:19:35 -07004746 <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
4747 android:excludeFromRecents="true"
4748 android:exported="true"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004749 android:theme="@style/Theme.DeviceDefault.Light.Dialog"
Fred Quintana1121bb52011-09-14 23:19:35 -07004750 android:label="@string/choose_account_label"
Chad Brubakeraef01222017-04-03 14:45:23 -07004751 android:process=":ui"
4752 android:visibleToInstantApps="true">
Fred Quintana1121bb52011-09-14 23:19:35 -07004753 </activity>
4754
4755 <activity android:name="android.accounts.ChooseAccountTypeActivity"
4756 android:excludeFromRecents="true"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004757 android:theme="@style/Theme.DeviceDefault.Light.Dialog"
Fred Quintana1121bb52011-09-14 23:19:35 -07004758 android:label="@string/choose_account_label"
Chad Brubakeraef01222017-04-03 14:45:23 -07004759 android:process=":ui"
4760 android:visibleToInstantApps="true">
Fred Quintana1121bb52011-09-14 23:19:35 -07004761 </activity>
4762
Amith Yamasani23c8b962013-04-10 13:37:18 -07004763 <activity android:name="android.accounts.CantAddAccountActivity"
4764 android:excludeFromRecents="true"
4765 android:exported="true"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004766 android:theme="@style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
Amith Yamasani23c8b962013-04-10 13:37:18 -07004767 android:process=":ui">
4768 </activity>
4769
Fred Quintanad4a1d2e2009-07-16 16:36:38 -07004770 <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
4771 android:excludeFromRecents="true"
Adam Powellc91466f2011-01-22 14:34:13 -08004772 android:exported="true"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004773 android:theme="@style/Theme.DeviceDefault.Light.DialogWhenLarge"
Chad Brubakeraef01222017-04-03 14:45:23 -07004774 android:process=":ui"
4775 android:visibleToInstantApps="true">
Fred Quintanad4a1d2e2009-07-16 16:36:38 -07004776 </activity>
4777
Fred Quintanab19e62a2010-12-16 13:54:43 -08004778 <activity android:name="android.content.SyncActivityTooManyDeletes"
Salvador Martinez7e2657c2016-09-26 12:49:31 -07004779 android:theme="@style/Theme.DeviceDefault.Light.Dialog"
Dianne Hackborn905577f2011-09-07 18:31:28 -07004780 android:label="@string/sync_too_many_deletes"
4781 android:process=":ui">
Fred Quintanab19e62a2010-12-16 13:54:43 -08004782 </activity>
4783
Dianne Hackbornb1829552015-01-05 14:40:24 -08004784 <activity android:name="com.android.internal.app.ShutdownActivity"
Mike Lockwoodbad80e02009-07-30 01:21:08 -07004785 android:permission="android.permission.SHUTDOWN"
Dianne Hackbornb1829552015-01-05 14:40:24 -08004786 android:theme="@style/Theme.NoDisplay"
Mike Lockwood49f74682009-07-30 15:27:00 -07004787 android:excludeFromRecents="true">
Mike Lockwoodbad80e02009-07-30 01:21:08 -07004788 <intent-filter>
Sudheer Shanka218190a2017-03-30 16:07:54 -07004789 <action android:name="com.android.internal.intent.action.REQUEST_SHUTDOWN" />
Mike Lockwoodbad80e02009-07-30 01:21:08 -07004790 <category android:name="android.intent.category.DEFAULT" />
4791 </intent-filter>
Mike Lockwoodb8a8a572010-09-08 07:21:07 -04004792 <intent-filter>
4793 <action android:name="android.intent.action.REBOOT" />
4794 <category android:name="android.intent.category.DEFAULT" />
4795 </intent-filter>
Mike Lockwoodbad80e02009-07-30 01:21:08 -07004796 </activity>
Mike Lockwood02eb8742011-02-27 09:10:37 -08004797
Danke Xie22d1f9f2009-08-18 18:28:45 -04004798 <activity android:name="com.android.internal.app.NetInitiatedActivity"
Oleksandr Tolstykh1e5720e2018-08-20 17:58:48 +02004799 android:theme="@style/Theme.Dialog.Confirmation"
Dianne Hackborn905577f2011-09-07 18:31:28 -07004800 android:excludeFromRecents="true"
4801 android:process=":ui">
Danke Xie22d1f9f2009-08-18 18:28:45 -04004802 </activity>
Mike Lockwoodbad80e02009-07-30 01:21:08 -07004803
Fyodor Kupolovc40e2442015-11-18 11:07:00 -08004804 <activity android:name="com.android.internal.app.SystemUserHomeActivity"
4805 android:enabled="false"
4806 android:process=":ui"
4807 android:systemUserOnly="true"
4808 android:theme="@style/Theme.Translucent.NoTitleBar">
4809 <intent-filter android:priority="-100">
4810 <action android:name="android.intent.action.MAIN" />
4811 <category android:name="android.intent.category.HOME" />
4812 </intent-filter>
4813 </activity>
4814
Amith Yamasani12747872015-12-07 14:19:49 -08004815 <!-- Activity to prompt user if it's ok to create a new user sandbox for a
4816 specified account. -->
4817 <activity android:name="com.android.internal.app.ConfirmUserCreationActivity"
4818 android:excludeFromRecents="true"
4819 android:process=":ui"
Oleksandr Tolstykh1e5720e2018-08-20 17:58:48 +02004820 android:theme="@style/Theme.Dialog.Confirmation">
Amith Yamasani12747872015-12-07 14:19:49 -08004821 <intent-filter android:priority="1000">
4822 <action android:name="android.os.action.CREATE_USER" />
4823 <category android:name="android.intent.category.DEFAULT" />
4824 </intent-filter>
4825 </activity>
4826
Suprabh Shukla3c3af142018-03-30 00:28:37 -07004827 <activity android:name="com.android.internal.app.SuspendedAppActivity"
Oleksandr Tolstykh1e5720e2018-08-20 17:58:48 +02004828 android:theme="@style/Theme.Dialog.Confirmation"
Suprabh Shukla3c3af142018-03-30 00:28:37 -07004829 android:excludeFromRecents="true"
4830 android:process=":ui">
4831 </activity>
4832
Rubin Xu58d25992016-01-21 17:47:13 +00004833 <activity android:name="com.android.internal.app.UnlaunchableAppActivity"
Oleksandr Tolstykh1e5720e2018-08-20 17:58:48 +02004834 android:theme="@style/Theme.Dialog.Confirmation"
Rubin Xu58d25992016-01-21 17:47:13 +00004835 android:excludeFromRecents="true"
4836 android:process=":ui">
4837 </activity>
4838
Eugene Suslacf00ade2017-04-10 11:51:58 -07004839 <activity android:name="com.android.settings.notification.NotificationAccessConfirmationActivity"
Oleksandr Tolstykh1e5720e2018-08-20 17:58:48 +02004840 android:theme="@style/Theme.Dialog.Confirmation"
Eugene Suslacf00ade2017-04-10 11:51:58 -07004841 android:excludeFromRecents="true">
4842 </activity>
4843
Ben Gruver1ab3d6e2017-12-07 13:45:08 -08004844 <activity android:name="com.android.internal.app.HarmfulAppWarningActivity"
Oleksandr Tolstykh1e5720e2018-08-20 17:58:48 +02004845 android:theme="@style/Theme.Dialog.Confirmation"
Ben Gruver1ab3d6e2017-12-07 13:45:08 -08004846 android:excludeFromRecents="true"
4847 android:process=":ui"
Ben Gruverc7ffbe62018-01-19 11:28:04 -08004848 android:label="@string/harmful_app_warning_title"
Ben Gruver1ab3d6e2017-12-07 13:45:08 -08004849 android:exported="false">
4850 </activity>
4851
Dianne Hackbornd4ac8d72012-09-27 23:20:10 -07004852 <receiver android:name="com.android.server.BootReceiver"
Fyodor Kupolov4f5de342015-08-25 10:08:45 -07004853 android:systemUserOnly="true">
Dianne Hackbornd83a0962014-05-02 16:28:33 -07004854 <intent-filter android:priority="1000">
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08004855 <action android:name="android.intent.action.BOOT_COMPLETED" />
4856 </intent-filter>
4857 </receiver>
4858
Ben Gruver12964bf2015-04-06 10:55:08 -07004859 <receiver android:name="com.android.server.updates.CertPinInstallReceiver"
4860 android:permission="android.permission.UPDATE_CONFIG">
Geremy Condrab6310842012-08-23 22:00:15 -07004861 <intent-filter>
4862 <action android:name="android.intent.action.UPDATE_PINS" />
Nick Kralevich103173e2014-06-28 12:18:03 -07004863 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
Geremy Condrab6310842012-08-23 22:00:15 -07004864 </intent-filter>
4865 </receiver>
4866
Ben Gruver12964bf2015-04-06 10:55:08 -07004867 <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver"
4868 android:permission="android.permission.UPDATE_CONFIG">
Ben Gruver633dc9b2013-04-04 12:05:49 -07004869 <intent-filter>
4870 <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
Nick Kralevich103173e2014-06-28 12:18:03 -07004871 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
Ben Gruver633dc9b2013-04-04 12:05:49 -07004872 </intent-filter>
4873 </receiver>
4874
Ben Gruver12964bf2015-04-06 10:55:08 -07004875 <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver"
4876 android:permission="android.permission.UPDATE_CONFIG">
Robert Greenwaltc6fa2372012-09-24 13:57:16 -07004877 <intent-filter>
4878 <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
Nick Kralevich103173e2014-06-28 12:18:03 -07004879 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
Robert Greenwaltc6fa2372012-09-24 13:57:16 -07004880 </intent-filter>
4881 </receiver>
4882
Ricky Waiebe36242017-10-27 14:36:43 +01004883 <receiver android:name="com.android.server.updates.NetworkWatchlistInstallReceiver"
4884 android:permission="android.permission.UPDATE_CONFIG">
4885 <intent-filter>
4886 <action android:name="android.intent.action.UPDATE_NETWORK_WATCHLIST" />
4887 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4888 </intent-filter>
4889 </receiver>
4890
Amit Mahajan9069fab2015-05-01 11:05:47 -07004891 <receiver android:name="com.android.server.updates.ApnDbInstallReceiver"
4892 android:permission="android.permission.UPDATE_CONFIG">
4893 <intent-filter>
Amit Mahajanf5ee7862017-02-24 13:29:37 -08004894 <action android:name="com.android.internal.intent.action.UPDATE_APN_DB" />
Amit Mahajan9069fab2015-05-01 11:05:47 -07004895 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4896 </intent-filter>
4897 </receiver>
4898
Ben Gruver12964bf2015-04-06 10:55:08 -07004899 <receiver android:name="com.android.server.updates.CarrierProvisioningUrlsInstallReceiver"
4900 android:permission="android.permission.UPDATE_CONFIG">
Robert Greenwalte182bfe2013-07-16 12:06:09 -07004901 <intent-filter>
4902 <action android:name="android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS" />
Nick Kralevich103173e2014-06-28 12:18:03 -07004903 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
Robert Greenwalte182bfe2013-07-16 12:06:09 -07004904 </intent-filter>
4905 </receiver>
4906
Chad Brubaker76894462016-08-10 10:40:45 -07004907 <receiver android:name="com.android.server.updates.CertificateTransparencyLogInstallReceiver"
4908 android:permission="android.permission.UPDATE_CONFIG">
4909 <intent-filter>
4910 <action android:name="android.intent.action.UPDATE_CT_LOGS" />
4911 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4912 </intent-filter>
4913 </receiver>
4914
Abodunrinwa Toki51c42032017-04-02 19:16:01 +01004915 <receiver android:name="com.android.server.updates.LangIdInstallReceiver"
4916 android:permission="android.permission.UPDATE_CONFIG">
4917 <intent-filter>
4918 <action android:name="android.intent.action.UPDATE_LANG_ID" />
4919 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4920 </intent-filter>
4921 </receiver>
4922
Abodunrinwa Tokibb957d12017-04-12 14:40:46 +01004923 <receiver android:name="com.android.server.updates.SmartSelectionInstallReceiver"
4924 android:permission="android.permission.UPDATE_CONFIG">
4925 <intent-filter>
4926 <action android:name="android.intent.action.UPDATE_SMART_SELECTION" />
4927 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4928 </intent-filter>
4929 </receiver>
4930
Abodunrinwa Tokif438e142018-10-30 19:13:04 +00004931 <receiver android:name="com.android.server.updates.ConversationActionsInstallReceiver"
4932 android:permission="android.permission.UPDATE_CONFIG">
4933 <intent-filter>
Tony Mak9d021de2019-01-28 15:46:38 +00004934 <action android:name="android.intent.action.UPDATE_CONVERSATION_ACTIONS" />
Abodunrinwa Tokif438e142018-10-30 19:13:04 +00004935 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4936 </intent-filter>
4937 </receiver>
4938
fionaxuea56c332017-12-28 16:41:52 -08004939 <receiver android:name="com.android.server.updates.CarrierIdInstallReceiver"
4940 android:permission="android.permission.UPDATE_CONFIG">
4941 <intent-filter>
fionaxu2776ed52018-05-08 11:57:53 -07004942 <action android:name="android.os.action.UPDATE_CARRIER_ID_DB" />
fionaxuea56c332017-12-28 16:41:52 -08004943 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4944 </intent-filter>
4945 </receiver>
4946
Shuo Qian2f349da2019-10-14 13:10:11 -07004947 <receiver android:name="com.android.server.updates.EmergencyNumberDbInstallReceiver"
4948 android:permission="android.permission.UPDATE_CONFIG">
4949 <intent-filter>
4950 <action android:name="android.os.action.UPDATE_EMERGENCY_NUMBER_DB" />
4951 <data android:scheme="content" android:host="*" android:mimeType="*/*" />
4952 </intent-filter>
4953 </receiver>
4954
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08004955 <receiver android:name="com.android.server.MasterClearReceiver"
Amith Yamasani655d0e22013-06-12 14:19:10 -07004956 android:permission="android.permission.MASTER_CLEAR">
4957 <intent-filter
4958 android:priority="100" >
Lenka Trochtova73aeea22016-11-18 17:34:34 +01004959 <!-- For Checkin, Settings, etc.: action=FACTORY_RESET -->
4960 <action android:name="android.intent.action.FACTORY_RESET" />
4961 <!-- As above until all the references to the deprecated MASTER_CLEAR get updated to
4962 FACTORY_RESET. -->
Dan Egnor18e93962010-02-10 19:27:58 -08004963 <action android:name="android.intent.action.MASTER_CLEAR" />
4964
4965 <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
Costin Manolache8d83f9e2010-05-12 16:04:10 -07004966 <action android:name="com.google.android.c2dm.intent.RECEIVE" />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08004967 <category android:name="android.intent.category.MASTER_CLEAR" />
4968 </intent-filter>
4969 </receiver>
Dianne Hackborn42499172010-10-15 18:45:07 -07004970
Florian Eislf2b92fb2018-11-16 17:35:22 +01004971 <receiver android:name="com.android.server.WallpaperUpdateReceiver"
4972 android:permission="android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY">
4973 <intent-filter>
4974 <action android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY"/>
4975 </intent-filter>
4976 </receiver>
4977
Jaikumar Ganesh8ce470d2013-04-03 12:22:18 -07004978 <service android:name="android.hardware.location.GeofenceHardwareService"
4979 android:permission="android.permission.LOCATION_HARDWARE"
4980 android:exported="false" />
Christopher Tatecefba582013-11-14 18:10:35 -08004981
Christopher Tated417d622013-08-19 16:14:25 -07004982 <service android:name="com.android.server.MountServiceIdler"
Christopher Tate7060b042014-06-09 19:50:00 -07004983 android:exported="true"
4984 android:permission="android.permission.BIND_JOB_SERVICE" >
Christopher Tated417d622013-08-19 16:14:25 -07004985 </service>
4986
Srinivas Paladuguc8261752019-01-09 10:54:52 -08004987 <service android:name="com.android.server.ZramWriteback"
4988 android:exported="false"
4989 android:permission="android.permission.BIND_JOB_SERVICE" >
4990 </service>
4991
Christopher Tate5eeb59c2014-07-22 10:50:22 -07004992 <service android:name="com.android.server.backup.FullBackupJob"
4993 android:exported="true"
4994 android:permission="android.permission.BIND_JOB_SERVICE" >
4995 </service>
4996
Christopher Tate73570db2015-02-26 19:32:55 -08004997 <service android:name="com.android.server.backup.KeyValueBackupJob"
4998 android:permission="android.permission.BIND_JOB_SERVICE" >
4999 </service>
5000
Shreyas Basarge8c834c02016-01-07 13:53:16 +00005001 <service android:name="com.android.server.content.SyncJobService"
5002 android:permission="android.permission.BIND_JOB_SERVICE" >
5003 </service>
5004
Calin Juravle91d40f12017-03-15 18:38:57 -07005005 <service android:name="com.android.server.pm.BackgroundDexOptService"
Daniel Nishi77a78c62016-12-13 10:38:42 -08005006 android:exported="true"
5007 android:permission="android.permission.BIND_JOB_SERVICE">
5008 </service>
5009
Alan Stokesbe9ec972018-12-10 14:07:47 +00005010 <service android:name="com.android.server.pm.DynamicCodeLoggingService"
5011 android:permission="android.permission.BIND_JOB_SERVICE">
5012 </service>
5013
Svetoslav Ganov096d3042017-01-30 16:34:13 -08005014 <service android:name="com.android.server.PruneInstantAppsJobService"
5015 android:permission="android.permission.BIND_JOB_SERVICE" >
5016 </service>
5017
Daniel Nishi77a78c62016-12-13 10:38:42 -08005018 <service android:name="com.android.server.storage.DiskStatsLoggingService"
5019 android:permission="android.permission.BIND_JOB_SERVICE" >
Christopher Tatecf1a2f72014-06-16 15:51:39 -07005020 </service>
5021
Fyodor Kupolovd225f0bf2017-03-20 16:04:57 -07005022 <service android:name="com.android.server.PreloadsFileCacheExpirationJobService"
5023 android:permission="android.permission.BIND_JOB_SERVICE" >
5024 </service>
Eino-Ville Talvalae91012b2017-07-10 15:27:24 -07005025
5026 <service android:name="com.android.server.camera.CameraStatsJobService"
5027 android:permission="android.permission.BIND_JOB_SERVICE" >
5028 </service>
5029
Neil Fullercd1a1092017-09-13 21:59:59 +01005030 <service android:name="com.android.server.timezone.TimeZoneUpdateIdler"
5031 android:permission="android.permission.BIND_JOB_SERVICE" >
5032 </service>
Ricky Wai1a6e6672017-10-27 14:46:01 +01005033
5034 <service android:name="com.android.server.net.watchlist.ReportWatchlistJobService"
5035 android:permission="android.permission.BIND_JOB_SERVICE" >
5036 </service>
Kenny Guycfe7b702017-11-14 21:04:58 +00005037
5038 <service android:name="com.android.server.display.BrightnessIdleJob"
5039 android:permission="android.permission.BIND_JOB_SERVICE" >
5040 </service>
Svetoslav Ganov24c90452017-12-27 15:17:14 -08005041
5042 <service
5043 android:name="com.android.server.autofill.AutofillCompatAccessibilityService"
5044 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
shitian.ma62018f82019-07-11 09:38:31 +08005045 android:visibleToInstantApps="true"
Svetoslav Ganov24c90452017-12-27 15:17:14 -08005046 android:exported="true">
5047 <meta-data
5048 android:name="android.accessibilityservice"
5049 android:resource="@xml/autofill_compat_accessibility_service" />
5050 </service>
5051
Kenny Guycfe7b702017-11-14 21:04:58 +00005052</application>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08005053
5054</manifest>