AndroidManifest.xml revision 2d7576b082b84068fb9d68419b710b9bec49139b
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.BOOT_COMPLETED" />
37    <protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
38    <protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
39    <protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
40    <protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
41    <protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
42    <protected-broadcast android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
43    <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
44    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
45    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
46    <protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
47    <protected-broadcast android:name="android.intent.action.PACKAGE_NEEDS_VERIFICATION" />
48    <protected-broadcast android:name="android.intent.action.PACKAGE_VERIFIED" />
49    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
50    <protected-broadcast android:name="android.intent.action.QUERY_PACKAGE_RESTART" />
51    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
52    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
53    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
54    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
55    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
56    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
57    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
58    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
59    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
60    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
61    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
62    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
63    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
64    <protected-broadcast android:name="android.intent.action.REBOOT" />
65    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
66    <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
67    <protected-broadcast android:name="android.intent.action.USER_ADDED" />
68    <protected-broadcast android:name="android.intent.action.USER_REMOVED" />
69    <protected-broadcast android:name="android.intent.action.USER_STARTING" />
70    <protected-broadcast android:name="android.intent.action.USER_STARTED" />
71    <protected-broadcast android:name="android.intent.action.USER_STOPPING" />
72    <protected-broadcast android:name="android.intent.action.USER_STOPPED" />
73    <protected-broadcast android:name="android.intent.action.USER_BACKGROUND" />
74    <protected-broadcast android:name="android.intent.action.USER_FOREGROUND" />
75    <protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
76
77    <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGED" />
78    <protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGING" />
79
80    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
81    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
82    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
83    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
84    <protected-broadcast android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
85
86    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_UPDATE_OPTIONS" />
87    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DELETED" />
88    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DISABLED" />
89    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_ENABLED" />
90    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
91    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_RESTORED" />
92
93    <protected-broadcast android:name="android.backup.intent.RUN" />
94    <protected-broadcast android:name="android.backup.intent.CLEAR" />
95    <protected-broadcast android:name="android.backup.intent.INIT" />
96
97    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
98    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
99    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
100    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
101    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
102    <protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
103    <protected-broadcast android:name="android.bluetooth.device.action.UUID" />
104    <protected-broadcast android:name="android.bluetooth.device.action.MAS_INSTANCE" />
105    <protected-broadcast android:name="android.bluetooth.device.action.ALIAS_CHANGED" />
106    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
107    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
108    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
109    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
110    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
111    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
112    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
113    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
114    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
115    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
116    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
117    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
118    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" />
119    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" />
120    <protected-broadcast android:name="android.bluetooth.devicepicker.action.LAUNCH" />
121    <protected-broadcast android:name="android.bluetooth.devicepicker.action.DEVICE_SELECTED" />
122    <protected-broadcast
123        android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
124    <protected-broadcast
125        android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
126    <protected-broadcast
127        android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
128    <protected-broadcast
129        android:name="android.bluetooth.headsetclient.profile.action.CONNECTION_STATE_CHANGED" />
130    <protected-broadcast
131        android:name="android.bluetooth.headsetclient.profile.action.AUDIO_STATE_CHANGED" />
132    <protected-broadcast
133        android:name="android.bluetooth.headsetclient.profile.action.AG_EVENT" />
134    <protected-broadcast
135        android:name="android.bluetooth.headsetclient.profile.action.AG_CALL_CHANGED" />
136    <protected-broadcast
137        android:name="android.bluetooth.headsetclient.profile.action.RESULT" />
138    <protected-broadcast
139        android:name="android.bluetooth.headsetclient.profile.action.LAST_VTAG" />
140    <protected-broadcast
141        android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
142    <protected-broadcast
143        android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
144    <protected-broadcast
145        android:name="android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED" />
146    <protected-broadcast
147        android:name="android.bluetooth.a2dp-sink.profile.action.PLAYING_STATE_CHANGED" />
148    <protected-broadcast
149        android:name="android.bluetooth.a2dp-sink.profile.action.AUDIO_CONFIG_CHANGED" />
150   <protected-broadcast
151        android:name="android.bluetooth.avrcp-controller.profile.action.CONNECTION_STATE_CHANGED" />
152    <protected-broadcast
153        android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
154    <protected-broadcast
155        android:name="android.bluetooth.input.profile.action.PROTOCOL_MODE_CHANGED" />
156    <protected-broadcast
157        android:name="android.bluetooth.input.profile.action.VIRTUAL_UNPLUG_STATUS" />
158    <protected-broadcast
159        android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
160    <protected-broadcast android:name="android.bluetooth.pbap.intent.action.PBAP_STATE_CHANGED" />
161    <protected-broadcast android:name="android.btopp.intent.action.INCOMING_FILE_NOTIFICATION" />
162    <protected-broadcast android:name="android.btopp.intent.action.USER_CONFIRMATION_TIMEOUT" />
163    <protected-broadcast android:name="android.btopp.intent.action.LIST" />
164    <protected-broadcast android:name="android.btopp.intent.action.OPEN_OUTBOUND" />
165    <protected-broadcast android:name="android.btopp.intent.action.HIDE_COMPLETE" />
166    <protected-broadcast android:name="android.btopp.intent.action.CONFIRM" />
167    <protected-broadcast android:name="android.btopp.intent.action.HIDE" />
168    <protected-broadcast android:name="android.btopp.intent.action.RETRY" />
169    <protected-broadcast android:name="android.btopp.intent.action.OPEN" />
170    <protected-broadcast android:name="android.btopp.intent.action.OPEN_INBOUND" />
171    <protected-broadcast android:name="com.android.bluetooth.pbap.authchall" />
172    <protected-broadcast android:name="com.android.bluetooth.pbap.userconfirmtimeout" />
173    <protected-broadcast android:name="com.android.bluetooth.pbap.authresponse" />
174    <protected-broadcast android:name="com.android.bluetooth.pbap.authcancelled" />
175
176    <protected-broadcast android:name="android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED" />
177
178    <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
179    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
180    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
181    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
182    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
183
184    <protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
185    <protected-broadcast android:name="android.media.action.ANALOG_AUDIO_DOCK_PLUG" />
186    <protected-broadcast android:name="android.media.action.DIGITAL_AUDIO_DOCK_PLUG" />
187    <protected-broadcast android:name="android.media.action.HDMI_AUDIO_PLUG" />
188    <protected-broadcast android:name="android.media.action.USB_AUDIO_ACCESSORY_PLUG" />
189    <protected-broadcast android:name="android.media.action.USB_AUDIO_DEVICE_PLUG" />
190
191    <protected-broadcast android:name="android.media.AUDIO_BECOMING_NOISY" />
192    <protected-broadcast android:name="android.media.RINGER_MODE_CHANGED" />
193    <protected-broadcast android:name="android.media.VIBRATE_SETTING_CHANGED" />
194    <protected-broadcast android:name="android.media.VOLUME_CHANGED_ACTION" />
195    <protected-broadcast android:name="android.media.MASTER_VOLUME_CHANGED_ACTION" />
196    <protected-broadcast android:name="android.media.MASTER_MUTE_CHANGED_ACTION" />
197    <protected-broadcast android:name="android.media.SCO_AUDIO_STATE_CHANGED" />
198    <protected-broadcast android:name="android.media.ACTION_SCO_AUDIO_STATE_UPDATED" />
199
200    <protected-broadcast android:name="android.intent.action.MEDIA_REMOVED" />
201    <protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTED" />
202    <protected-broadcast android:name="android.intent.action.MEDIA_CHECKING" />
203    <protected-broadcast android:name="android.intent.action.MEDIA_NOFS" />
204    <protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED" />
205    <protected-broadcast android:name="android.intent.action.MEDIA_SHARED" />
206    <protected-broadcast android:name="android.intent.action.MEDIA_UNSHARED" />
207    <protected-broadcast android:name="android.intent.action.MEDIA_BAD_REMOVAL" />
208    <protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTABLE" />
209    <protected-broadcast android:name="android.intent.action.MEDIA_EJECT" />
210
211    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
212    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
213    <protected-broadcast android:name="android.net.conn.DATA_ACTIVITY_CHANGE" />
214    <protected-broadcast android:name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" />
215    <protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL_TEST_COMPLETED" />
216
217    <protected-broadcast android:name="android.net.nsd.STATE_CHANGED" />
218
219    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
220    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
221    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
222    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
223
224    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
225    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
226    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
227
228    <protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
229
230    <protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
231    <protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
232    <protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
233    <protected-broadcast android:name="android.intent.action.DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN" />
234
235    <protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
236    <protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
237    <protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" />
238    <protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
239    <protected-broadcast android:name="android.net.wifi.WIFI_SCAN_AVAILABLE" />
240    <protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
241    <protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
242    <protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
243    <protected-broadcast android:name="android.net.wifi.LINK_CONFIGURATION_CHANGED" />
244    <protected-broadcast android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" />
245    <protected-broadcast android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
246    <protected-broadcast android:name="android.net.wifi.supplicant.STATE_CHANGE" />
247    <protected-broadcast android:name="android.net.wifi.p2p.STATE_CHANGED" />
248    <protected-broadcast android:name="android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" />
249    <protected-broadcast android:name="android.net.wifi.p2p.THIS_DEVICE_CHANGED" />
250    <protected-broadcast android:name="android.net.wifi.p2p.PEERS_CHANGED" />
251    <protected-broadcast android:name="android.net.wifi.p2p.CONNECTION_STATE_CHANGE" />
252    <protected-broadcast android:name="android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED" />
253    <protected-broadcast android:name="android.net.conn.TETHER_STATE_CHANGED" />
254    <protected-broadcast android:name="android.net.conn.INET_CONDITION_ACTION" />
255    <protected-broadcast android:name="android.net.conn.NETWORK_CONDITIONS_MEASURED" />
256    <protected-broadcast
257            android:name="android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED" />
258    <protected-broadcast android:name="android.net.scoring.SCORE_NETWORKS" />
259    <protected-broadcast android:name="android.net.scoring.SCORER_CHANGED" />
260    <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
261    <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
262    <protected-broadcast android:name="android.intent.action.AIRPLANE_MODE" />
263    <protected-broadcast android:name="android.intent.action.ADVANCED_SETTINGS" />
264    <protected-broadcast android:name="android.intent.action.APPLICATION_RESTRICTIONS_CHANGED" />
265    <protected-broadcast android:name="android.intent.action.BUGREPORT_FINISHED" />
266
267    <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_START" />
268    <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_END" />
269
270    <protected-broadcast android:name="android.intent.action.HDMI_PLUGGED" />
271
272    <protected-broadcast android:name="android.intent.action.PHONE_STATE" />
273
274    <protected-broadcast android:name="android.location.GPS_ENABLED_CHANGE" />
275    <protected-broadcast android:name="android.location.PROVIDERS_CHANGED" />
276    <protected-broadcast android:name="android.location.MODE_CHANGED" />
277    <protected-broadcast android:name="android.location.GPS_FIX_CHANGE" />
278    <protected-broadcast android:name="android.net.proxy.PAC_REFRESH" />
279
280    <protected-broadcast
281        android:name="com.android.server.connectivityservice.CONNECTED_TO_PROVISIONING_NETWORK_ACTION" />
282
283    <!-- Defined in RestrictionsManager -->
284    <protected-broadcast
285        android:name="android.intent.action.PERMISSION_RESPONSE_RECEIVED" />
286    <!-- Defined in RestrictionsManager -->
287
288    <protected-broadcast android:name="android.intent.action.REQUEST_PERMISSION" />
289    <protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_STARTED" />
290    <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
291    <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_PROGRESS" />
292    <protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
293
294
295    <!-- ====================================== -->
296    <!-- Permissions for things that cost money -->
297    <!-- ====================================== -->
298    <eat-comment />
299
300    <!-- Used for permissions that can be used to make the user spend money
301         without their direct involvement. -->
302    <permission-group android:name="android.permission-group.COST_MONEY"
303        android:label="@string/permgrouplab_costMoney"
304        android:description="@string/permgroupdesc_costMoney" />
305
306    <!-- ================================== -->
307    <!-- Permissions for accessing messages -->
308    <!-- ================================== -->
309    <eat-comment />
310
311    <!-- Used for permissions that allow an application to send messages
312         on behalf of the user or intercept messages being received by the
313         user.  This is primarily intended for SMS/MMS messaging, such as
314         receiving or reading an MMS. -->
315    <permission-group android:name="android.permission-group.MESSAGES"
316        android:label="@string/permgrouplab_messages"
317        android:icon="@drawable/perm_group_messages"
318        android:description="@string/permgroupdesc_messages"
319        android:permissionGroupFlags="personalInfo"
320        android:priority="360"/>
321
322    <!-- Allows an application to send SMS messages. -->
323    <permission android:name="android.permission.SEND_SMS"
324        android:permissionGroup="android.permission-group.MESSAGES"
325        android:protectionLevel="dangerous"
326        android:permissionFlags="costsMoney"
327        android:label="@string/permlab_sendSms"
328        android:description="@string/permdesc_sendSms" />
329
330    <!-- @SystemApi Allows an application (Phone) to send a request to other applications
331         to handle the respond-via-message action during incoming calls.
332         <p>Not for use by third-party applications. -->
333    <permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE"
334        android:permissionGroup="android.permission-group.MESSAGES"
335        android:protectionLevel="signature|system"
336        android:label="@string/permlab_sendRespondViaMessageRequest"
337        android:description="@string/permdesc_sendRespondViaMessageRequest" />
338
339    <!-- Allows an application to monitor incoming SMS messages, to record
340         or perform processing on them. -->
341    <permission android:name="android.permission.RECEIVE_SMS"
342        android:permissionGroup="android.permission-group.MESSAGES"
343        android:protectionLevel="dangerous"
344        android:label="@string/permlab_receiveSms"
345        android:description="@string/permdesc_receiveSms" />
346
347    <!-- Allows an application to monitor incoming MMS messages, to record
348         or perform processing on them. -->
349    <permission android:name="android.permission.RECEIVE_MMS"
350        android:permissionGroup="android.permission-group.MESSAGES"
351        android:protectionLevel="dangerous"
352        android:label="@string/permlab_receiveMms"
353        android:description="@string/permdesc_receiveMms" />
354
355    <!-- @SystemApi Allows an application to receive emergency cell broadcast messages,
356         to record or display them to the user.
357         <p>Not for use by third-party applications.
358         @hide Pending API council approval -->
359    <permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
360        android:permissionGroup="android.permission-group.MESSAGES"
361        android:protectionLevel="signature|system"
362        android:label="@string/permlab_receiveEmergencyBroadcast"
363        android:description="@string/permdesc_receiveEmergencyBroadcast" />
364
365    <!-- Allows an application to read previously received cell broadcast
366         messages and to register a content observer to get notifications when
367         a cell broadcast has been received and added to the database. For
368         emergency alerts, the database is updated immediately after the
369         alert dialog and notification sound/vibration/speech are presented.
370         The "read" column is then updated after the user dismisses the alert.
371         This enables supplementary emergency assistance apps to start loading
372         additional emergency information (if Internet access is available)
373         when the alert is first received, and to delay presenting the info
374         to the user until after the initial alert dialog is dismissed.
375         @hide Pending API council approval -->
376    <permission android:name="android.permission.READ_CELL_BROADCASTS"
377        android:permissionGroup="android.permission-group.MESSAGES"
378        android:protectionLevel="dangerous"
379        android:label="@string/permlab_readCellBroadcasts"
380        android:description="@string/permdesc_readCellBroadcasts" />
381
382    <!-- Allows an application to read SMS messages. -->
383    <permission android:name="android.permission.READ_SMS"
384        android:permissionGroup="android.permission-group.MESSAGES"
385        android:protectionLevel="dangerous"
386        android:label="@string/permlab_readSms"
387        android:description="@string/permdesc_readSms" />
388
389    <!-- Allows an application to write SMS messages. -->
390    <permission android:name="android.permission.WRITE_SMS"
391        android:permissionGroup="android.permission-group.MESSAGES"
392        android:protectionLevel="dangerous"
393        android:label="@string/permlab_writeSms"
394        android:description="@string/permdesc_writeSms" />
395
396    <!-- Allows an application to monitor incoming WAP push messages. -->
397    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
398        android:permissionGroup="android.permission-group.MESSAGES"
399        android:protectionLevel="dangerous"
400        android:label="@string/permlab_receiveWapPush"
401        android:description="@string/permdesc_receiveWapPush" />
402
403    <!-- Allows an application to monitor incoming Bluetooth MAP messages, to record
404         or perform processing on them. -->
405    <!-- @hide -->
406    <permission android:name="android.permission.RECEIVE_BLUETOOTH_MAP"
407        android:permissionGroup="android.permission-group.MESSAGES"
408        android:protectionLevel="dangerous"
409        android:label="@string/permlab_receiveBluetoothMap"
410        android:description="@string/permdesc_receiveBluetoothMap" />
411
412    <!-- =============================================================== -->
413    <!-- Permissions for accessing social info (contacts and social) -->
414    <!-- =============================================================== -->
415    <eat-comment />
416
417    <!-- Used for permissions that provide access to the user's social connections,
418         such as contacts, call logs, social stream, etc.  This includes
419         both reading and writing of this data (which should generally be
420         expressed as two distinct permissions). -->
421
422    <permission-group android:name="android.permission-group.SOCIAL_INFO"
423        android:label="@string/permgrouplab_socialInfo"
424        android:icon="@drawable/perm_group_social_info"
425        android:description="@string/permgroupdesc_socialInfo"
426        android:permissionGroupFlags="personalInfo"
427        android:priority="320" />
428
429    <!-- Allows an application to read the user's contacts data. -->
430    <permission android:name="android.permission.READ_CONTACTS"
431        android:permissionGroup="android.permission-group.SOCIAL_INFO"
432        android:protectionLevel="dangerous"
433        android:label="@string/permlab_readContacts"
434        android:description="@string/permdesc_readContacts" />
435
436    <!-- Allows an application to write (but not read) the user's
437         contacts data. -->
438    <permission android:name="android.permission.WRITE_CONTACTS"
439        android:permissionGroup="android.permission-group.SOCIAL_INFO"
440        android:protectionLevel="dangerous"
441        android:label="@string/permlab_writeContacts"
442        android:description="@string/permdesc_writeContacts" />
443
444    <!-- @SystemApi @hide Allows an application to execute contacts directory search.
445         This should only be used by ContactsProvider.
446         <p>Not for use by third-party applications. -->
447    <permission android:name="android.permission.BIND_DIRECTORY_SEARCH"
448        android:permissionGroup="android.permission-group.PERSONAL_INFO"
449        android:protectionLevel="signature|system" />
450
451    <!-- Allows an application to read the user's call log.
452         <p class="note"><strong>Note:</strong> If your app uses the
453         {@link #READ_CONTACTS} permission and <em>both</em> your <a
454         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
455         minSdkVersion}</a> and <a
456         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
457         targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
458         grants your app this permission. If you don't need this permission, be sure your <a
459         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
460         targetSdkVersion}</a> is 16 or higher.</p> -->
461    <permission android:name="android.permission.READ_CALL_LOG"
462        android:permissionGroup="android.permission-group.SOCIAL_INFO"
463        android:protectionLevel="dangerous"
464        android:label="@string/permlab_readCallLog"
465        android:description="@string/permdesc_readCallLog" />
466
467    <!-- Allows an application to write (but not read) the user's
468         contacts data.
469         <p class="note"><strong>Note:</strong> If your app uses the
470         {@link #WRITE_CONTACTS} permission and <em>both</em> your <a
471         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
472         minSdkVersion}</a> and <a
473         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
474         targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
475         grants your app this permission. If you don't need this permission, be sure your <a
476         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
477         targetSdkVersion}</a> is 16 or higher.</p>  -->
478    <permission android:name="android.permission.WRITE_CALL_LOG"
479        android:permissionGroup="android.permission-group.SOCIAL_INFO"
480        android:protectionLevel="dangerous"
481        android:label="@string/permlab_writeCallLog"
482        android:description="@string/permdesc_writeCallLog" />
483
484  <!-- Allows an application to read from the user's social stream.
485       @deprecated This functionality will be unsupported in the future; cursors returned
486       will be empty. Please do not use. -->
487    <permission android:name="android.permission.READ_SOCIAL_STREAM"
488        android:permissionGroup="android.permission-group.SOCIAL_INFO"
489        android:protectionLevel="dangerous"
490        android:label="@string/permlab_readSocialStream"
491        android:description="@string/permdesc_readSocialStream" />
492
493    <!-- Allows an application to write (but not read) the user's
494         social stream data.
495         @deprecated This functionality will be unsupported in the future; cursors returned
496         will be empty. Please do not use. -->
497    <permission android:name="android.permission.WRITE_SOCIAL_STREAM"
498        android:permissionGroup="android.permission-group.SOCIAL_INFO"
499        android:protectionLevel="dangerous"
500        android:label="@string/permlab_writeSocialStream"
501        android:description="@string/permdesc_writeSocialStream" />
502
503    <!-- =============================================================== -->
504    <!-- Permissions for accessing information about the device owner    -->
505    <!-- =============================================================== -->
506    <eat-comment />
507
508    <!-- Used for permissions that provide access to information about the device
509         user such as profile information.  This includes both reading and
510         writing of this data (which should generally be expressed as two
511         distinct permissions). -->
512    <permission-group android:name="android.permission-group.PERSONAL_INFO"
513        android:label="@string/permgrouplab_personalInfo"
514        android:icon="@drawable/perm_group_personal_info"
515        android:description="@string/permgroupdesc_personalInfo"
516        android:permissionGroupFlags="personalInfo"
517        android:priority="310" />
518
519    <!-- Allows an application to read the user's personal profile data. -->
520    <permission android:name="android.permission.READ_PROFILE"
521        android:permissionGroup="android.permission-group.PERSONAL_INFO"
522        android:protectionLevel="dangerous"
523        android:label="@string/permlab_readProfile"
524        android:description="@string/permdesc_readProfile" />
525
526    <!-- Allows an application to write (but not read) the user's
527         personal profile data. -->
528    <permission android:name="android.permission.WRITE_PROFILE"
529        android:permissionGroup="android.permission-group.PERSONAL_INFO"
530        android:protectionLevel="dangerous"
531        android:label="@string/permlab_writeProfile"
532        android:description="@string/permdesc_writeProfile" />
533
534    <!-- Allows an application to access data from sensors that the user uses to
535         measure what is happening inside his/her body, such as heart rate. -->
536    <permission android:name="android.permission.BODY_SENSORS"
537        android:permissionGroup="android.permission-group.PERSONAL_INFO"
538        android:label="@string/permlab_bodySensors"
539        android:description="@string/permdesc_bodySensors" />
540
541    <!-- =============================================================== -->
542    <!-- Permissions for accessing the device calendar                   -->
543    <!-- =============================================================== -->
544    <eat-comment />
545
546    <!-- Used for permissions that provide access to the device
547         calendar to create / view events.-->
548    <permission-group android:name="android.permission-group.CALENDAR"
549        android:label="@string/permgrouplab_calendar"
550        android:icon="@drawable/perm_group_calendar"
551        android:description="@string/permgroupdesc_calendar"
552        android:permissionGroupFlags="personalInfo"
553        android:priority="290" />
554
555    <!-- Allows an application to read the user's calendar data. -->
556    <permission android:name="android.permission.READ_CALENDAR"
557        android:permissionGroup="android.permission-group.PERSONAL_INFO"
558        android:protectionLevel="dangerous"
559        android:label="@string/permlab_readCalendar"
560        android:description="@string/permdesc_readCalendar" />
561
562    <!-- Allows an application to write (but not read) the user's
563         calendar data. -->
564    <permission android:name="android.permission.WRITE_CALENDAR"
565        android:permissionGroup="android.permission-group.PERSONAL_INFO"
566        android:protectionLevel="dangerous"
567        android:label="@string/permlab_writeCalendar"
568        android:description="@string/permdesc_writeCalendar" />
569
570    <!-- =============================================================== -->
571    <!-- Permissions for accessing the user dictionary-->
572    <!-- =============================================================== -->
573    <eat-comment />
574
575    <!-- Used for permissions that provide access to the user
576         calendar to create / view events.-->
577    <permission-group android:name="android.permission-group.USER_DICTIONARY"
578        android:label="@string/permgrouplab_dictionary"
579        android:icon="@drawable/perm_group_user_dictionary"
580        android:description="@string/permgroupdesc_dictionary"
581        android:permissionGroupFlags="personalInfo"
582        android:priority="170" />
583
584    <!-- Allows an application to read the user dictionary. This should
585         really only be required by an IME, or a dictionary editor like
586         the Settings app. -->
587    <permission android:name="android.permission.READ_USER_DICTIONARY"
588        android:permissionGroup="android.permission-group.USER_DICTIONARY"
589        android:protectionLevel="dangerous"
590        android:label="@string/permlab_readDictionary"
591        android:description="@string/permdesc_readDictionary" />
592
593    <!-- Used for permissions that provide access to the user
594         calendar to create / view events.-->
595    <permission-group android:name="android.permission-group.WRITE_USER_DICTIONARY"
596        android:label="@string/permgrouplab_writeDictionary"
597        android:icon="@drawable/perm_group_user_dictionary_write"
598        android:description="@string/permgroupdesc_writeDictionary"
599        android:priority="160" />
600
601    <!-- Allows an application to write to the user dictionary. -->
602    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
603        android:permissionGroup="android.permission-group.WRITE_USER_DICTIONARY"
604        android:protectionLevel="normal"
605        android:label="@string/permlab_writeDictionary"
606        android:description="@string/permdesc_writeDictionary" />
607
608    <!-- =============================================================== -->
609    <!-- Permissions for accessing the user bookmarks                    -->
610    <!-- =============================================================== -->
611    <eat-comment />
612
613    <!-- Used for permissions that provide access to the user
614         bookmarks and browser history.-->
615    <permission-group android:name="android.permission-group.BOOKMARKS"
616        android:label="@string/permgrouplab_bookmarks"
617        android:icon="@drawable/perm_group_bookmarks"
618        android:description="@string/permgroupdesc_bookmarks"
619        android:permissionGroupFlags="personalInfo"
620        android:priority="300" />
621
622    <!-- Allows an application to read (but not write) the user's
623        browsing history and bookmarks. -->
624    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
625        android:permissionGroup="android.permission-group.BOOKMARKS"
626        android:label="@string/permlab_readHistoryBookmarks"
627        android:description="@string/permdesc_readHistoryBookmarks"
628        android:protectionLevel="dangerous" />
629
630    <!-- Allows an application to write (but not read) the user's
631        browsing history and bookmarks. -->
632    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
633        android:permissionGroup="android.permission-group.BOOKMARKS"
634        android:label="@string/permlab_writeHistoryBookmarks"
635        android:description="@string/permdesc_writeHistoryBookmarks"
636        android:protectionLevel="dangerous" />
637
638    <!-- =============================================================== -->
639    <!-- Permissions for setting the device alarm                        -->
640    <!-- =============================================================== -->
641    <eat-comment />
642
643    <!-- Used for permissions that provide access to device alarms. -->
644    <permission-group android:name="android.permission-group.DEVICE_ALARMS"
645        android:label="@string/permgrouplab_deviceAlarms"
646        android:icon="@drawable/perm_group_device_alarms"
647        android:description="@string/permgroupdesc_deviceAlarms"
648        android:permissionGroupFlags="personalInfo"
649        android:priority="210" />
650
651    <!-- Allows an application to broadcast an Intent to set an alarm for the
652         user. -->
653    <permission android:name="com.android.alarm.permission.SET_ALARM"
654        android:permissionGroup="android.permission-group.DEVICE_ALARMS"
655        android:label="@string/permlab_setAlarm"
656        android:description="@string/permdesc_setAlarm"
657        android:protectionLevel="normal" />
658
659    <!-- =============================================================== -->
660    <!-- Permissions for accessing the user voicemail                    -->
661    <!-- =============================================================== -->
662    <eat-comment />
663
664    <!-- Used for permissions that provide access to the user voicemail box. -->
665    <permission-group android:name="android.permission-group.VOICEMAIL"
666        android:label="@string/permgrouplab_voicemail"
667        android:icon="@drawable/perm_group_voicemail"
668        android:description="@string/permgroupdesc_voicemail"
669        android:permissionGroupFlags="personalInfo"
670        android:priority="280" />
671
672    <!-- Allows an application to add voicemails into the system. -->
673    <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
674        android:permissionGroup="android.permission-group.VOICEMAIL"
675        android:protectionLevel="dangerous"
676        android:label="@string/permlab_addVoicemail"
677        android:description="@string/permdesc_addVoicemail" />
678
679    <!-- Allows an application to modify and remove existing voicemails in the system -->
680    <permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"
681        android:permissionGroup="android.permission-group.VOICEMAIL"
682        android:protectionLevel="dangerous"
683        android:label="@string/permlab_writeVoicemail"
684        android:description="@string/permdesc_writeVoicemail" />
685
686    <!-- Allows an application to read voicemails in the system. -->
687    <permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"
688        android:permissionGroup="android.permission-group.VOICEMAIL"
689        android:protectionLevel="dangerous"
690        android:label="@string/permlab_readVoicemail"
691        android:description="@string/permdesc_readVoicemail" />
692
693    <!-- =============================================== -->
694    <!-- Permissions for enabling accessibility features -->
695    <!-- =============================================== -->
696    <eat-comment />
697
698    <!-- Used for permissions that allow requesting certain accessibility features. -->
699    <permission-group android:name="android.permission-group.ACCESSIBILITY_FEATURES"
700        android:label="@string/permgrouplab_accessibilityFeatures"
701        android:icon="@drawable/perm_group_accessibility_features"
702        android:description="@string/permgroupdesc_accessibilityFeatures"
703        android:priority="380" />
704
705    <!-- ======================================= -->
706    <!-- Permissions for accessing location info -->
707    <!-- ======================================= -->
708    <eat-comment />
709
710    <!-- Used for permissions that allow access to the user's current
711         location. -->
712    <permission-group android:name="android.permission-group.LOCATION"
713        android:label="@string/permgrouplab_location"
714        android:icon="@drawable/perm_group_location"
715        android:description="@string/permgroupdesc_location"
716        android:permissionGroupFlags="personalInfo"
717        android:priority="330" />
718
719    <!-- Allows an app to access precise location from location sources such
720         as GPS, cell towers, and Wi-Fi. -->
721    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
722        android:permissionGroup="android.permission-group.LOCATION"
723        android:protectionLevel="dangerous"
724        android:label="@string/permlab_accessFineLocation"
725        android:description="@string/permdesc_accessFineLocation" />
726
727    <!-- Allows an app to access approximate location derived from network location
728         sources such as cell towers and Wi-Fi. -->
729    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
730        android:permissionGroup="android.permission-group.LOCATION"
731        android:protectionLevel="dangerous"
732        android:label="@string/permlab_accessCoarseLocation"
733        android:description="@string/permdesc_accessCoarseLocation" />
734
735    <!-- Allows an application to create mock location providers for testing -->
736    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
737        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
738        android:protectionLevel="dangerous"
739        android:label="@string/permlab_accessMockLocation"
740        android:description="@string/permdesc_accessMockLocation" />
741
742    <!-- Allows an application to access extra location provider commands -->
743    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
744        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
745        android:protectionLevel="normal"
746        android:label="@string/permlab_accessLocationExtraCommands"
747        android:description="@string/permdesc_accessLocationExtraCommands" />
748
749    <!-- @SystemApi Allows an application to install a location provider into the Location Manager.
750    <p>Not for use by third-party applications. -->
751    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
752        android:protectionLevel="signature|system"
753        android:label="@string/permlab_installLocationProvider"
754        android:description="@string/permdesc_installLocationProvider" />
755
756    <!-- @SystemApi @hide Allows HDMI-CEC service to access device and configuration files.
757         This should only be used by HDMI-CEC service.
758    -->
759    <permission android:name="android.permission.HDMI_CEC"
760        android:protectionLevel="signatureOrSystem" />
761
762    <!-- @SystemApi Allows an application to use location features in hardware,
763         such as the geofencing api.
764         <p>Not for use by third-party applications. -->
765    <permission android:name="android.permission.LOCATION_HARDWARE"
766        android:permissionGroup="android.permission-group.LOCATION"
767        android:protectionLevel="signature|system" />
768    <uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
769
770    <!-- ======================================= -->
771    <!-- Permissions for accessing networks -->
772    <!-- ======================================= -->
773    <eat-comment />
774
775    <!-- Used for permissions that provide access to networking services.  The
776         main permission here is internet access, but this is also an
777         appropriate group for accessing or modifying any network configuration
778         or other related network operations. -->
779    <permission-group android:name="android.permission-group.NETWORK"
780        android:label="@string/permgrouplab_network"
781        android:icon="@drawable/perm_group_network"
782        android:description="@string/permgroupdesc_network"
783        android:priority="270" />
784
785    <!-- Allows applications to open network sockets. -->
786    <permission android:name="android.permission.INTERNET"
787        android:permissionGroup="android.permission-group.NETWORK"
788        android:protectionLevel="dangerous"
789        android:description="@string/permdesc_createNetworkSockets"
790        android:label="@string/permlab_createNetworkSockets" />
791
792    <!-- Allows applications to access information about networks -->
793    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
794        android:permissionGroup="android.permission-group.NETWORK"
795        android:protectionLevel="normal"
796        android:description="@string/permdesc_accessNetworkState"
797        android:label="@string/permlab_accessNetworkState" />
798
799    <!-- Allows applications to access information about Wi-Fi networks -->
800    <permission android:name="android.permission.ACCESS_WIFI_STATE"
801        android:permissionGroup="android.permission-group.NETWORK"
802        android:protectionLevel="normal"
803        android:description="@string/permdesc_accessWifiState"
804        android:label="@string/permlab_accessWifiState" />
805
806    <!-- Allows applications to change Wi-Fi connectivity state -->
807    <permission android:name="android.permission.CHANGE_WIFI_STATE"
808        android:permissionGroup="android.permission-group.NETWORK"
809        android:protectionLevel="dangerous"
810        android:description="@string/permdesc_changeWifiState"
811        android:label="@string/permlab_changeWifiState" />
812
813    <!-- @SystemApi @hide Allows applications to read Wi-Fi credential.
814         <p>Not for use by third-party applications. -->
815    <permission android:name="android.permission.READ_WIFI_CREDENTIAL"
816        android:permissionGroup="android.permission-group.NETWORK"
817        android:protectionLevel="signature|system" />
818
819    <!-- @hide -->
820    <permission android:name="android.permission.ACCESS_WIMAX_STATE"
821        android:permissionGroup="android.permission-group.NETWORK"
822        android:protectionLevel="normal"
823        android:description="@string/permdesc_accessWimaxState"
824        android:label="@string/permlab_accessWimaxState" />
825
826    <!-- @hide -->
827    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
828        android:permissionGroup="android.permission-group.NETWORK"
829        android:protectionLevel="dangerous"
830        android:description="@string/permdesc_changeWimaxState"
831        android:label="@string/permlab_changeWimaxState" />
832
833    <!-- Allows applications to act as network scorers. @hide @SystemApi-->
834    <!-- TODO: Change protection level to normal when unhiding this API. -->
835    <permission android:name="android.permission.SCORE_NETWORKS"
836        android:permissionGroup="android.permission-group.NETWORK"
837        android:protectionLevel="signature|system"
838        android:description="@string/permdesc_scoreNetworks"
839        android:label="@string/permlab_scoreNetworks" />
840
841    <!-- ======================================= -->
842    <!-- Permissions for short range, peripheral networks -->
843    <!-- ======================================= -->
844    <eat-comment />
845
846    <!-- Used for permissions that provide access to other devices through Bluetooth.-->
847    <permission-group android:name="android.permission-group.BLUETOOTH_NETWORK"
848        android:label="@string/permgrouplab_bluetoothNetwork"
849        android:icon="@drawable/perm_group_bluetooth"
850        android:description="@string/permgroupdesc_bluetoothNetwork"
851        android:priority="260" />
852
853    <!-- Allows applications to connect to paired bluetooth devices -->
854    <permission android:name="android.permission.BLUETOOTH"
855        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
856        android:protectionLevel="dangerous"
857        android:description="@string/permdesc_bluetooth"
858        android:label="@string/permlab_bluetooth" />
859
860    <!-- Allows applications to discover and pair bluetooth devices -->
861    <permission android:name="android.permission.BLUETOOTH_ADMIN"
862        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
863        android:protectionLevel="dangerous"
864        android:description="@string/permdesc_bluetoothAdmin"
865        android:label="@string/permlab_bluetoothAdmin" />
866
867    <!-- @SystemApi Allows applications to pair bluetooth devices without user interaction, and to
868         allow or disallow phonebook access or message access.
869         This is not available to third party applications. -->
870    <permission android:name="android.permission.BLUETOOTH_PRIVILEGED"
871        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
872        android:protectionLevel="system|signature"
873        android:description="@string/permdesc_bluetoothPriv"
874        android:label="@string/permlab_bluetoothPriv" />
875
876    <!-- Control access to email providers exclusively for Bluetooth
877         @hide
878    -->
879    <permission android:name="android.permission.BLUETOOTH_MAP"
880        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
881        android:protectionLevel="signature"
882        android:description="@string/permdesc_bluetoothMap"
883        android:label="@string/permlab_bluetoothMap" />
884
885    <!-- Allows bluetooth stack to access files
886         @hide This should only be used by Bluetooth apk.
887    -->
888    <permission android:name="android.permission.BLUETOOTH_STACK"
889        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
890        android:protectionLevel="signature" />
891
892    <!-- Allows applications to perform I/O operations over NFC -->
893    <permission android:name="android.permission.NFC"
894        android:permissionGroup="android.permission-group.NETWORK"
895        android:protectionLevel="dangerous"
896        android:description="@string/permdesc_nfc"
897        android:label="@string/permlab_nfc" />
898
899    <!-- @SystemApi Allows an internal user to use privileged ConnectivityManager APIs.
900         @hide -->
901    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
902        android:permissionGroup="android.permission-group.NETWORK"
903        android:protectionLevel="signature|system" />
904
905    <!-- @SystemApi @hide -->
906    <permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
907        android:permissionGroup="android.permission-group.NETWORK"
908        android:protectionLevel="signature|system" />
909
910    <!-- @SystemApi Allows access to the loop radio (Android@Home mesh network) device.
911         @hide -->
912    <permission android:name="android.permission.LOOP_RADIO"
913        android:permissionGroup="android.permission-group.NETWORK"
914        android:protectionLevel="signature|system" />
915
916    <!-- Allows sending and receiving handover transfer status from Wifi and Bluetooth
917         @hide
918    -->
919    <permission android:name="android.permission.NFC_HANDOVER_STATUS"
920                android:label="@string/permlab_handoverStatus"
921                android:description="@string/permdesc_handoverStatus"
922                android:protectionLevel="signature|system" />
923
924    <!-- ================================== -->
925    <!-- Permissions for accessing accounts -->
926    <!-- ================================== -->
927    <eat-comment />
928
929    <!-- Permissions for direct access to the accounts managed
930         by the Account Manager. -->
931    <permission-group android:name="android.permission-group.ACCOUNTS"
932        android:label="@string/permgrouplab_accounts"
933        android:icon="@drawable/perm_group_accounts"
934        android:description="@string/permgroupdesc_accounts"
935        android:permissionGroupFlags="personalInfo"
936        android:priority="200" />
937
938    <!-- Allows access to the list of accounts in the Accounts Service -->
939    <permission android:name="android.permission.GET_ACCOUNTS"
940        android:permissionGroup="android.permission-group.ACCOUNTS"
941        android:protectionLevel="normal"
942        android:description="@string/permdesc_getAccounts"
943        android:label="@string/permlab_getAccounts" />
944
945    <!-- Allows an application to act as an AccountAuthenticator for
946         the AccountManager -->
947    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
948        android:permissionGroup="android.permission-group.ACCOUNTS"
949        android:protectionLevel="dangerous"
950        android:label="@string/permlab_authenticateAccounts"
951        android:description="@string/permdesc_authenticateAccounts" />
952
953    <!-- Allows an application to request authtokens from the AccountManager -->
954    <permission android:name="android.permission.USE_CREDENTIALS"
955        android:permissionGroup="android.permission-group.ACCOUNTS"
956        android:protectionLevel="dangerous"
957        android:label="@string/permlab_useCredentials"
958        android:description="@string/permdesc_useCredentials" />
959
960    <!-- Allows an application to manage the list of accounts in the AccountManager -->
961    <permission android:name="android.permission.MANAGE_ACCOUNTS"
962        android:permissionGroup="android.permission-group.ACCOUNTS"
963        android:protectionLevel="dangerous"
964        android:label="@string/permlab_manageAccounts"
965        android:description="@string/permdesc_manageAccounts" />
966
967    <!-- @SystemApi Allows applications to call into AccountAuthenticators.
968    <p>Not for use by third-party applications. -->
969    <permission android:name="android.permission.ACCOUNT_MANAGER"
970        android:permissionGroup="android.permission-group.ACCOUNTS"
971        android:protectionLevel="signature"
972        android:description="@string/permdesc_accountManagerService"
973        android:label="@string/permlab_accountManagerService" />
974
975    <!-- ================================== -->
976    <!-- Permissions for accessing hardware that may effect battery life-->
977    <!-- ================================== -->
978    <eat-comment />
979
980    <!-- Used for permissions that provide direct access to the hardware on
981         the device that has an effect on battery life.  This includes vibrator,
982         flashlight,  etc. -->
983
984    <permission-group android:name="android.permission-group.AFFECTS_BATTERY"
985        android:label="@string/permgrouplab_affectsBattery"
986        android:icon="@drawable/perm_group_affects_battery"
987        android:description="@string/permgroupdesc_affectsBattery"
988        android:priority="180" />
989
990    <!-- Allows applications to enter Wi-Fi Multicast mode -->
991    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
992        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
993        android:protectionLevel="dangerous"
994        android:description="@string/permdesc_changeWifiMulticastState"
995        android:label="@string/permlab_changeWifiMulticastState" />
996
997    <!-- Allows access to the vibrator -->
998    <permission android:name="android.permission.VIBRATE"
999        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
1000        android:protectionLevel="normal"
1001        android:label="@string/permlab_vibrate"
1002        android:description="@string/permdesc_vibrate" />
1003
1004    <!-- Allows access to the flashlight -->
1005    <permission android:name="android.permission.FLASHLIGHT"
1006        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
1007        android:protectionLevel="normal"
1008        android:label="@string/permlab_flashlight"
1009        android:description="@string/permdesc_flashlight" />
1010
1011    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
1012         from dimming -->
1013    <permission android:name="android.permission.WAKE_LOCK"
1014        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
1015        android:protectionLevel="normal"
1016        android:label="@string/permlab_wakeLock"
1017        android:description="@string/permdesc_wakeLock" />
1018
1019    <!-- Allows using the device's IR transmitter, if available -->
1020    <permission android:name="android.permission.TRANSMIT_IR"
1021        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
1022        android:protectionLevel="normal"
1023        android:label="@string/permlab_transmitIr"
1024        android:description="@string/permdesc_transmitIr" />
1025
1026    <!-- ==================================================== -->
1027    <!-- Permissions related to changing audio settings   -->
1028    <!-- ==================================================== -->
1029    <eat-comment />
1030
1031    <!-- Used for permissions that provide direct access to speaker settings
1032         the device. -->
1033    <permission-group android:name="android.permission-group.AUDIO_SETTINGS"
1034        android:label="@string/permgrouplab_audioSettings"
1035        android:icon="@drawable/perm_group_audio_settings"
1036        android:description="@string/permgroupdesc_audioSettings"
1037        android:priority="130" />
1038
1039    <!-- Allows an application to modify global audio settings -->
1040    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
1041        android:permissionGroup="android.permission-group.AUDIO_SETTINGS"
1042        android:protectionLevel="normal"
1043        android:label="@string/permlab_modifyAudioSettings"
1044        android:description="@string/permdesc_modifyAudioSettings" />
1045
1046    <!-- ================================== -->
1047    <!-- Permissions for accessing hardware -->
1048    <!-- ================================== -->
1049    <eat-comment />
1050
1051    <!-- Used for permissions that provide direct access to the hardware on
1052         the device.  This includes audio, the camera, vibrator, etc. -->
1053    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
1054        android:label="@string/permgrouplab_hardwareControls"
1055        android:description="@string/permgroupdesc_hardwareControls"
1056        android:priority="260"/>
1057
1058    <!-- @SystemApi Allows an application to manage preferences and permissions for USB devices
1059         @hide -->
1060    <permission android:name="android.permission.MANAGE_USB"
1061        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
1062        android:protectionLevel="signature|system"
1063        android:label="@string/permlab_manageUsb"
1064        android:description="@string/permdesc_manageUsb" />
1065
1066    <!-- @SystemApi Allows an application to access the MTP USB kernel driver.
1067         For use only by the device side MTP implementation.
1068         @hide -->
1069    <permission android:name="android.permission.ACCESS_MTP"
1070        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
1071        android:protectionLevel="signature|system"
1072        android:label="@string/permlab_accessMtp"
1073        android:description="@string/permdesc_accessMtp" />
1074
1075    <!-- Allows access to hardware peripherals.  Intended only for hardware testing.
1076    <p>Not for use by third-party applications. -->
1077    <permission android:name="android.permission.HARDWARE_TEST"
1078        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
1079        android:protectionLevel="signature"
1080        android:label="@string/permlab_hardware_test"
1081        android:description="@string/permdesc_hardware_test" />
1082
1083    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
1084         @hide -->
1085    <permission android:name="android.permission.NET_ADMIN"
1086        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1087        android:protectionLevel="signature" />
1088
1089    <!-- Allows registration for remote audio playback. @hide -->
1090    <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
1091        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1092        android:protectionLevel="signature" />
1093
1094    <!-- @SystemApi Allows TvInputService to access underlying TV input hardware such as
1095         built-in tuners and HDMI-in's.
1096         @hide This should only be used by OEM's TvInputService's.
1097    -->
1098    <permission android:name="android.permission.TV_INPUT_HARDWARE"
1099        android:protectionLevel="signatureOrSystem" />
1100
1101    <!-- @SystemApi Allows to capture a frame of TV input hardware such as
1102         built-in tuners and HDMI-in's.
1103         @hide <p>Not for use by third-party applications.
1104    -->
1105    <permission android:name="android.permission.CAPTURE_TV_INPUT"
1106        android:protectionLevel="signatureOrSystem" />
1107
1108    <!-- @hide Allows enabling/disabling OEM unlock
1109   <p>Not for use by third-party applications. -->
1110    <permission android:name="android.permission.OEM_UNLOCK_STATE"
1111                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1112                android:protectionLevel="signature" />
1113
1114
1115    <!-- =========================================== -->
1116    <!-- Permissions associated with audio capture -->
1117    <!-- =========================================== -->
1118    <eat-comment />
1119
1120    <!-- Used for permissions that are associated with accessing
1121         microphone audio from the device. Note that phone calls also capture audio
1122         but are in a separate (more visible) permission group. -->
1123    <permission-group android:name="android.permission-group.MICROPHONE"
1124        android:label="@string/permgrouplab_microphone"
1125        android:icon="@drawable/perm_group_microphone"
1126        android:description="@string/permgroupdesc_microphone"
1127        android:permissionGroupFlags="personalInfo"
1128        android:priority="340" />
1129
1130    <!-- Allows an application to record audio -->
1131    <permission android:name="android.permission.RECORD_AUDIO"
1132        android:permissionGroup="android.permission-group.MICROPHONE"
1133        android:protectionLevel="dangerous"
1134        android:label="@string/permlab_recordAudio"
1135        android:description="@string/permdesc_recordAudio" />
1136
1137
1138    <!-- =========================================== -->
1139    <!-- Permissions associated with camera and image capture -->
1140    <!-- =========================================== -->
1141    <eat-comment />
1142
1143    <!-- Used for permissions that are associated with accessing
1144         camera or capturing images/video from the device. -->
1145    <permission-group android:name="android.permission-group.CAMERA"
1146        android:label="@string/permgrouplab_camera"
1147        android:icon="@drawable/perm_group_camera"
1148        android:description="@string/permgroupdesc_camera"
1149        android:permissionGroupFlags="personalInfo"
1150        android:priority="350" />
1151
1152    <!-- Required to be able to access the camera device.
1153         <p>This will automatically enforce the <a
1154         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
1155         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
1156         If you do not require all camera features or can properly operate if a camera
1157         is not available, then you must modify your manifest as appropriate in order to
1158         install on devices that don't support all camera features.</p> -->
1159    <permission android:name="android.permission.CAMERA"
1160        android:permissionGroup="android.permission-group.CAMERA"
1161        android:protectionLevel="dangerous"
1162        android:label="@string/permlab_camera"
1163        android:description="@string/permdesc_camera" />
1164
1165    <!-- @SystemApi Allows disabling the transmit-indicator LED that is normally on when
1166         a camera is in use by an application.
1167         @hide -->
1168    <permission android:name="android.permission.CAMERA_DISABLE_TRANSMIT_LED"
1169        android:permissionGroup="android.permission-group.CAMERA"
1170        android:protectionLevel="signature|system"
1171        android:label="@string/permlab_cameraDisableTransmitLed"
1172        android:description="@string/permdesc_cameraDisableTransmitLed" />
1173
1174    <!-- =========================================== -->
1175    <!-- Permissions associated with telephony state -->
1176    <!-- =========================================== -->
1177    <eat-comment />
1178
1179    <!-- Used for permissions that are associated with accessing and modifying
1180         telephony state: placing calls, intercepting outgoing calls, reading
1181         and modifying the phone state. -->
1182    <permission-group android:name="android.permission-group.PHONE_CALLS"
1183        android:label="@string/permgrouplab_phoneCalls"
1184        android:icon="@drawable/perm_group_phone_calls"
1185        android:description="@string/permgroupdesc_phoneCalls"
1186        android:permissionGroupFlags="personalInfo"
1187        android:priority="370" />
1188
1189    <!-- Allows an application to see the number being dialed during an outgoing
1190         call with the option to redirect the call to a different number or
1191         abort the call altogether. -->
1192    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
1193        android:permissionGroup="android.permission-group.PHONE_CALLS"
1194        android:protectionLevel="dangerous"
1195        android:label="@string/permlab_processOutgoingCalls"
1196        android:description="@string/permdesc_processOutgoingCalls" />
1197
1198    <!-- @SystemApi Allows modification of the telephony state - power on, mmi, etc.
1199         Does not include placing calls.
1200         <p>Not for use by third-party applications. -->
1201    <permission android:name="android.permission.MODIFY_PHONE_STATE"
1202        android:permissionGroup="android.permission-group.PHONE_CALLS"
1203        android:protectionLevel="signature|system"
1204        android:label="@string/permlab_modifyPhoneState"
1205        android:description="@string/permdesc_modifyPhoneState" />
1206
1207    <!-- Allows read only access to phone state.
1208         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1209         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1210         minSdkVersion}</a> and <a
1211         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1212         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1213         grants your app this permission. If you don't need this permission, be sure your <a
1214         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1215         targetSdkVersion}</a> is 4 or higher. -->
1216    <permission android:name="android.permission.READ_PHONE_STATE"
1217        android:permissionGroup="android.permission-group.PHONE_CALLS"
1218        android:protectionLevel="dangerous"
1219        android:label="@string/permlab_readPhoneState"
1220        android:description="@string/permdesc_readPhoneState" />
1221
1222    <!-- Allows read only access to precise phone state.
1223         @hide Pending API council approval -->
1224    <permission android:name="android.permission.READ_PRECISE_PHONE_STATE"
1225        android:permissionGroup="android.permission-group.PHONE_CALLS"
1226        android:protectionLevel="dangerous"
1227        android:label="@string/permlab_readPrecisePhoneState"
1228        android:description="@string/permdesc_readPrecisePhoneState" />
1229
1230    <!-- @SystemApi Allows read access to privileged phone state.
1231         @hide Used internally. -->
1232    <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
1233        android:permissionGroup="android.permission-group.PHONE_CALLS"
1234        android:protectionLevel="signature|system" />
1235
1236     <!-- Allows an application to initiate a phone call without going through
1237         the Dialer user interface for the user to confirm the call
1238         being placed. -->
1239    <permission android:name="android.permission.CALL_PHONE"
1240        android:permissionGroup="android.permission-group.PHONE_CALLS"
1241        android:protectionLevel="dangerous"
1242        android:permissionFlags="costsMoney"
1243        android:label="@string/permlab_callPhone"
1244        android:description="@string/permdesc_callPhone" />
1245
1246    <!-- Allows an application to use SIP service -->
1247    <permission android:name="android.permission.USE_SIP"
1248        android:permissionGroup="android.permission-group.PHONE_CALLS"
1249        android:protectionLevel="dangerous"
1250        android:description="@string/permdesc_use_sip"
1251        android:label="@string/permlab_use_sip" />
1252
1253    <!-- @SystemApi Allows an application to bind to InCallService implementations.
1254         @hide -->
1255    <permission android:name="android.permission.BIND_INCALL_SERVICE"
1256        android:permissionGroup="android.permission-group.PHONE_CALLS"
1257        android:protectionLevel="system|signature"
1258        android:description="@string/permdesc_bind_incall_service"
1259        android:label="@string/permlab_bind_incall_service" />
1260
1261    <!-- @SystemApi Allows an application to bind to ConnectionService implementations.
1262         @hide -->
1263    <permission android:name="android.permission.BIND_CONNECTION_SERVICE"
1264                android:permissionGroup="android.permission-group.PHONE_CALLS"
1265                android:protectionLevel="system|signature"
1266                android:description="@string/permdesc_bind_connection_service"
1267                android:label="@string/permlab_bind_connection_service" />
1268
1269    <!-- @SystemApi Allows an application to control the in-call experience.
1270         @hide -->
1271    <permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"
1272                android:permissionGroup="android.permission-group.PHONE_CALLS"
1273                android:protectionLevel="system|signature"
1274                android:description="@string/permdesc_control_incall_experience"
1275                android:label="@string/permlab_control_incall_experience" />
1276
1277    <!-- ================================== -->
1278    <!-- Permissions for sdcard interaction -->
1279    <!-- ================================== -->
1280    <eat-comment />
1281
1282    <!-- Group of permissions that are related to SD card access. -->
1283    <permission-group android:name="android.permission-group.STORAGE"
1284        android:label="@string/permgrouplab_storage"
1285        android:icon="@drawable/perm_group_storage"
1286        android:description="@string/permgroupdesc_storage"
1287        android:permissionGroupFlags="personalInfo"
1288        android:priority="240" />
1289
1290    <!-- Allows an application to read from external storage.
1291         <p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
1292         granted this permission.</p>
1293         <p>This permission is enforced starting in API level 19.  Before API level 19, this
1294         permission is not enforced and all apps still have access to read from external storage.
1295         You can test your app with the permission enforced by enabling <em>Protect USB
1296         storage</em> under Developer options in the Settings app on a device running Android 4.1 or
1297         higher.</p>
1298         <p>Also starting in API level 19, this permission is <em>not</em> required to
1299         read/write files in your application-specific directories returned by
1300         {@link android.content.Context#getExternalFilesDir} and
1301         {@link android.content.Context#getExternalCacheDir}.
1302         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1303         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1304         minSdkVersion}</a> and <a
1305         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1306         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1307         grants your app this permission. If you don't need this permission, be sure your <a
1308         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1309         targetSdkVersion}</a> is 4 or higher.-->
1310    <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
1311        android:permissionGroup="android.permission-group.STORAGE"
1312        android:label="@string/permlab_sdcardRead"
1313        android:description="@string/permdesc_sdcardRead"
1314        android:protectionLevel="normal" />
1315
1316    <!-- Allows an application to write to external storage.
1317         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1318         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1319         minSdkVersion}</a> and <a
1320         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1321         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1322         grants your app this permission. If you don't need this permission, be sure your <a
1323         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1324         targetSdkVersion}</a> is 4 or higher.
1325         <p>Starting in API level 19, this permission is <em>not</em> required to
1326         read/write files in your application-specific directories returned by
1327         {@link android.content.Context#getExternalFilesDir} and
1328         {@link android.content.Context#getExternalCacheDir}. -->
1329    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
1330        android:permissionGroup="android.permission-group.STORAGE"
1331        android:label="@string/permlab_sdcardWrite"
1332        android:description="@string/permdesc_sdcardWrite"
1333        android:protectionLevel="dangerous" />
1334
1335    <!-- @SystemApi Allows an application to write to internal media storage
1336         @hide  -->
1337    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
1338        android:permissionGroup="android.permission-group.STORAGE"
1339        android:label="@string/permlab_mediaStorageWrite"
1340        android:description="@string/permdesc_mediaStorageWrite"
1341        android:protectionLevel="signature|system" />
1342
1343    <!-- Allows an application to manage access to documents, usually as part
1344         of a document picker. -->
1345    <permission android:name="android.permission.MANAGE_DOCUMENTS"
1346        android:permissionGroup="android.permission-group.STORAGE"
1347        android:label="@string/permlab_manageDocs"
1348        android:description="@string/permdesc_manageDocs"
1349        android:protectionLevel="signature" />
1350
1351    <!-- ================================== -->
1352    <!-- Permissions for screenlock         -->
1353    <!-- ================================== -->
1354    <eat-comment />
1355
1356    <!-- Group of permissions that are related to the screenlock. -->
1357    <permission-group android:name="android.permission-group.SCREENLOCK"
1358        android:label="@string/permgrouplab_screenlock"
1359        android:icon="@drawable/perm_group_screenlock"
1360        android:permissionGroupFlags="personalInfo"
1361        android:description="@string/permgroupdesc_screenlock"
1362        android:priority="230" />
1363
1364    <!-- Allows applications to disable the keyguard -->
1365    <permission android:name="android.permission.DISABLE_KEYGUARD"
1366        android:permissionGroup="android.permission-group.SCREENLOCK"
1367        android:protectionLevel="dangerous"
1368        android:description="@string/permdesc_disableKeyguard"
1369        android:label="@string/permlab_disableKeyguard" />
1370
1371    <!-- ================================== -->
1372    <!-- Permissions to access other installed applications  -->
1373    <!-- ================================== -->
1374    <eat-comment />
1375
1376    <!-- Group of permissions that are related to the other applications
1377         installed on the system.  Examples include such as listing
1378         running apps, or killing background processes. -->
1379    <permission-group android:name="android.permission-group.APP_INFO"
1380        android:label="@string/permgrouplab_appInfo"
1381        android:icon="@drawable/perm_group_app_info"
1382        android:description="@string/permgroupdesc_appInfo"
1383        android:priority="220" />
1384
1385    <!-- @deprecated No longer enforced. -->
1386    <permission android:name="android.permission.GET_TASKS"
1387        android:permissionGroup="android.permission-group.APP_INFO"
1388        android:protectionLevel="normal"
1389        android:label="@string/permlab_getTasks"
1390        android:description="@string/permdesc_getTasks" />
1391
1392    <!-- New version of GET_TASKS that apps can request, since GET_TASKS doesn't really
1393         give access to task information.  We need this new one because there are
1394         many existing apps that use add libraries and such that have validation
1395         code to ensure the app has requested the GET_TASKS permission by seeing
1396         if it has been granted the permission...  if it hasn't, it kills the app
1397         with a message about being upset.  So we need to have it continue to look
1398         like the app is getting that permission, even though it will never be
1399         checked, and new privileged apps can now request this one for real access.
1400         @hide
1401         @SystemApi -->
1402    <permission android:name="android.permission.REAL_GET_TASKS"
1403        android:permissionGroup="android.permission-group.APP_INFO"
1404        android:protectionLevel="signature|system"
1405        android:label="@string/permlab_getTasks"
1406        android:description="@string/permdesc_getTasks" />
1407
1408    <!-- Allows an application to start a task from a ActivityManager#RecentTaskInfo.
1409         @hide -->
1410    <permission android:name="android.permission.START_TASKS_FROM_RECENTS"
1411        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1412        android:protectionLevel="signature|system"
1413        android:label="@string/permlab_startTasksFromRecents"
1414        android:description="@string/permdesc_startTasksFromRecents" />
1415
1416    <!-- @SystemApi @hide Allows an application to call APIs that allow it to do interactions
1417         across the users on the device, using singleton services and
1418         user-targeted broadcasts.  This permission is not available to
1419         third party applications. -->
1420    <permission android:name="android.permission.INTERACT_ACROSS_USERS"
1421        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1422        android:protectionLevel="signature|system|development"
1423        android:label="@string/permlab_interactAcrossUsers"
1424        android:description="@string/permdesc_interactAcrossUsers" />
1425
1426    <!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
1427         that removes restrictions on where broadcasts can be sent and allows other
1428         types of interactions. -->
1429    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
1430        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1431        android:protectionLevel="signature"
1432        android:label="@string/permlab_interactAcrossUsersFull"
1433        android:description="@string/permdesc_interactAcrossUsersFull" />
1434
1435    <!-- @SystemApi @hide Allows an application to call APIs that allow it to query and manage
1436         users on the device. This permission is not available to
1437         third party applications. -->
1438    <permission android:name="android.permission.MANAGE_USERS"
1439        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1440        android:protectionLevel="signature|system"
1441        android:label="@string/permlab_manageUsers"
1442        android:description="@string/permdesc_manageUsers" />
1443
1444    <!-- Allows an application to get full detailed information about
1445         recently running tasks, with full fidelity to the real state.
1446         @hide -->
1447    <permission android:name="android.permission.GET_DETAILED_TASKS"
1448        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1449        android:protectionLevel="signature"
1450        android:label="@string/permlab_getDetailedTasks"
1451        android:description="@string/permdesc_getDetailedTasks" />
1452
1453    <!-- Allows an application to change the Z-order of tasks -->
1454    <permission android:name="android.permission.REORDER_TASKS"
1455        android:permissionGroup="android.permission-group.APP_INFO"
1456        android:protectionLevel="normal"
1457        android:label="@string/permlab_reorderTasks"
1458        android:description="@string/permdesc_reorderTasks" />
1459
1460    <!-- @hide Allows an application to change to remove/kill tasks -->
1461    <permission android:name="android.permission.REMOVE_TASKS"
1462        android:permissionGroup="android.permission-group.APP_INFO"
1463        android:protectionLevel="signature"
1464        android:label="@string/permlab_removeTasks"
1465        android:description="@string/permdesc_removeTasks" />
1466
1467    <!-- @SystemApi @hide Allows an application to create/manage/remove stacks -->
1468    <permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"
1469        android:permissionGroup="android.permission-group.APP_INFO"
1470        android:protectionLevel="signature|system"
1471        android:label="@string/permlab_manageActivityStacks"
1472        android:description="@string/permdesc_manageActivityStacks" />
1473
1474    <!-- Allows an application to start any activity, regardless of permission
1475         protection or exported state. @hide -->
1476    <permission android:name="android.permission.START_ANY_ACTIVITY"
1477        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1478        android:protectionLevel="signature"
1479        android:label="@string/permlab_startAnyActivity"
1480        android:description="@string/permdesc_startAnyActivity" />
1481
1482    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
1483        API is no longer supported. -->
1484    <permission android:name="android.permission.RESTART_PACKAGES"
1485        android:permissionGroup="android.permission-group.APP_INFO"
1486        android:protectionLevel="normal"
1487        android:label="@string/permlab_killBackgroundProcesses"
1488        android:description="@string/permdesc_killBackgroundProcesses" />
1489
1490    <!-- Allows an application to call
1491        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
1492    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
1493        android:permissionGroup="android.permission-group.APP_INFO"
1494        android:protectionLevel="normal"
1495        android:label="@string/permlab_killBackgroundProcesses"
1496        android:description="@string/permdesc_killBackgroundProcesses" />
1497
1498    <!-- ================================== -->
1499    <!-- Permissions affecting the display of other applications  -->
1500    <!-- ================================== -->
1501    <eat-comment />
1502
1503    <!-- Group of permissions that allow manipulation of how
1504         another application displays UI to the user. -->
1505    <permission-group android:name="android.permission-group.DISPLAY"
1506        android:label="@string/permgrouplab_display"
1507        android:icon="@drawable/perm_group_display"
1508        android:description="@string/permgroupdesc_display"
1509        android:priority="190"/>
1510
1511    <!-- Allows an application to open windows using the type
1512         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
1513         shown on top of all other applications.  Very few applications
1514         should use this permission; these windows are intended for
1515         system-level interaction with the user. -->
1516    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
1517        android:permissionGroup="android.permission-group.DISPLAY"
1518        android:protectionLevel="dangerous"
1519        android:label="@string/permlab_systemAlertWindow"
1520        android:description="@string/permdesc_systemAlertWindow" />
1521
1522    <!-- ================================== -->
1523    <!-- Permissions affecting the system wallpaper -->
1524    <!-- ================================== -->
1525    <eat-comment />
1526
1527    <!-- Group of permissions that allow manipulation of how
1528         another application displays UI to the user. -->
1529    <permission-group android:name="android.permission-group.WALLPAPER"
1530        android:label="@string/permgrouplab_wallpaper"
1531        android:icon="@drawable/perm_group_wallpaper"
1532        android:description="@string/permgroupdesc_wallpaper"
1533        android:priority="150" />
1534
1535    <!-- Allows applications to set the wallpaper -->
1536    <permission android:name="android.permission.SET_WALLPAPER"
1537        android:permissionGroup="android.permission-group.WALLPAPER"
1538        android:protectionLevel="normal"
1539        android:label="@string/permlab_setWallpaper"
1540        android:description="@string/permdesc_setWallpaper" />
1541
1542    <!-- Allows applications to set the wallpaper hints -->
1543    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
1544        android:permissionGroup="android.permission-group.WALLPAPER"
1545        android:protectionLevel="normal"
1546        android:label="@string/permlab_setWallpaperHints"
1547        android:description="@string/permdesc_setWallpaperHints" />
1548
1549    <!-- ============================================ -->
1550    <!-- Permissions for changing the system clock -->
1551    <!-- ============================================ -->
1552    <eat-comment />
1553
1554    <!-- Group of permissions that are related to system clock. -->
1555    <permission-group android:name="android.permission-group.SYSTEM_CLOCK"
1556        android:label="@string/permgrouplab_systemClock"
1557        android:icon="@drawable/perm_group_system_clock"
1558        android:description="@string/permgroupdesc_systemClock"
1559        android:priority="140" />
1560
1561    <!-- @SystemApi Allows applications to set the system time.
1562    <p>Not for use by third-party applications. -->
1563    <permission android:name="android.permission.SET_TIME"
1564        android:protectionLevel="signature|system"
1565        android:label="@string/permlab_setTime"
1566        android:description="@string/permdesc_setTime" />
1567
1568    <!-- Allows applications to set the system time zone -->
1569    <permission android:name="android.permission.SET_TIME_ZONE"
1570        android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
1571        android:protectionLevel="normal"
1572        android:label="@string/permlab_setTimeZone"
1573        android:description="@string/permdesc_setTimeZone" />
1574
1575    <!-- ==================================================== -->
1576    <!-- Permissions related to changing status bar   -->
1577    <!-- ==================================================== -->
1578    <eat-comment />
1579
1580    <!-- Used for permissions that change the status bar -->
1581    <permission-group android:name="android.permission-group.STATUS_BAR"
1582        android:label="@string/permgrouplab_statusBar"
1583        android:icon="@drawable/perm_group_status_bar"
1584        android:description="@string/permgroupdesc_statusBar"
1585        android:priority="110" />
1586
1587    <!-- Allows an application to expand or collapse the status bar. -->
1588    <permission android:name="android.permission.EXPAND_STATUS_BAR"
1589        android:permissionGroup="android.permission-group.STATUS_BAR"
1590        android:protectionLevel="normal"
1591        android:label="@string/permlab_expandStatusBar"
1592        android:description="@string/permdesc_expandStatusBar" />
1593
1594    <!-- ============================================================== -->
1595    <!-- Permissions related to adding/removing shortcuts from Launcher -->
1596    <!-- ============================================================== -->
1597    <eat-comment />
1598
1599    <!-- Allows an application to install a shortcut in Launcher -->
1600    <permission
1601        android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
1602        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1603        android:protectionLevel="dangerous"
1604        android:label="@string/permlab_install_shortcut"
1605        android:description="@string/permdesc_install_shortcut" />
1606
1607        <!-- Allows an application to uninstall a shortcut in Launcher -->
1608    <permission
1609        android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
1610        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1611        android:protectionLevel="dangerous"
1612        android:label="@string/permlab_uninstall_shortcut"
1613        android:description="@string/permdesc_uninstall_shortcut"/>
1614
1615    <!-- ==================================================== -->
1616    <!-- Permissions related to accessing sync settings   -->
1617    <!-- ==================================================== -->
1618    <eat-comment />
1619
1620    <!-- Used for permissions that access the sync settings or sync
1621         related information. -->
1622    <permission-group android:name="android.permission-group.SYNC_SETTINGS"
1623        android:label="@string/permgrouplab_syncSettings"
1624        android:icon="@drawable/perm_group_sync_settings"
1625        android:description="@string/permgroupdesc_syncSettings"
1626        android:priority="120" />
1627
1628    <!-- Allows applications to read the sync settings -->
1629    <permission android:name="android.permission.READ_SYNC_SETTINGS"
1630        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1631        android:protectionLevel="normal"
1632        android:description="@string/permdesc_readSyncSettings"
1633        android:label="@string/permlab_readSyncSettings" />
1634
1635    <!-- Allows applications to write the sync settings -->
1636    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
1637        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1638        android:protectionLevel="normal"
1639        android:description="@string/permdesc_writeSyncSettings"
1640        android:label="@string/permlab_writeSyncSettings" />
1641
1642    <!-- Allows applications to read the sync stats -->
1643    <permission android:name="android.permission.READ_SYNC_STATS"
1644        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1645        android:protectionLevel="normal"
1646        android:description="@string/permdesc_readSyncStats"
1647        android:label="@string/permlab_readSyncStats" />
1648
1649
1650    <!-- ============================================ -->
1651    <!-- Permissions for low-level system interaction -->
1652    <!-- ============================================ -->
1653    <eat-comment />
1654
1655    <!-- Group of permissions that are related to system APIs.  Many
1656         of these are not permissions the user will be expected to understand,
1657         and such permissions should generally be marked as "normal" protection
1658         level so they don't get displayed.  This can also, however, be used
1659         for miscellaneous features that provide access to the operating system,
1660         such as writing the global system settings. -->
1661    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
1662        android:label="@string/permgrouplab_systemTools"
1663        android:icon="@drawable/perm_group_system_tools"
1664        android:description="@string/permgroupdesc_systemTools"
1665        android:priority="100" />
1666
1667    <!-- @SystemApi @hide Change the screen compatibility mode of applications -->
1668    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1669        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1670        android:protectionLevel="signature"
1671        android:label="@string/permlab_setScreenCompatibility"
1672        android:description="@string/permdesc_setScreenCompatibility" />
1673
1674    <!-- Allows an application to access all multi-user external storage @hide -->
1675    <permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"
1676        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1677        android:label="@string/permlab_sdcardAccessAll"
1678        android:description="@string/permdesc_sdcardAccessAll"
1679        android:protectionLevel="signature" />
1680
1681    <!-- @SystemApi Allows an application to modify the current configuration, such
1682         as locale. -->
1683    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1684        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1685        android:protectionLevel="signature|system|development"
1686        android:label="@string/permlab_changeConfiguration"
1687        android:description="@string/permdesc_changeConfiguration" />
1688
1689    <!-- Allows an application to read or write the system settings. -->
1690    <permission android:name="android.permission.WRITE_SETTINGS"
1691        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1692        android:protectionLevel="normal"
1693        android:label="@string/permlab_writeSettings"
1694        android:description="@string/permdesc_writeSettings" />
1695
1696    <!-- @SystemApi Allows an application to modify the Google service map.
1697    <p>Not for use by third-party applications. -->
1698    <permission android:name="android.permission.WRITE_GSERVICES"
1699        android:protectionLevel="signature|system"
1700        android:label="@string/permlab_writeGservices"
1701        android:description="@string/permdesc_writeGservices" />
1702
1703    <!-- @SystemApi Allows an application to call
1704        {@link android.app.ActivityManager#forceStopPackage}.
1705        @hide -->
1706    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
1707        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1708        android:protectionLevel="signature|system"
1709        android:label="@string/permlab_forceStopPackages"
1710        android:description="@string/permdesc_forceStopPackages" />
1711
1712    <!-- @SystemApi @hide Allows an application to retrieve the content of the active window
1713         An active window is the window that has fired an accessibility event. -->
1714    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
1715        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1716        android:protectionLevel="signature|system"
1717        android:label="@string/permlab_retrieve_window_content"
1718        android:description="@string/permdesc_retrieve_window_content" />
1719
1720    <!-- @SystemApi Modify the global animation scaling factor.
1721    <p>Not for use by third-party applications. -->
1722    <permission android:name="android.permission.SET_ANIMATION_SCALE"
1723        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1724        android:protectionLevel="signature|system|development"
1725        android:label="@string/permlab_setAnimationScale"
1726        android:description="@string/permdesc_setAnimationScale" />
1727
1728    <!-- @deprecated This functionality will be removed in the future; please do
1729         not use. Allow an application to make its activities persistent. -->
1730    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
1731        android:permissionGroup="android.permission-group.APP_INFO"
1732        android:protectionLevel="normal"
1733        android:label="@string/permlab_persistentActivity"
1734        android:description="@string/permdesc_persistentActivity" />
1735
1736    <!-- Allows an application to find out the space used by any package. -->
1737    <permission android:name="android.permission.GET_PACKAGE_SIZE"
1738        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1739        android:protectionLevel="normal"
1740        android:label="@string/permlab_getPackageSize"
1741        android:description="@string/permdesc_getPackageSize" />
1742
1743    <!-- @deprecated No longer useful, see
1744         {@link android.content.pm.PackageManager#addPackageToPreferred}
1745         for details. -->
1746    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
1747        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1748        android:protectionLevel="signature"
1749        android:label="@string/permlab_setPreferredApplications"
1750        android:description="@string/permdesc_setPreferredApplications" />
1751
1752    <!-- Allows an application to receive the
1753         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
1754         broadcast after the system finishes booting.  If you don't
1755         request this permission, you will not receive the broadcast at
1756         that time.  Though holding this permission does not have any
1757         security implications, it can have a negative impact on the
1758         user experience by increasing the amount of time it takes the
1759         system to start and allowing applications to have themselves
1760         running without the user being aware of them.  As such, you must
1761         explicitly declare your use of this facility to make that visible
1762         to the user. -->
1763    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
1764        android:permissionGroup="android.permission-group.APP_INFO"
1765        android:protectionLevel="normal"
1766        android:label="@string/permlab_receiveBootCompleted"
1767        android:description="@string/permdesc_receiveBootCompleted" />
1768
1769    <!-- Allows an application to broadcast sticky intents.  These are
1770         broadcasts whose data is held by the system after being finished,
1771         so that clients can quickly retrieve that data without having
1772         to wait for the next broadcast. -->
1773    <permission android:name="android.permission.BROADCAST_STICKY"
1774        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1775        android:protectionLevel="normal"
1776        android:label="@string/permlab_broadcastSticky"
1777        android:description="@string/permdesc_broadcastSticky" />
1778
1779    <!-- @SystemApi Allows mounting and unmounting file systems for removable storage.
1780    <p>Not for use by third-party applications.-->
1781    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
1782        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1783        android:protectionLevel="system|signature"
1784        android:label="@string/permlab_mount_unmount_filesystems"
1785        android:description="@string/permdesc_mount_unmount_filesystems" />
1786
1787    <!-- @SystemApi Allows formatting file systems for removable storage.
1788    <p>Not for use by third-party applications. -->
1789    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
1790        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1791        android:protectionLevel="system|signature"
1792        android:label="@string/permlab_mount_format_filesystems"
1793        android:description="@string/permdesc_mount_format_filesystems" />
1794
1795    <!-- Allows access to ASEC non-destructive API calls
1796         @hide  -->
1797    <permission android:name="android.permission.ASEC_ACCESS"
1798        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1799        android:protectionLevel="signature"
1800        android:label="@string/permlab_asec_access"
1801        android:description="@string/permdesc_asec_access" />
1802
1803    <!-- Allows creation of ASEC volumes
1804         @hide  -->
1805    <permission android:name="android.permission.ASEC_CREATE"
1806        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1807        android:protectionLevel="signature"
1808        android:label="@string/permlab_asec_create"
1809        android:description="@string/permdesc_asec_create" />
1810
1811    <!-- Allows destruction of ASEC volumes
1812         @hide  -->
1813    <permission android:name="android.permission.ASEC_DESTROY"
1814        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1815        android:protectionLevel="signature"
1816        android:label="@string/permlab_asec_destroy"
1817        android:description="@string/permdesc_asec_destroy" />
1818
1819    <!-- Allows mount / unmount of ASEC volumes
1820         @hide  -->
1821    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
1822        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1823        android:protectionLevel="signature"
1824        android:label="@string/permlab_asec_mount_unmount"
1825        android:description="@string/permdesc_asec_mount_unmount" />
1826
1827    <!-- Allows rename of ASEC volumes
1828         @hide  -->
1829    <permission android:name="android.permission.ASEC_RENAME"
1830        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1831        android:protectionLevel="signature"
1832        android:label="@string/permlab_asec_rename"
1833        android:description="@string/permdesc_asec_rename" />
1834
1835    <!-- @SystemApi Allows applications to write the apn settings.
1836    <p>Not for use by third-party applications. -->
1837    <permission android:name="android.permission.WRITE_APN_SETTINGS"
1838                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1839                android:protectionLevel="signature|system"
1840                android:description="@string/permdesc_writeApnSettings"
1841                android:label="@string/permlab_writeApnSettings" />
1842
1843    <!-- Allows an application to allow access the subscribed feeds
1844         ContentProvider. -->
1845    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1846        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1847        android:label="@string/permlab_subscribedFeedsRead"
1848        android:description="@string/permdesc_subscribedFeedsRead"
1849        android:protectionLevel="normal" />
1850    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1851        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1852        android:label="@string/permlab_subscribedFeedsWrite"
1853        android:description="@string/permdesc_subscribedFeedsWrite"
1854        android:protectionLevel="dangerous" />
1855
1856    <!-- Allows applications to change network connectivity state -->
1857    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
1858        android:permissionGroup="android.permission-group.NETWORK"
1859        android:protectionLevel="normal"
1860        android:description="@string/permdesc_changeNetworkState"
1861        android:label="@string/permlab_changeNetworkState" />
1862
1863    <!-- Allows an application to clear the caches of all installed
1864         applications on the device.  -->
1865    <permission android:name="android.permission.CLEAR_APP_CACHE"
1866        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1867        android:protectionLevel="dangerous"
1868        android:label="@string/permlab_clearAppCache"
1869        android:description="@string/permdesc_clearAppCache" />
1870
1871    <!-- @SystemApi Allows an application to use any media decoder when decoding for playback
1872         @hide -->
1873    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
1874        android:protectionLevel="signature|system"
1875        android:label="@string/permlab_anyCodecForPlayback"
1876        android:description="@string/permdesc_anyCodecForPlayback" />
1877
1878    <!-- @SystemApi Allows an application to install and/or uninstall CA certificates on
1879         behalf of the user.
1880         @hide -->
1881    <permission android:name="android.permission.MANAGE_CA_CERTIFICATES"
1882        android:protectionLevel="signature|system"
1883        android:label="@string/permlab_manageCaCertificates"
1884        android:description="@string/permdesc_manageCaCertificates" />
1885
1886    <!-- @SystemApi Allows an application to do certain operations needed for
1887         interacting with the recovery (system update) system.
1888         @hide -->
1889    <permission android:name="android.permission.RECOVERY"
1890        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1891        android:protectionLevel="signature|system"
1892        android:label="@string/permlab_recovery"
1893        android:description="@string/permdesc_recovery" />
1894
1895    <!-- Allows the system to bind to an application's task services
1896         @hide -->
1897    <permission android:name="android.permission.BIND_JOB_SERVICE"
1898        android:protectionLevel="signature"
1899        android:label="@string/permlab_bindJobService"
1900        android:description="@string/permdesc_bindJobService" />
1901    <uses-permission android:name="android.permission.BIND_JOB_SERVICE"/>
1902
1903    <!-- ========================================= -->
1904    <!-- Permissions for special development tools -->
1905    <!-- ========================================= -->
1906    <eat-comment />
1907
1908    <!-- Group of permissions that are related to development features.  These
1909         are not permissions that should appear in third-party applications; they
1910         protect APIs that are intended only to be used for development
1911         purposes. -->
1912    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
1913        android:label="@string/permgrouplab_developmentTools"
1914        android:description="@string/permgroupdesc_developmentTools"
1915        android:priority="310" />
1916
1917    <!-- @SystemApi Allows an application to read or write the secure system settings.
1918    <p>Not for use by third-party applications. -->
1919    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
1920        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1921        android:protectionLevel="signature|system|development"
1922        android:label="@string/permlab_writeSecureSettings"
1923        android:description="@string/permdesc_writeSecureSettings" />
1924
1925    <!-- @SystemApi Allows an application to retrieve state dump information from system services.
1926    <p>Not for use by third-party applications. -->
1927    <permission android:name="android.permission.DUMP"
1928        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1929        android:protectionLevel="signature|system|development"
1930        android:label="@string/permlab_dump"
1931        android:description="@string/permdesc_dump" />
1932
1933    <!-- @SystemApi Allows an application to read the low-level system log files.
1934    <p>Not for use by third-party applications, because
1935    Log entries can contain the user's private information. -->
1936    <permission android:name="android.permission.READ_LOGS"
1937        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1938        android:protectionLevel="signature|system|development"
1939        android:label="@string/permlab_readLogs"
1940        android:description="@string/permdesc_readLogs" />
1941
1942    <!-- @SystemApi Configure an application for debugging.
1943    <p>Not for use by third-party applications. -->
1944    <permission android:name="android.permission.SET_DEBUG_APP"
1945        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1946        android:protectionLevel="signature|system|development"
1947        android:label="@string/permlab_setDebugApp"
1948        android:description="@string/permdesc_setDebugApp" />
1949
1950    <!-- @SystemApi Allows an application to set the maximum number of (not needed)
1951         application processes that can be running.
1952         <p>Not for use by third-party applications. -->
1953    <permission android:name="android.permission.SET_PROCESS_LIMIT"
1954        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1955        android:protectionLevel="signature|system|development"
1956        android:label="@string/permlab_setProcessLimit"
1957        android:description="@string/permdesc_setProcessLimit" />
1958
1959    <!-- @SystemApi Allows an application to control whether activities are immediately
1960         finished when put in the background.
1961         <p>Not for use by third-party applications. -->
1962    <permission android:name="android.permission.SET_ALWAYS_FINISH"
1963        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1964        android:protectionLevel="signature|system|development"
1965        android:label="@string/permlab_setAlwaysFinish"
1966        android:description="@string/permdesc_setAlwaysFinish" />
1967
1968    <!-- @SystemApi Allow an application to request that a signal be sent to all persistent processes.
1969    <p>Not for use by third-party applications. -->
1970    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1971        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1972        android:protectionLevel="signature|system|development"
1973        android:label="@string/permlab_signalPersistentProcesses"
1974        android:description="@string/permdesc_signalPersistentProcesses" />
1975
1976    <!-- ==================================== -->
1977    <!-- Private (signature-only) permissions -->
1978    <!-- ==================================== -->
1979    <eat-comment />
1980
1981    <!-- @SystemApi Allows applications to RW to diagnostic resources.
1982    <p>Not for use by third-party applications. -->
1983    <permission android:name="android.permission.DIAGNOSTIC"
1984        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1985        android:protectionLevel="signature"
1986        android:description="@string/permdesc_diagnostic"
1987        android:label="@string/permlab_diagnostic" />
1988
1989    <!-- @SystemApi Allows an application to open, close, or disable the status bar
1990         and its icons.
1991         <p>Not for use by third-party applications. -->
1992    <permission android:name="android.permission.STATUS_BAR"
1993        android:label="@string/permlab_statusBar"
1994        android:description="@string/permdesc_statusBar"
1995        android:protectionLevel="signature|system" />
1996
1997    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
1998    @hide -->
1999    <permission android:name="android.permission.STATUS_BAR_SERVICE"
2000        android:label="@string/permlab_statusBarService"
2001        android:description="@string/permdesc_statusBarService"
2002        android:protectionLevel="signature" />
2003
2004    <!-- Allows an application to force a BACK operation on whatever is the
2005         top activity.
2006         <p>Not for use by third-party applications. -->
2007    <permission android:name="android.permission.FORCE_BACK"
2008        android:label="@string/permlab_forceBack"
2009        android:description="@string/permdesc_forceBack"
2010        android:protectionLevel="signature" />
2011
2012    <!-- @SystemApi Allows an application to update device statistics.
2013    <p>Not for use by third-party applications. -->
2014    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
2015        android:label="@string/permlab_updateBatteryStats"
2016        android:description="@string/permdesc_updateBatteryStats"
2017        android:protectionLevel="signature|system" />
2018
2019    <!-- @SystemApi @hide Allows an application to collect battery statistics -->
2020    <permission android:name="android.permission.GET_APP_OPS_STATS"
2021        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2022        android:label="@string/permlab_getAppOpsStats"
2023        android:description="@string/permdesc_getAppOpsStats"
2024        android:protectionLevel="signature|system|development" />
2025
2026    <!-- @SystemApi Allows an application to update application operation statistics. Not for
2027         use by third party apps. @hide -->
2028    <permission android:name="android.permission.UPDATE_APP_OPS_STATS"
2029        android:label="@string/permlab_updateAppOpsStats"
2030        android:description="@string/permdesc_updateAppOpsStats"
2031        android:protectionLevel="signature|system" />
2032
2033    <!-- Allows an application to open windows that are for use by parts
2034         of the system user interface.
2035         <p>Not for use by third-party applications. -->
2036    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
2037        android:label="@string/permlab_internalSystemWindow"
2038        android:description="@string/permdesc_internalSystemWindow"
2039        android:protectionLevel="signature" />
2040
2041    <!-- Allows an application to manage (create, destroy,
2042         Z-order) application tokens in the window manager.
2043         <p>Not for use by third-party applications. -->
2044    <permission android:name="android.permission.MANAGE_APP_TOKENS"
2045        android:label="@string/permlab_manageAppTokens"
2046        android:description="@string/permdesc_manageAppTokens"
2047        android:protectionLevel="signature" />
2048
2049    <!-- @hide Allows the application to temporarily freeze the screen for a
2050         full-screen transition. -->
2051    <permission android:name="android.permission.FREEZE_SCREEN"
2052        android:label="@string/permlab_freezeScreen"
2053        android:description="@string/permdesc_freezeScreen"
2054        android:protectionLevel="signature" />
2055
2056    <!-- Allows an application to inject user events (keys, touch, trackball)
2057         into the event stream and deliver them to ANY window.  Without this
2058         permission, you can only deliver events to windows in your own process.
2059         <p>Not for use by third-party applications. -->
2060    <permission android:name="android.permission.INJECT_EVENTS"
2061        android:label="@string/permlab_injectEvents"
2062        android:description="@string/permdesc_injectEvents"
2063        android:protectionLevel="signature" />
2064
2065    <!-- @hide Allows an application to register an input filter which filters the stream
2066         of user events (keys, touch, trackball) before they are dispatched to any window. -->
2067    <permission android:name="android.permission.FILTER_EVENTS"
2068        android:label="@string/permlab_filter_events"
2069        android:description="@string/permdesc_filter_events"
2070        android:protectionLevel="signature" />
2071
2072    <!-- @hide Allows an application to retrieve the window token from the accessibility manager. -->
2073    <permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN"
2074        android:label="@string/permlab_retrieveWindowToken"
2075        android:description="@string/permdesc_retrieveWindowToken"
2076        android:protectionLevel="signature" />
2077
2078    <!-- @hide Allows an application to collect frame statistics -->
2079    <permission android:name="android.permission.FRAME_STATS"
2080         android:label="@string/permlab_frameStats"
2081         android:description="@string/permdesc_frameStats"
2082         android:protectionLevel="signature" />
2083
2084    <!-- @hide Allows an application to temporary enable accessibility on the device. -->
2085    <permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
2086        android:label="@string/permlab_temporary_enable_accessibility"
2087        android:description="@string/permdesc_temporary_enable_accessibility"
2088        android:protectionLevel="signature" />
2089
2090    <!-- Allows an application to watch and control how activities are
2091         started globally in the system.  Only for is in debugging
2092         (usually the monkey command).
2093         <p>Not for use by third-party applications. -->
2094    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
2095        android:label="@string/permlab_runSetActivityWatcher"
2096        android:description="@string/permdesc_runSetActivityWatcher"
2097        android:protectionLevel="signature" />
2098
2099    <!-- @SystemApi Allows an application to call the activity manager shutdown() API
2100         to put the higher-level system there into a shutdown state.
2101         @hide -->
2102    <permission android:name="android.permission.SHUTDOWN"
2103        android:label="@string/permlab_shutdown"
2104        android:description="@string/permdesc_shutdown"
2105        android:protectionLevel="signature|system" />
2106
2107    <!-- @SystemApi Allows an application to tell the activity manager to temporarily
2108         stop application switches, putting it into a special mode that
2109         prevents applications from immediately switching away from some
2110         critical UI such as the home screen.
2111         @hide -->
2112    <permission android:name="android.permission.STOP_APP_SWITCHES"
2113        android:label="@string/permlab_stopAppSwitches"
2114        android:description="@string/permdesc_stopAppSwitches"
2115        android:protectionLevel="signature|system" />
2116
2117    <!-- Allows an application to retrieve private information about
2118         the current top activity, such as any assist context it can provide.
2119         <p>Not for use by third-party applications. -->
2120    <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
2121        android:label="@string/permlab_getTopActivityInfo"
2122        android:description="@string/permdesc_getTopActivityInfo"
2123        android:protectionLevel="signature" />
2124
2125    <!-- Allows an application to retrieve the current state of keys and
2126         switches.
2127         <p>Not for use by third-party applications.
2128         @deprecated The API that used this permission has been removed. -->
2129    <permission android:name="android.permission.READ_INPUT_STATE"
2130        android:label="@string/permlab_readInputState"
2131        android:description="@string/permdesc_readInputState"
2132        android:protectionLevel="signature" />
2133
2134    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
2135         to ensure that only the system can bind to it. -->
2136    <permission android:name="android.permission.BIND_INPUT_METHOD"
2137        android:label="@string/permlab_bindInputMethod"
2138        android:description="@string/permdesc_bindInputMethod"
2139        android:protectionLevel="signature" />
2140
2141    <!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
2142         to ensure that only the system can bind to it. -->
2143    <permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
2144        android:label="@string/permlab_bindAccessibilityService"
2145        android:description="@string/permdesc_bindAccessibilityService"
2146        android:protectionLevel="signature" />
2147
2148    <!-- Must be required by a {@link android.printservice.PrintService},
2149         to ensure that only the system can bind to it. -->
2150    <permission android:name="android.permission.BIND_PRINT_SERVICE"
2151        android:label="@string/permlab_bindPrintService"
2152        android:description="@string/permdesc_bindPrintService"
2153        android:protectionLevel="signature" />
2154
2155    <!-- Must be required by a {@link android.nfc.cardemulation.HostApduService}
2156         or {@link android.nfc.cardemulation.OffHostApduService} to ensure that only
2157         the system can bind to it. -->
2158    <permission android:name="android.permission.BIND_NFC_SERVICE"
2159        android:label="@string/permlab_bindNfcService"
2160        android:description="@string/permdesc_bindNfcService"
2161        android:protectionLevel="signature" />
2162
2163    <!-- Must be required by the PrintSpooler to ensure that only the system can bind to it.
2164         @hide -->
2165    <permission android:name="android.permission.BIND_PRINT_SPOOLER_SERVICE"
2166        android:label="@string/permlab_bindPrintSpoolerService"
2167        android:description="@string/permdesc_bindPrintSpoolerService"
2168        android:protectionLevel="signature" />
2169
2170    <!-- Must be required by a TextService (e.g. SpellCheckerService)
2171         to ensure that only the system can bind to it. -->
2172    <permission android:name="android.permission.BIND_TEXT_SERVICE"
2173        android:label="@string/permlab_bindTextService"
2174        android:description="@string/permdesc_bindTextService"
2175        android:protectionLevel="signature" />
2176
2177    <!-- Must be required by a {@link android.net.VpnService},
2178         to ensure that only the system can bind to it. -->
2179    <permission android:name="android.permission.BIND_VPN_SERVICE"
2180        android:label="@string/permlab_bindVpnService"
2181        android:description="@string/permdesc_bindVpnService"
2182        android:protectionLevel="signature" />
2183
2184    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
2185         to ensure that only the system can bind to it. -->
2186    <permission android:name="android.permission.BIND_WALLPAPER"
2187        android:label="@string/permlab_bindWallpaper"
2188        android:description="@string/permdesc_bindWallpaper"
2189        android:protectionLevel="signature|system" />
2190
2191    <!-- Must be required by a {@link android.service.voice.VoiceInteractionService},
2192         to ensure that only the system can bind to it. -->
2193    <permission android:name="android.permission.BIND_VOICE_INTERACTION"
2194        android:label="@string/permlab_bindVoiceInteraction"
2195        android:description="@string/permdesc_bindVoiceInteraction"
2196        android:protectionLevel="signature" />
2197
2198    <!-- Must be required by hotword enrollment application,
2199         to ensure that only the system can interact with it.
2200         @hide <p>Not for use by third-party applications.</p> -->
2201    <permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES"
2202        android:label="@string/permlab_manageVoiceKeyphrases"
2203        android:description="@string/permdesc_manageVoiceKeyphrases"
2204        android:protectionLevel="signature|system" />
2205
2206    <!-- Must be required by a {@link com.android.media.remotedisplay.RemoteDisplayProvider},
2207         to ensure that only the system can bind to it.
2208         @hide -->
2209    <permission android:name="android.permission.BIND_REMOTE_DISPLAY"
2210        android:label="@string/permlab_bindRemoteDisplay"
2211        android:description="@string/permdesc_bindRemoteDisplay"
2212        android:protectionLevel="signature" />
2213
2214    <!-- Must be required by a {@link android.media.tv.TvInputService}
2215         to ensure that only the system can bind to it. -->
2216    <permission android:name="android.permission.BIND_TV_INPUT"
2217        android:label="@string/permlab_bindTvInput"
2218        android:description="@string/permdesc_bindTvInput"
2219        android:protectionLevel="signature|system" />
2220
2221    <!-- @SystemApi Allows an application to modify parental controls
2222         <p>Not for use by third-party applications.
2223         @hide -->
2224    <permission android:name="android.permission.MODIFY_PARENTAL_CONTROLS"
2225        android:label="@string/permlab_modifyParentalControls"
2226        android:description="@string/permdesc_modifyParentalControls"
2227        android:protectionLevel="signature|system" />
2228
2229    <!-- Must be required by device administration receiver, to ensure that only the
2230         system can interact with it. -->
2231    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
2232        android:label="@string/permlab_bindDeviceAdmin"
2233        android:description="@string/permdesc_bindDeviceAdmin"
2234        android:protectionLevel="signature" />
2235
2236    <!-- @SystemApi Required to add or remove another application as a device admin.
2237         <p>Not for use by third-party applications.
2238         @hide -->
2239    <permission android:name="android.permission.MANAGE_DEVICE_ADMINS"
2240        android:label="@string/permlab_manageDeviceAdmins"
2241        android:description="@string/permdesc_manageDeviceAdmins"
2242        android:protectionLevel="signature|system" />
2243
2244    <!-- Allows low-level access to setting the orientation (actually
2245         rotation) of the screen.
2246         <p>Not for use by third-party applications. -->
2247    <permission android:name="android.permission.SET_ORIENTATION"
2248        android:label="@string/permlab_setOrientation"
2249        android:description="@string/permdesc_setOrientation"
2250        android:protectionLevel="signature" />
2251
2252    <!-- Allows low-level access to setting the pointer speed.
2253         <p>Not for use by third-party applications. -->
2254    <permission android:name="android.permission.SET_POINTER_SPEED"
2255        android:label="@string/permlab_setPointerSpeed"
2256        android:description="@string/permdesc_setPointerSpeed"
2257        android:protectionLevel="signature" />
2258
2259    <!-- Allows low-level access to setting input device calibration.
2260         <p>Not for use by normal applications.
2261         @hide -->
2262    <permission android:name="android.permission.SET_INPUT_CALIBRATION"
2263        android:label="@string/permlab_setInputCalibration"
2264        android:description="@string/permdesc_setInputCalibration"
2265        android:protectionLevel="signature" />
2266
2267    <!-- Allows low-level access to setting the keyboard layout.
2268         <p>Not for use by third-party applications.
2269         @hide -->
2270    <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
2271        android:label="@string/permlab_setKeyboardLayout"
2272        android:description="@string/permdesc_setKeyboardLayout"
2273        android:protectionLevel="signature" />
2274
2275    <!-- @SystemApi Allows an application to install packages.
2276    <p>Not for use by third-party applications. -->
2277    <permission android:name="android.permission.INSTALL_PACKAGES"
2278        android:label="@string/permlab_installPackages"
2279        android:description="@string/permdesc_installPackages"
2280        android:protectionLevel="signature|system" />
2281
2282    <!-- Allows an application to clear user data.
2283    <p>Not for use by third-party applications. -->
2284    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
2285        android:label="@string/permlab_clearAppUserData"
2286        android:description="@string/permdesc_clearAppUserData"
2287        android:protectionLevel="signature" />
2288
2289    <!-- @SystemApi Allows an application to delete cache files.
2290    <p>Not for use by third-party applications. -->
2291    <permission android:name="android.permission.DELETE_CACHE_FILES"
2292        android:label="@string/permlab_deleteCacheFiles"
2293        android:description="@string/permdesc_deleteCacheFiles"
2294        android:protectionLevel="signature|system" />
2295
2296    <!-- @SystemApi Allows an application to delete packages.
2297    <p>Not for use by third-party applications. -->
2298    <permission android:name="android.permission.DELETE_PACKAGES"
2299        android:label="@string/permlab_deletePackages"
2300        android:description="@string/permdesc_deletePackages"
2301        android:protectionLevel="signature|system" />
2302
2303    <!-- @SystemApi Allows an application to move location of installed package.
2304         @hide -->
2305    <permission android:name="android.permission.MOVE_PACKAGE"
2306        android:label="@string/permlab_movePackage"
2307        android:description="@string/permdesc_movePackage"
2308        android:protectionLevel="signature|system" />
2309
2310    <!-- @SystemApi Allows an application to change whether an application component (other than its own) is
2311         enabled or not.
2312         <p>Not for use by third-party applications. -->
2313    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
2314        android:label="@string/permlab_changeComponentState"
2315        android:description="@string/permdesc_changeComponentState"
2316        android:protectionLevel="signature|system" />
2317
2318    <!-- @hide Allows an application to grant or revoke specific permissions. -->
2319    <permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
2320        android:label="@string/permlab_grantRevokePermissions"
2321        android:description="@string/permdesc_grantRevokePermissions"
2322        android:protectionLevel="signature" />
2323
2324    <!-- Allows an application to use SurfaceFlinger's low level features.
2325    <p>Not for use by third-party applications. -->
2326    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
2327        android:label="@string/permlab_accessSurfaceFlinger"
2328        android:description="@string/permdesc_accessSurfaceFlinger"
2329        android:protectionLevel="signature" />
2330
2331    <!-- @SystemApi Allows an application to take screen shots and more generally
2332         get access to the frame buffer data.
2333         <p>Not for use by third-party applications. -->
2334    <permission android:name="android.permission.READ_FRAME_BUFFER"
2335        android:label="@string/permlab_readFrameBuffer"
2336        android:description="@string/permdesc_readFrameBuffer"
2337        android:protectionLevel="signature|system" />
2338
2339    <!-- Allows an application to use InputFlinger's low level features.
2340         @hide -->
2341    <permission android:name="android.permission.ACCESS_INPUT_FLINGER"
2342        android:label="@string/permlab_accessInputFlinger"
2343        android:description="@string/permdesc_accessInputFlinger"
2344        android:protectionLevel="signature" />
2345
2346    <!-- Allows an application to configure and connect to Wifi displays
2347         @hide -->
2348    <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
2349        android:label="@string/permlab_configureWifiDisplay"
2350        android:description="@string/permdesc_configureWifiDisplay"
2351        android:protectionLevel="signature" />
2352
2353    <!-- Allows an application to control low-level features of Wifi displays
2354         such as opening an RTSP socket.  This permission should only be used
2355         by the display manager.
2356         @hide -->
2357    <permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
2358        android:label="@string/permlab_controlWifiDisplay"
2359        android:description="@string/permdesc_controlWifiDisplay"
2360        android:protectionLevel="signature" />
2361
2362    <!-- @SystemApi Allows an application to capture audio output.
2363         <p>Not for use by third-party applications.</p> -->
2364    <permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT"
2365        android:label="@string/permlab_captureAudioOutput"
2366        android:description="@string/permdesc_captureAudioOutput"
2367        android:protectionLevel="signature|system" />
2368
2369    <!-- @SystemApi Allows an application to capture audio for hotword detection.
2370         <p>Not for use by third-party applications.</p>
2371         @hide -->
2372    <permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD"
2373        android:label="@string/permlab_captureAudioHotword"
2374        android:description="@string/permdesc_captureAudioHotword"
2375        android:protectionLevel="signature|system" />
2376
2377    <!-- @SystemApi Allows an application to modify audio routing and override policy decisions.
2378         <p>Not for use by third-party applications.</p>
2379         @hide -->
2380    <permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
2381        android:label="@string/permlab_modifyAudioRouting"
2382        android:description="@string/permdesc_modifyAudioRouting"
2383        android:protectionLevel="signature|system" />
2384
2385    <!-- @SystemApi Allows an application to capture video output.
2386         <p>Not for use by third-party applications.</p> -->
2387    <permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
2388        android:label="@string/permlab_captureVideoOutput"
2389        android:description="@string/permdesc_captureVideoOutput"
2390        android:protectionLevel="signature|system" />
2391
2392    <!-- @SystemApi Allows an application to capture secure video output.
2393         <p>Not for use by third-party applications.</p> -->
2394    <permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
2395        android:label="@string/permlab_captureSecureVideoOutput"
2396        android:description="@string/permdesc_captureSecureVideoOutput"
2397        android:protectionLevel="signature|system" />
2398
2399    <!-- @SystemApi Allows an application to know what content is playing and control its playback.
2400         <p>Not for use by third-party applications due to privacy of media consumption</p>  -->
2401    <permission android:name="android.permission.MEDIA_CONTENT_CONTROL"
2402        android:label="@string/permlab_mediaContentControl"
2403        android:description="@string/permdesc_mediaContentControl"
2404        android:protectionLevel="signature|system" />
2405
2406    <!-- Required to be able to disable the device (very dangerous!).
2407    <p>Not for use by third-party applications.. -->
2408    <permission android:name="android.permission.BRICK"
2409        android:label="@string/permlab_brick"
2410        android:description="@string/permdesc_brick"
2411        android:protectionLevel="signature" />
2412
2413    <!-- @SystemApi Required to be able to reboot the device.
2414    <p>Not for use by third-party applications. -->
2415    <permission android:name="android.permission.REBOOT"
2416        android:label="@string/permlab_reboot"
2417        android:description="@string/permdesc_reboot"
2418        android:protectionLevel="signature|system" />
2419
2420   <!-- Allows low-level access to power management.
2421   <p>Not for use by third-party applications. -->
2422    <permission android:name="android.permission.DEVICE_POWER"
2423        android:label="@string/permlab_devicePower"
2424        android:description="@string/permdesc_devicePower"
2425        android:protectionLevel="signature" />
2426
2427   <!-- Allows access to the PowerManager.userActivity function.
2428   <p>Not for use by third-party applications. @hide @SystemApi -->
2429    <permission android:name="android.permission.USER_ACTIVITY"
2430        android:label="@string/permlab_userActivity"
2431        android:description="@string/permdesc_userActivity"
2432        android:protectionLevel="signature|system" />
2433
2434   <!-- @hide Allows low-level access to tun tap driver -->
2435    <permission android:name="android.permission.NET_TUNNELING"
2436        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2437        android:protectionLevel="signature" />
2438
2439    <!-- Run as a manufacturer test application, running as the root user.
2440         Only available when the device is running in manufacturer test mode.
2441         <p>Not for use by third-party applications. -->
2442    <permission android:name="android.permission.FACTORY_TEST"
2443        android:label="@string/permlab_factoryTest"
2444        android:description="@string/permdesc_factoryTest"
2445        android:protectionLevel="signature" />
2446
2447    <!-- Allows an application to broadcast a notification that an application
2448         package has been removed.
2449         <p>Not for use by third-party applications. -->
2450    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
2451        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2452        android:label="@string/permlab_broadcastPackageRemoved"
2453        android:description="@string/permdesc_broadcastPackageRemoved"
2454        android:protectionLevel="signature" />
2455
2456    <!-- Allows an application to broadcast an SMS receipt notification.
2457    <p>Not for use by third-party applications. -->
2458    <permission android:name="android.permission.BROADCAST_SMS"
2459        android:permissionGroup="android.permission-group.MESSAGES"
2460        android:label="@string/permlab_broadcastSmsReceived"
2461        android:description="@string/permdesc_broadcastSmsReceived"
2462        android:protectionLevel="signature" />
2463
2464    <!-- Allows an application to broadcast a WAP PUSH receipt notification.
2465    <p>Not for use by third-party applications. -->
2466    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
2467        android:permissionGroup="android.permission-group.MESSAGES"
2468        android:label="@string/permlab_broadcastWapPush"
2469        android:description="@string/permdesc_broadcastWapPush"
2470        android:protectionLevel="signature" />
2471
2472    <!-- @SystemApi Allows an application to broadcast a SCORE_NETWORKS request.
2473         <p>Not for use by third-party applications. @hide -->
2474    <permission android:name="android.permission.BROADCAST_SCORE_NETWORKS"
2475        android:label="@string/permlab_broadcastScoreNetworks"
2476        android:description="@string/permdesc_broadcastScoreNetworks"
2477        android:protectionLevel="signature|system" />
2478
2479    <!-- @SystemApi Not for use by third-party applications. -->
2480    <permission android:name="android.permission.MASTER_CLEAR"
2481        android:label="@string/permlab_masterClear"
2482        android:description="@string/permdesc_masterClear"
2483        android:protectionLevel="signature|system" />
2484
2485    <!-- @SystemApi Allows an application to call any phone number, including emergency
2486         numbers, without going through the Dialer user interface for the user
2487         to confirm the call being placed.
2488         <p>Not for use by third-party applications. -->
2489    <permission android:name="android.permission.CALL_PRIVILEGED"
2490        android:label="@string/permlab_callPrivileged"
2491        android:description="@string/permdesc_callPrivileged"
2492        android:protectionLevel="signature|system" />
2493
2494    <!-- @SystemApi Allows an application to perform CDMA OTA provisioning @hide -->
2495    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
2496        android:label="@string/permlab_performCdmaProvisioning"
2497        android:description="@string/permdesc_performCdmaProvisioning"
2498        android:protectionLevel="signature|system" />
2499
2500    <!-- @SystemApi Allows enabling/disabling location update notifications from
2501         the radio.
2502         <p>Not for use by third-party applications. -->
2503    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
2504        android:label="@string/permlab_locationUpdates"
2505        android:description="@string/permdesc_locationUpdates"
2506        android:protectionLevel="signature|system" />
2507
2508    <!-- @SystemApi Allows read/write access to the "properties" table in the checkin
2509         database, to change values that get uploaded.
2510         <p>Not for use by third-party applications. -->
2511    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
2512        android:label="@string/permlab_checkinProperties"
2513        android:description="@string/permdesc_checkinProperties"
2514        android:protectionLevel="signature|system" />
2515
2516    <!-- @SystemApi Allows an application to collect component usage
2517         statistics @hide -->
2518    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
2519        android:label="@string/permlab_pkgUsageStats"
2520        android:description="@string/permdesc_pkgUsageStats"
2521        android:protectionLevel="signature|development|appop" />
2522    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
2523
2524    <!-- @SystemApi Allows an application to collect battery statistics -->
2525    <permission android:name="android.permission.BATTERY_STATS"
2526        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2527        android:label="@string/permlab_batteryStats"
2528        android:description="@string/permdesc_batteryStats"
2529        android:protectionLevel="signature|system|development" />
2530
2531    <!-- @SystemApi Allows an application to control the backup and restore process.
2532    <p>Not for use by third-party applications.
2533         @hide pending API council -->
2534    <permission android:name="android.permission.BACKUP"
2535        android:label="@string/permlab_backup"
2536        android:description="@string/permdesc_backup"
2537        android:protectionLevel="signature|system" />
2538
2539    <!-- Allows a package to launch the secure full-backup confirmation UI.
2540         ONLY the system process may hold this permission.
2541         @hide -->
2542    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
2543        android:label="@string/permlab_confirm_full_backup"
2544        android:description="@string/permdesc_confirm_full_backup"
2545        android:protectionLevel="signature" />
2546
2547    <!-- @SystemApi Must be required by a {@link android.widget.RemoteViewsService},
2548         to ensure that only the system can bind to it. -->
2549    <permission android:name="android.permission.BIND_REMOTEVIEWS"
2550        android:label="@string/permlab_bindRemoteViews"
2551        android:description="@string/permdesc_bindRemoteViews"
2552        android:protectionLevel="signature|system" />
2553
2554    <!-- @SystemApi Allows an application to tell the AppWidget service which application
2555         can access AppWidget's data.  The normal user flow is that a user
2556         picks an AppWidget to go into a particular host, thereby giving that
2557         host application access to the private data from the AppWidget app.
2558         An application that has this permission should honor that contract.
2559         <p>Not for use by third-party applications. -->
2560    <permission android:name="android.permission.BIND_APPWIDGET"
2561        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2562        android:label="@string/permlab_bindGadget"
2563        android:description="@string/permdesc_bindGadget"
2564        android:protectionLevel="signature|system" />
2565
2566    <!-- @SystemApi Private permission, to restrict who can bring up a dialog to add a new
2567         keyguard widget
2568         @hide -->
2569    <permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
2570        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2571        android:protectionLevel="signature|system" />
2572
2573    <!-- @SystemApi Internal permission allowing an application to query/set which
2574         applications can bind AppWidgets.
2575         @hide -->
2576    <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
2577        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2578        android:protectionLevel="signature|system" />
2579
2580    <!-- Allows applications to change the background data setting.
2581    <p>Not for use by third-party applications.
2582         @hide pending API council -->
2583    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
2584        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2585        android:protectionLevel="signature"
2586        android:description="@string/permdesc_changeBackgroundDataSetting"
2587        android:label="@string/permlab_changeBackgroundDataSetting" />
2588
2589    <!-- @SystemApi This permission can be used on content providers to allow the global
2590         search system to access their data.  Typically it used when the
2591         provider has some permissions protecting it (which global search
2592         would not be expected to hold), and added as a read-only permission
2593         to the path in the provider where global search queries are
2594         performed.  This permission can not be held by regular applications;
2595         it is used by applications to protect themselves from everyone else
2596         besides global search. -->
2597    <permission android:name="android.permission.GLOBAL_SEARCH"
2598        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2599        android:protectionLevel="signature|system" />
2600
2601    <!-- Internal permission protecting access to the global search
2602         system: ensures that only the system can access the provider
2603         to perform queries (since this otherwise provides unrestricted
2604         access to a variety of content providers), and to write the
2605         search statistics (to keep applications from gaming the source
2606         ranking).
2607         @hide -->
2608    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
2609        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2610        android:protectionLevel="signature" />
2611
2612    <!-- @SystemApi Internal permission to allows an application to read indexable data.
2613        @hide -->
2614    <permission android:name="android.permission.READ_SEARCH_INDEXABLES"
2615        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2616        android:protectionLevel="signature|system" />
2617
2618    <!-- @SystemApi Allows applications to set a live wallpaper.
2619         @hide XXX Change to signature once the picker is moved to its
2620         own apk as Ghod Intended. -->
2621    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
2622        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2623        android:protectionLevel="signature|system" />
2624
2625    <!-- @SystemApi Allows applications to read dream settings and dream state.
2626         @hide -->
2627    <permission android:name="android.permission.READ_DREAM_STATE"
2628        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2629        android:protectionLevel="signature|system" />
2630
2631    <!-- @SystemApi Allows applications to write dream settings, and start or stop dreaming.
2632         @hide -->
2633    <permission android:name="android.permission.WRITE_DREAM_STATE"
2634        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2635        android:protectionLevel="signature|system" />
2636
2637    <!-- @SystemApi Allow an application to read and write the cache partition.
2638         @hide -->
2639    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
2640        android:label="@string/permlab_cache_filesystem"
2641        android:description="@string/permdesc_cache_filesystem"
2642        android:protectionLevel="signature|system" />
2643
2644    <!-- Must be required by default container service so that only
2645         the system can bind to it and use it to copy
2646         protected data to secure containers or files
2647         accessible to the system.
2648         @hide -->
2649    <permission android:name="android.permission.COPY_PROTECTED_DATA"
2650        android:label="@string/permlab_copyProtectedData"
2651        android:description="@string/permlab_copyProtectedData"
2652        android:protectionLevel="signature" />
2653
2654    <!-- @SystemApi Internal permission protecting access to the encryption methods
2655        @hide
2656    -->
2657    <permission android:name="android.permission.CRYPT_KEEPER"
2658        android:protectionLevel="signature|system" />
2659
2660    <!-- @SystemApi Allows an application to read historical network usage for
2661         specific networks and applications. @hide -->
2662    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
2663        android:label="@string/permlab_readNetworkUsageHistory"
2664        android:description="@string/permdesc_readNetworkUsageHistory"
2665        android:protectionLevel="signature|system" />
2666
2667    <!-- Allows an application to manage network policies (such as warning and disable
2668         limits) and to define application-specific rules. @hide -->
2669    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
2670        android:label="@string/permlab_manageNetworkPolicy"
2671        android:description="@string/permdesc_manageNetworkPolicy"
2672        android:protectionLevel="signature" />
2673
2674    <!-- @SystemApi Allows an application to account its network traffic against other UIDs. Used
2675         by system services like download manager and media server. Not for use by
2676         third party apps. @hide -->
2677    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
2678        android:label="@string/permlab_modifyNetworkAccounting"
2679        android:description="@string/permdesc_modifyNetworkAccounting"
2680        android:protectionLevel="signature|system" />
2681
2682    <!-- C2DM permission.
2683         @hide Used internally.
2684     -->
2685    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
2686          android:protectionLevel="signature" />
2687    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
2688
2689    <!-- @SystemApi @hide Package verifier needs to have this permission before the PackageManager will
2690         trust it to verify packages.
2691    -->
2692    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
2693        android:label="@string/permlab_packageVerificationAgent"
2694        android:description="@string/permdesc_packageVerificationAgent"
2695        android:protectionLevel="signature|system" />
2696
2697    <!-- Must be required by package verifier receiver, to ensure that only the
2698         system can interact with it.
2699         @hide
2700    -->
2701    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
2702        android:label="@string/permlab_bindPackageVerifier"
2703        android:description="@string/permdesc_bindPackageVerifier"
2704        android:protectionLevel="signature" />
2705
2706    <!-- @SystemApi Allows applications to access serial ports via the SerialManager.
2707         @hide -->
2708    <permission android:name="android.permission.SERIAL_PORT"
2709        android:label="@string/permlab_serialPort"
2710        android:description="@string/permdesc_serialPort"
2711        android:protectionLevel="signature|system" />
2712
2713    <!-- Allows the holder to access content providers from outside an ApplicationThread.
2714         This permission is enforced by the ActivityManagerService on the corresponding APIs,
2715         in particular ActivityManagerService#getContentProviderExternal(String) and
2716         ActivityManagerService#removeContentProviderExternal(String).
2717         @hide
2718    -->
2719    <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
2720        android:label="@string/permlab_accessContentProvidersExternally"
2721        android:description="@string/permdesc_accessContentProvidersExternally"
2722        android:protectionLevel="signature" />
2723
2724    <!-- @SystemApi Allows an application to hold an UpdateLock, recommending that a headless
2725         OTA reboot *not* occur while the lock is held.
2726         @hide -->
2727    <permission android:name="android.permission.UPDATE_LOCK"
2728        android:label="@string/permlab_updateLock"
2729        android:description="@string/permdesc_updateLock"
2730        android:protectionLevel="signatureOrSystem" />
2731
2732    <!-- @SystemApi Allows an application to read the current set of notifications, including
2733         any metadata and intents attached.
2734         @hide -->
2735    <permission android:name="android.permission.ACCESS_NOTIFICATIONS"
2736        android:label="@string/permlab_accessNotifications"
2737        android:description="@string/permdesc_accessNotifications"
2738        android:protectionLevel="signature|system" />
2739
2740    <!-- Allows access to keyguard secure storage.  Only allowed for system processes.
2741        @hide -->
2742    <permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"
2743        android:protectionLevel="signature"
2744        android:label="@string/permlab_access_keyguard_secure_storage"
2745        android:description="@string/permdesc_access_keyguard_secure_storage" />
2746
2747    <!-- Allows an application to control keyguard.  Only allowed for system processes.
2748        @hide -->
2749    <permission android:name="android.permission.CONTROL_KEYGUARD"
2750        android:protectionLevel="signature"
2751        android:label="@string/permlab_control_keyguard"
2752        android:description="@string/permdesc_control_keyguard" />
2753
2754    <!-- Allows an application to listen to trust changes.  Only allowed for system processes.
2755        @hide -->
2756    <permission android:name="android.permission.TRUST_LISTENER"
2757                android:protectionLevel="signature"
2758                android:label="@string/permlab_trust_listener"
2759                android:description="@string/permdesc_trust_listener" />
2760
2761    <!-- @SystemApi Allows an application to provide a trust agent.
2762         @hide For security reasons, this is a platform-only permission. -->
2763    <permission android:name="android.permission.PROVIDE_TRUST_AGENT"
2764                android:protectionLevel="signatureOrSystem"
2765                android:label="@string/permlab_provide_trust_agent"
2766                android:description="@string/permdesc_provide_trust_agent" />
2767
2768    <!-- Allows an application to launch the trust agent settings activity.
2769        @hide -->
2770    <permission android:name="android.permission.LAUNCH_TRUST_AGENT_SETTINGS"
2771        android:protectionLevel="signatureOrSystem"
2772        android:label="@string/permlab_launch_trust_agent_settings"
2773        android:description="@string/permdesc_launch_trust_agent_settings" />
2774
2775    <!-- @SystemApi Must be required by an {@link
2776        android.service.trust.TrustAgentService},
2777        to ensure that only the system can bind to it.
2778        @hide -->
2779    <permission android:name="android.permission.BIND_TRUST_AGENT"
2780                android:protectionLevel="signature"
2781                android:label="@string/permlab_bind_trust_agent_service"
2782                android:description="@string/permdesc_bind_trust_agent_service" />
2783
2784    <!-- Must be required by an {@link
2785         android.service.notification.NotificationListenerService},
2786         to ensure that only the system can bind to it. -->
2787    <permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
2788        android:label="@string/permlab_bindNotificationListenerService"
2789        android:description="@string/permdesc_bindNotificationListenerService"
2790        android:protectionLevel="signature" />
2791
2792    <!-- @SystemApi Must be required by a {@link
2793         android.service.notification.ConditionProviderService},
2794         to ensure that only the system can bind to it.
2795         @hide -->
2796    <permission android:name="android.permission.BIND_CONDITION_PROVIDER_SERVICE"
2797        android:label="@string/permlab_bindConditionProviderService"
2798        android:description="@string/permdesc_bindConditionProviderService"
2799        android:protectionLevel="signature" />
2800
2801    <!-- Must be required by an {@link android.service.dreams.DreamService},
2802         to ensure that only the system can bind to it. -->
2803    <permission android:name="android.permission.BIND_DREAM_SERVICE"
2804        android:label="@string/permlab_bindDreamService"
2805        android:description="@string/permdesc_bindDreamService"
2806        android:protectionLevel="signature" />
2807
2808    <!-- @SystemApi Allows an application to call into a carrier setup flow. It is up to the
2809         carrier setup application to enforce that this permission is required
2810         @hide This is not a third-party API (intended for OEMs and system apps). -->
2811    <permission android:name="android.permission.INVOKE_CARRIER_SETUP"
2812        android:label="@string/permlab_invokeCarrierSetup"
2813        android:description="@string/permdesc_invokeCarrierSetup"
2814        android:protectionLevel="signature|system" />
2815
2816    <!-- @SystemApi Allows an application to listen for network condition observations.
2817         @hide This is not a third-party API (intended for system apps). -->
2818    <permission android:name="android.permission.ACCESS_NETWORK_CONDITIONS"
2819        android:label="@string/permlab_accessNetworkConditions"
2820        android:description="@string/permdesc_accessNetworkConditions"
2821        android:protectionLevel="signature|system" />
2822
2823    <!-- @SystemApi Allows an application to provision and access DRM certificates
2824         @hide This is not a third-party API (intended for system apps). -->
2825    <permission android:name="android.permission.ACCESS_DRM_CERTIFICATES"
2826        android:label="@string/permlab_accessDrmCertificates"
2827        android:description="@string/permdesc_accessDrmCertificates"
2828        android:protectionLevel="signature|system" />
2829
2830    <!-- Api Allows an application to manage media projection sessions.
2831         @hide This is not a third-party API (intended for system apps). -->
2832    <permission android:name="android.permission.MANAGE_MEDIA_PROJECTION"
2833        android:label="@string/permlab_manageMediaProjection"
2834        android:description="@string/permdesc_manageMediaProjection"
2835        android:protectionLevel="signature" />
2836
2837    <!-- @SystemApi Allows an application to read install sessions
2838         @hide This is not a third-party API (intended for system apps). -->
2839    <permission android:name="android.permission.READ_INSTALL_SESSIONS"
2840        android:label="@string/permlab_readInstallSessions"
2841        android:description="@string/permdesc_readInstallSessions" />
2842
2843    <!-- @SystemApi Allows an application to remove DRM certificates
2844         @hide This is not a third-party API (intended for system apps). -->
2845    <permission android:name="android.permission.REMOVE_DRM_CERTIFICATES"
2846        android:label="@string/permlab_removeDrmCertificates"
2847        android:description="@string/permdesc_removeDrmCertificates"
2848        android:protectionLevel="signature|system" />
2849
2850    <!-- The system process is explicitly the only one allowed to launch the
2851         confirmation UI for full backup/restore -->
2852    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
2853
2854    <application android:process="system"
2855                 android:persistent="true"
2856                 android:hasCode="false"
2857                 android:label="@string/android_system_label"
2858                 android:allowClearUserData="false"
2859                 android:backupAgent="com.android.server.backup.SystemBackupAgent"
2860                 android:killAfterRestore="false"
2861                 android:icon="@drawable/ic_launcher_android"
2862                 android:supportsRtl="true">
2863        <activity android:name="com.android.internal.app.ChooserActivity"
2864                android:theme="@style/Theme.DeviceDefault.Resolver"
2865                android:finishOnCloseSystemDialogs="true"
2866                android:excludeFromRecents="true"
2867                android:documentLaunchMode="never"
2868                android:relinquishTaskIdentity="true"
2869                android:process=":ui">
2870            <intent-filter>
2871                <action android:name="android.intent.action.CHOOSER" />
2872                <category android:name="android.intent.category.DEFAULT" />
2873            </intent-filter>
2874        </activity>
2875        <activity android:name="com.android.internal.app.IntentForwarderActivity"
2876                android:finishOnCloseSystemDialogs="true"
2877                android:theme="@style/Theme.NoDisplay"
2878                android:excludeFromRecents="true"
2879                android:label="@string/user_owner_label"
2880                android:exported="true"
2881                >
2882        </activity>
2883        <activity-alias android:name="com.android.internal.app.ForwardIntentToUserOwner"
2884                android:targetActivity="com.android.internal.app.IntentForwarderActivity"
2885                android:exported="true"
2886                android:label="@string/user_owner_label">
2887        </activity-alias>
2888        <activity-alias android:name="com.android.internal.app.ForwardIntentToManagedProfile"
2889                android:targetActivity="com.android.internal.app.IntentForwarderActivity"
2890                android:icon="@drawable/ic_corp_icon"
2891                android:exported="true"
2892                android:label="@string/managed_profile_label">
2893        </activity-alias>
2894        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
2895                android:theme="@style/Theme.Material.Dialog"
2896                android:label="@string/heavy_weight_switcher_title"
2897                android:finishOnCloseSystemDialogs="true"
2898                android:excludeFromRecents="true"
2899                android:process=":ui">
2900        </activity>
2901        <activity android:name="com.android.internal.app.PlatLogoActivity"
2902                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
2903                android:process=":ui">
2904        </activity>
2905        <activity android:name="com.android.internal.app.DisableCarModeActivity"
2906                android:theme="@style/Theme.NoDisplay"
2907                android:excludeFromRecents="true"
2908                android:process=":ui">
2909        </activity>
2910
2911        <activity android:name="android.accounts.ChooseAccountActivity"
2912                android:excludeFromRecents="true"
2913                android:exported="true"
2914                android:theme="@android:style/Theme.Material.Dialog"
2915                android:label="@string/choose_account_label"
2916                android:process=":ui">
2917        </activity>
2918
2919        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
2920                android:excludeFromRecents="true"
2921                android:exported="true"
2922                android:theme="@android:style/Theme.Material.Dialog"
2923                android:label="@string/choose_account_label"
2924                android:process=":ui">
2925        </activity>
2926
2927        <activity android:name="android.accounts.ChooseAccountTypeActivity"
2928                android:excludeFromRecents="true"
2929                android:theme="@android:style/Theme.Material.Dialog"
2930                android:label="@string/choose_account_label"
2931                android:process=":ui">
2932        </activity>
2933
2934        <activity android:name="android.accounts.CantAddAccountActivity"
2935                android:excludeFromRecents="true"
2936                android:exported="true"
2937                android:theme="@android:style/Theme.Material.Dialog.NoActionBar"
2938                android:process=":ui">
2939        </activity>
2940
2941        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
2942                android:excludeFromRecents="true"
2943                android:exported="true"
2944                android:theme="@android:style/Theme.Material.DialogWhenLarge"
2945                android:process=":ui">
2946        </activity>
2947
2948        <activity android:name="android.content.SyncActivityTooManyDeletes"
2949               android:theme="@android:style/Theme.Holo.Dialog"
2950               android:label="@string/sync_too_many_deletes"
2951               android:process=":ui">
2952        </activity>
2953
2954        <activity android:name="com.android.server.ShutdownActivity"
2955            android:permission="android.permission.SHUTDOWN"
2956            android:excludeFromRecents="true">
2957            <intent-filter>
2958                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
2959                <category android:name="android.intent.category.DEFAULT" />
2960            </intent-filter>
2961            <intent-filter>
2962                <action android:name="android.intent.action.REBOOT" />
2963                <category android:name="android.intent.category.DEFAULT" />
2964            </intent-filter>
2965        </activity>
2966
2967        <activity android:name="com.android.internal.app.NetInitiatedActivity"
2968                android:theme="@style/Theme.Holo.Dialog.Alert"
2969                android:excludeFromRecents="true"
2970                android:process=":ui">
2971        </activity>
2972
2973        <activity android:name="com.android.internal.app.RestrictionsPinActivity"
2974                android:theme="@style/Theme.Material.Light.Dialog.Alert"
2975                android:excludeFromRecents="true"
2976                android:windowSoftInputMode="adjustPan"
2977                android:process=":ui">
2978            <intent-filter android:priority="100">
2979                <action android:name="android.intent.action.RESTRICTIONS_CHALLENGE" />
2980                <category android:name="android.intent.category.DEFAULT" />
2981            </intent-filter>
2982        </activity>
2983
2984        <receiver android:name="com.android.server.BootReceiver"
2985                android:primaryUserOnly="true">
2986            <intent-filter android:priority="1000">
2987                <action android:name="android.intent.action.BOOT_COMPLETED" />
2988            </intent-filter>
2989        </receiver>
2990
2991        <receiver android:name="com.android.server.updates.CertPinInstallReceiver" >
2992            <intent-filter>
2993                <action android:name="android.intent.action.UPDATE_PINS" />
2994                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
2995            </intent-filter>
2996        </receiver>
2997
2998        <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver" >
2999            <intent-filter>
3000                <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
3001                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3002            </intent-filter>
3003        </receiver>
3004
3005        <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver" >
3006            <intent-filter>
3007                <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
3008                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3009            </intent-filter>
3010        </receiver>
3011
3012        <receiver android:name="com.android.server.updates.CarrierProvisioningUrlsInstallReceiver" >
3013            <intent-filter>
3014                <action android:name="android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS" />
3015                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3016            </intent-filter>
3017        </receiver>
3018
3019        <receiver android:name="com.android.server.updates.TZInfoInstallReceiver" >
3020            <intent-filter>
3021                <action android:name="android.intent.action.UPDATE_TZINFO" />
3022                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3023            </intent-filter>
3024        </receiver>
3025
3026        <receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver" >
3027            <intent-filter>
3028                <action android:name="android.intent.action.UPDATE_SEPOLICY" />
3029                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3030            </intent-filter>
3031        </receiver>
3032
3033        <receiver android:name="com.android.server.MasterClearReceiver"
3034            android:permission="android.permission.MASTER_CLEAR">
3035            <intent-filter
3036                    android:priority="100" >
3037                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
3038                <action android:name="android.intent.action.MASTER_CLEAR" />
3039
3040                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
3041                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
3042                <category android:name="android.intent.category.MASTER_CLEAR" />
3043            </intent-filter>
3044        </receiver>
3045
3046        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
3047            android:permission="android.permission.MASTER_CLEAR"
3048            android:exported="true" />
3049
3050        <service android:name="android.hardware.location.GeofenceHardwareService"
3051            android:permission="android.permission.LOCATION_HARDWARE"
3052            android:exported="false" />
3053
3054        <service android:name="com.android.internal.backup.LocalTransportService"
3055                android:permission="android.permission.CONFIRM_FULL_BACKUP"
3056                android:exported="false">
3057            <intent-filter>
3058                <action android:name="android.backup.TRANSPORT_HOST" />
3059            </intent-filter>
3060        </service>
3061
3062        <service android:name="com.android.server.MountServiceIdler"
3063                 android:exported="true"
3064                 android:permission="android.permission.BIND_JOB_SERVICE" >
3065        </service>
3066
3067        <service android:name="com.android.server.backup.FullBackupJob"
3068                 android:exported="true"
3069                 android:permission="android.permission.BIND_JOB_SERVICE" >
3070        </service>
3071
3072        <service
3073            android:name="com.android.server.pm.BackgroundDexOptService"
3074            android:exported="true"
3075            android:permission="android.permission.BIND_JOB_SERVICE">
3076        </service>
3077
3078    </application>
3079
3080</manifest>
3081