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