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