AndroidManifest.xml revision 6a848fdf098a95faa366082e913d8a9e42fba219
1<?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"
21    package="android" coreApp="true" android:sharedUserId="android.uid.system"
22    android:sharedUserLabel="@string/android_system_label">
23
24    <!-- ================================================ -->
25    <!-- Special broadcasts that only the system can send -->
26    <!-- ================================================ -->
27    <eat-comment />
28
29    <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" />
32    <protected-broadcast android:name="android.intent.action.TIME_SET" />
33    <protected-broadcast android:name="android.intent.action.TIME_TICK" />
34    <protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
35    <protected-broadcast android:name="android.intent.action.DATE_CHANGED" />
36    <protected-broadcast android:name="android.intent.action.PRE_BOOT_COMPLETED" />
37    <protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
38    <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" />
41    <protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
42    <protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
43    <protected-broadcast android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
44    <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
45    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
46    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
47    <protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
48    <protected-broadcast android:name="android.intent.action.PACKAGE_NEEDS_VERIFICATION" />
49    <protected-broadcast android:name="android.intent.action.PACKAGE_VERIFIED" />
50    <protected-broadcast android:name="android.intent.action.PACKAGES_SUSPENDED" />
51    <protected-broadcast android:name="android.intent.action.PACKAGES_UNSUSPENDED" />
52    <protected-broadcast android:name="android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED" />
53    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
54    <protected-broadcast android:name="android.intent.action.QUERY_PACKAGE_RESTART" />
55    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
56    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
57    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
58    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
59    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
60    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
61    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
62    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
63    <protected-broadcast android:name="android.intent.action.CHARGING" />
64    <protected-broadcast android:name="android.intent.action.DISCHARGING" />
65    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
66    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
67    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
68    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
69    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
70    <protected-broadcast android:name="android.intent.action.REBOOT" />
71    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
72    <protected-broadcast android:name="android.intent.action.THERMAL_EVENT" />
73    <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
74    <protected-broadcast android:name="android.intent.action.USER_ADDED" />
75    <protected-broadcast android:name="android.intent.action.USER_REMOVED" />
76    <protected-broadcast android:name="android.intent.action.USER_STARTING" />
77    <protected-broadcast android:name="android.intent.action.USER_STARTED" />
78    <protected-broadcast android:name="android.intent.action.USER_STOPPING" />
79    <protected-broadcast android:name="android.intent.action.USER_STOPPED" />
80    <protected-broadcast android:name="android.intent.action.USER_BACKGROUND" />
81    <protected-broadcast android:name="android.intent.action.USER_FOREGROUND" />
82    <protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
83    <protected-broadcast android:name="android.intent.action.USER_INITIALIZE" />
84    <protected-broadcast android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION" />
85
86    <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGED" />
87    <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGING" />
88    <protected-broadcast android:name="android.os.action.DEVICE_IDLE_MODE_CHANGED" />
89    <protected-broadcast android:name="android.os.action.POWER_SAVE_WHITELIST_CHANGED" />
90    <protected-broadcast android:name="android.os.action.POWER_SAVE_TEMP_WHITELIST_CHANGED" />
91    <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGED_INTERNAL" />
92
93    <protected-broadcast android:name="android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED" />
94
95    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
96    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
97    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
98    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
99    <protected-broadcast android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
100
101    <protected-broadcast android:name="android.app.action.BUGREPORT_SHARING_DECLINED" />
102    <protected-broadcast android:name="android.app.action.BUGREPORT_FAILED" />
103    <protected-broadcast android:name="android.app.action.BUGREPORT_SHARE" />
104    <protected-broadcast android:name="android.app.action.SHOW_DEVICE_MONITORING_DIALOG" />
105
106    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_UPDATE_OPTIONS" />
107    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DELETED" />
108    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DISABLED" />
109    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_ENABLED" />
110    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
111    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_RESTORED" />
112
113    <protected-broadcast android:name="android.os.action.SETTING_RESTORED" />
114
115    <protected-broadcast android:name="android.app.backup.intent.RUN" />
116    <protected-broadcast android:name="android.app.backup.intent.CLEAR" />
117    <protected-broadcast android:name="android.app.backup.intent.INIT" />
118
119    <protected-broadcast android:name="android.bluetooth.intent.DISCOVERABLE_TIMEOUT" />
120    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
121    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
122    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
123    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
124    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
125    <protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
126    <protected-broadcast android:name="android.bluetooth.device.action.UUID" />
127    <protected-broadcast android:name="android.bluetooth.device.action.MAS_INSTANCE" />
128    <protected-broadcast android:name="android.bluetooth.device.action.ALIAS_CHANGED" />
129    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
130    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
131    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
132    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
133    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
134    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
135    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
136    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
137    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
138    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
139    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
140    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
141    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" />
142    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" />
143    <protected-broadcast android:name="android.bluetooth.device.action.SDP_RECORD" />
144    <protected-broadcast android:name="android.bluetooth.devicepicker.action.LAUNCH" />
145    <protected-broadcast android:name="android.bluetooth.devicepicker.action.DEVICE_SELECTED" />
146    <protected-broadcast
147        android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
148    <protected-broadcast
149        android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
150    <protected-broadcast
151        android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
152    <protected-broadcast
153        android:name="android.bluetooth.headset.action.HF_INDICATORS_VALUE_CHANGED" />
154    <protected-broadcast
155        android:name="android.bluetooth.headsetclient.profile.action.CONNECTION_STATE_CHANGED" />
156    <protected-broadcast
157        android:name="android.bluetooth.headsetclient.profile.action.AUDIO_STATE_CHANGED" />
158    <protected-broadcast
159        android:name="android.bluetooth.headsetclient.profile.action.AG_EVENT" />
160    <protected-broadcast
161        android:name="android.bluetooth.headsetclient.profile.action.AG_CALL_CHANGED" />
162    <protected-broadcast
163        android:name="android.bluetooth.headsetclient.profile.action.RESULT" />
164    <protected-broadcast
165        android:name="android.bluetooth.headsetclient.profile.action.LAST_VTAG" />
166    <protected-broadcast
167        android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
168    <protected-broadcast
169        android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
170    <protected-broadcast
171        android:name="android.bluetooth.a2dp.profile.action.CODEC_CONFIG_CHANGED" />
172    <protected-broadcast
173        android:name="android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED" />
174    <protected-broadcast
175        android:name="android.bluetooth.a2dp-sink.profile.action.PLAYING_STATE_CHANGED" />
176    <protected-broadcast
177        android:name="android.bluetooth.a2dp-sink.profile.action.AUDIO_CONFIG_CHANGED" />
178    <protected-broadcast
179        android:name="android.bluetooth.avrcp-controller.profile.action.CONNECTION_STATE_CHANGED" />
180    <protected-broadcast
181        android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
182    <protected-broadcast
183        android:name="android.bluetooth.input.profile.action.PROTOCOL_MODE_CHANGED" />
184    <protected-broadcast
185        android:name="android.bluetooth.input.profile.action.VIRTUAL_UNPLUG_STATUS" />
186    <protected-broadcast
187        android:name="android.bluetooth.inputhost.profile.action.CONNECTION_STATE_CHANGED" />
188    <protected-broadcast
189        android:name="android.bluetooth.map.profile.action.CONNECTION_STATE_CHANGED" />
190    <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.CONNECTION_STATE_CHANGED" />
191    <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.MESSAGE_RECEIVED" />
192    <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.MESSAGE_SENT_SUCCESSFULLY" />
193    <protected-broadcast android:name="android.bluetooth.mapmce.profile.action.MESSAGE_DELIVERED_SUCCESSFULLY" />
194    <protected-broadcast
195        android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_SENT" />
196    <protected-broadcast
197        android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_DELIVERY" />
198    <protected-broadcast
199        android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
200    <protected-broadcast android:name="android.bluetooth.pbap.intent.action.PBAP_STATE_CHANGED" />
201    <protected-broadcast android:name="android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED" />
202    <protected-broadcast android:name="android.bluetooth.sap.profile.action.CONNECTION_STATE_CHANGED" />
203    <protected-broadcast android:name="android.btopp.intent.action.INCOMING_FILE_NOTIFICATION" />
204    <protected-broadcast android:name="android.btopp.intent.action.USER_CONFIRMATION_TIMEOUT" />
205    <protected-broadcast android:name="android.btopp.intent.action.LIST" />
206    <protected-broadcast android:name="android.btopp.intent.action.OPEN_OUTBOUND" />
207    <protected-broadcast android:name="android.btopp.intent.action.HIDE_COMPLETE" />
208    <protected-broadcast android:name="android.btopp.intent.action.CONFIRM" />
209    <protected-broadcast android:name="android.btopp.intent.action.HIDE" />
210    <protected-broadcast android:name="android.btopp.intent.action.RETRY" />
211    <protected-broadcast android:name="android.btopp.intent.action.OPEN" />
212    <protected-broadcast android:name="android.btopp.intent.action.OPEN_INBOUND" />
213    <protected-broadcast android:name="android.btopp.intent.action.TRANSFER_COMPLETE" />
214    <protected-broadcast android:name="android.btopp.intent.action.ACCEPT" />
215    <protected-broadcast android:name="com.android.bluetooth.gatt.REFRESH_BATCHED_SCAN" />
216    <protected-broadcast android:name="com.android.bluetooth.pbap.authchall" />
217    <protected-broadcast android:name="com.android.bluetooth.pbap.userconfirmtimeout" />
218    <protected-broadcast android:name="com.android.bluetooth.pbap.authresponse" />
219    <protected-broadcast android:name="com.android.bluetooth.pbap.authcancelled" />
220    <protected-broadcast android:name="com.android.bluetooth.sap.USER_CONFIRM_TIMEOUT" />
221    <protected-broadcast android:name="com.android.bluetooth.sap.action.DISCONNECT_ACTION" />
222
223    <protected-broadcast android:name="android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED" />
224
225    <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
226    <protected-broadcast android:name="android.hardware.usb.action.USB_PORT_CHANGED" />
227    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
228    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_DETACHED" />
229    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
230    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
231
232    <protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
233    <protected-broadcast android:name="android.media.action.HDMI_AUDIO_PLUG" />
234
235    <protected-broadcast android:name="android.media.AUDIO_BECOMING_NOISY" />
236    <protected-broadcast android:name="android.media.RINGER_MODE_CHANGED" />
237    <protected-broadcast android:name="android.media.VIBRATE_SETTING_CHANGED" />
238    <protected-broadcast android:name="android.media.VOLUME_CHANGED_ACTION" />
239    <protected-broadcast android:name="android.media.MASTER_VOLUME_CHANGED_ACTION" />
240    <protected-broadcast android:name="android.media.MASTER_MUTE_CHANGED_ACTION" />
241    <protected-broadcast android:name="android.media.MASTER_MONO_CHANGED_ACTION" />
242    <protected-broadcast android:name="android.media.SCO_AUDIO_STATE_CHANGED" />
243    <protected-broadcast android:name="android.media.ACTION_SCO_AUDIO_STATE_UPDATED" />
244
245    <protected-broadcast android:name="android.intent.action.MEDIA_REMOVED" />
246    <protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTED" />
247    <protected-broadcast android:name="android.intent.action.MEDIA_CHECKING" />
248    <protected-broadcast android:name="android.intent.action.MEDIA_NOFS" />
249    <protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED" />
250    <protected-broadcast android:name="android.intent.action.MEDIA_SHARED" />
251    <protected-broadcast android:name="android.intent.action.MEDIA_UNSHARED" />
252    <protected-broadcast android:name="android.intent.action.MEDIA_BAD_REMOVAL" />
253    <protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTABLE" />
254    <protected-broadcast android:name="android.intent.action.MEDIA_EJECT" />
255
256    <protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL" />
257    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
258    <!-- @deprecated.  Only {@link android.net.ConnectivityManager.CONNECTIVITY_ACTION} is sent. -->
259    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
260    <protected-broadcast android:name="android.net.conn.DATA_ACTIVITY_CHANGE" />
261    <protected-broadcast android:name="android.net.conn.RESTRICT_BACKGROUND_CHANGED" />
262    <protected-broadcast android:name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" />
263    <protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL_TEST_COMPLETED" />
264
265    <protected-broadcast android:name="android.net.nsd.STATE_CHANGED" />
266
267    <protected-broadcast android:name="android.nfc.action.ADAPTER_STATE_CHANGED" />
268    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
269    <protected-broadcast android:name="com.android.nfc.action.LLCP_UP" />
270    <protected-broadcast android:name="com.android.nfc.action.LLCP_DOWN" />
271    <protected-broadcast android:name="com.android.nfc.cardemulation.action.CLOSE_TAP_DIALOG" />
272    <protected-broadcast android:name="com.android.nfc.handover.action.ALLOW_CONNECT" />
273    <protected-broadcast android:name="com.android.nfc.handover.action.DENY_CONNECT" />
274    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
275    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
276    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
277    <!-- For NFC to BT handover -->
278    <protected-broadcast android:name="android.btopp.intent.action.WHITELIST_DEVICE" />
279    <protected-broadcast android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" />
280    <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_SEND" />
281    <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_SEND_MULTIPLE" />
282
283    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
284    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
285
286    <protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
287
288    <protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
289    <protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
290    <protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
291
292    <protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
293    <protected-broadcast android:name="com.android.server.WifiManager.action.START_PNO" />
294    <protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
295    <protected-broadcast android:name="com.android.server.WifiManager.action.DEVICE_IDLE" />
296    <protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_SHARING_ACCEPTED" />
297    <protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_SHARING_DECLINED" />
298    <protected-broadcast android:name="com.android.server.usb.ACTION_OPEN_IN_APPS" />
299    <protected-broadcast android:name="com.android.server.am.DELETE_DUMPHEAP" />
300    <protected-broadcast android:name="com.android.server.net.action.SNOOZE_WARNING" />
301    <protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" />
302    <protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
303    <protected-broadcast android:name="android.net.wifi.WIFI_CREDENTIAL_CHANGED" />
304    <protected-broadcast android:name="android.net.wifi.WIFI_SCAN_AVAILABLE" />
305    <protected-broadcast android:name="android.net.wifi.aware.action.WIFI_AWARE_STATE_CHANGED" />
306    <protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
307    <protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
308    <protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
309    <protected-broadcast android:name="android.net.wifi.LINK_CONFIGURATION_CHANGED" />
310    <protected-broadcast android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" />
311    <protected-broadcast android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
312    <protected-broadcast android:name="android.net.wifi.supplicant.STATE_CHANGE" />
313    <protected-broadcast android:name="android.net.wifi.p2p.STATE_CHANGED" />
314    <protected-broadcast android:name="android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" />
315    <protected-broadcast android:name="android.net.wifi.p2p.THIS_DEVICE_CHANGED" />
316    <protected-broadcast android:name="android.net.wifi.p2p.PEERS_CHANGED" />
317    <protected-broadcast android:name="android.net.wifi.p2p.CONNECTION_STATE_CHANGE" />
318    <protected-broadcast android:name="android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED" />
319    <protected-broadcast android:name="android.net.conn.TETHER_STATE_CHANGED" />
320    <protected-broadcast android:name="android.net.conn.INET_CONDITION_ACTION" />
321    <protected-broadcast android:name="android.net.conn.NETWORK_CONDITIONS_MEASURED" />
322    <protected-broadcast
323            android:name="android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED" />
324    <protected-broadcast android:name="android.net.scoring.SCORE_NETWORKS" />
325    <protected-broadcast android:name="android.net.scoring.SCORER_CHANGED" />
326    <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
327    <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
328    <protected-broadcast android:name="android.intent.action.AIRPLANE_MODE" />
329    <protected-broadcast android:name="android.intent.action.ADVANCED_SETTINGS" />
330    <protected-broadcast android:name="android.intent.action.APPLICATION_RESTRICTIONS_CHANGED" />
331
332    <!-- Legacy -->
333    <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_START" />
334    <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_END" />
335
336    <protected-broadcast android:name="com.android.server.ACTION_TRIGGER_IDLE" />
337
338    <protected-broadcast android:name="android.intent.action.HDMI_PLUGGED" />
339
340    <protected-broadcast android:name="android.intent.action.PHONE_STATE" />
341
342    <protected-broadcast android:name="android.intent.action.SUB_DEFAULT_CHANGED" />
343
344    <protected-broadcast android:name="android.location.GPS_ENABLED_CHANGE" />
345    <protected-broadcast android:name="android.location.PROVIDERS_CHANGED" />
346    <protected-broadcast android:name="android.location.MODE_CHANGED" />
347    <protected-broadcast android:name="android.location.GPS_FIX_CHANGE" />
348    <protected-broadcast android:name="android.net.proxy.PAC_REFRESH" />
349
350    <protected-broadcast android:name="android.telecom.action.DEFAULT_DIALER_CHANGED" />
351    <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED" />
352    <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" />
353    <protected-broadcast android:name="android.provider.Telephony.MMS_DOWNLOADED" />
354
355    <protected-broadcast
356        android:name="com.android.server.connectivityservice.CONNECTED_TO_PROVISIONING_NETWORK_ACTION" />
357
358    <!-- Defined in RestrictionsManager -->
359    <protected-broadcast
360        android:name="android.intent.action.PERMISSION_RESPONSE_RECEIVED" />
361    <!-- Defined in RestrictionsManager -->
362
363    <protected-broadcast android:name="android.intent.action.REQUEST_PERMISSION" />
364    <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_STARTED" />
365    <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
366    <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_PROGRESS" />
367    <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
368
369    <protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_SUBSCRIPTION_CHANGED" />
370    <protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED" />
371    <protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED" />
372    <protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED" />
373    <protected-broadcast android:name="android.intent.action.ACTION_SUBINFO_CONTENT_CHANGE" />
374    <protected-broadcast android:name="android.intent.action.ACTION_SUBINFO_RECORD_UPDATED" />
375
376    <protected-broadcast android:name="android.intent.action.ACTION_SET_RADIO_CAPABILITY_DONE" />
377    <protected-broadcast android:name="android.intent.action.ACTION_SET_RADIO_CAPABILITY_FAILED" />
378
379    <protected-broadcast android:name="android.internal.policy.action.BURN_IN_PROTECTION" />
380    <protected-broadcast android:name="android.app.action.SYSTEM_UPDATE_POLICY_CHANGED" />
381    <protected-broadcast android:name="android.app.action.DEVICE_OWNER_CHANGED" />
382
383    <!-- Added in N -->
384    <protected-broadcast android:name="android.intent.action.ANR" />
385    <protected-broadcast android:name="android.intent.action.CALL" />
386    <protected-broadcast android:name="android.intent.action.CALL_PRIVILEGED" />
387    <protected-broadcast android:name="android.intent.action.DROPBOX_ENTRY_ADDED" />
388    <protected-broadcast android:name="android.intent.action.INPUT_METHOD_CHANGED" />
389    <protected-broadcast android:name="android.intent.action.internal_sim_state_changed" />
390    <protected-broadcast android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
391    <protected-broadcast android:name="android.intent.action.PRECISE_CALL_STATE" />
392    <protected-broadcast android:name="android.intent.action.PRECISE_DATA_CONNECTION_STATE_CHANGED" />
393    <protected-broadcast android:name="android.intent.action.SUBSCRIPTION_PHONE_STATE" />
394    <protected-broadcast android:name="android.intent.action.USER_INFO_CHANGED" />
395    <protected-broadcast android:name="android.intent.action.USER_UNLOCKED" />
396    <protected-broadcast android:name="android.intent.action.WALLPAPER_CHANGED" />
397
398    <protected-broadcast android:name="android.app.action.DEVICE_POLICY_MANAGER_STATE_CHANGED" />
399    <protected-broadcast android:name="android.app.action.CHOOSE_PRIVATE_KEY_ALIAS" />
400    <protected-broadcast android:name="android.app.action.DEVICE_ADMIN_DISABLED" />
401    <protected-broadcast android:name="android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED" />
402    <protected-broadcast android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
403    <protected-broadcast android:name="android.app.action.LOCK_TASK_ENTERING" />
404    <protected-broadcast android:name="android.app.action.LOCK_TASK_EXITING" />
405    <protected-broadcast android:name="android.app.action.NOTIFY_PENDING_SYSTEM_UPDATE" />
406    <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_CHANGED" />
407    <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_EXPIRING" />
408    <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_FAILED" />
409    <protected-broadcast android:name="android.app.action.ACTION_PASSWORD_SUCCEEDED" />
410    <protected-broadcast android:name="com.android.server.ACTION_EXPIRED_PASSWORD_NOTIFICATION" />
411
412    <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_ADDED" />
413    <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_UNLOCKED" />
414    <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_REMOVED" />
415
416    <protected-broadcast android:name="android.bluetooth.adapter.action.BLE_STATE_CHANGED" />
417    <protected-broadcast android:name="com.android.bluetooth.map.USER_CONFIRM_TIMEOUT" />
418    <protected-broadcast android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_SENT" />
419    <protected-broadcast android:name="com.android.bluetooth.BluetoothMapContentObserver.action.MESSAGE_DELIVERY" />
420    <protected-broadcast android:name="android.content.jobscheduler.JOB_DELAY_EXPIRED" />
421    <protected-broadcast android:name="android.content.syncmanager.SYNC_ALARM" />
422    <protected-broadcast android:name="android.media.INTERNAL_RINGER_MODE_CHANGED_ACTION" />
423    <protected-broadcast android:name="android.media.STREAM_DEVICES_CHANGED_ACTION" />
424    <protected-broadcast android:name="android.media.STREAM_MUTE_CHANGED_ACTION" />
425    <protected-broadcast android:name="android.net.sip.SIP_SERVICE_UP" />
426    <protected-broadcast android:name="android.nfc.action.ADAPTER_STATE_CHANGED" />
427    <protected-broadcast android:name="android.os.action.CHARGING" />
428    <protected-broadcast android:name="android.os.action.DISCHARGING" />
429    <protected-broadcast android:name="android.search.action.SEARCHABLES_CHANGED" />
430    <protected-broadcast android:name="android.security.STORAGE_CHANGED" />
431    <protected-broadcast android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED" />
432    <protected-broadcast android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED" />
433    <protected-broadcast android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
434    <protected-broadcast android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" />
435
436    <protected-broadcast android:name="com.android.bluetooth.btservice.action.ALARM_WAKEUP" />
437    <protected-broadcast android:name="com.android.server.action.NETWORK_STATS_POLL" />
438    <protected-broadcast android:name="com.android.server.action.NETWORK_STATS_UPDATED" />
439    <protected-broadcast android:name="com.android.server.NetworkTimeUpdateService.action.POLL" />
440    <protected-broadcast android:name="com.android.server.telecom.intent.action.CALLS_ADD_ENTRY" />
441    <protected-broadcast android:name="com.android.settings.location.MODE_CHANGING" />
442
443    <protected-broadcast android:name="ScheduleConditionProvider.EVALUATE" />
444    <protected-broadcast android:name="EventConditionProvider.EVALUATE" />
445    <protected-broadcast android:name="wifi_scan_available" />
446
447    <protected-broadcast android:name="action.cne.started" />
448    <protected-broadcast android:name="android.content.jobscheduler.JOB_DEADLINE_EXPIRED" />
449    <protected-broadcast android:name="android.intent.action.ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW" />
450    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_SUPL" />
451    <protected-broadcast android:name="android.os.action.ACTION_EFFECTS_SUPPRESSOR_CHANGED" />
452    <protected-broadcast android:name="android.os.action.LIGHT_DEVICE_IDLE_MODE_CHANGED" />
453    <protected-broadcast android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
454    <protected-broadcast android:name="android.os.storage.action.DISK_SCANNED" />
455    <protected-broadcast android:name="com.android.server.action.UPDATE_TWILIGHT_STATE" />
456    <protected-broadcast android:name="com.android.server.action.RESET_TWILIGHT_AUTO" />
457    <protected-broadcast android:name="com.android.server.device_idle.STEP_IDLE_STATE" />
458    <protected-broadcast android:name="com.android.server.device_idle.STEP_LIGHT_IDLE_STATE" />
459    <protected-broadcast android:name="com.android.server.Wifi.action.TOGGLE_PNO" />
460    <protected-broadcast android:name="intent.action.ACTION_RF_BAND_INFO" />
461    <protected-broadcast android:name="android.intent.action.MEDIA_RESOURCE_GRANTED" />
462    <protected-broadcast android:name="android.app.action.NETWORK_LOGS_AVAILABLE" />
463    <protected-broadcast android:name="android.app.action.SECURITY_LOGS_AVAILABLE" />
464
465    <protected-broadcast android:name="android.app.action.INTERRUPTION_FILTER_CHANGED" />
466    <protected-broadcast android:name="android.app.action.INTERRUPTION_FILTER_CHANGED_INTERNAL" />
467    <protected-broadcast android:name="android.app.action.NOTIFICATION_POLICY_CHANGED" />
468    <protected-broadcast android:name="android.app.action.NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED" />
469    <protected-broadcast android:name="android.os.action.ACTION_EFFECTS_SUPPRESSOR_CHANGED" />
470
471    <protected-broadcast android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" />
472    <protected-broadcast android:name="android.permission.CLEAR_APP_GRANTED_URI_PERMISSIONS" />
473
474    <protected-broadcast android:name="android.intent.action.DYNAMIC_SENSOR_CHANGED" />
475
476    <protected-broadcast android:name="android.intent.action.ACTION_RADIO_OFF" />
477
478    <protected-broadcast android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
479    <protected-broadcast android:name="com.android.sync.SYNC_CONN_STATUS_CHANGED" />
480
481    <protected-broadcast android:name="com.android.phone.SIP_INCOMING_CALL" />
482    <protected-broadcast android:name="com.android.phone.SIP_ADD_PHONE" />
483    <protected-broadcast android:name="com.android.phone.SIP_REMOVE_PHONE" />
484    <protected-broadcast android:name="com.android.phone.SIP_CALL_OPTION_CHANGED" />
485
486    <protected-broadcast android:name="android.bluetooth.adapter.action.BLE_ACL_CONNECTED" />
487    <protected-broadcast android:name="android.bluetooth.adapter.action.BLE_ACL_DISCONNECTED" />
488
489    <protected-broadcast android:name="android.bluetooth.input.profile.action.HANDSHAKE" />
490    <protected-broadcast android:name="android.bluetooth.input.profile.action.REPORT" />
491
492    <protected-broadcast android:name="android.intent.action.TWILIGHT_CHANGED" />
493
494    <protected-broadcast android:name="com.android.server.fingerprint.ACTION_LOCKOUT_RESET" />
495    <protected-broadcast android:name="android.net.wifi.PASSPOINT_ICON_RECEIVED" />
496    <protected-broadcast android:name="com.android.server.notification.CountdownConditionProvider" />
497
498    <protected-broadcast android:name="com.android.internal.location.ALARM_WAKEUP" />
499    <protected-broadcast android:name="com.android.internal.location.ALARM_TIMEOUT" />
500    <protected-broadcast android:name="android.intent.action.GLOBAL_BUTTON" />
501
502    <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_AVAILABLE" />
503    <protected-broadcast android:name="android.intent.action.MANAGED_PROFILE_UNAVAILABLE" />
504    <protected-broadcast android:name="com.android.server.pm.DISABLE_QUIET_MODE_AFTER_UNLOCK" />
505
506    <protected-broadcast android:name="com.android.server.retaildemo.ACTION_RESET_DEMO" />
507
508    <!-- ====================================================================== -->
509    <!--                          RUNTIME PERMISSIONS                           -->
510    <!-- ====================================================================== -->
511    <eat-comment />
512
513    <!-- ====================================================================== -->
514    <!-- Permissions for accessing user's contacts including personal profile   -->
515    <!-- ====================================================================== -->
516    <eat-comment />
517
518    <!-- Used for runtime permissions related to contacts and profiles on this
519        device. -->
520    <permission-group android:name="android.permission-group.CONTACTS"
521        android:icon="@drawable/perm_group_contacts"
522        android:label="@string/permgrouplab_contacts"
523        android:description="@string/permgroupdesc_contacts"
524        android:priority="100" />
525
526    <!-- Allows an application to read the user's contacts data.
527        <p>Protection level: dangerous
528    -->
529    <permission android:name="android.permission.READ_CONTACTS"
530        android:permissionGroup="android.permission-group.CONTACTS"
531        android:label="@string/permlab_readContacts"
532        android:description="@string/permdesc_readContacts"
533        android:protectionLevel="dangerous" />
534
535    <!-- Allows an application to write the user's contacts data.
536         <p>Protection level: dangerous
537    -->
538    <permission android:name="android.permission.WRITE_CONTACTS"
539        android:permissionGroup="android.permission-group.CONTACTS"
540        android:label="@string/permlab_writeContacts"
541        android:description="@string/permdesc_writeContacts"
542        android:protectionLevel="dangerous" />
543
544    <!-- ====================================================================== -->
545    <!-- Permissions for accessing user's calendar                              -->
546    <!-- ====================================================================== -->
547    <eat-comment />
548
549    <!-- Used for runtime permissions related to user's calendar. -->
550    <permission-group android:name="android.permission-group.CALENDAR"
551        android:icon="@drawable/perm_group_calendar"
552        android:label="@string/permgrouplab_calendar"
553        android:description="@string/permgroupdesc_calendar"
554        android:priority="200" />
555
556    <!-- Allows an application to read the user's calendar data.
557         <p>Protection level: dangerous
558    -->
559    <permission android:name="android.permission.READ_CALENDAR"
560        android:permissionGroup="android.permission-group.CALENDAR"
561        android:label="@string/permlab_readCalendar"
562        android:description="@string/permdesc_readCalendar"
563        android:protectionLevel="dangerous" />
564
565    <!-- Allows an application to write the user's calendar data.
566         <p>Protection level: dangerous
567    -->
568    <permission android:name="android.permission.WRITE_CALENDAR"
569        android:permissionGroup="android.permission-group.CALENDAR"
570        android:label="@string/permlab_writeCalendar"
571        android:description="@string/permdesc_writeCalendar"
572        android:protectionLevel="dangerous" />
573
574    <!-- ====================================================================== -->
575    <!-- Permissions for accessing and modifying user's SMS messages            -->
576    <!-- ====================================================================== -->
577    <eat-comment />
578
579    <!-- Used for runtime permissions related to user's SMS messages. -->
580    <permission-group android:name="android.permission-group.SMS"
581        android:icon="@drawable/perm_group_sms"
582        android:label="@string/permgrouplab_sms"
583        android:description="@string/permgroupdesc_sms"
584        android:priority="300" />
585
586    <!-- Allows an application to send SMS messages.
587         <p>Protection level: dangerous
588    -->
589    <permission android:name="android.permission.SEND_SMS"
590        android:permissionGroup="android.permission-group.SMS"
591        android:label="@string/permlab_sendSms"
592        android:description="@string/permdesc_sendSms"
593        android:permissionFlags="costsMoney"
594        android:protectionLevel="dangerous" />
595
596    <!-- Allows an application to receive SMS messages.
597         <p>Protection level: dangerous
598    -->
599    <permission android:name="android.permission.RECEIVE_SMS"
600        android:permissionGroup="android.permission-group.SMS"
601        android:label="@string/permlab_receiveSms"
602        android:description="@string/permdesc_receiveSms"
603        android:protectionLevel="dangerous"/>
604
605    <!-- Allows an application to read SMS messages.
606         <p>Protection level: dangerous
607    -->
608    <permission android:name="android.permission.READ_SMS"
609        android:permissionGroup="android.permission-group.SMS"
610        android:label="@string/permlab_readSms"
611        android:description="@string/permdesc_readSms"
612        android:protectionLevel="dangerous" />
613
614    <!-- Allows an application to receive WAP push messages.
615         <p>Protection level: dangerous
616    -->
617    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
618        android:permissionGroup="android.permission-group.SMS"
619        android:label="@string/permlab_receiveWapPush"
620        android:description="@string/permdesc_receiveWapPush"
621        android:protectionLevel="dangerous" />
622
623    <!-- Allows an application to monitor incoming MMS messages.
624        <p>Protection level: dangerous
625    -->
626    <permission android:name="android.permission.RECEIVE_MMS"
627        android:permissionGroup="android.permission-group.SMS"
628        android:label="@string/permlab_receiveMms"
629        android:description="@string/permdesc_receiveMms"
630        android:protectionLevel="dangerous" />
631
632    <!-- Allows an application to read previously received cell broadcast
633         messages and to register a content observer to get notifications when
634         a cell broadcast has been received and added to the database. For
635         emergency alerts, the database is updated immediately after the
636         alert dialog and notification sound/vibration/speech are presented.
637         The "read" column is then updated after the user dismisses the alert.
638         This enables supplementary emergency assistance apps to start loading
639         additional emergency information (if Internet access is available)
640         when the alert is first received, and to delay presenting the info
641         to the user until after the initial alert dialog is dismissed.
642         <p>Protection level: dangerous
643         @hide Pending API council approval -->
644    <permission android:name="android.permission.READ_CELL_BROADCASTS"
645        android:permissionGroup="android.permission-group.SMS"
646        android:label="@string/permlab_readCellBroadcasts"
647        android:description="@string/permdesc_readCellBroadcasts"
648        android:protectionLevel="dangerous" />
649
650    <!-- ====================================================================== -->
651    <!-- Permissions for accessing external storage                             -->
652    <!-- ====================================================================== -->
653    <eat-comment />
654
655    <!-- Used for runtime permissions related to the shared external storage. -->
656    <permission-group android:name="android.permission-group.STORAGE"
657        android:icon="@drawable/perm_group_storage"
658        android:label="@string/permgrouplab_storage"
659        android:description="@string/permgroupdesc_storage"
660        android:priority="900" />
661
662    <!-- Allows an application to read from external storage.
663     <p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
664     granted this permission.</p>
665     <p>This permission is enforced starting in API level 19.  Before API level 19, this
666     permission is not enforced and all apps still have access to read from external storage.
667     You can test your app with the permission enforced by enabling <em>Protect USB
668     storage</em> under Developer options in the Settings app on a device running Android 4.1 or
669     higher.</p>
670     <p>Also starting in API level 19, this permission is <em>not</em> required to
671     read/write files in your application-specific directories returned by
672     {@link android.content.Context#getExternalFilesDir} and
673     {@link android.content.Context#getExternalCacheDir}.
674     <p class="note"><strong>Note:</strong> If <em>both</em> your <a
675     href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
676     minSdkVersion}</a> and <a
677     href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
678     targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
679     grants your app this permission. If you don't need this permission, be sure your <a
680     href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
681     targetSdkVersion}</a> is 4 or higher.
682     <p>Protection level: dangerous
683     -->
684    <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
685        android:permissionGroup="android.permission-group.STORAGE"
686        android:label="@string/permlab_sdcardRead"
687        android:description="@string/permdesc_sdcardRead"
688        android:protectionLevel="dangerous" />
689
690    <!-- Allows an application to write to external storage.
691         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
692         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
693         minSdkVersion}</a> and <a
694         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
695         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
696         grants your app this permission. If you don't need this permission, be sure your <a
697         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
698         targetSdkVersion}</a> is 4 or higher.
699         <p>Starting in API level 19, this permission is <em>not</em> required to
700         read/write files in your application-specific directories returned by
701         {@link android.content.Context#getExternalFilesDir} and
702         {@link android.content.Context#getExternalCacheDir}.
703         <p>Protection level: dangerous
704    -->
705    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
706        android:permissionGroup="android.permission-group.STORAGE"
707        android:label="@string/permlab_sdcardWrite"
708        android:description="@string/permdesc_sdcardWrite"
709        android:protectionLevel="dangerous" />
710
711    <!-- ====================================================================== -->
712    <!-- Permissions for accessing the device location                          -->
713    <!-- ====================================================================== -->
714    <eat-comment />
715
716    <!-- Used for permissions that allow accessing the device location. -->
717    <permission-group android:name="android.permission-group.LOCATION"
718        android:icon="@drawable/perm_group_location"
719        android:label="@string/permgrouplab_location"
720        android:description="@string/permgroupdesc_location"
721        android:priority="400" />
722
723    <!-- Allows an app to access precise location.
724         Alternatively, you might want {@link #ACCESS_COARSE_LOCATION}.
725         <p>Protection level: dangerous
726    -->
727    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
728        android:permissionGroup="android.permission-group.LOCATION"
729        android:label="@string/permlab_accessFineLocation"
730        android:description="@string/permdesc_accessFineLocation"
731        android:protectionLevel="dangerous" />
732
733    <!-- Allows an app to access approximate location.
734         Alternatively, you might want {@link #ACCESS_FINE_LOCATION}.
735         <p>Protection level: dangerous
736    -->
737    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
738        android:permissionGroup="android.permission-group.LOCATION"
739        android:label="@string/permlab_accessCoarseLocation"
740        android:description="@string/permdesc_accessCoarseLocation"
741        android:protectionLevel="dangerous" />
742
743    <!-- ====================================================================== -->
744    <!-- Permissions for accessing the device telephony                         -->
745    <!-- ====================================================================== -->
746    <eat-comment />
747
748    <!-- Used for permissions that are associated telephony features. -->
749    <permission-group android:name="android.permission-group.PHONE"
750        android:icon="@drawable/perm_group_phone_calls"
751        android:label="@string/permgrouplab_phone"
752        android:description="@string/permgroupdesc_phone"
753        android:priority="500" />
754
755    <!-- Allows read only access to phone state, including the phone number of the device,
756         current cellular network information, the status of any ongoing calls, and a list of any
757         {@link android.telecom.PhoneAccount}s registered on the device.
758         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
759         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
760         minSdkVersion}</a> and <a
761         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
762         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
763         grants your app this permission. If you don't need this permission, be sure your <a
764         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
765         targetSdkVersion}</a> is 4 or higher.
766         <p>Protection level: dangerous
767    -->
768    <permission android:name="android.permission.READ_PHONE_STATE"
769        android:permissionGroup="android.permission-group.PHONE"
770        android:label="@string/permlab_readPhoneState"
771        android:description="@string/permdesc_readPhoneState"
772        android:protectionLevel="dangerous" />
773
774    <!-- Allows an application to initiate a phone call without going through
775        the Dialer user interface for the user to confirm the call.
776        <p>Protection level: dangerous
777    -->
778    <permission android:name="android.permission.CALL_PHONE"
779        android:permissionGroup="android.permission-group.PHONE"
780        android:permissionFlags="costsMoney"
781        android:label="@string/permlab_callPhone"
782        android:description="@string/permdesc_callPhone"
783        android:protectionLevel="dangerous" />
784
785    <!-- Allows an application to access the IMS call service: making and
786         modifying a call
787        <p>Protection level: signature|privileged
788        @hide
789    -->
790    <permission android:name="android.permission.ACCESS_IMS_CALL_SERVICE"
791        android:permissionGroup="android.permission-group.PHONE"
792        android:label="@string/permlab_accessImsCallService"
793        android:description="@string/permdesc_accessImsCallService"
794        android:protectionLevel="signature|privileged" />
795
796    <!-- Allows an application to read the user's call log.
797         <p class="note"><strong>Note:</strong> If your app uses the
798         {@link #READ_CONTACTS} permission and <em>both</em> your <a
799         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
800         minSdkVersion}</a> and <a
801         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
802         targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
803         grants your app this permission. If you don't need this permission, be sure your <a
804         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
805         targetSdkVersion}</a> is 16 or higher.</p>
806         <p>Protection level: dangerous
807    -->
808    <permission android:name="android.permission.READ_CALL_LOG"
809        android:permissionGroup="android.permission-group.PHONE"
810        android:label="@string/permlab_readCallLog"
811        android:description="@string/permdesc_readCallLog"
812        android:protectionLevel="dangerous" />
813
814    <!-- Allows an application to write (but not read) the user's
815         call log data.
816         <p class="note"><strong>Note:</strong> If your app uses the
817         {@link #WRITE_CONTACTS} permission and <em>both</em> your <a
818         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
819         minSdkVersion}</a> and <a
820         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
821         targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
822         grants your app this permission. If you don't need this permission, be sure your <a
823         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
824         targetSdkVersion}</a> is 16 or higher.</p>
825         <p>Protection level: dangerous
826    -->
827    <permission android:name="android.permission.WRITE_CALL_LOG"
828        android:permissionGroup="android.permission-group.PHONE"
829        android:label="@string/permlab_writeCallLog"
830        android:description="@string/permdesc_writeCallLog"
831        android:protectionLevel="dangerous" />
832
833    <!-- Allows an application to add voicemails into the system.
834         <p>Protection level: dangerous
835    -->
836    <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
837        android:permissionGroup="android.permission-group.PHONE"
838        android:label="@string/permlab_addVoicemail"
839        android:description="@string/permdesc_addVoicemail"
840        android:protectionLevel="dangerous" />
841
842    <!-- Allows an application to use SIP service.
843         <p>Protection level: dangerous
844    -->
845    <permission android:name="android.permission.USE_SIP"
846        android:permissionGroup="android.permission-group.PHONE"
847        android:description="@string/permdesc_use_sip"
848        android:label="@string/permlab_use_sip"
849        android:protectionLevel="dangerous"/>
850
851    <!-- Allows an application to see the number being dialed during an outgoing
852         call with the option to redirect the call to a different number or
853         abort the call altogether.
854         <p>Protection level: dangerous
855    -->
856    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
857        android:permissionGroup="android.permission-group.PHONE"
858        android:label="@string/permlab_processOutgoingCalls"
859        android:description="@string/permdesc_processOutgoingCalls"
860        android:protectionLevel="dangerous" />
861
862    <!-- ====================================================================== -->
863    <!-- Permissions for accessing the device microphone                        -->
864    <!-- ====================================================================== -->
865    <eat-comment />
866
867    <!-- Used for permissions that are associated with accessing
868         microphone audio from the device. Note that phone calls also capture audio
869         but are in a separate (more visible) permission group. -->
870    <permission-group android:name="android.permission-group.MICROPHONE"
871        android:icon="@drawable/perm_group_microphone"
872        android:label="@string/permgrouplab_microphone"
873        android:description="@string/permgroupdesc_microphone"
874        android:priority="600" />
875
876    <!-- Allows an application to record audio.
877         <p>Protection level: dangerous
878    -->
879    <permission android:name="android.permission.RECORD_AUDIO"
880        android:permissionGroup="android.permission-group.MICROPHONE"
881        android:label="@string/permlab_recordAudio"
882        android:description="@string/permdesc_recordAudio"
883        android:protectionLevel="dangerous"/>
884
885    <!-- ====================================================================== -->
886    <!-- Permissions for accessing the UCE Service                              -->
887    <!-- ====================================================================== -->
888
889    <!-- @hide Allows an application to Access UCE-Presence.
890         <p>Protection level: dangerous
891    -->
892    <permission android:name="android.permission.ACCESS_UCE_PRESENCE_SERVICE"
893        android:permissionGroup="android.permission-group.PHONE"
894        android:protectionLevel="signatureOrSystem"/>
895
896    <!-- @hide Allows an application to Access UCE-OPTIONS.
897         <p>Protection level: dangerous
898    -->
899    <permission android:name="android.permission.ACCESS_UCE_OPTIONS_SERVICE"
900        android:permissionGroup="android.permission-group.PHONE"
901        android:protectionLevel="signatureOrSystem"/>
902
903
904
905    <!-- ====================================================================== -->
906    <!-- Permissions for accessing the device camera                            -->
907    <!-- ====================================================================== -->
908    <eat-comment />
909
910    <!-- Used for permissions that are associated with accessing
911     camera or capturing images/video from the device. -->
912    <permission-group android:name="android.permission-group.CAMERA"
913        android:icon="@drawable/perm_group_camera"
914        android:label="@string/permgrouplab_camera"
915        android:description="@string/permgroupdesc_camera"
916        android:priority="700" />
917
918    <!-- Required to be able to access the camera device.
919         <p>This will automatically enforce the <a
920         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">
921         <uses-feature>}</a> manifest element for <em>all</em> camera features.
922         If you do not require all camera features or can properly operate if a camera
923         is not available, then you must modify your manifest as appropriate in order to
924         install on devices that don't support all camera features.</p>
925         <p>Protection level: dangerous
926    -->
927    <permission android:name="android.permission.CAMERA"
928        android:permissionGroup="android.permission-group.CAMERA"
929        android:label="@string/permlab_camera"
930        android:description="@string/permdesc_camera"
931        android:protectionLevel="dangerous" />
932
933
934    <!-- ====================================================================== -->
935    <!-- Permissions for accessing the device sensors                           -->
936    <!-- ====================================================================== -->
937    <eat-comment />
938
939    <!-- Used for permissions that are associated with accessing
940         camera or capturing images/video from the device. -->
941    <permission-group android:name="android.permission-group.SENSORS"
942        android:icon="@drawable/perm_group_sensors"
943        android:label="@string/permgrouplab_sensors"
944        android:description="@string/permgroupdesc_sensors"
945        android:priority="800" />
946
947    <!-- Allows an application to access data from sensors that the user uses to
948         measure what is happening inside his/her body, such as heart rate.
949         <p>Protection level: dangerous -->
950    <permission android:name="android.permission.BODY_SENSORS"
951        android:permissionGroup="android.permission-group.SENSORS"
952        android:label="@string/permlab_bodySensors"
953        android:description="@string/permdesc_bodySensors"
954        android:protectionLevel="dangerous" />
955
956    <!-- Allows an app to use fingerprint hardware.
957         <p>Protection level: normal
958    -->
959    <permission android:name="android.permission.USE_FINGERPRINT"
960        android:permissionGroup="android.permission-group.SENSORS"
961        android:label="@string/permlab_useFingerprint"
962        android:description="@string/permdesc_useFingerprint"
963        android:protectionLevel="normal" />
964
965    <!-- ====================================================================== -->
966    <!-- REMOVED PERMISSIONS                                                    -->
967    <!-- ====================================================================== -->
968
969    <!-- @hide We need to keep this around for backwards compatibility -->
970    <permission android:name="android.permission.READ_PROFILE"
971        android:protectionLevel="normal"
972        android:permissionFlags="removed"/>
973
974    <!-- @hide We need to keep this around for backwards compatibility -->
975    <permission android:name="android.permission.WRITE_PROFILE"
976        android:protectionLevel="normal"
977        android:permissionFlags="removed"/>
978
979    <!-- @hide We need to keep this around for backwards compatibility -->
980    <permission android:name="android.permission.READ_SOCIAL_STREAM"
981        android:protectionLevel="normal"
982        android:permissionFlags="removed"/>
983
984    <!-- @hide We need to keep this around for backwards compatibility -->
985    <permission android:name="android.permission.WRITE_SOCIAL_STREAM"
986        android:protectionLevel="normal"
987        android:permissionFlags="removed"/>
988
989    <!-- @hide We need to keep this around for backwards compatibility -->
990    <permission android:name="android.permission.READ_USER_DICTIONARY"
991        android:protectionLevel="normal"
992        android:permissionFlags="removed"/>
993
994    <!-- @hide We need to keep this around for backwards compatibility -->
995    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
996        android:protectionLevel="normal"
997        android:permissionFlags="removed"/>
998
999    <!-- @hide We need to keep this around for backwards compatibility -->
1000    <permission android:name="android.permission.WRITE_SMS"
1001        android:protectionLevel="normal"
1002        android:permissionFlags="removed"/>
1003
1004    <!-- @hide We need to keep this around for backwards compatibility -->
1005    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
1006        android:protectionLevel="normal"
1007        android:permissionFlags="removed"/>
1008
1009    <!-- @hide We need to keep this around for backwards compatibility -->
1010    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
1011        android:protectionLevel="normal"
1012        android:permissionFlags="removed"/>
1013
1014    <!-- @hide We need to keep this around for backwards compatibility -->
1015    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
1016        android:protectionLevel="normal"
1017        android:permissionFlags="removed"/>
1018
1019    <!-- @hide We need to keep this around for backwards compatibility -->
1020    <permission android:name="android.permission.MANAGE_ACCOUNTS"
1021        android:protectionLevel="normal"
1022        android:permissionFlags="removed"/>
1023
1024    <!-- @hide We need to keep this around for backwards compatibility -->
1025    <permission android:name="android.permission.USE_CREDENTIALS"
1026        android:protectionLevel="normal"
1027        android:permissionFlags="removed"/>
1028
1029    <!-- @hide We need to keep this around for backwards compatibility -->
1030    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1031        android:protectionLevel="normal"
1032        android:permissionFlags="removed"/>
1033
1034    <!-- @hide We need to keep this around for backwards compatibility -->
1035    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1036        android:protectionLevel="normal"
1037        android:permissionFlags="removed"/>
1038
1039    <!-- @hide We need to keep this around for backwards compatibility -->
1040    <permission android:name="android.permission.FLASHLIGHT"
1041        android:protectionLevel="normal"
1042        android:permissionFlags="removed"/>
1043
1044    <!-- ====================================================================== -->
1045    <!-- INSTALL PERMISSIONS                                                    -->
1046    <!-- ====================================================================== -->
1047
1048    <!-- ================================== -->
1049    <!-- Permissions for accessing messages -->
1050    <!-- ================================== -->
1051    <eat-comment />
1052
1053    <!-- @SystemApi Allows an application (Phone) to send a request to other applications
1054         to handle the respond-via-message action during incoming calls.
1055         <p>Not for use by third-party applications. -->
1056    <permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE"
1057        android:protectionLevel="signature|privileged" />
1058
1059    <!-- @SystemApi Allows an application to send SMS to premium shortcodes without user permission.
1060         <p>Not for use by third-party applications.
1061         @hide -->
1062    <permission android:name="android.permission.SEND_SMS_NO_CONFIRMATION"
1063        android:protectionLevel="signature|privileged" />
1064
1065    <!-- Allows an application to filter carrier specific sms.
1066         @hide -->
1067    <permission android:name="android.permission.CARRIER_FILTER_SMS"
1068        android:protectionLevel="signature|privileged" />
1069
1070    <!-- @SystemApi Allows an application to receive emergency cell broadcast messages,
1071         to record or display them to the user.
1072         <p>Not for use by third-party applications.
1073         @hide -->
1074    <permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
1075        android:protectionLevel="signature|privileged" />
1076
1077    <!-- Allows an application to monitor incoming Bluetooth MAP messages, to record
1078         or perform processing on them. -->
1079    <!-- @hide -->
1080    <permission android:name="android.permission.RECEIVE_BLUETOOTH_MAP"
1081        android:protectionLevel="signature|privileged" />
1082
1083    <!-- @SystemApi @hide Allows an application to execute contacts directory search.
1084         This should only be used by ContactsProvider.
1085         <p>Not for use by third-party applications. -->
1086    <permission android:name="android.permission.BIND_DIRECTORY_SEARCH"
1087        android:protectionLevel="signature|privileged" />
1088
1089    <!-- @SystemApi @hide Allows an application to modify cell broadcasts through the content provider.
1090         <p>Not for use by third-party applications. -->
1091    <permission android:name="android.permission.MODIFY_CELL_BROADCASTS"
1092                android:protectionLevel="signature|privileged" />
1093
1094    <!-- =============================================================== -->
1095    <!-- Permissions for setting the device alarm                        -->
1096    <!-- =============================================================== -->
1097    <eat-comment />
1098
1099    <!-- Allows an application to broadcast an Intent to set an alarm for the user.
1100         <p>Protection level: normal
1101    -->
1102    <permission android:name="com.android.alarm.permission.SET_ALARM"
1103        android:label="@string/permlab_setAlarm"
1104        android:description="@string/permdesc_setAlarm"
1105        android:protectionLevel="normal" />
1106
1107    <!-- =============================================================== -->
1108    <!-- Permissions for accessing the user voicemail                    -->
1109    <!-- =============================================================== -->
1110    <eat-comment />
1111
1112    <!-- Allows an application to modify and remove existing voicemails in the system.
1113        <p>Protection level: signature|privileged
1114    -->
1115    <permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"
1116        android:protectionLevel="signature|privileged" />
1117
1118    <!-- Allows an application to read voicemails in the system.
1119         <p>Protection level: signature|privileged
1120    -->
1121    <permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"
1122        android:protectionLevel="signature|privileged" />
1123
1124    <!-- ======================================= -->
1125    <!-- Permissions for accessing location info -->
1126    <!-- ======================================= -->
1127    <eat-comment />
1128
1129    <!-- Allows an application to access extra location provider commands.
1130         <p>Protection level: normal
1131    -->
1132    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
1133        android:label="@string/permlab_accessLocationExtraCommands"
1134        android:description="@string/permdesc_accessLocationExtraCommands"
1135        android:protectionLevel="normal" />
1136
1137    <!-- @SystemApi Allows an application to install a location provider into the Location Manager.
1138    <p>Not for use by third-party applications. -->
1139    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
1140        android:protectionLevel="signature|privileged" />
1141
1142    <!-- @SystemApi @hide Allows HDMI-CEC service to access device and configuration files.
1143         This should only be used by HDMI-CEC service.
1144    -->
1145    <permission android:name="android.permission.HDMI_CEC"
1146        android:protectionLevel="signature|privileged" />
1147
1148    <!-- @SystemApi Allows an application to use location features in hardware,
1149         such as the geofencing api.
1150         <p>Not for use by third-party applications. -->
1151    <permission android:name="android.permission.LOCATION_HARDWARE"
1152        android:protectionLevel="signature|privileged" />
1153    <uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
1154
1155    <!-- @SystemApi Allows an application to create mock location providers for testing.
1156         <p>Protection level: signature
1157         @hide
1158    -->
1159    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
1160        android:protectionLevel="signature" />
1161
1162    <!-- ======================================= -->
1163    <!-- Permissions for accessing networks -->
1164    <!-- ======================================= -->
1165    <eat-comment />
1166
1167    <!-- Allows applications to open network sockets.
1168         <p>Protection level: normal
1169    -->
1170    <permission android:name="android.permission.INTERNET"
1171        android:description="@string/permdesc_createNetworkSockets"
1172        android:label="@string/permlab_createNetworkSockets"
1173        android:protectionLevel="normal" />
1174
1175    <!-- Allows applications to access information about networks.
1176         <p>Protection level: normal
1177    -->
1178    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
1179        android:description="@string/permdesc_accessNetworkState"
1180        android:label="@string/permlab_accessNetworkState"
1181        android:protectionLevel="normal" />
1182
1183    <!-- Allows applications to access information about Wi-Fi networks.
1184         <p>Protection level: normal
1185    -->
1186    <permission android:name="android.permission.ACCESS_WIFI_STATE"
1187        android:description="@string/permdesc_accessWifiState"
1188        android:label="@string/permlab_accessWifiState"
1189        android:protectionLevel="normal" />
1190
1191    <!-- Allows applications to change Wi-Fi connectivity state.
1192         <p>Protection level: normal
1193    -->
1194    <permission android:name="android.permission.CHANGE_WIFI_STATE"
1195        android:description="@string/permdesc_changeWifiState"
1196        android:label="@string/permlab_changeWifiState"
1197        android:protectionLevel="normal" />
1198
1199    <!-- @SystemApi @hide Allows applications to read Wi-Fi credential.
1200         <p>Not for use by third-party applications. -->
1201    <permission android:name="android.permission.READ_WIFI_CREDENTIAL"
1202        android:protectionLevel="signature|privileged" />
1203
1204    <!-- @SystemApi @hide Allows applications to change tether state and run
1205         tether carrier provisioning.
1206         <p>Not for use by third-party applications. -->
1207    <permission android:name="android.permission.TETHER_PRIVILEGED"
1208        android:protectionLevel="signature|privileged" />
1209
1210    <!-- @SystemApi @hide Allow system apps to receive broadcast
1211         when a wifi network credential is changed.
1212         <p>Not for use by third-party applications. -->
1213    <permission android:name="android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE"
1214        android:protectionLevel="signature|privileged" />
1215
1216    <!-- @SystemApi @hide Allows an application to modify any wifi configuration, even if created
1217     by another application. Once reconfigured the original creator cannot make any further
1218     modifications.
1219     <p>Not for use by third-party applications. -->
1220    <permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"
1221        android:protectionLevel="signature|privileged" />
1222
1223    <!-- @hide -->
1224    <permission android:name="android.permission.ACCESS_WIMAX_STATE"
1225        android:description="@string/permdesc_accessWimaxState"
1226        android:label="@string/permlab_accessWimaxState"
1227        android:protectionLevel="normal" />
1228
1229    <!-- @hide -->
1230    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
1231        android:description="@string/permdesc_changeWimaxState"
1232        android:label="@string/permlab_changeWimaxState"
1233        android:protectionLevel="normal" />
1234
1235    <!-- Allows applications to act as network scorers. @hide @SystemApi-->
1236    <permission android:name="android.permission.SCORE_NETWORKS"
1237        android:protectionLevel="signature|privileged" />
1238
1239    <!-- ======================================= -->
1240    <!-- Permissions for short range, peripheral networks -->
1241    <!-- ======================================= -->
1242    <eat-comment />
1243
1244    <!-- Allows applications to connect to paired bluetooth devices.
1245         <p>Protection level: normal
1246    -->
1247    <permission android:name="android.permission.BLUETOOTH"
1248        android:description="@string/permdesc_bluetooth"
1249        android:label="@string/permlab_bluetooth"
1250        android:protectionLevel="normal" />
1251
1252    <!-- Allows applications to discover and pair bluetooth devices.
1253         <p>Protection level: normal
1254    -->
1255    <permission android:name="android.permission.BLUETOOTH_ADMIN"
1256        android:description="@string/permdesc_bluetoothAdmin"
1257        android:label="@string/permlab_bluetoothAdmin"
1258        android:protectionLevel="normal" />
1259
1260    <!-- @SystemApi Allows applications to pair bluetooth devices without user interaction, and to
1261         allow or disallow phonebook access or message access.
1262         This is not available to third party applications. -->
1263    <permission android:name="android.permission.BLUETOOTH_PRIVILEGED"
1264        android:protectionLevel="signature|privileged" />
1265
1266    <!-- Control access to email providers exclusively for Bluetooth
1267         @hide
1268    -->
1269    <permission android:name="android.permission.BLUETOOTH_MAP"
1270        android:protectionLevel="signature" />
1271
1272    <!-- Allows bluetooth stack to access files
1273         @hide This should only be used by Bluetooth apk.
1274    -->
1275    <permission android:name="android.permission.BLUETOOTH_STACK"
1276        android:protectionLevel="signature" />
1277
1278    <!-- Allows applications to perform I/O operations over NFC.
1279         <p>Protection level: normal
1280    -->
1281    <permission android:name="android.permission.NFC"
1282        android:description="@string/permdesc_nfc"
1283        android:label="@string/permlab_nfc"
1284        android:protectionLevel="normal" />
1285
1286    <!-- @SystemApi Allows an internal user to use privileged ConnectivityManager APIs.
1287         @hide -->
1288    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
1289        android:protectionLevel="signature|privileged" />
1290
1291    <!-- Allows an internal user to use restricted Networks.
1292         @hide -->
1293    <permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"
1294        android:protectionLevel="signature|privileged" />
1295
1296    <!-- Allows a system application to access hardware packet offload capabilities.
1297         @hide -->
1298    <permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD"
1299        android:protectionLevel="signature|privileged" />
1300
1301    <!-- @SystemApi
1302         @hide -->
1303    <permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
1304        android:protectionLevel="signature|privileged" />
1305
1306    <!-- @SystemApi Allows access to the loop radio (Android@Home mesh network) device.
1307         @hide -->
1308    <permission android:name="android.permission.LOOP_RADIO"
1309        android:protectionLevel="signature|privileged" />
1310
1311    <!-- Allows sending and receiving handover transfer status from Wifi and Bluetooth
1312         @hide -->
1313    <permission android:name="android.permission.NFC_HANDOVER_STATUS"
1314        android:protectionLevel="signature|privileged" />
1315
1316    <!-- ================================== -->
1317    <!-- Permissions for accessing accounts -->
1318    <!-- ================================== -->
1319    <eat-comment />
1320
1321    <!-- Allows access to the list of accounts in the Accounts Service.
1322
1323    <p class="note"><strong>Note:</strong> Beginning with Android 6.0 (API level
1324    23), if an app shares the signature of the authenticator that manages an
1325    account, it does not need <code>"GET_ACCOUNTS"</code> permission to read
1326    information about that account. On Android 5.1 and lower, all apps need
1327    <code>"GET_ACCOUNTS"</code> permission to read information about any
1328    account.</p>
1329
1330    <p>Protection level: dangerous
1331    -->
1332    <permission android:name="android.permission.GET_ACCOUNTS"
1333        android:permissionGroup="android.permission-group.CONTACTS"
1334        android:protectionLevel="dangerous"
1335        android:description="@string/permdesc_getAccounts"
1336        android:label="@string/permlab_getAccounts" />
1337    <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
1338
1339    <!-- @SystemApi Allows applications to call into AccountAuthenticators.
1340    <p>Not for use by third-party applications. -->
1341    <permission android:name="android.permission.ACCOUNT_MANAGER"
1342        android:protectionLevel="signature" />
1343
1344    <!-- ================================== -->
1345    <!-- Permissions for accessing hardware that may effect battery life-->
1346    <!-- ================================== -->
1347    <eat-comment />
1348
1349    <!-- Allows applications to enter Wi-Fi Multicast mode.
1350         <p>Protection level: normal
1351    -->
1352    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
1353        android:description="@string/permdesc_changeWifiMulticastState"
1354        android:label="@string/permlab_changeWifiMulticastState"
1355        android:protectionLevel="normal" />
1356
1357    <!-- Allows access to the vibrator.
1358         <p>Protection level: normal
1359    -->
1360    <permission android:name="android.permission.VIBRATE"
1361        android:label="@string/permlab_vibrate"
1362        android:description="@string/permdesc_vibrate"
1363        android:protectionLevel="normal" />
1364
1365    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
1366         from dimming.
1367         <p>Protection level: normal
1368    -->
1369    <permission android:name="android.permission.WAKE_LOCK"
1370        android:label="@string/permlab_wakeLock"
1371        android:description="@string/permdesc_wakeLock"
1372        android:protectionLevel="normal" />
1373
1374    <!-- Allows using the device's IR transmitter, if available.
1375         <p>Protection level: normal
1376    -->
1377    <permission android:name="android.permission.TRANSMIT_IR"
1378        android:label="@string/permlab_transmitIr"
1379        android:description="@string/permdesc_transmitIr"
1380        android:protectionLevel="normal" />
1381
1382    <!-- ==================================================== -->
1383    <!-- Permissions related to changing audio settings   -->
1384    <!-- ==================================================== -->
1385    <eat-comment />
1386
1387    <!-- Allows an application to modify global audio settings.
1388         <p>Protection level: normal
1389    -->
1390    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
1391        android:label="@string/permlab_modifyAudioSettings"
1392        android:description="@string/permdesc_modifyAudioSettings"
1393        android:protectionLevel="normal" />
1394
1395    <!-- ================================== -->
1396    <!-- Permissions for accessing hardware -->
1397    <!-- ================================== -->
1398    <eat-comment />
1399
1400    <!-- @SystemApi Allows an application to manage preferences and permissions for USB devices
1401         @hide -->
1402    <permission android:name="android.permission.MANAGE_USB"
1403        android:protectionLevel="signature|privileged" />
1404
1405    <!-- @SystemApi Allows an application to access the MTP USB kernel driver.
1406         For use only by the device side MTP implementation.
1407         @hide -->
1408    <permission android:name="android.permission.ACCESS_MTP"
1409        android:protectionLevel="signature|privileged" />
1410
1411    <!-- @SystemApi Allows access to hardware peripherals.  Intended only for hardware testing.
1412         <p>Not for use by third-party applications.
1413         @hide
1414    -->
1415    <permission android:name="android.permission.HARDWARE_TEST"
1416        android:protectionLevel="signature" />
1417
1418    <!-- @SystemApi Allows access to FM
1419         @hide This is not a third-party API (intended for system apps).-->
1420    <permission android:name="android.permission.ACCESS_FM_RADIO"
1421        android:protectionLevel="signature|privileged" />
1422
1423    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
1424         @hide -->
1425    <permission android:name="android.permission.NET_ADMIN"
1426        android:protectionLevel="signature" />
1427
1428    <!-- Allows registration for remote audio playback. @hide -->
1429    <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
1430        android:protectionLevel="signature" />
1431
1432    <!-- @SystemApi Allows TvInputService to access underlying TV input hardware such as
1433         built-in tuners and HDMI-in's.
1434         @hide This should only be used by OEM's TvInputService's.
1435    -->
1436    <permission android:name="android.permission.TV_INPUT_HARDWARE"
1437        android:protectionLevel="signature|privileged" />
1438
1439    <!-- @SystemApi Allows to capture a frame of TV input hardware such as
1440         built-in tuners and HDMI-in's.
1441         @hide <p>Not for use by third-party applications.
1442    -->
1443    <permission android:name="android.permission.CAPTURE_TV_INPUT"
1444        android:protectionLevel="signature|privileged" />
1445
1446    <!-- @hide Allows TvInputService to access DVB device.
1447   <p>Not for use by third-party applications. -->
1448    <permission android:name="android.permission.DVB_DEVICE"
1449        android:protectionLevel="signature|privileged" />
1450
1451    <!-- @SystemApi Allows reading the OEM unlock state
1452         @hide <p>Not for use by third-party applications. -->
1453    <permission android:name="android.permission.READ_OEM_UNLOCK_STATE"
1454        android:protectionLevel="signature|privileged" />
1455
1456    <!-- @hide Allows enabling/disabling OEM unlock
1457   <p>Not for use by third-party applications. -->
1458    <permission android:name="android.permission.OEM_UNLOCK_STATE"
1459        android:protectionLevel="signature" />
1460
1461    <!-- @hide Allows querying state of PersistentDataBlock
1462   <p>Not for use by third-party applications. -->
1463    <permission android:name="android.permission.ACCESS_PDB_STATE"
1464        android:protectionLevel="signature" />
1465
1466    <!-- @hide Allows system update service to notify device owner about pending updates.
1467   <p>Not for use by third-party applications. -->
1468    <permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"
1469        android:protectionLevel="signature|privileged" />
1470
1471    <!-- =========================================== -->
1472    <!-- Permissions associated with camera and image capture -->
1473    <!-- =========================================== -->
1474    <eat-comment />
1475
1476    <!-- @SystemApi Allows disabling the transmit-indicator LED that is normally on when
1477         a camera is in use by an application.
1478         @hide -->
1479    <permission android:name="android.permission.CAMERA_DISABLE_TRANSMIT_LED"
1480        android:protectionLevel="signature|privileged" />
1481
1482    <!-- Allows sending the camera service notifications about system-wide events.
1483        @hide -->
1484    <permission android:name="android.permission.CAMERA_SEND_SYSTEM_EVENTS"
1485        android:protectionLevel="signature|privileged" />
1486
1487    <!-- =========================================== -->
1488    <!-- Permissions associated with telephony state -->
1489    <!-- =========================================== -->
1490    <eat-comment />
1491
1492    <!-- @SystemApi Allows modification of the telephony state - power on, mmi, etc.
1493         Does not include placing calls.
1494         <p>Not for use by third-party applications. -->
1495    <permission android:name="android.permission.MODIFY_PHONE_STATE"
1496        android:protectionLevel="signature|privileged" />
1497
1498    <!-- Allows read only access to precise phone state.
1499         @hide Pending API council approval -->
1500    <permission android:name="android.permission.READ_PRECISE_PHONE_STATE"
1501        android:protectionLevel="signature|privileged" />
1502
1503    <!-- @SystemApi Allows read access to privileged phone state.
1504         @hide Used internally. -->
1505    <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
1506        android:protectionLevel="signature|privileged" />
1507
1508    <!-- @SystemApi Protects the ability to register any PhoneAccount with
1509         PhoneAccount#CAPABILITY_SIM_SUBSCRIPTION. This capability indicates that the PhoneAccount
1510         corresponds to a device SIM.
1511         @hide -->
1512    <permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION"
1513        android:protectionLevel="signature|privileged" />
1514
1515    <!-- @SystemApi Protects the ability to register any PhoneAccount with
1516         PhoneAccount#CAPABILITY_CALL_PROVIDER.
1517         @hide -->
1518    <permission android:name="android.permission.REGISTER_CALL_PROVIDER"
1519        android:protectionLevel="signature|privileged" />
1520
1521    <!-- @SystemApi Protects the ability to register any PhoneAccount with
1522         PhoneAccount#CAPABILITY_CONNECTION_MANAGER
1523         @hide -->
1524    <permission android:name="android.permission.REGISTER_CONNECTION_MANAGER"
1525        android:protectionLevel="signature|privileged" />
1526
1527    <!-- Must be required by a {@link android.telecom.InCallService},
1528         to ensure that only the system can bind to it.
1529         <p>Protection level: signature|privileged
1530    -->
1531    <permission android:name="android.permission.BIND_INCALL_SERVICE"
1532        android:protectionLevel="signature|privileged" />
1533
1534    <!-- Must be required by a {@link android.telecom.CallScreeningService},
1535         to ensure that only the system can bind to it.
1536         <p>Protection level: signature|privileged
1537    -->
1538    <permission android:name="android.permission.BIND_SCREENING_SERVICE"
1539        android:protectionLevel="signature|privileged" />
1540
1541    <!-- Must be required by a {@link android.telecom.ConnectionService},
1542         to ensure that only the system can bind to it.
1543         @deprecated {@link android.telecom.ConnectionService}s should require
1544                 android.permission.BIND_TELECOM_CONNECTION_SERVICE instead.
1545         @SystemApi
1546         @hide -->
1547    <permission android:name="android.permission.BIND_CONNECTION_SERVICE"
1548        android:protectionLevel="signature|privileged" />
1549
1550    <!-- Must be required by a {@link android.telecom.ConnectionService},
1551         to ensure that only the system can bind to it.
1552         <p>Protection level: signature|privileged
1553    -->
1554    <permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
1555        android:protectionLevel="signature|privileged" />
1556
1557    <!-- @SystemApi Allows an application to control the in-call experience.
1558         @hide -->
1559    <permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"
1560        android:protectionLevel="signature|privileged" />
1561
1562    <!-- Allows an application to receive STK related commands.
1563         @hide -->
1564    <permission android:name="android.permission.RECEIVE_STK_COMMANDS"
1565        android:protectionLevel="signature|privileged" />
1566
1567    <!-- ================================== -->
1568    <!-- Permissions for sdcard interaction -->
1569    <!-- ================================== -->
1570    <eat-comment />
1571
1572    <!-- @SystemApi Allows an application to write to internal media storage
1573         @hide  -->
1574    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
1575        android:protectionLevel="signature|privileged" />
1576
1577    <!-- Allows an application to manage access to documents, usually as part
1578         of a document picker.
1579         <p>This permission should <em>only</em> be requested by the platform
1580         document management app.  This permission cannot be granted to
1581         third-party apps.
1582         <p>Protection level: signature
1583    -->
1584    <permission android:name="android.permission.MANAGE_DOCUMENTS"
1585        android:protectionLevel="signature" />
1586
1587    <!-- @hide Allows an application to cache content.
1588         <p>Not for use by third-party applications.
1589         <p>Protection level: signature
1590    -->
1591    <permission android:name="android.permission.CACHE_CONTENT"
1592        android:protectionLevel="signature" />
1593
1594    <!-- ================================== -->
1595    <!-- Permissions for screenlock         -->
1596    <!-- ================================== -->
1597    <eat-comment />
1598
1599    <!-- Allows applications to disable the keyguard if it is not secure.
1600         <p>Protection level: normal
1601    -->
1602    <permission android:name="android.permission.DISABLE_KEYGUARD"
1603        android:description="@string/permdesc_disableKeyguard"
1604        android:label="@string/permlab_disableKeyguard"
1605        android:protectionLevel="normal" />
1606
1607    <!-- ================================== -->
1608    <!-- Permissions to access other installed applications  -->
1609    <!-- ================================== -->
1610    <eat-comment />
1611
1612    <!-- @deprecated No longer enforced. -->
1613    <permission android:name="android.permission.GET_TASKS"
1614        android:label="@string/permlab_getTasks"
1615        android:description="@string/permdesc_getTasks"
1616        android:protectionLevel="normal" />
1617
1618    <!-- New version of GET_TASKS that apps can request, since GET_TASKS doesn't really
1619         give access to task information.  We need this new one because there are
1620         many existing apps that use add libraries and such that have validation
1621         code to ensure the app has requested the GET_TASKS permission by seeing
1622         if it has been granted the permission...  if it hasn't, it kills the app
1623         with a message about being upset.  So we need to have it continue to look
1624         like the app is getting that permission, even though it will never be
1625         checked, and new privileged apps can now request this one for real access.
1626         @hide
1627         @SystemApi -->
1628    <permission android:name="android.permission.REAL_GET_TASKS"
1629        android:protectionLevel="signature|privileged" />
1630
1631    <!-- Allows an application to start a task from a ActivityManager#RecentTaskInfo.
1632         @hide -->
1633    <permission android:name="android.permission.START_TASKS_FROM_RECENTS"
1634        android:protectionLevel="signature|privileged" />
1635
1636    <!-- @SystemApi @hide Allows an application to call APIs that allow it to do interactions
1637         across the users on the device, using singleton services and
1638         user-targeted broadcasts.  This permission is not available to
1639         third party applications. -->
1640    <permission android:name="android.permission.INTERACT_ACROSS_USERS"
1641        android:protectionLevel="signature|privileged|development" />
1642
1643    <!-- @SystemApi Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
1644         that removes restrictions on where broadcasts can be sent and allows other
1645         types of interactions
1646         @hide -->
1647    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
1648        android:protectionLevel="signature|installer" />
1649
1650    <!-- @SystemApi @hide Allows an application to call APIs that allow it to query and manage
1651         users on the device. This permission is not available to
1652         third party applications. -->
1653    <permission android:name="android.permission.MANAGE_USERS"
1654        android:protectionLevel="signature|privileged" />
1655
1656    <!-- @hide Allows an application to create, remove users and get the list of
1657         users on the device. Applications holding this permission can only create restricted,
1658         guest, managed, demo, and ephemeral users. For creating other kind of users,
1659         {@link android.Manifest.permission#MANAGE_USERS} is needed.
1660         This permission is not available to third party applications. -->
1661    <permission android:name="android.permission.CREATE_USERS"
1662        android:protectionLevel="signature" />
1663
1664    <!-- @hide Allows an application to set the profile owners and the device owner.
1665         This permission is not available to third party applications.-->
1666    <permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS"
1667        android:protectionLevel="signature"
1668        android:label="@string/permlab_manageProfileAndDeviceOwners"
1669        android:description="@string/permdesc_manageProfileAndDeviceOwners" />
1670
1671    <!-- Allows an application to get full detailed information about
1672         recently running tasks, with full fidelity to the real state.
1673         @hide -->
1674    <permission android:name="android.permission.GET_DETAILED_TASKS"
1675        android:protectionLevel="signature" />
1676
1677    <!-- Allows an application to change the Z-order of tasks.
1678         <p>Protection level: normal
1679    -->
1680    <permission android:name="android.permission.REORDER_TASKS"
1681        android:label="@string/permlab_reorderTasks"
1682        android:description="@string/permdesc_reorderTasks"
1683        android:protectionLevel="normal" />
1684
1685    <!-- @hide Allows an application to change to remove/kill tasks -->
1686    <permission android:name="android.permission.REMOVE_TASKS"
1687        android:protectionLevel="signature" />
1688
1689    <!-- @SystemApi @hide Allows an application to create/manage/remove stacks -->
1690    <permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"
1691        android:protectionLevel="signature|privileged" />
1692
1693    <!-- Allows an application to start any activity, regardless of permission
1694         protection or exported state.
1695         @hide -->
1696    <permission android:name="android.permission.START_ANY_ACTIVITY"
1697        android:protectionLevel="signature" />
1698
1699    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
1700        API is no longer supported. -->
1701    <permission android:name="android.permission.RESTART_PACKAGES"
1702        android:label="@string/permlab_killBackgroundProcesses"
1703        android:description="@string/permdesc_killBackgroundProcesses"
1704        android:protectionLevel="normal" />
1705
1706    <!-- Allows an application to call
1707        {@link android.app.ActivityManager#killBackgroundProcesses}.
1708         <p>Protection level: normal
1709    -->
1710    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
1711        android:label="@string/permlab_killBackgroundProcesses"
1712        android:description="@string/permdesc_killBackgroundProcesses"
1713        android:protectionLevel="normal" />
1714
1715    <!-- @SystemApi @hide Allows an application to query process states and current
1716         OOM adjustment scores.
1717         <p>Not for use by third-party applications. -->
1718    <permission android:name="android.permission.GET_PROCESS_STATE_AND_OOM_SCORE"
1719        android:protectionLevel="signature|privileged|development" />
1720
1721    <!-- @SystemApi @hide Allows an application to retrieve a package's importance.
1722         This permission is not available to third party applications. -->
1723    <permission android:name="android.permission.GET_PACKAGE_IMPORTANCE"
1724        android:protectionLevel="signature|privileged" />
1725
1726    <!-- Allows use of PendingIntent.getIntent().
1727         @hide -->
1728    <permission android:name="android.permission.GET_INTENT_SENDER_INTENT"
1729        android:protectionLevel="signature" />
1730
1731    <!-- ================================== -->
1732    <!-- Permissions affecting the display of other applications  -->
1733    <!-- ================================== -->
1734    <eat-comment />
1735
1736    <!-- Allows an app to create windows using the type
1737         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
1738         shown on top of all other apps.  Very few apps
1739         should use this permission; these windows are intended for
1740         system-level interaction with the user.
1741
1742         <p class="note"><strong>Note:</strong> If the app
1743         targets API level 23 or higher, the app user must explicitly grant
1744         this permission to the app through a permission management screen. The app requests
1745         the user's approval by sending an intent with action
1746         {@link android.provider.Settings#ACTION_MANAGE_OVERLAY_PERMISSION}.
1747         The app can check whether it has this authorization by calling
1748         {@link android.provider.Settings#canDrawOverlays
1749         Settings.canDrawOverlays()}.
1750         <p>Protection level: signature -->
1751    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
1752        android:label="@string/permlab_systemAlertWindow"
1753        android:description="@string/permdesc_systemAlertWindow"
1754        android:protectionLevel="signature|preinstalled|appop|pre23|development" />
1755
1756    <!-- ================================== -->
1757    <!-- Permissions affecting the system wallpaper -->
1758    <!-- ================================== -->
1759    <eat-comment />
1760
1761    <!-- Allows applications to set the wallpaper.
1762         <p>Protection level: normal
1763     -->
1764    <permission android:name="android.permission.SET_WALLPAPER"
1765        android:label="@string/permlab_setWallpaper"
1766        android:description="@string/permdesc_setWallpaper"
1767        android:protectionLevel="normal" />
1768
1769    <!-- Allows applications to set the wallpaper hints.
1770         <p>Protection level: normal
1771    -->
1772    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
1773        android:label="@string/permlab_setWallpaperHints"
1774        android:description="@string/permdesc_setWallpaperHints"
1775        android:protectionLevel="normal" />
1776
1777    <!-- ============================================ -->
1778    <!-- Permissions for changing the system clock -->
1779    <!-- ============================================ -->
1780    <eat-comment />
1781
1782    <!-- @SystemApi Allows applications to set the system time.
1783    <p>Not for use by third-party applications. -->
1784    <permission android:name="android.permission.SET_TIME"
1785        android:protectionLevel="signature|privileged" />
1786
1787    <!-- Allows applications to set the system time zone.
1788         <p>Protection level: normal
1789    -->
1790    <permission android:name="android.permission.SET_TIME_ZONE"
1791        android:label="@string/permlab_setTimeZone"
1792        android:description="@string/permdesc_setTimeZone"
1793        android:protectionLevel="normal" />
1794
1795    <!-- ==================================================== -->
1796    <!-- Permissions related to changing status bar   -->
1797    <!-- ==================================================== -->
1798    <eat-comment />
1799
1800    <!-- Allows an application to expand or collapse the status bar.
1801         <p>Protection level: normal
1802    -->
1803    <permission android:name="android.permission.EXPAND_STATUS_BAR"
1804        android:label="@string/permlab_expandStatusBar"
1805        android:description="@string/permdesc_expandStatusBar"
1806        android:protectionLevel="normal" />
1807
1808    <!-- ============================================================== -->
1809    <!-- Permissions related to adding/removing shortcuts from Launcher -->
1810    <!-- ============================================================== -->
1811    <eat-comment />
1812
1813    <!-- Allows an application to install a shortcut in Launcher.
1814         <p>Protection level: normal
1815    -->
1816    <permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
1817        android:label="@string/permlab_install_shortcut"
1818        android:description="@string/permdesc_install_shortcut"
1819        android:protectionLevel="normal"/>
1820
1821    <!--This permission is no longer supported.
1822    -->
1823    <permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
1824        android:label="@string/permlab_uninstall_shortcut"
1825        android:description="@string/permdesc_uninstall_shortcut"
1826        android:protectionLevel="normal"/>
1827
1828    <!-- ==================================================== -->
1829    <!-- Permissions related to accessing sync settings   -->
1830    <!-- ==================================================== -->
1831    <eat-comment />
1832
1833    <!-- Allows applications to read the sync settings.
1834         <p>Protection level: normal
1835    -->
1836    <permission android:name="android.permission.READ_SYNC_SETTINGS"
1837        android:description="@string/permdesc_readSyncSettings"
1838        android:label="@string/permlab_readSyncSettings"
1839        android:protectionLevel="normal" />
1840
1841    <!-- Allows applications to write the sync settings.
1842         <p>Protection level: normal
1843    -->
1844    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
1845        android:description="@string/permdesc_writeSyncSettings"
1846        android:label="@string/permlab_writeSyncSettings"
1847        android:protectionLevel="normal" />
1848
1849    <!-- Allows applications to read the sync stats.
1850         <p>Protection level: normal
1851    -->
1852    <permission android:name="android.permission.READ_SYNC_STATS"
1853        android:description="@string/permdesc_readSyncStats"
1854        android:label="@string/permlab_readSyncStats"
1855        android:protectionLevel="normal" />
1856
1857    <!-- ============================================ -->
1858    <!-- Permissions for low-level system interaction -->
1859    <!-- ============================================ -->
1860    <eat-comment />
1861
1862    <!-- @SystemApi @hide Change the screen compatibility mode of applications -->
1863    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1864        android:protectionLevel="signature" />
1865
1866    <!-- @SystemApi Allows an application to modify the current configuration, such
1867         as locale. -->
1868    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1869        android:protectionLevel="signature|privileged|development" />
1870
1871    <!-- Allows an application to read or write the system settings.
1872
1873        <p class="note"><strong>Note:</strong> If the app targets API level 23
1874        or higher, the app user
1875        must explicitly grant this permission to the app through a permission management screen.
1876        The app requests the user's approval by sending an intent with action
1877        {@link android.provider.Settings#ACTION_MANAGE_WRITE_SETTINGS}. The app
1878        can check whether it has this authorization by calling {@link
1879        android.provider.Settings.System#canWrite Settings.System.canWrite()}.
1880
1881        <p>Protection level: signature
1882    -->
1883    <permission android:name="android.permission.WRITE_SETTINGS"
1884        android:label="@string/permlab_writeSettings"
1885        android:description="@string/permdesc_writeSettings"
1886        android:protectionLevel="signature|preinstalled|appop|pre23" />
1887
1888    <!-- @SystemApi Allows an application to modify the Google service map.
1889    <p>Not for use by third-party applications. -->
1890    <permission android:name="android.permission.WRITE_GSERVICES"
1891        android:protectionLevel="signature|privileged" />
1892
1893    <!-- @SystemApi Allows an application to call
1894        {@link android.app.ActivityManager#forceStopPackage}.
1895        @hide -->
1896    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
1897        android:protectionLevel="signature|privileged" />
1898
1899    <!-- @SystemApi @hide Allows an application to retrieve the content of the active window
1900         An active window is the window that has fired an accessibility event. -->
1901    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
1902        android:protectionLevel="signature|privileged" />
1903
1904    <!-- @SystemApi Modify the global animation scaling factor.
1905    <p>Not for use by third-party applications. -->
1906    <permission android:name="android.permission.SET_ANIMATION_SCALE"
1907        android:protectionLevel="signature|privileged|development" />
1908
1909    <!-- @deprecated This functionality will be removed in the future; please do
1910         not use. Allow an application to make its activities persistent. -->
1911    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
1912        android:label="@string/permlab_persistentActivity"
1913        android:description="@string/permdesc_persistentActivity"
1914        android:protectionLevel="normal" />
1915
1916    <!-- Allows an application to find out the space used by any package.
1917         <p>Protection level: normal
1918    -->
1919    <permission android:name="android.permission.GET_PACKAGE_SIZE"
1920        android:label="@string/permlab_getPackageSize"
1921        android:description="@string/permdesc_getPackageSize"
1922        android:protectionLevel="normal" />
1923
1924    <!-- @deprecated No longer useful, see
1925         {@link android.content.pm.PackageManager#addPackageToPreferred}
1926         for details. -->
1927    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
1928        android:protectionLevel="signature" />
1929
1930    <!-- Allows an application to receive the
1931         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
1932         broadcast after the system finishes booting.  If you don't
1933         request this permission, you will not receive the broadcast at
1934         that time.  Though holding this permission does not have any
1935         security implications, it can have a negative impact on the
1936         user experience by increasing the amount of time it takes the
1937         system to start and allowing applications to have themselves
1938         running without the user being aware of them.  As such, you must
1939         explicitly declare your use of this facility to make that visible
1940         to the user.
1941         <p>Protection level: normal
1942    -->
1943    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
1944        android:label="@string/permlab_receiveBootCompleted"
1945        android:description="@string/permdesc_receiveBootCompleted"
1946        android:protectionLevel="normal" />
1947
1948    <!-- Allows an application to broadcast sticky intents.  These are
1949         broadcasts whose data is held by the system after being finished,
1950         so that clients can quickly retrieve that data without having
1951         to wait for the next broadcast.
1952         <p>Protection level: normal
1953    -->
1954    <permission android:name="android.permission.BROADCAST_STICKY"
1955        android:label="@string/permlab_broadcastSticky"
1956        android:description="@string/permdesc_broadcastSticky"
1957        android:protectionLevel="normal" />
1958
1959    <!-- @SystemApi Allows mounting and unmounting file systems for removable storage.
1960    <p>Not for use by third-party applications.-->
1961    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
1962        android:protectionLevel="signature|privileged" />
1963
1964    <!-- @SystemApi Allows formatting file systems for removable storage.
1965    <p>Not for use by third-party applications. -->
1966    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
1967        android:protectionLevel="signature|privileged" />
1968
1969    <!-- @hide -->
1970    <permission android:name="android.permission.STORAGE_INTERNAL"
1971        android:protectionLevel="signature" />
1972
1973    <!-- Allows access to ASEC non-destructive API calls
1974         @hide  -->
1975    <permission android:name="android.permission.ASEC_ACCESS"
1976        android:protectionLevel="signature" />
1977
1978    <!-- Allows creation of ASEC volumes
1979         @hide  -->
1980    <permission android:name="android.permission.ASEC_CREATE"
1981        android:protectionLevel="signature" />
1982
1983    <!-- Allows destruction of ASEC volumes
1984         @hide  -->
1985    <permission android:name="android.permission.ASEC_DESTROY"
1986        android:protectionLevel="signature" />
1987
1988    <!-- Allows mount / unmount of ASEC volumes
1989         @hide  -->
1990    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
1991        android:protectionLevel="signature" />
1992
1993    <!-- Allows rename of ASEC volumes
1994         @hide  -->
1995    <permission android:name="android.permission.ASEC_RENAME"
1996        android:protectionLevel="signature" />
1997
1998    <!-- @SystemApi Allows applications to write the apn settings.
1999    <p>Not for use by third-party applications. -->
2000    <permission android:name="android.permission.WRITE_APN_SETTINGS"
2001        android:protectionLevel="signature|privileged" />
2002
2003    <!-- Allows applications to change network connectivity state.
2004         <p>Protection level: normal
2005    -->
2006    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
2007        android:description="@string/permdesc_changeNetworkState"
2008        android:label="@string/permlab_changeNetworkState"
2009        android:protectionLevel="normal" />
2010
2011    <!-- Allows an application to clear the caches of all installed
2012         applications on the device.
2013         <p>Protection level: system|signature
2014    -->
2015    <permission android:name="android.permission.CLEAR_APP_CACHE"
2016        android:protectionLevel="signature|privileged" />
2017
2018    <!-- @SystemApi Allows an application to use any media decoder when decoding for playback
2019         @hide -->
2020    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
2021        android:protectionLevel="signature|privileged" />
2022
2023    <!-- @SystemApi Allows an application to install and/or uninstall CA certificates on
2024         behalf of the user.
2025         @hide -->
2026    <permission android:name="android.permission.MANAGE_CA_CERTIFICATES"
2027        android:protectionLevel="signature|privileged" />
2028
2029    <!-- @SystemApi Allows an application to do certain operations needed for
2030         interacting with the recovery (system update) system.
2031         @hide -->
2032    <permission android:name="android.permission.RECOVERY"
2033        android:protectionLevel="signature|privileged" />
2034
2035    <!-- Allows the system to bind to an application's task services
2036         @hide -->
2037    <permission android:name="android.permission.BIND_JOB_SERVICE"
2038        android:protectionLevel="signature" />
2039    <uses-permission android:name="android.permission.BIND_JOB_SERVICE"/>
2040
2041    <!-- Allows an application to initiate configuration updates
2042         <p>An application requesting this permission is responsible for
2043         verifying the source and integrity of any update before passing
2044         it off to the various individual installer components
2045         @hide -->
2046    <permission android:name="android.permission.UPDATE_CONFIG"
2047        android:protectionLevel="signature|privileged" />
2048
2049    <!-- Allows the system to reset throttling in shortcut manager.
2050         @hide -->
2051    <permission android:name="android.permission.RESET_SHORTCUT_MANAGER_THROTTLING"
2052        android:protectionLevel="signature" />
2053
2054    <!-- Allows the system to bind to the discovered Network Recommendation Service.
2055         @SystemApi @hide -->
2056    <permission android:name="android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"
2057        android:protectionLevel="signature" />
2058    <uses-permission android:name="android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"/>
2059
2060    <!-- ========================================= -->
2061    <!-- Permissions for special development tools -->
2062    <!-- ========================================= -->
2063    <eat-comment />
2064
2065    <!-- @SystemApi Allows an application to read or write the secure system settings.
2066    <p>Not for use by third-party applications. -->
2067    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
2068        android:protectionLevel="signature|privileged|development" />
2069
2070    <!-- @SystemApi Allows an application to retrieve state dump information from system services.
2071    <p>Not for use by third-party applications. -->
2072    <permission android:name="android.permission.DUMP"
2073        android:protectionLevel="signature|privileged|development" />
2074
2075    <!-- @SystemApi Allows an application to read the low-level system log files.
2076    <p>Not for use by third-party applications, because
2077    Log entries can contain the user's private information. -->
2078    <permission android:name="android.permission.READ_LOGS"
2079        android:protectionLevel="signature|privileged|development" />
2080
2081    <!-- @SystemApi Configure an application for debugging.
2082    <p>Not for use by third-party applications. -->
2083    <permission android:name="android.permission.SET_DEBUG_APP"
2084        android:protectionLevel="signature|privileged|development" />
2085
2086    <!-- @SystemApi Allows an application to set the maximum number of (not needed)
2087         application processes that can be running.
2088         <p>Not for use by third-party applications. -->
2089    <permission android:name="android.permission.SET_PROCESS_LIMIT"
2090        android:protectionLevel="signature|privileged|development" />
2091
2092    <!-- @SystemApi Allows an application to control whether activities are immediately
2093         finished when put in the background.
2094         <p>Not for use by third-party applications. -->
2095    <permission android:name="android.permission.SET_ALWAYS_FINISH"
2096        android:protectionLevel="signature|privileged|development" />
2097
2098    <!-- @SystemApi Allow an application to request that a signal be sent to all persistent processes.
2099    <p>Not for use by third-party applications. -->
2100    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
2101        android:protectionLevel="signature|privileged|development" />
2102
2103    <!-- ==================================== -->
2104    <!-- Private permissions                  -->
2105    <!-- ==================================== -->
2106    <eat-comment />
2107
2108    <!-- @SystemApi Allows access to the list of accounts in the Accounts Service. -->
2109    <permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"
2110        android:protectionLevel="signature|privileged" />
2111
2112    <!-- Allows but does not guarantee access to user passwords at the conclusion of add account
2113    @hide -->
2114    <permission android:name="android.permission.GET_PASSWORD"
2115        android:protectionLevel="signature" />
2116
2117    <!-- @SystemApi Allows applications to RW to diagnostic resources.
2118    <p>Not for use by third-party applications. -->
2119    <permission android:name="android.permission.DIAGNOSTIC"
2120        android:protectionLevel="signature" />
2121
2122    <!-- @SystemApi Allows an application to open, close, or disable the status bar
2123         and its icons.
2124         <p>Not for use by third-party applications. -->
2125    <permission android:name="android.permission.STATUS_BAR"
2126        android:protectionLevel="signature|privileged" />
2127
2128    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
2129    @hide -->
2130    <permission android:name="android.permission.STATUS_BAR_SERVICE"
2131        android:protectionLevel="signature" />
2132
2133    <!-- Allows an application to bind to third party quick settings tiles.
2134         <p>Should only be requested by the System, should be required by
2135         TileService declarations.-->
2136    <permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE"
2137        android:protectionLevel="signature" />
2138
2139    <!-- @SystemApi Allows an application to force a BACK operation on whatever is the
2140         top activity.
2141         <p>Not for use by third-party applications.
2142         @hide
2143    -->
2144    <permission android:name="android.permission.FORCE_BACK"
2145        android:protectionLevel="signature" />
2146
2147    <!-- @SystemApi Allows an application to update device statistics.
2148    <p>Not for use by third-party applications. -->
2149    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
2150        android:protectionLevel="signature|privileged" />
2151
2152    <!-- @SystemApi @hide Allows an application to collect battery statistics -->
2153    <permission android:name="android.permission.GET_APP_OPS_STATS"
2154        android:protectionLevel="signature|privileged|development" />
2155
2156    <!-- @SystemApi Allows an application to update application operation statistics. Not for
2157         use by third party apps.
2158         @hide -->
2159    <permission android:name="android.permission.UPDATE_APP_OPS_STATS"
2160        android:protectionLevel="signature|privileged|installer" />
2161
2162    <!-- @SystemApi Allows an application to update the user app op restrictions.
2163         Not for use by third party apps.
2164         @hide -->
2165    <permission android:name="android.permission.MANAGE_APP_OPS_RESTRICTIONS"
2166        android:protectionLevel="signature|installer" />
2167
2168    <!-- @SystemApi Allows an application to open windows that are for use by parts
2169         of the system user interface.
2170         <p>Not for use by third-party applications.
2171         @hide
2172    -->
2173    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
2174        android:protectionLevel="signature" />
2175
2176    <!-- @SystemApi Allows an application to manage (create, destroy,
2177         Z-order) application tokens in the window manager.
2178         <p>Not for use by third-party applications.
2179         @hide
2180    -->
2181    <permission android:name="android.permission.MANAGE_APP_TOKENS"
2182        android:protectionLevel="signature" />
2183
2184    <!-- Allows System UI to register listeners for events from Window Manager.
2185         @hide -->
2186    <permission android:name="android.permission.REGISTER_WINDOW_MANAGER_LISTENERS"
2187        android:protectionLevel="signature" />
2188
2189    <!-- @hide Allows the application to temporarily freeze the screen for a
2190         full-screen transition. -->
2191    <permission android:name="android.permission.FREEZE_SCREEN"
2192        android:protectionLevel="signature" />
2193
2194    <!-- @SystemApi Allows an application to inject user events (keys, touch, trackball)
2195         into the event stream and deliver them to ANY window.  Without this
2196         permission, you can only deliver events to windows in your own process.
2197         <p>Not for use by third-party applications.
2198         @hide
2199    -->
2200    <permission android:name="android.permission.INJECT_EVENTS"
2201        android:protectionLevel="signature" />
2202
2203    <!-- @hide Allows an application to register an input filter which filters the stream
2204         of user events (keys, touch, trackball) before they are dispatched to any window. -->
2205    <permission android:name="android.permission.FILTER_EVENTS"
2206        android:protectionLevel="signature" />
2207
2208    <!-- @hide Allows an application to retrieve the window token from the accessibility manager. -->
2209    <permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN"
2210        android:protectionLevel="signature" />
2211
2212    <!-- @hide Allows an application to collect frame statistics -->
2213    <permission android:name="android.permission.FRAME_STATS"
2214         android:protectionLevel="signature" />
2215
2216    <!-- @hide Allows an application to temporary enable accessibility on the device. -->
2217    <permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
2218        android:protectionLevel="signature" />
2219
2220    <!-- @SystemApi Allows an application to watch and control how activities are
2221         started globally in the system.  Only for is in debugging
2222         (usually the monkey command).
2223         <p>Not for use by third-party applications.
2224         @hide
2225    -->
2226    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
2227        android:protectionLevel="signature" />
2228
2229    <!-- @SystemApi Allows an application to call the activity manager shutdown() API
2230         to put the higher-level system there into a shutdown state.
2231         @hide -->
2232    <permission android:name="android.permission.SHUTDOWN"
2233        android:protectionLevel="signature|privileged" />
2234
2235    <!-- @SystemApi Allows an application to tell the activity manager to temporarily
2236         stop application switches, putting it into a special mode that
2237         prevents applications from immediately switching away from some
2238         critical UI such as the home screen.
2239         @hide -->
2240    <permission android:name="android.permission.STOP_APP_SWITCHES"
2241        android:protectionLevel="signature|privileged" />
2242
2243    <!-- @SystemApi Allows an application to retrieve private information about
2244         the current top activity, such as any assist context it can provide.
2245         <p>Not for use by third-party applications.
2246         @hide
2247    -->
2248    <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
2249        android:protectionLevel="signature" />
2250
2251    <!-- Allows an application to retrieve the current state of keys and
2252         switches.
2253         <p>Not for use by third-party applications.
2254         @deprecated The API that used this permission has been removed. -->
2255    <permission android:name="android.permission.READ_INPUT_STATE"
2256        android:protectionLevel="signature" />
2257
2258    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
2259         to ensure that only the system can bind to it.
2260         <p>Protection level: signature
2261    -->
2262    <permission android:name="android.permission.BIND_INPUT_METHOD"
2263        android:protectionLevel="signature" />
2264
2265    <!-- Must be required by an {@link android.media.midi.MidiDeviceService},
2266         to ensure that only the system can bind to it.
2267         <p>Protection level: signature
2268    -->
2269    <permission android:name="android.permission.BIND_MIDI_DEVICE_SERVICE"
2270        android:protectionLevel="signature" />
2271
2272    <!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
2273         to ensure that only the system can bind to it.
2274         <p>Protection level: signature
2275    -->
2276    <permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
2277        android:protectionLevel="signature" />
2278
2279    <!-- Must be required by a {@link android.printservice.PrintService},
2280         to ensure that only the system can bind to it.
2281         <p>Protection level: signature
2282    -->
2283    <permission android:name="android.permission.BIND_PRINT_SERVICE"
2284        android:protectionLevel="signature" />
2285
2286    <!-- Must be required by a {@link android.printservice.recommendation.RecommendationService},
2287     to ensure that only the system can bind to it.
2288     @hide
2289     @SystemApi
2290     <p>Protection level: signature
2291    -->
2292    <permission android:name="android.permission.BIND_PRINT_RECOMMENDATION_SERVICE"
2293            android:protectionLevel="signature" />
2294
2295    <!-- Must be required by a {@link android.nfc.cardemulation.HostApduService}
2296         or {@link android.nfc.cardemulation.OffHostApduService} to ensure that only
2297         the system can bind to it.
2298         <p>Protection level: signature
2299    -->
2300    <permission android:name="android.permission.BIND_NFC_SERVICE"
2301        android:protectionLevel="signature" />
2302
2303    <!-- Must be required by the PrintSpooler to ensure that only the system can bind to it.
2304         @hide -->
2305    <permission android:name="android.permission.BIND_PRINT_SPOOLER_SERVICE"
2306        android:protectionLevel="signature" />
2307
2308    <!-- @SystemApi Must be required by the RuntimePermissionPresenterService to ensure
2309         that only the system can bind to it.
2310         @hide -->
2311    <permission android:name="android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE"
2312        android:protectionLevel="signature" />
2313
2314    <!-- Must be required by a TextService (e.g. SpellCheckerService)
2315         to ensure that only the system can bind to it.
2316         <p>Protection level: signature
2317    -->
2318    <permission android:name="android.permission.BIND_TEXT_SERVICE"
2319        android:protectionLevel="signature" />
2320
2321    <!-- Must be required by a {@link android.net.VpnService},
2322         to ensure that only the system can bind to it.
2323         <p>Protection level: signature
2324    -->
2325    <permission android:name="android.permission.BIND_VPN_SERVICE"
2326        android:protectionLevel="signature" />
2327
2328    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
2329         to ensure that only the system can bind to it.
2330         <p>Protection level: system|signature
2331    -->
2332    <permission android:name="android.permission.BIND_WALLPAPER"
2333        android:protectionLevel="signature|privileged" />
2334
2335    <!-- Must be required by a {@link android.service.voice.VoiceInteractionService},
2336         to ensure that only the system can bind to it.
2337         <p>Protection level: signature
2338    -->
2339    <permission android:name="android.permission.BIND_VOICE_INTERACTION"
2340        android:protectionLevel="signature" />
2341
2342    <!-- Must be required by hotword enrollment application,
2343         to ensure that only the system can interact with it.
2344         @hide <p>Not for use by third-party applications.</p> -->
2345    <permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES"
2346        android:protectionLevel="signature|privileged" />
2347
2348    <!-- Must be required by a {@link com.android.media.remotedisplay.RemoteDisplayProvider},
2349         to ensure that only the system can bind to it.
2350         @hide -->
2351    <permission android:name="android.permission.BIND_REMOTE_DISPLAY"
2352        android:protectionLevel="signature" />
2353
2354    <!-- Must be required by a {@link android.media.tv.TvInputService}
2355         to ensure that only the system can bind to it.
2356         <p>Protection level: signature
2357    -->
2358    <permission android:name="android.permission.BIND_TV_INPUT"
2359        android:protectionLevel="signature|privileged" />
2360
2361    <!-- @SystemApi
2362         Must be required by a {@link com.android.media.tv.remoteprovider.TvRemoteProvider}
2363         to ensure that only the system can bind to it.
2364         <p>Protection level: signature|privileged
2365         <p>Not for use by third-party applications. </p>
2366         @hide  -->
2367    <permission android:name="android.permission.BIND_TV_REMOTE_SERVICE"
2368        android:protectionLevel="signature|privileged" />
2369
2370    <!-- @SystemApi
2371         Must be required for a virtual remote controller for TV.
2372         <p>Protection level: signature|privileged
2373         <p>Not for use by third-party applications. </p>
2374         @hide  -->
2375    <permission android:name="android.permission.TV_VIRTUAL_REMOTE_CONTROLLER"
2376        android:protectionLevel="signature|privileged" />
2377
2378    <!-- @SystemApi Allows an application to modify parental controls
2379         <p>Not for use by third-party applications.
2380         @hide -->
2381    <permission android:name="android.permission.MODIFY_PARENTAL_CONTROLS"
2382        android:protectionLevel="signature|privileged" />
2383
2384    <!-- Must be required by a {@link android.media.routing.MediaRouteService}
2385         to ensure that only the system can interact with it.
2386         @hide -->
2387    <permission android:name="android.permission.BIND_ROUTE_PROVIDER"
2388        android:protectionLevel="signature" />
2389
2390    <!-- Must be required by device administration receiver, to ensure that only the
2391         system can interact with it.
2392         <p>Protection level: signature
2393    -->
2394    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
2395        android:protectionLevel="signature" />
2396
2397    <!-- @SystemApi Required to add or remove another application as a device admin.
2398         <p>Not for use by third-party applications.
2399         @hide -->
2400    <permission android:name="android.permission.MANAGE_DEVICE_ADMINS"
2401        android:protectionLevel="signature|privileged" />
2402
2403    <!-- @SystemApi Allows low-level access to setting the orientation (actually
2404         rotation) of the screen.
2405         <p>Not for use by third-party applications.
2406         @hide
2407    -->
2408    <permission android:name="android.permission.SET_ORIENTATION"
2409        android:protectionLevel="signature" />
2410
2411    <!-- @SystemApi Allows low-level access to setting the pointer speed.
2412         <p>Not for use by third-party applications.
2413         @hide
2414    -->
2415    <permission android:name="android.permission.SET_POINTER_SPEED"
2416        android:protectionLevel="signature" />
2417
2418    <!-- Allows low-level access to setting input device calibration.
2419         <p>Not for use by normal applications.
2420         @hide -->
2421    <permission android:name="android.permission.SET_INPUT_CALIBRATION"
2422        android:protectionLevel="signature" />
2423
2424    <!-- Allows low-level access to setting the keyboard layout.
2425         <p>Not for use by third-party applications.
2426         @hide -->
2427    <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
2428        android:protectionLevel="signature" />
2429
2430    <!-- Allows an application to query tablet mode state and monitor changes
2431         in it.
2432         <p>Not for use by third-party applications.
2433         @hide -->
2434    <permission android:name="android.permission.TABLET_MODE"
2435        android:protectionLevel="signature" />
2436
2437    <!-- Allows an application to request installing packages. Apps
2438         targeting APIs greater than 22 must hold this permission in
2439         order to use {@link android.content.Intent#ACTION_INSTALL_PACKAGE}.
2440         <p>Protection level: normal
2441    -->
2442    <permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
2443        android:label="@string/permlab_requestInstallPackages"
2444        android:description="@string/permdesc_requestInstallPackages"
2445        android:protectionLevel="normal" />
2446
2447    <!-- @SystemApi Allows an application to install packages.
2448    <p>Not for use by third-party applications. -->
2449    <permission android:name="android.permission.INSTALL_PACKAGES"
2450        android:protectionLevel="signature|privileged" />
2451
2452    <!-- @SystemApi Allows an application to clear user data.
2453         <p>Not for use by third-party applications
2454         @hide
2455    -->
2456    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
2457        android:protectionLevel="signature|installer" />
2458
2459    <!-- @hide Allows an application to get the URI permissions
2460         granted to another application.
2461         <p>Not for use by third-party applications
2462    -->
2463    <permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS"
2464        android:protectionLevel="signature" />
2465
2466    <!-- @hide Allows an application to clear the URI permissions
2467         granted to another application.
2468         <p>Not for use by third-party applications
2469    -->
2470    <permission
2471        android:name="android.permission.CLEAR_APP_GRANTED_URI_PERMISSIONS"
2472        android:protectionLevel="signature" />
2473
2474    <!-- @SystemApi Allows an application to delete cache files.
2475    <p>Not for use by third-party applications. -->
2476    <permission android:name="android.permission.DELETE_CACHE_FILES"
2477        android:protectionLevel="signature|privileged" />
2478
2479    <!-- @SystemApi Allows an application to delete packages.
2480         <p>Not for use by third-party applications.
2481         <p>Starting in {@link android.os.Build.VERSION_CODES#N}, user confirmation is requested
2482         when the application deleting the package is not the same application that installed the
2483         package. -->
2484    <permission android:name="android.permission.DELETE_PACKAGES"
2485        android:protectionLevel="signature|privileged" />
2486
2487    <!-- @SystemApi Allows an application to move location of installed package.
2488         @hide -->
2489    <permission android:name="android.permission.MOVE_PACKAGE"
2490        android:protectionLevel="signature|privileged" />
2491
2492    <!-- @SystemApi Allows an application to change whether an application component (other than its own) is
2493         enabled or not.
2494         <p>Not for use by third-party applications. -->
2495    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
2496        android:protectionLevel="signature|privileged" />
2497
2498    <!-- @SystemApi Allows an application to grant specific permissions.
2499         @hide -->
2500    <permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS"
2501        android:protectionLevel="signature|installer|verifier" />
2502
2503    <!-- @SystemApi Allows an app that has this permission and the permissions to install packages
2504         to request certain runtime permissions to be granted at installation.
2505         @hide -->
2506    <permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"
2507        android:protectionLevel="signature|installer|verifier" />
2508
2509    <!-- @SystemApi Allows an application to revoke specific permissions.
2510        @hide -->
2511    <permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS"
2512         android:protectionLevel="signature|installer|verifier" />
2513
2514    <!-- @hide Allows an application to observe permission changes. -->
2515    <permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"
2516        android:protectionLevel="signature|privileged" />
2517
2518    <!-- @SystemApi Allows an application to use SurfaceFlinger's low level features.
2519         <p>Not for use by third-party applications.
2520         @hide
2521    -->
2522    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
2523        android:protectionLevel="signature" />
2524
2525    <!-- @SystemApi Allows an application to take screen shots and more generally
2526         get access to the frame buffer data.
2527         <p>Not for use by third-party applications. -->
2528    <permission android:name="android.permission.READ_FRAME_BUFFER"
2529        android:protectionLevel="signature|privileged" />
2530
2531    <!-- Allows an application to use InputFlinger's low level features.
2532         @hide -->
2533    <permission android:name="android.permission.ACCESS_INPUT_FLINGER"
2534        android:protectionLevel="signature" />
2535
2536    <!-- Allows an application to configure and connect to Wifi displays
2537         @hide -->
2538    <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
2539        android:protectionLevel="signature" />
2540
2541    <!-- Allows an application to control low-level features of Wifi displays
2542         such as opening an RTSP socket.  This permission should only be used
2543         by the display manager.
2544         @hide -->
2545    <permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
2546        android:protectionLevel="signature" />
2547
2548    <!-- Allows an application to control the color modes set for displays system-wide.
2549         <p>Not for use by third-party applications.</p>
2550         @hide -->
2551    <permission android:name="android.permission.CONFIGURE_DISPLAY_COLOR_MODE"
2552        android:protectionLevel="signature" />
2553
2554    <!-- @SystemApi Allows an application to control VPN.
2555         <p>Not for use by third-party applications.</p>
2556         @hide -->
2557    <permission android:name="android.permission.CONTROL_VPN"
2558        android:protectionLevel="signature|privileged" />
2559    <uses-permission android:name="android.permission.CONTROL_VPN" />
2560
2561    <!-- @SystemApi Allows an application to capture audio output.
2562         <p>Not for use by third-party applications.</p> -->
2563    <permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT"
2564        android:protectionLevel="signature|privileged" />
2565
2566    <!-- @SystemApi Allows an application to capture audio for hotword detection.
2567         <p>Not for use by third-party applications.</p>
2568         @hide -->
2569    <permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD"
2570        android:protectionLevel="signature|privileged" />
2571
2572    <!-- @SystemApi Allows an application to modify audio routing and override policy decisions.
2573         <p>Not for use by third-party applications.</p>
2574         @hide -->
2575    <permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
2576        android:protectionLevel="signature|privileged" />
2577
2578    <!-- @SystemApi Allows an application to capture video output.
2579         <p>Not for use by third-party applications.</p> -->
2580    <permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
2581        android:protectionLevel="signature|privileged" />
2582
2583    <!-- @SystemApi Allows an application to capture secure video output.
2584         <p>Not for use by third-party applications.</p> -->
2585    <permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
2586        android:protectionLevel="signature|privileged" />
2587
2588    <!-- @SystemApi Allows an application to know what content is playing and control its playback.
2589         <p>Not for use by third-party applications due to privacy of media consumption</p>  -->
2590    <permission android:name="android.permission.MEDIA_CONTENT_CONTROL"
2591        android:protectionLevel="signature|privileged" />
2592
2593    <!-- @SystemApi Required to be able to disable the device (very dangerous!).
2594         <p>Not for use by third-party applications.
2595         @hide
2596    -->
2597    <permission android:name="android.permission.BRICK"
2598        android:protectionLevel="signature" />
2599
2600    <!-- @SystemApi Required to be able to reboot the device.
2601    <p>Not for use by third-party applications. -->
2602    <permission android:name="android.permission.REBOOT"
2603        android:protectionLevel="signature|privileged" />
2604
2605   <!-- @SystemApi Allows low-level access to power management.
2606        <p>Not for use by third-party applications.
2607        @hide
2608    -->
2609   <permission android:name="android.permission.DEVICE_POWER"
2610        android:protectionLevel="signature" />
2611
2612   <!-- Allows access to the PowerManager.userActivity function.
2613   <p>Not for use by third-party applications. @hide @SystemApi -->
2614    <permission android:name="android.permission.USER_ACTIVITY"
2615        android:protectionLevel="signature|privileged" />
2616
2617   <!-- @hide Allows low-level access to tun tap driver -->
2618    <permission android:name="android.permission.NET_TUNNELING"
2619        android:protectionLevel="signature" />
2620
2621    <!-- Run as a manufacturer test application, running as the root user.
2622         Only available when the device is running in manufacturer test mode.
2623         <p>Not for use by third-party applications.
2624    -->
2625    <permission android:name="android.permission.FACTORY_TEST"
2626        android:protectionLevel="signature" />
2627
2628    <!-- Allows an application to broadcast a notification that an application
2629         package has been removed.
2630         <p>Not for use by third-party applications.
2631    -->
2632    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
2633        android:protectionLevel="signature" />
2634
2635    <!-- Allows an application to broadcast an SMS receipt notification.
2636         <p>Not for use by third-party applications.
2637    -->
2638    <permission android:name="android.permission.BROADCAST_SMS"
2639        android:protectionLevel="signature" />
2640
2641    <!-- Allows an application to broadcast a WAP PUSH receipt notification.
2642         <p>Not for use by third-party applications.
2643    -->
2644    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
2645        android:protectionLevel="signature" />
2646
2647    <!-- @SystemApi Allows an application to broadcast privileged networking requests.
2648         <p>Not for use by third-party applications. @hide -->
2649    <permission android:name="android.permission.BROADCAST_NETWORK_PRIVILEGED"
2650        android:protectionLevel="signature|privileged" />
2651
2652    <!-- @SystemApi Not for use by third-party applications. -->
2653    <permission android:name="android.permission.MASTER_CLEAR"
2654        android:protectionLevel="signature|privileged" />
2655
2656    <!-- @SystemApi Allows an application to call any phone number, including emergency
2657         numbers, without going through the Dialer user interface for the user
2658         to confirm the call being placed.
2659         <p>Not for use by third-party applications. -->
2660    <permission android:name="android.permission.CALL_PRIVILEGED"
2661        android:protectionLevel="signature|privileged" />
2662
2663    <!-- @SystemApi Allows an application to perform CDMA OTA provisioning @hide -->
2664    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
2665        android:protectionLevel="signature|privileged" />
2666
2667    <!-- @SystemApi Allows an application to perform SIM Activation @hide -->
2668    <permission android:name="android.permission.PERFORM_SIM_ACTIVATION"
2669        android:protectionLevel="signature|privileged" />
2670
2671    <!-- @SystemApi Allows enabling/disabling location update notifications from
2672         the radio.
2673         <p>Not for use by third-party applications. -->
2674    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
2675        android:protectionLevel="signature|privileged" />
2676
2677    <!-- @SystemApi Allows read/write access to the "properties" table in the checkin
2678         database, to change values that get uploaded.
2679         <p>Not for use by third-party applications. -->
2680    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
2681        android:protectionLevel="signature|privileged" />
2682
2683    <!-- @SystemApi Allows an application to collect component usage
2684         statistics
2685         <p>Declaring the permission implies intention to use the API and the user of the
2686         device can grant permission through the Settings application. -->
2687    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
2688        android:protectionLevel="signature|privileged|development|appop" />
2689    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
2690
2691    <!-- @hide Allows an application to change the app idle state of an app.
2692         <p>Not for use by third-party applications. -->
2693    <permission android:name="android.permission.CHANGE_APP_IDLE_STATE"
2694        android:protectionLevel="signature" />
2695
2696    <!-- @hide @SystemApi Allows an application to temporarily whitelist an inactive app to
2697         access the network and acquire wakelocks.
2698         <p>Not for use by third-party applications. -->
2699    <permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"
2700        android:protectionLevel="signature|privileged" />
2701
2702    <!-- Permission an application must hold in order to use
2703         {@link android.provider.Settings#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS}.
2704         This is a normal permission: an app requesting it will always be granted the
2705         permission, without the user needing to approve or see it. -->
2706    <permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"
2707        android:label="@string/permlab_requestIgnoreBatteryOptimizations"
2708        android:description="@string/permdesc_requestIgnoreBatteryOptimizations"
2709        android:protectionLevel="normal" />
2710
2711    <!-- @SystemApi Allows an application to collect battery statistics -->
2712    <permission android:name="android.permission.BATTERY_STATS"
2713        android:protectionLevel="signature|privileged|development" />
2714
2715    <!-- @SystemApi Allows an application to control the backup and restore process.
2716    <p>Not for use by third-party applications.
2717         @hide pending API council -->
2718    <permission android:name="android.permission.BACKUP"
2719        android:protectionLevel="signature|privileged" />
2720
2721    <!-- Allows a package to launch the secure full-backup confirmation UI.
2722         ONLY the system process may hold this permission.
2723         @hide -->
2724    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
2725        android:protectionLevel="signature" />
2726
2727    <!-- @SystemApi Must be required by a {@link android.widget.RemoteViewsService},
2728         to ensure that only the system can bind to it. -->
2729    <permission android:name="android.permission.BIND_REMOTEVIEWS"
2730        android:protectionLevel="signature|privileged" />
2731
2732    <!-- @SystemApi Allows an application to tell the AppWidget service which application
2733         can access AppWidget's data.  The normal user flow is that a user
2734         picks an AppWidget to go into a particular host, thereby giving that
2735         host application access to the private data from the AppWidget app.
2736         An application that has this permission should honor that contract.
2737         <p>Not for use by third-party applications. -->
2738    <permission android:name="android.permission.BIND_APPWIDGET"
2739        android:protectionLevel="signature|privileged" />
2740
2741    <!-- @SystemApi Private permission, to restrict who can bring up a dialog to add a new
2742         keyguard widget
2743         @hide -->
2744    <permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
2745        android:protectionLevel="signature|privileged" />
2746
2747    <!-- @SystemApi Internal permission allowing an application to query/set which
2748         applications can bind AppWidgets.
2749         @hide -->
2750    <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
2751        android:protectionLevel="signature|privileged" />
2752
2753    <!-- Allows applications to change the background data setting.
2754    <p>Not for use by third-party applications.
2755         @hide pending API council -->
2756    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
2757        android:protectionLevel="signature" />
2758
2759    <!-- @SystemApi This permission can be used on content providers to allow the global
2760         search system to access their data.  Typically it used when the
2761         provider has some permissions protecting it (which global search
2762         would not be expected to hold), and added as a read-only permission
2763         to the path in the provider where global search queries are
2764         performed.  This permission can not be held by regular applications;
2765         it is used by applications to protect themselves from everyone else
2766         besides global search. -->
2767    <permission android:name="android.permission.GLOBAL_SEARCH"
2768        android:protectionLevel="signature|privileged" />
2769
2770    <!-- Internal permission protecting access to the global search
2771         system: ensures that only the system can access the provider
2772         to perform queries (since this otherwise provides unrestricted
2773         access to a variety of content providers), and to write the
2774         search statistics (to keep applications from gaming the source
2775         ranking).
2776         @hide -->
2777    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
2778        android:protectionLevel="signature" />
2779
2780    <!-- @SystemApi Internal permission to allows an application to read indexable data.
2781        @hide -->
2782    <permission android:name="android.permission.READ_SEARCH_INDEXABLES"
2783        android:protectionLevel="signature|privileged" />
2784
2785    <!-- @SystemApi Allows applications to set a live wallpaper.
2786         @hide XXX Change to signature once the picker is moved to its
2787         own apk as Ghod Intended. -->
2788    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
2789        android:protectionLevel="signature|privileged" />
2790
2791    <!-- @SystemApi Allows applications to read dream settings and dream state.
2792         @hide -->
2793    <permission android:name="android.permission.READ_DREAM_STATE"
2794        android:protectionLevel="signature|privileged" />
2795
2796    <!-- @SystemApi Allows applications to write dream settings, and start or stop dreaming.
2797         @hide -->
2798    <permission android:name="android.permission.WRITE_DREAM_STATE"
2799        android:protectionLevel="signature|privileged" />
2800
2801    <!-- @SystemApi Allow an application to read and write the cache partition.
2802         @hide -->
2803    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
2804        android:protectionLevel="signature|privileged" />
2805
2806    <!-- Must be required by default container service so that only
2807         the system can bind to it and use it to copy
2808         protected data to secure containers or files
2809         accessible to the system.
2810         @hide -->
2811    <permission android:name="android.permission.COPY_PROTECTED_DATA"
2812        android:protectionLevel="signature" />
2813
2814    <!-- @SystemApi Internal permission protecting access to the encryption methods
2815        @hide
2816    -->
2817    <permission android:name="android.permission.CRYPT_KEEPER"
2818        android:protectionLevel="signature|privileged" />
2819
2820    <!-- @SystemApi Allows an application to read historical network usage for
2821         specific networks and applications. @hide -->
2822    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
2823        android:protectionLevel="signature|privileged" />
2824
2825    <!-- Allows an application to manage network policies (such as warning and disable
2826         limits) and to define application-specific rules. @hide -->
2827    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
2828        android:protectionLevel="signature" />
2829
2830    <!-- @SystemApi Allows an application to account its network traffic against other UIDs. Used
2831         by system services like download manager and media server. Not for use by
2832         third party apps. @hide -->
2833    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
2834        android:protectionLevel="signature|privileged" />
2835
2836    <!-- C2DM permission.
2837         @hide Used internally.
2838     -->
2839    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
2840          android:protectionLevel="signature" />
2841    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
2842
2843    <!-- @SystemApi @hide Package verifier needs to have this permission before the PackageManager will
2844         trust it to verify packages.
2845    -->
2846    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
2847        android:protectionLevel="signature|privileged" />
2848
2849    <!-- Must be required by package verifier receiver, to ensure that only the
2850         system can interact with it.
2851         @hide
2852    -->
2853    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
2854        android:protectionLevel="signature" />
2855
2856    <!-- @SystemApi @hide Intent filter verifier needs to have this permission before the
2857         PackageManager will trust it to verify intent filters.
2858    -->
2859    <permission android:name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"
2860        android:protectionLevel="signature|privileged" />
2861
2862    <!-- Must be required by intent filter verifier receiver, to ensure that only the
2863         system can interact with it.
2864         @hide
2865    -->
2866    <permission android:name="android.permission.BIND_INTENT_FILTER_VERIFIER"
2867        android:protectionLevel="signature" />
2868
2869    <!-- @SystemApi Allows applications to access serial ports via the SerialManager.
2870         @hide -->
2871    <permission android:name="android.permission.SERIAL_PORT"
2872        android:protectionLevel="signature|privileged" />
2873
2874    <!-- Allows the holder to access content providers from outside an ApplicationThread.
2875         This permission is enforced by the ActivityManagerService on the corresponding APIs,
2876         in particular ActivityManagerService#getContentProviderExternal(String) and
2877         ActivityManagerService#removeContentProviderExternal(String).
2878         @hide
2879    -->
2880    <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
2881        android:protectionLevel="signature" />
2882
2883    <!-- @SystemApi Allows an application to hold an UpdateLock, recommending that a headless
2884         OTA reboot *not* occur while the lock is held.
2885         @hide -->
2886    <permission android:name="android.permission.UPDATE_LOCK"
2887        android:protectionLevel="signature|privileged" />
2888
2889    <!-- @SystemApi Allows an application to read the current set of notifications, including
2890         any metadata and intents attached.
2891         @hide -->
2892    <permission android:name="android.permission.ACCESS_NOTIFICATIONS"
2893        android:protectionLevel="signature|privileged" />
2894
2895    <!-- Marker permission for applications that wish to access notification policy.
2896         <p>Protection level: normal
2897    -->
2898    <permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY"
2899        android:description="@string/permdesc_access_notification_policy"
2900        android:label="@string/permlab_access_notification_policy"
2901        android:protectionLevel="normal" />
2902
2903    <!-- Allows modification of do not disturb rules and policies. Only allowed for system
2904        processes.
2905        @hide -->
2906    <permission android:name="android.permission.MANAGE_NOTIFICATIONS"
2907                android:protectionLevel="signature" />
2908
2909    <!-- Allows access to keyguard secure storage.  Only allowed for system processes.
2910        @hide -->
2911    <permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"
2912        android:protectionLevel="signature" />
2913
2914    <!-- Allows managing (adding, removing) fingerprint templates. Reserved for the system. @hide -->
2915    <permission android:name="android.permission.MANAGE_FINGERPRINT"
2916        android:protectionLevel="signature|privileged" />
2917
2918    <!-- Allows an app to reset fingerprint attempt counter. Reserved for the system. @hide -->
2919    <permission android:name="android.permission.RESET_FINGERPRINT_LOCKOUT"
2920        android:protectionLevel="signature" />
2921
2922    <!-- Allows an application to control keyguard.  Only allowed for system processes.
2923        @hide -->
2924    <permission android:name="android.permission.CONTROL_KEYGUARD"
2925        android:protectionLevel="signature" />
2926
2927    <!-- Allows an application to listen to trust changes.  Only allowed for system processes.
2928        @hide -->
2929    <permission android:name="android.permission.TRUST_LISTENER"
2930        android:protectionLevel="signature" />
2931
2932    <!-- @SystemApi Allows an application to provide a trust agent.
2933         @hide For security reasons, this is a platform-only permission. -->
2934    <permission android:name="android.permission.PROVIDE_TRUST_AGENT"
2935        android:protectionLevel="signature|privileged" />
2936
2937    <!-- Allows an application to launch the trust agent settings activity.
2938        @hide -->
2939    <permission android:name="android.permission.LAUNCH_TRUST_AGENT_SETTINGS"
2940        android:protectionLevel="signature|privileged" />
2941
2942    <!-- @SystemApi Must be required by an {@link
2943        android.service.trust.TrustAgentService},
2944        to ensure that only the system can bind to it.
2945        @hide -->
2946    <permission android:name="android.permission.BIND_TRUST_AGENT"
2947        android:protectionLevel="signature" />
2948
2949    <!-- Must be required by an {@link
2950         android.service.notification.NotificationListenerService},
2951         to ensure that only the system can bind to it.
2952         <p>Protection level: signature
2953    -->
2954    <permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
2955        android:protectionLevel="signature" />
2956
2957    <!-- Must be required by an {@link
2958         android.service.notification.NotificationRankerService         to ensure that only the system can bind to it.
2959         <p>Protection level: signature
2960         @hide This is not a third-party API (intended for system apps). -->
2961    -->
2962    <permission android:name="android.permission.BIND_NOTIFICATION_RANKER_SERVICE"
2963        android:protectionLevel="signature" />
2964
2965    <!-- Must be required by a {@link
2966         android.service.chooser.ChooserTargetService}, to ensure that
2967         only the system can bind to it.
2968         <p>Protection level: signature
2969    -->
2970    <permission android:name="android.permission.BIND_CHOOSER_TARGET_SERVICE"
2971        android:protectionLevel="signature" />
2972
2973    <!-- Must be required by a {@link
2974         android.service.notification.ConditionProviderService},
2975         to ensure that only the system can bind to it.
2976         <p>Protection level: signature
2977         -->
2978    <permission android:name="android.permission.BIND_CONDITION_PROVIDER_SERVICE"
2979        android:protectionLevel="signature" />
2980
2981    <!-- Must be required by an {@link android.service.dreams.DreamService},
2982         to ensure that only the system can bind to it.
2983         <p>Protection level: signature
2984    -->
2985    <permission android:name="android.permission.BIND_DREAM_SERVICE"
2986        android:protectionLevel="signature" />
2987
2988    <!-- @SystemApi Allows an application to call into a carrier setup flow. It is up to the
2989         carrier setup application to enforce that this permission is required
2990         @hide This is not a third-party API (intended for OEMs and system apps). -->
2991    <permission android:name="android.permission.INVOKE_CARRIER_SETUP"
2992        android:protectionLevel="signature|privileged" />
2993
2994    <!-- @SystemApi Allows an application to listen for network condition observations.
2995         @hide This is not a third-party API (intended for system apps). -->
2996    <permission android:name="android.permission.ACCESS_NETWORK_CONDITIONS"
2997        android:protectionLevel="signature|privileged" />
2998
2999    <!-- @SystemApi Allows an application to provision and access DRM certificates
3000         @hide This is not a third-party API (intended for system apps). -->
3001    <permission android:name="android.permission.ACCESS_DRM_CERTIFICATES"
3002        android:protectionLevel="signature|privileged" />
3003
3004    <!-- Api Allows an application to manage media projection sessions.
3005         @hide This is not a third-party API (intended for system apps). -->
3006    <permission android:name="android.permission.MANAGE_MEDIA_PROJECTION"
3007        android:protectionLevel="signature" />
3008
3009    <!-- @SystemApi Allows an application to read install sessions
3010         @hide This is not a third-party API (intended for system apps). -->
3011    <permission android:name="android.permission.READ_INSTALL_SESSIONS"
3012        android:label="@string/permlab_readInstallSessions"
3013        android:description="@string/permdesc_readInstallSessions"
3014        android:protectionLevel="normal"/>
3015
3016    <!-- @SystemApi Allows an application to remove DRM certificates
3017         @hide This is not a third-party API (intended for system apps). -->
3018    <permission android:name="android.permission.REMOVE_DRM_CERTIFICATES"
3019        android:protectionLevel="signature|privileged" />
3020
3021    <!-- @deprecated Use {@link android.Manifest.permission#BIND_CARRIER_SERVICES} instead -->
3022    <permission android:name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"
3023        android:protectionLevel="signature|privileged" />
3024
3025    <!-- Allows an application to interact with the currently active
3026         {@link android.service.voice.VoiceInteractionService}.
3027         @hide -->
3028    <permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE"
3029        android:protectionLevel="signature" />
3030
3031    <!-- The system process that is allowed to bind to services in carrier apps will
3032         have this permission. Carrier apps should use this permission to protect
3033         their services that only the system is allowed to bind to.
3034         <p>Protection level: system|signature
3035    -->
3036    <permission android:name="android.permission.BIND_CARRIER_SERVICES"
3037        android:label="@string/permlab_bindCarrierServices"
3038        android:description="@string/permdesc_bindCarrierServices"
3039        android:protectionLevel="signature|privileged" />
3040
3041    <!-- Allows an application to query whether DO_NOT_ASK_CREDENTIALS_ON_BOOT
3042         flag is set.
3043         @hide -->
3044    <permission android:name="android.permission.QUERY_DO_NOT_ASK_CREDENTIALS_ON_BOOT"
3045                android:protectionLevel="signature" />
3046
3047    <!-- @SystemApi Allows applications to kill UIDs.
3048        <p>Not for use by third-party applications.
3049         @hide -->
3050    <permission android:name="android.permission.KILL_UID"
3051                android:protectionLevel="signature|installer" />
3052
3053    <!-- @SystemApi Allows applications to read the local WiFi and Bluetooth MAC address.
3054        @hide -->
3055    <permission android:name="android.permission.LOCAL_MAC_ADDRESS"
3056                android:protectionLevel="signature|privileged" />
3057
3058    <!-- @SystemApi Allows access to MAC addresses of WiFi and Bluetooth peer devices.
3059        @hide -->
3060    <permission android:name="android.permission.PEERS_MAC_ADDRESS"
3061                android:protectionLevel="signature|setup" />
3062
3063    <!-- Allows the Nfc stack to dispatch Nfc messages to applications. Applications
3064        can use this permission to ensure incoming Nfc messages are from the Nfc stack
3065        and not simulated by another application.
3066        @hide -->
3067    <permission android:name="android.permission.DISPATCH_NFC_MESSAGE"
3068                android:protectionLevel="signature|privileged" />
3069
3070    <!-- @SystemApi Allows changing day / night mode when system is configured with
3071         config_lockDayNightMode set to true. If requesting app does not have permission,
3072         it will be ignored.
3073        @hide -->
3074    <permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"
3075                android:protectionLevel="signature|privileged" />
3076
3077    <!-- The system process is explicitly the only one allowed to launch the
3078         confirmation UI for full backup/restore -->
3079    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
3080
3081
3082    <!-- Allows the holder to access the ephemeral applications on the device.
3083    @hide -->
3084    <permission android:name="android.permission.ACCESS_EPHEMERAL_APPS"
3085            android:protectionLevel="signature" />
3086
3087    <!-- Allows receiving the usage of media resource e.g. video/audio codec and
3088         graphic memory.
3089         @hide -->
3090    <permission android:name="android.permission.RECEIVE_MEDIA_RESOURCE_USAGE"
3091                android:protectionLevel="signature|privileged" />
3092
3093    <!-- Must be required by system/priv apps when accessing the sound trigger
3094         APIs given by {@link SoundTriggerManager}.
3095         @hide <p>Not for use by third-party applications.</p> -->
3096    <permission android:name="android.permission.MANAGE_SOUND_TRIGGER"
3097        android:protectionLevel="signature|privileged" />
3098
3099    <!-- @SystemApi Allows trusted applications to dispatch managed provisioning message to Managed
3100         Provisioning app. If requesting app does not have permission, it will be ignored.
3101         @hide -->
3102    <permission android:name="android.permission.DISPATCH_PROVISIONING_MESSAGE"
3103                android:protectionLevel="signature|privileged" />
3104
3105    <!-- Allows the holder to read blocked numbers. See
3106         {@link android.provider.BlockedNumberContract}.
3107         @hide -->
3108    <permission android:name="android.permission.READ_BLOCKED_NUMBERS"
3109                android:protectionLevel="signature" />
3110
3111    <!-- Allows the holder to write blocked numbers. See
3112         {@link android.provider.BlockedNumberContract}.
3113         @hide -->
3114    <permission android:name="android.permission.WRITE_BLOCKED_NUMBERS"
3115                android:protectionLevel="signature" />
3116
3117    <!-- Must be required by an {@link android.service.vr.VrListenerService}, to ensure that only
3118         the system can bind to it.
3119         <p>Protection level: signature -->
3120    <permission android:name="android.permission.BIND_VR_LISTENER_SERVICE"
3121        android:protectionLevel="signature" />
3122
3123    <!-- Required to make calls to {@link android.service.vr.IVrManager}.
3124         @hide -->
3125    <permission android:name="android.permission.ACCESS_VR_MANAGER"
3126            android:protectionLevel="signature" />
3127
3128    <!-- Allows an application to whitelist tasks during lock task mode
3129         @hide <p>Not for use by third-party applications.</p> -->
3130    <permission android:name="android.permission.UPDATE_LOCK_TASK_PACKAGES"
3131        android:protectionLevel="signature|setup" />
3132
3133    <!-- @SystemApi Allows an application to replace the app name displayed alongside notifications
3134         in the N-release and later.
3135         @hide  <p>Not for use by third-party applications.</p> -->
3136    <permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"
3137                android:protectionLevel="signature|privileged" />
3138
3139    <application android:process="system"
3140                 android:persistent="true"
3141                 android:hasCode="false"
3142                 android:label="@string/android_system_label"
3143                 android:allowClearUserData="false"
3144                 android:backupAgent="com.android.server.backup.SystemBackupAgent"
3145                 android:killAfterRestore="false"
3146                 android:icon="@drawable/ic_launcher_android"
3147                 android:supportsRtl="true"
3148                 android:theme="@style/Theme.DeviceDefault.Light.DarkActionBar"
3149                 android:defaultToDeviceProtectedStorage="true"
3150                 android:directBootAware="true">
3151        <activity android:name="com.android.internal.app.ChooserActivity"
3152                android:theme="@style/Theme.DeviceDefault.Resolver"
3153                android:finishOnCloseSystemDialogs="true"
3154                android:excludeFromRecents="true"
3155                android:documentLaunchMode="never"
3156                android:relinquishTaskIdentity="true"
3157                android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
3158                android:process=":ui">
3159            <intent-filter>
3160                <action android:name="android.intent.action.CHOOSER" />
3161                <category android:name="android.intent.category.DEFAULT" />
3162                <category android:name="android.intent.category.VOICE" />
3163            </intent-filter>
3164        </activity>
3165        <activity android:name="com.android.internal.app.IntentForwarderActivity"
3166                android:finishOnCloseSystemDialogs="true"
3167                android:theme="@style/Theme.NoDisplay"
3168                android:excludeFromRecents="true"
3169                android:label="@string/user_owner_label"
3170                android:exported="true"
3171                >
3172        </activity>
3173        <activity-alias android:name="com.android.internal.app.ForwardIntentToParent"
3174                android:targetActivity="com.android.internal.app.IntentForwarderActivity"
3175                android:exported="true"
3176                android:label="@string/user_owner_label">
3177        </activity-alias>
3178        <activity-alias android:name="com.android.internal.app.ForwardIntentToManagedProfile"
3179                android:targetActivity="com.android.internal.app.IntentForwarderActivity"
3180                android:icon="@drawable/ic_corp_icon"
3181                android:exported="true"
3182                android:label="@string/managed_profile_label">
3183        </activity-alias>
3184        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
3185                android:theme="@style/Theme.DeviceDefault.Light.Dialog"
3186                android:label="@string/heavy_weight_switcher_title"
3187                android:finishOnCloseSystemDialogs="true"
3188                android:excludeFromRecents="true"
3189                android:process=":ui">
3190        </activity>
3191        <activity android:name="com.android.internal.app.PlatLogoActivity"
3192                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
3193                android:configChanges="orientation|keyboardHidden"
3194                android:process=":ui">
3195        </activity>
3196        <activity android:name="com.android.internal.app.DisableCarModeActivity"
3197                android:theme="@style/Theme.NoDisplay"
3198                android:excludeFromRecents="true"
3199                android:process=":ui">
3200        </activity>
3201        <activity android:name="com.android.internal.app.DumpHeapActivity"
3202                android:theme="@style/Theme.Translucent.NoTitleBar"
3203                android:label="@string/dump_heap_title"
3204                android:finishOnCloseSystemDialogs="true"
3205                android:noHistory="true"
3206                android:excludeFromRecents="true"
3207                android:process=":ui">
3208        </activity>
3209        <provider android:name="com.android.server.am.DumpHeapProvider"
3210                android:authorities="com.android.server.heapdump"
3211                android:grantUriPermissions="true"
3212                android:multiprocess="false"
3213                android:singleUser="true" />
3214
3215        <activity android:name="android.accounts.ChooseAccountActivity"
3216                android:excludeFromRecents="true"
3217                android:exported="true"
3218                android:theme="@style/Theme.DeviceDefault.Light.Dialog"
3219                android:label="@string/choose_account_label"
3220                android:process=":ui">
3221        </activity>
3222
3223        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
3224                android:excludeFromRecents="true"
3225                android:exported="true"
3226                android:theme="@style/Theme.DeviceDefault.Light.Dialog"
3227                android:label="@string/choose_account_label"
3228                android:process=":ui">
3229        </activity>
3230
3231        <activity android:name="android.accounts.ChooseAccountTypeActivity"
3232                android:excludeFromRecents="true"
3233                android:theme="@style/Theme.DeviceDefault.Light.Dialog"
3234                android:label="@string/choose_account_label"
3235                android:process=":ui">
3236        </activity>
3237
3238        <activity android:name="android.accounts.CantAddAccountActivity"
3239                android:excludeFromRecents="true"
3240                android:exported="true"
3241                android:theme="@style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
3242                android:process=":ui">
3243        </activity>
3244
3245        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
3246                android:excludeFromRecents="true"
3247                android:exported="true"
3248                android:theme="@style/Theme.DeviceDefault.Light.DialogWhenLarge"
3249                android:process=":ui">
3250        </activity>
3251
3252        <activity android:name="android.content.SyncActivityTooManyDeletes"
3253               android:theme="@style/Theme.DeviceDefault.Light.Dialog"
3254               android:label="@string/sync_too_many_deletes"
3255               android:process=":ui">
3256        </activity>
3257
3258        <activity android:name="com.android.internal.app.ShutdownActivity"
3259            android:permission="android.permission.SHUTDOWN"
3260            android:theme="@style/Theme.NoDisplay"
3261            android:excludeFromRecents="true">
3262            <intent-filter>
3263                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
3264                <category android:name="android.intent.category.DEFAULT" />
3265            </intent-filter>
3266            <intent-filter>
3267                <action android:name="android.intent.action.REBOOT" />
3268                <category android:name="android.intent.category.DEFAULT" />
3269            </intent-filter>
3270        </activity>
3271
3272        <activity android:name="com.android.internal.app.NetInitiatedActivity"
3273                android:theme="@style/Theme.DeviceDefault.Light.Dialog.Alert"
3274                android:excludeFromRecents="true"
3275                android:process=":ui">
3276        </activity>
3277
3278        <activity android:name="com.android.internal.app.SystemUserHomeActivity"
3279                  android:enabled="false"
3280                  android:process=":ui"
3281                  android:systemUserOnly="true"
3282                  android:theme="@style/Theme.Translucent.NoTitleBar">
3283            <intent-filter android:priority="-100">
3284                <action android:name="android.intent.action.MAIN" />
3285                <category android:name="android.intent.category.HOME" />
3286            </intent-filter>
3287        </activity>
3288
3289        <!-- Activity to prompt user if it's ok to create a new user sandbox for a
3290             specified account. -->
3291        <activity android:name="com.android.internal.app.ConfirmUserCreationActivity"
3292                android:excludeFromRecents="true"
3293                android:process=":ui"
3294                android:theme="@style/Theme.DeviceDefault.Light.Dialog.Alert">
3295            <intent-filter android:priority="1000">
3296                <action android:name="android.os.action.CREATE_USER" />
3297                <category android:name="android.intent.category.DEFAULT" />
3298            </intent-filter>
3299        </activity>
3300
3301        <activity android:name="com.android.internal.app.UnlaunchableAppActivity"
3302                android:theme="@style/Theme.DeviceDefault.Light.Dialog.Alert"
3303                android:excludeFromRecents="true"
3304                android:process=":ui">
3305        </activity>
3306
3307        <receiver android:name="com.android.server.BootReceiver"
3308                android:systemUserOnly="true">
3309            <intent-filter android:priority="1000">
3310                <action android:name="android.intent.action.BOOT_COMPLETED" />
3311            </intent-filter>
3312        </receiver>
3313
3314        <receiver android:name="com.android.server.updates.CertPinInstallReceiver"
3315                android:permission="android.permission.UPDATE_CONFIG">
3316            <intent-filter>
3317                <action android:name="android.intent.action.UPDATE_PINS" />
3318                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3319            </intent-filter>
3320        </receiver>
3321
3322        <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver"
3323                android:permission="android.permission.UPDATE_CONFIG">
3324            <intent-filter>
3325                <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
3326                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3327            </intent-filter>
3328        </receiver>
3329
3330        <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver"
3331                android:permission="android.permission.UPDATE_CONFIG">
3332            <intent-filter>
3333                <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
3334                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3335            </intent-filter>
3336        </receiver>
3337
3338        <receiver android:name="com.android.server.updates.ApnDbInstallReceiver"
3339                android:permission="android.permission.UPDATE_CONFIG">
3340            <intent-filter>
3341                <action android:name="android.intent.action.UPDATE_APN_DB" />
3342                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3343            </intent-filter>
3344        </receiver>
3345
3346        <receiver android:name="com.android.server.updates.CarrierProvisioningUrlsInstallReceiver"
3347                android:permission="android.permission.UPDATE_CONFIG">
3348            <intent-filter>
3349                <action android:name="android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS" />
3350                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3351            </intent-filter>
3352        </receiver>
3353
3354        <receiver android:name="com.android.server.updates.TzDataInstallReceiver"
3355                android:permission="android.permission.UPDATE_CONFIG">
3356            <intent-filter>
3357                <action android:name="android.intent.action.UPDATE_TZDATA" />
3358                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3359            </intent-filter>
3360        </receiver>
3361
3362        <receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver"
3363                android:permission="android.permission.UPDATE_CONFIG">
3364            <intent-filter>
3365                <action android:name="android.intent.action.UPDATE_SEPOLICY" />
3366                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3367            </intent-filter>
3368        </receiver>
3369
3370        <receiver android:name="com.android.server.MasterClearReceiver"
3371            android:permission="android.permission.MASTER_CLEAR">
3372            <intent-filter
3373                    android:priority="100" >
3374                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
3375                <action android:name="android.intent.action.MASTER_CLEAR" />
3376
3377                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
3378                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
3379                <category android:name="android.intent.category.MASTER_CLEAR" />
3380            </intent-filter>
3381        </receiver>
3382
3383        <service android:name="android.hardware.location.GeofenceHardwareService"
3384            android:permission="android.permission.LOCATION_HARDWARE"
3385            android:exported="false" />
3386
3387        <service android:name="com.android.internal.backup.LocalTransportService"
3388                android:permission="android.permission.CONFIRM_FULL_BACKUP"
3389                android:exported="false">
3390            <intent-filter>
3391                <action android:name="android.backup.TRANSPORT_HOST" />
3392            </intent-filter>
3393        </service>
3394
3395        <service android:name="com.android.server.MountServiceIdler"
3396                 android:exported="true"
3397                 android:permission="android.permission.BIND_JOB_SERVICE" >
3398        </service>
3399
3400        <service android:name="com.android.server.backup.FullBackupJob"
3401                 android:exported="true"
3402                 android:permission="android.permission.BIND_JOB_SERVICE" >
3403        </service>
3404
3405        <service android:name="com.android.server.backup.KeyValueBackupJob"
3406                 android:permission="android.permission.BIND_JOB_SERVICE" >
3407        </service>
3408
3409        <service android:name="com.android.server.content.SyncJobService"
3410                 android:permission="android.permission.BIND_JOB_SERVICE" >
3411        </service>
3412
3413        <service android:name="com.android.server.pm.BackgroundDexOptService"
3414                 android:exported="true"
3415                 android:permission="android.permission.BIND_JOB_SERVICE">
3416        </service>
3417
3418        <service android:name="com.android.server.storage.DiskStatsLoggingService"
3419                 android:permission="android.permission.BIND_JOB_SERVICE" >
3420        </service>
3421
3422    </application>
3423
3424</manifest>
3425