AndroidManifest.xml revision dc410cb3499683509770bb88cb771a91acd16bd2
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_TICK" />
33    <protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
34    <protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
35    <protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
36    <protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
37    <protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
38    <protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
39    <protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
40    <protected-broadcast android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
41    <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
42    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
43    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
44    <protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
45    <protected-broadcast android:name="android.intent.action.PACKAGE_NEEDS_VERIFICATION" />
46    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
47    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
48    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
49    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
50    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
51    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
52    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
53    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
54    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
55    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
56    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
57    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
58    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
59    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
60    <protected-broadcast android:name="android.intent.action.REBOOT" />
61    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
62    <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
63    <protected-broadcast android:name="android.intent.action.USER_ADDED" />
64    <protected-broadcast android:name="android.intent.action.USER_REMOVED" />
65    <protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
66
67    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
68    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
69    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
70    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
71
72    <protected-broadcast android:name="android.backup.intent.RUN" />
73    <protected-broadcast android:name="android.backup.intent.CLEAR" />
74    <protected-broadcast android:name="android.backup.intent.INIT" />
75
76    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
77    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
78    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
79    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
80    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
81    <protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
82    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
83    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
84    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
85    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
86    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
87    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
88    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
89    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
90    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
91    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
92    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
93    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
94    <protected-broadcast
95        android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
96    <protected-broadcast
97        android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
98    <protected-broadcast
99        android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
100    <protected-broadcast
101        android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
102    <protected-broadcast
103        android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
104    <protected-broadcast
105        android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
106    <protected-broadcast
107        android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
108
109    <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
110    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
111    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
112    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
113    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
114
115    <protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
116    <protected-broadcast android:name="android.intent.action.ANALOG_AUDIO_DOCK_PLUG" />
117    <protected-broadcast android:name="android.intent.action.DIGITAL_AUDIO_DOCK_PLUG" />
118    <protected-broadcast android:name="android.intent.action.HDMI_AUDIO_PLUG" />
119    <protected-broadcast android:name="android.intent.action.USB_AUDIO_ACCESSORY_PLUG" />
120    <protected-broadcast android:name="android.intent.action.USB_AUDIO_DEVICE_PLUG" />
121
122    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
123    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
124
125    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
126    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
127    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
128    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
129
130    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
131    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
132    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
133
134    <protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
135
136    <!-- ====================================== -->
137    <!-- Permissions for things that cost money -->
138    <!-- ====================================== -->
139    <eat-comment />
140
141    <!-- Used for permissions that can be used to make the user spend money
142         without their direct involvement. -->
143    <permission-group android:name="android.permission-group.COST_MONEY"
144        android:label="@string/permgrouplab_costMoney"
145        android:description="@string/permgroupdesc_costMoney" />
146
147    <!-- ================================== -->
148    <!-- Permissions for accessing messages -->
149    <!-- ================================== -->
150    <eat-comment />
151
152    <!-- Used for permissions that allow an application to send messages
153         on behalf of the user or intercept messages being received by the
154         user.  This is primarily intended for SMS/MMS messaging, such as
155         receiving or reading an MMS. -->
156    <permission-group android:name="android.permission-group.MESSAGES"
157        android:label="@string/permgrouplab_messages"
158        android:description="@string/permgroupdesc_messages"
159        android:permissionGroupFlags="personalInfo"
160        android:priority="2"/>
161
162  <!-- Allows an application to send SMS messages. -->
163    <permission android:name="android.permission.SEND_SMS"
164        android:permissionGroup="android.permission-group.MESSAGES"
165        android:protectionLevel="dangerous"
166        android:label="@string/permlab_sendSms"
167        android:description="@string/permdesc_sendSms" />
168
169    <!-- Allows an application to send SMS messages via the Messaging app with no user
170         input or confirmation.
171         @hide -->
172    <permission android:name="android.permission.SEND_SMS_NO_CONFIRMATION"
173        android:permissionGroup="android.permission-group.MESSAGES"
174        android:protectionLevel="signature|system"
175        android:label="@string/permlab_sendSmsNoConfirmation"
176        android:description="@string/permdesc_sendSmsNoConfirmation" />
177
178    <!-- Allows an application to monitor incoming SMS messages, to record
179         or perform processing on them. -->
180    <permission android:name="android.permission.RECEIVE_SMS"
181        android:permissionGroup="android.permission-group.MESSAGES"
182        android:protectionLevel="dangerous"
183        android:label="@string/permlab_receiveSms"
184        android:description="@string/permdesc_receiveSms" />
185
186    <!-- Allows an application to monitor incoming MMS messages, to record
187         or perform processing on them. -->
188    <permission android:name="android.permission.RECEIVE_MMS"
189        android:permissionGroup="android.permission-group.MESSAGES"
190        android:protectionLevel="dangerous"
191        android:label="@string/permlab_receiveMms"
192        android:description="@string/permdesc_receiveMms" />
193
194    <!-- Allows an application to receive emergency cell broadcast messages,
195         to record or display them to the user. Reserved for system apps.
196         @hide Pending API council approval -->
197    <permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
198        android:permissionGroup="android.permission-group.MESSAGES"
199        android:protectionLevel="signature|system"
200        android:label="@string/permlab_receiveEmergencyBroadcast"
201        android:description="@string/permdesc_receiveEmergencyBroadcast" />
202
203    <!-- Allows an application to read previously received cell broadcast
204         messages and to register a content observer to get notifications when
205         a cell broadcast has been received and added to the database. For
206         emergency alerts, the database is updated immediately after the
207         alert dialog and notification sound/vibration/speech are presented.
208         The "read" column is then updated after the user dismisses the alert.
209         This enables supplementary emergency assistance apps to start loading
210         additional emergency information (if Internet access is available)
211         when the alert is first received, and to delay presenting the info
212         to the user until after the initial alert dialog is dismissed.
213         @hide Pending API council approval -->
214    <permission android:name="android.permission.READ_CELL_BROADCASTS"
215        android:permissionGroup="android.permission-group.MESSAGES"
216        android:protectionLevel="dangerous"
217        android:label="@string/permlab_readCellBroadcasts"
218        android:description="@string/permdesc_readCellBroadcasts" />
219
220    <!-- Allows an application to read SMS messages. -->
221    <permission android:name="android.permission.READ_SMS"
222        android:permissionGroup="android.permission-group.MESSAGES"
223        android:protectionLevel="dangerous"
224        android:label="@string/permlab_readSms"
225        android:description="@string/permdesc_readSms" />
226
227    <!-- Allows an application to write SMS messages. -->
228    <permission android:name="android.permission.WRITE_SMS"
229        android:permissionGroup="android.permission-group.MESSAGES"
230        android:protectionLevel="dangerous"
231        android:label="@string/permlab_writeSms"
232        android:description="@string/permdesc_writeSms" />
233
234    <!-- Allows an application to monitor incoming WAP push messages. -->
235    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
236        android:permissionGroup="android.permission-group.MESSAGES"
237        android:protectionLevel="dangerous"
238        android:label="@string/permlab_receiveWapPush"
239        android:description="@string/permdesc_receiveWapPush" />
240
241    <!-- =============================================================== -->
242    <!-- Permissions for accessing social info (contacts and social) -->
243    <!-- =============================================================== -->
244    <eat-comment />
245
246    <!-- Used for permissions that provide access to the user's social connections,
247         such as contacts, call logs, social stream, etc.  This includes
248         both reading and writing of this data (which should generally be
249         expressed as two distinct permissions). -->
250
251    <permission-group android:name="android.permission-group.SOCIAL_INFO"
252        android:label="@string/permgrouplab_socialInfo"
253        android:description="@string/permgroupdesc_socialInfo"
254        android:permissionGroupFlags="personalInfo"
255        android:priority="6" />
256
257    <!-- Allows an application to read the user's contacts data. -->
258    <permission android:name="android.permission.READ_CONTACTS"
259        android:permissionGroup="android.permission-group.SOCIAL_INFO"
260        android:protectionLevel="dangerous"
261        android:label="@string/permlab_readContacts"
262        android:description="@string/permdesc_readContacts" />
263
264    <!-- Allows an application to write (but not read) the user's
265         contacts data. -->
266    <permission android:name="android.permission.WRITE_CONTACTS"
267        android:permissionGroup="android.permission-group.SOCIAL_INFO"
268        android:protectionLevel="dangerous"
269        android:label="@string/permlab_writeContacts"
270        android:description="@string/permdesc_writeContacts" />
271
272    <!-- Allows an application to read the user's call log. -->
273    <permission android:name="android.permission.READ_CALL_LOG"
274        android:permissionGroup="android.permission-group.SOCIAL_INFO"
275        android:protectionLevel="dangerous"
276        android:label="@string/permlab_readCallLog"
277        android:description="@string/permdesc_readCallLog" />
278
279    <!-- Allows an application to write (but not read) the user's
280         contacts data. -->
281    <permission android:name="android.permission.WRITE_CALL_LOG"
282        android:permissionGroup="android.permission-group.SOCIAL_INFO"
283        android:protectionLevel="dangerous"
284        android:label="@string/permlab_writeCallLog"
285        android:description="@string/permdesc_writeCallLog" />
286
287  <!-- Allows an application to read from the user's social stream. -->
288    <permission android:name="android.permission.READ_SOCIAL_STREAM"
289        android:permissionGroup="android.permission-group.SOCIAL_INFO"
290        android:protectionLevel="dangerous"
291        android:label="@string/permlab_readSocialStream"
292        android:description="@string/permdesc_readSocialStream" />
293
294    <!-- Allows an application to write (but not read) the user's
295         social stream data. -->
296    <permission android:name="android.permission.WRITE_SOCIAL_STREAM"
297        android:permissionGroup="android.permission-group.SOCIAL_INFO"
298        android:protectionLevel="dangerous"
299        android:label="@string/permlab_writeSocialStream"
300        android:description="@string/permdesc_writeSocialStream" />
301
302    <!-- =============================================================== -->
303    <!-- Permissions for accessing information about the device owner    -->
304    <!-- =============================================================== -->
305    <eat-comment />
306
307    <!-- Used for permissions that provide access to information about the device
308         user such as profile information.  This includes both reading and
309         writing of this data (which should generally be expressed as two
310         distinct permissions). -->
311    <permission-group android:name="android.permission-group.PERSONAL_INFO"
312        android:label="@string/permgrouplab_personalInfo"
313        android:description="@string/permgroupdesc_personalInfo"
314        android:permissionGroupFlags="personalInfo"
315        android:priority="7" />
316
317    <!-- Allows an application to read the user's personal profile data. -->
318    <permission android:name="android.permission.READ_PROFILE"
319        android:permissionGroup="android.permission-group.PERSONAL_INFO"
320        android:protectionLevel="dangerous"
321        android:label="@string/permlab_readProfile"
322        android:description="@string/permdesc_readProfile" />
323
324    <!-- Allows an application to write (but not read) the user's
325         personal profile data. -->
326    <permission android:name="android.permission.WRITE_PROFILE"
327        android:permissionGroup="android.permission-group.PERSONAL_INFO"
328        android:protectionLevel="dangerous"
329        android:label="@string/permlab_writeProfile"
330        android:description="@string/permdesc_writeProfile" />
331
332    <!-- =============================================================== -->
333    <!-- Permissions for accessing the device calendar                   -->
334    <!-- =============================================================== -->
335    <eat-comment />
336
337    <!-- Used for permissions that provide access to the device
338         calendar to create / view events.-->
339    <permission-group android:name="android.permission-group.CALENDAR"
340        android:label="@string/permgrouplab_calendar"
341        android:description="@string/permgroupdesc_calendar"
342        android:permissionGroupFlags="personalInfo"
343        android:priority="9" />
344
345    <!-- Allows an application to read the user's calendar data. -->
346    <permission android:name="android.permission.READ_CALENDAR"
347        android:permissionGroup="android.permission-group.PERSONAL_INFO"
348        android:protectionLevel="dangerous"
349        android:label="@string/permlab_readCalendar"
350        android:description="@string/permdesc_readCalendar" />
351
352    <!-- Allows an application to write (but not read) the user's
353         calendar data. -->
354    <permission android:name="android.permission.WRITE_CALENDAR"
355        android:permissionGroup="android.permission-group.PERSONAL_INFO"
356        android:protectionLevel="dangerous"
357        android:label="@string/permlab_writeCalendar"
358        android:description="@string/permdesc_writeCalendar" />
359
360    <!-- =============================================================== -->
361    <!-- Permissions for accessing the user dictionary-->
362    <!-- =============================================================== -->
363    <eat-comment />
364
365    <!-- Used for permissions that provide access to the user
366         calendar to create / view events.-->
367    <permission-group android:name="android.permission-group.USER_DICTIONARY"
368        android:label="@string/permgrouplab_dictionary"
369        android:description="@string/permgroupdesc_dictionary"
370        android:permissionGroupFlags="personalInfo"
371        android:priority="20" />
372
373    <!-- Allows an application to read the user dictionary. This should
374         really only be required by an IME, or a dictionary editor like
375         the Settings app. -->
376    <permission android:name="android.permission.READ_USER_DICTIONARY"
377        android:permissionGroup="android.permission-group.USER_DICTIONARY"
378        android:protectionLevel="dangerous"
379        android:label="@string/permlab_readDictionary"
380        android:description="@string/permdesc_readDictionary" />
381
382    <!-- Allows an application to write to the user dictionary. -->
383    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
384        android:permissionGroup="android.permission-group.USER_DICTIONARY"
385        android:protectionLevel="normal"
386        android:label="@string/permlab_writeDictionary"
387        android:description="@string/permdesc_writeDictionary" />
388
389    <!-- =============================================================== -->
390    <!-- Permissions for accessing the user bookmarks                    -->
391    <!-- =============================================================== -->
392    <eat-comment />
393
394    <!-- Used for permissions that provide access to the user
395         bookmarks and browser history.-->
396    <permission-group android:name="android.permission-group.BOOKMARKS"
397        android:label="@string/permgrouplab_bookmarks"
398        android:description="@string/permgroupdesc_bookmarks"
399        android:permissionGroupFlags="personalInfo"
400        android:priority="8" />
401
402    <!-- Allows an application to read (but not write) the user's
403        browsing history and bookmarks. -->
404    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
405        android:permissionGroup="android.permission-group.BOOKMARKS"
406        android:label="@string/permlab_readHistoryBookmarks"
407        android:description="@string/permdesc_readHistoryBookmarks"
408        android:protectionLevel="dangerous" />
409
410    <!-- Allows an application to write (but not read) the user's
411        browsing history and bookmarks. -->
412    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
413        android:permissionGroup="android.permission-group.BOOKMARKS"
414        android:label="@string/permlab_writeHistoryBookmarks"
415        android:description="@string/permdesc_writeHistoryBookmarks"
416        android:protectionLevel="dangerous" />
417
418    <!-- =============================================================== -->
419    <!-- Permissions for setting the device alarm                        -->
420    <!-- =============================================================== -->
421    <eat-comment />
422
423    <!-- Used for permissions that provide access to the user voicemail box. -->
424    <permission-group android:name="android.permission-group.DEVICE_ALARMS"
425        android:label="@string/permgrouplab_deviceAlarms"
426        android:description="@string/permgroupdesc_deviceAlarms"
427        android:permissionGroupFlags="personalInfo"
428        android:priority="16"/>
429
430    <!-- Allows an application to broadcast an Intent to set an alarm for the
431         user. -->
432    <permission android:name="com.android.alarm.permission.SET_ALARM"
433        android:permissionGroup="android.permission-group.DEVICE_ALARMS"
434        android:label="@string/permlab_setAlarm"
435        android:description="@string/permdesc_setAlarm"
436        android:protectionLevel="normal" />
437
438    <!-- =============================================================== -->
439    <!-- Permissions for accessing the user voicemail                    -->
440    <!-- =============================================================== -->
441    <eat-comment />
442
443    <!-- Used for permissions that provide access to the user voicemail box. -->
444    <permission-group android:name="android.permission-group.VOICEMAIL"
445        android:label="@string/permgrouplab_voicemail"
446        android:description="@string/permgroupdesc_voicemail"
447        android:permissionGroupFlags="personalInfo"
448        android:priority="10" />
449
450   <!-- Allows an application to add voicemails into the system. -->
451    <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
452        android:permissionGroup="android.permission-group.VOICEMAIL"
453        android:protectionLevel="dangerous"
454        android:label="@string/permlab_addVoicemail"
455        android:description="@string/permdesc_addVoicemail" />
456
457    <!-- ======================================= -->
458    <!-- Permissions for accessing location info -->
459    <!-- ======================================= -->
460    <eat-comment />
461
462    <!-- Used for permissions that allow access to the user's current
463         location. -->
464    <permission-group android:name="android.permission-group.LOCATION"
465        android:label="@string/permgrouplab_location"
466        android:description="@string/permgroupdesc_location"
467        android:permissionGroupFlags="personalInfo"
468        android:priority="5" />
469
470    <!-- Allows an application to access fine (e.g., GPS) location -->
471    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
472        android:permissionGroup="android.permission-group.LOCATION"
473        android:protectionLevel="dangerous"
474        android:label="@string/permlab_accessFineLocation"
475        android:description="@string/permdesc_accessFineLocation" />
476
477    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
478    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
479        android:permissionGroup="android.permission-group.LOCATION"
480        android:protectionLevel="dangerous"
481        android:label="@string/permlab_accessCoarseLocation"
482        android:description="@string/permdesc_accessCoarseLocation" />
483
484    <!-- Allows an application to create mock location providers for testing -->
485    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
486        android:permissionGroup="android.permission-group.LOCATION"
487        android:protectionLevel="dangerous"
488        android:label="@string/permlab_accessMockLocation"
489        android:description="@string/permdesc_accessMockLocation" />
490
491    <!-- Allows an application to access extra location provider commands -->
492    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
493        android:permissionGroup="android.permission-group.LOCATION"
494        android:protectionLevel="normal"
495        android:label="@string/permlab_accessLocationExtraCommands"
496        android:description="@string/permdesc_accessLocationExtraCommands" />
497
498    <!-- Allows an application to install a location provider into the Location Manager -->
499    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
500        android:protectionLevel="signature|system"
501        android:label="@string/permlab_installLocationProvider"
502        android:description="@string/permdesc_installLocationProvider" />
503
504    <!-- ======================================= -->
505    <!-- Permissions for accessing networks -->
506    <!-- ======================================= -->
507    <eat-comment />
508
509    <!-- Used for permissions that provide access to networking services.  The
510         main permission here is internet access, but this is also an
511         appropriate group for accessing or modifying any network configuration
512         or other related network operations. -->
513    <permission-group android:name="android.permission-group.NETWORK"
514        android:label="@string/permgrouplab_network"
515        android:description="@string/permgroupdesc_network"
516        android:priority="11" />
517
518    <!-- Allows applications to open network sockets. -->
519    <permission android:name="android.permission.INTERNET"
520        android:permissionGroup="android.permission-group.NETWORK"
521        android:protectionLevel="dangerous"
522        android:description="@string/permdesc_createNetworkSockets"
523        android:label="@string/permlab_createNetworkSockets" />
524
525    <!-- Allows applications to access information about networks -->
526    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
527        android:permissionGroup="android.permission-group.NETWORK"
528        android:protectionLevel="normal"
529        android:description="@string/permdesc_accessNetworkState"
530        android:label="@string/permlab_accessNetworkState" />
531
532    <!-- Allows applications to access information about Wi-Fi networks -->
533    <permission android:name="android.permission.ACCESS_WIFI_STATE"
534        android:permissionGroup="android.permission-group.NETWORK"
535        android:protectionLevel="normal"
536        android:description="@string/permdesc_accessWifiState"
537        android:label="@string/permlab_accessWifiState" />
538        
539    <!-- Allows applications to change Wi-Fi connectivity state -->
540    <permission android:name="android.permission.CHANGE_WIFI_STATE"
541        android:permissionGroup="android.permission-group.NETWORK"
542        android:protectionLevel="normal"
543        android:description="@string/permdesc_changeWifiState"
544        android:label="@string/permlab_changeWifiState" />
545
546    <!-- @hide -->
547    <permission android:name="android.permission.ACCESS_WIMAX_STATE"
548        android:permissionGroup="android.permission-group.NETWORK"
549        android:protectionLevel="normal"
550        android:description="@string/permdesc_accessWimaxState"
551        android:label="@string/permlab_accessWimaxState" />
552
553    <!-- @hide -->
554    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
555        android:permissionGroup="android.permission-group.NETWORK"
556        android:protectionLevel="dangerous"
557        android:description="@string/permdesc_changeWimaxState"
558        android:label="@string/permlab_changeWimaxState" />
559
560    <!-- ======================================= -->
561    <!-- Permissions for short range, peripheral networks -->
562    <!-- ======================================= -->
563    <eat-comment />
564
565    <!-- Used for permissions that provide access to network services that
566         are for peripherals and other nearby devices.  These networks
567         generally do not provide IP based networking or internet access.-->
568    <permission-group android:name="android.permission-group.SHORTRANGE_NETWORK"
569        android:label="@string/permgrouplab_shortRangeNetwork"
570        android:description="@string/permgroupdesc_shortRangeNetwork"
571        android:priority="12" />
572
573    <!-- Allows applications to connect to paired bluetooth devices -->
574    <permission android:name="android.permission.BLUETOOTH"
575        android:permissionGroup="android.permission-group.SHORTRANGE_NETWORK"
576        android:protectionLevel="dangerous"
577        android:description="@string/permdesc_bluetooth"
578        android:label="@string/permlab_bluetooth" />
579        
580    <!-- Allows applications to discover and pair bluetooth devices -->
581    <permission android:name="android.permission.BLUETOOTH_ADMIN"
582        android:permissionGroup="android.permission-group.SHORTRANGE_NETWORK"
583        android:protectionLevel="dangerous"
584        android:description="@string/permdesc_bluetoothAdmin"
585        android:label="@string/permlab_bluetoothAdmin" />
586   
587    <!-- Allows applications to perform I/O operations over NFC -->
588    <permission android:name="android.permission.NFC"
589        android:permissionGroup="android.permission-group.SHORTRANGE_NETWORK"
590        android:protectionLevel="dangerous"
591        android:description="@string/permdesc_nfc"
592        android:label="@string/permlab_nfc" />
593
594    <!-- Allows an internal user to use privileged ConnectivityManager
595    APIs.
596        @hide -->
597    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
598        android:permissionGroup="android.permission-group.NETWORK"
599        android:protectionLevel="signature|system" />
600
601    <!-- ================================== -->
602    <!-- Permissions for accessing accounts -->
603    <!-- ================================== -->
604    <eat-comment />
605
606    <!-- Permissions for direct access to the accounts managed
607         by the Account Manager. -->
608    <permission-group android:name="android.permission-group.ACCOUNTS"
609        android:label="@string/permgrouplab_accounts"
610        android:description="@string/permgroupdesc_accounts"
611        android:permissionGroupFlags="personalInfo"
612        android:priority="17" />
613
614    <!-- Allows access to the list of accounts in the Accounts Service -->
615    <permission android:name="android.permission.GET_ACCOUNTS"
616        android:permissionGroup="android.permission-group.ACCOUNTS"
617        android:protectionLevel="normal"
618        android:description="@string/permdesc_getAccounts"
619        android:label="@string/permlab_getAccounts" />
620
621    <!-- Allows an application to act as an AccountAuthenticator for
622         the AccountManager -->
623    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
624        android:permissionGroup="android.permission-group.ACCOUNTS"
625        android:protectionLevel="dangerous"
626        android:label="@string/permlab_authenticateAccounts"
627        android:description="@string/permdesc_authenticateAccounts" />
628
629    <!-- Allows an application to request authtokens from the AccountManager -->
630    <permission android:name="android.permission.USE_CREDENTIALS"
631        android:permissionGroup="android.permission-group.ACCOUNTS"
632        android:protectionLevel="dangerous"
633        android:label="@string/permlab_useCredentials"
634        android:description="@string/permdesc_useCredentials" />
635
636    <!-- Allows an application to manage the list of accounts in the AccountManager -->
637    <permission android:name="android.permission.MANAGE_ACCOUNTS"
638        android:permissionGroup="android.permission-group.ACCOUNTS"
639        android:protectionLevel="dangerous"
640        android:label="@string/permlab_manageAccounts"
641        android:description="@string/permdesc_manageAccounts" />
642
643    <!-- Allows applications to call into AccountAuthenticators. Only
644         the system can get this permission. -->
645    <permission android:name="android.permission.ACCOUNT_MANAGER"
646        android:permissionGroup="android.permission-group.ACCOUNTS"
647        android:protectionLevel="signature"
648        android:description="@string/permdesc_accountManagerService"
649        android:label="@string/permlab_accountManagerService" />
650
651    <!-- ================================== -->
652    <!-- Permissions for accessing hardware that may effect battery life-->
653    <!-- ================================== -->
654    <eat-comment />
655
656    <!-- Used for permissions that provide direct access to the hardware on
657         the device that has an effect on battery life.  This includes vibrator,
658         flashlight,  etc. -->
659
660    <permission-group android:name="android.permission-group.AFFECTS_BATTERY"
661        android:label="@string/permgrouplab_affectsBattery"
662        android:description="@string/permgroupdesc_affectsBattery"
663        android:priority="19" />
664
665    <!-- Allows applications to enter Wi-Fi Multicast mode -->
666    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
667        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
668        android:protectionLevel="normal"
669        android:description="@string/permdesc_changeWifiMulticastState"
670        android:label="@string/permlab_changeWifiMulticastState" />
671
672    <!-- Allows access to the vibrator -->
673    <permission android:name="android.permission.VIBRATE"
674        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
675        android:protectionLevel="normal"
676        android:label="@string/permlab_vibrate"
677        android:description="@string/permdesc_vibrate" />
678
679    <!-- Allows access to the flashlight -->
680    <permission android:name="android.permission.FLASHLIGHT"
681        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
682        android:protectionLevel="normal"
683        android:label="@string/permlab_flashlight"
684        android:description="@string/permdesc_flashlight" />
685
686    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
687         from dimming -->
688    <permission android:name="android.permission.WAKE_LOCK"
689        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
690        android:protectionLevel="normal"
691        android:label="@string/permlab_wakeLock"
692        android:description="@string/permdesc_wakeLock" />
693
694    <!-- ==================================================== -->
695    <!-- Permissions related to changing audio settings   -->
696    <!-- ==================================================== -->
697
698    <!-- Used for permissions that provide direct access to speaker settings
699         the device. -->
700    <permission-group android:name="android.permission-group.AUDIO_SETTINGS"
701        android:label="@string/permgrouplab_audioSettings"
702        android:description="@string/permgroupdesc_audioSettings"
703        android:priority="25" />
704
705    <!-- Allows an application to modify global audio settings -->
706    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
707        android:permissionGroup="android.permission-group.AUDIO_SETTINGS"
708        android:protectionLevel="normal"
709        android:label="@string/permlab_modifyAudioSettings"
710        android:description="@string/permdesc_modifyAudioSettings" />
711
712    <!-- ================================== -->
713    <!-- Permissions for accessing hardware -->
714    <!-- ================================== -->
715    <eat-comment />
716
717    <!-- Used for permissions that provide direct access to the hardware on
718         the device.  This includes audio, the camera, vibrator, etc. -->
719    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
720        android:label="@string/permgrouplab_hardwareControls"
721        android:description="@string/permgroupdesc_hardwareControls"
722        android:priority="26"/>
723
724    <!-- Allows an application to manage preferences and permissions for USB devices
725         @hide -->
726    <permission android:name="android.permission.MANAGE_USB"
727        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
728        android:protectionLevel="signature|system"
729        android:label="@string/permlab_manageUsb"
730        android:description="@string/permdesc_manageUsb" />
731
732    <!-- Allows an application to access the MTP USB kernel driver.
733         For use only by the device side MTP implementation.
734         @hide -->
735    <permission android:name="android.permission.ACCESS_MTP"
736        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
737        android:protectionLevel="signature|system"
738        android:label="@string/permlab_accessMtp"
739        android:description="@string/permdesc_accessMtp" />
740
741    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
742    <permission android:name="android.permission.HARDWARE_TEST"
743        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
744        android:protectionLevel="signature"
745        android:label="@string/permlab_hardware_test"
746        android:description="@string/permdesc_hardware_test" />
747
748    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
749         @hide -->
750    <permission android:name="android.permission.NET_ADMIN"
751        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
752        android:protectionLevel="signature" />
753
754    <!-- Allows registration for remote audio playback. @hide -->
755    <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
756        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
757        android:protectionLevel="signature" />
758
759    <!-- =========================================== -->
760    <!-- Permissions associated with audio capture -->
761    <!-- =========================================== -->
762    <eat-comment />
763
764    <!-- Used for permissions that are associated with accessing
765         microphone audio from the device. Note that phone calls also capture audio
766         but are in a separate (more visible) permission group. -->
767    <permission-group android:name="android.permission-group.MICROPHONE"
768        android:label="@string/permgrouplab_microphone"
769        android:description="@string/permgroupdesc_microphone"
770        android:permissionGroupFlags="personalInfo"
771        android:priority="4" />
772
773    <!-- Allows an application to record audio -->
774    <permission android:name="android.permission.RECORD_AUDIO"
775        android:permissionGroup="android.permission-group.MICROPHONE"
776        android:protectionLevel="dangerous"
777        android:label="@string/permlab_recordAudio" />
778
779
780    <!-- =========================================== -->
781    <!-- Permissions associated with camera and image capture -->
782    <!-- =========================================== -->
783    <eat-comment />
784
785    <!-- Used for permissions that are associated with accessing
786         camera or capturing images/video from the device. -->
787    <permission-group android:name="android.permission-group.CAMERA"
788        android:label="@string/permgrouplab_camera"
789        android:description="@string/permgroupdesc_camera"
790        android:permissionGroupFlags="personalInfo"
791        android:priority="3" />
792
793    <!-- Required to be able to access the camera device.
794         <p>This will automatically enforce the <a
795         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
796         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
797         If you do not require all camera features or can properly operate if a camera
798         is not available, then you must modify your manifest as appropriate in order to
799         install on devices that don't support all camera features.</p> -->
800    <permission android:name="android.permission.CAMERA"
801        android:permissionGroup="android.permission-group.CAMERA"
802        android:protectionLevel="dangerous"
803        android:label="@string/permlab_camera"
804        android:description="@string/permdesc_camera" />
805
806    <!-- =========================================== -->
807    <!-- Permissions associated with telephony state -->
808    <!-- =========================================== -->
809    <eat-comment />
810
811    <!-- Used for permissions that are associated with accessing and modifyign
812         telephony state: placing calls, intercepting outgoing calls, reading
813         and modifying the phone state. -->
814    <permission-group android:name="android.permission-group.PHONE_CALLS"
815        android:label="@string/permgrouplab_phoneCalls"
816        android:description="@string/permgroupdesc_phoneCalls"
817        android:permissionGroupFlags="personalInfo"
818        android:priority="1" />
819
820    <!-- Allows an application to monitor, modify, or abort outgoing
821         calls. -->
822    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
823        android:permissionGroup="android.permission-group.PHONE_CALLS"
824        android:protectionLevel="dangerous"
825        android:label="@string/permlab_processOutgoingCalls"
826        android:description="@string/permdesc_processOutgoingCalls" />
827
828    <!-- Allows modification of the telephony state - power on, mmi, etc.
829         Does not include placing calls. -->
830    <permission android:name="android.permission.MODIFY_PHONE_STATE"
831        android:permissionGroup="android.permission-group.PHONE_CALLS"
832        android:protectionLevel="signature|system"
833        android:label="@string/permlab_modifyPhoneState"
834        android:description="@string/permdesc_modifyPhoneState" />
835
836    <!-- Allows read only access to phone state. -->
837    <permission android:name="android.permission.READ_PHONE_STATE"
838        android:permissionGroup="android.permission-group.PHONE_CALLS"
839        android:protectionLevel="dangerous"
840        android:label="@string/permlab_readPhoneState"
841        android:description="@string/permdesc_readPhoneState" />
842
843    <!-- Allows read access to privileged phone state.
844         @hide Used internally. -->
845    <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
846        android:permissionGroup="android.permission-group.PHONE_CALLS"
847        android:protectionLevel="signature|system" />
848
849     <!-- Allows an application to initiate a phone call without going through
850         the Dialer user interface for the user to confirm the call
851         being placed. -->
852    <permission android:name="android.permission.CALL_PHONE"
853        android:permissionGroup="android.permission-group.PHONE_CALLS"
854        android:protectionLevel="dangerous"
855        android:label="@string/permlab_callPhone"
856        android:description="@string/permdesc_callPhone" />
857
858    <!-- Allows an application to use SIP service -->
859    <permission android:name="android.permission.USE_SIP"
860        android:permissionGroup="android.permission-group.PHONE_CALLS"
861        android:protectionLevel="dangerous"
862        android:description="@string/permdesc_use_sip"
863        android:label="@string/permlab_use_sip" />
864
865    <!-- ================================== -->
866    <!-- Permissions for sdcard interaction -->
867    <!-- ================================== -->
868    <eat-comment />
869
870    <!-- Group of permissions that are related to SD card access. -->
871    <permission-group android:name="android.permission-group.STORAGE"
872        android:label="@string/permgrouplab_storage"
873        android:description="@string/permgroupdesc_storage"
874        android:permissionGroupFlags="personalInfo"
875        android:priority="13" />
876
877    <!-- Allows an application to read from external storage -->
878    <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
879        android:permissionGroup="android.permission-group.STORAGE"
880        android:label="@string/permlab_sdcardRead"
881        android:description="@string/permdesc_sdcardRead"
882        android:protectionLevel="dangerous" />
883
884    <!-- Allows an application to write to external storage -->
885    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
886        android:permissionGroup="android.permission-group.STORAGE"
887        android:label="@string/permlab_sdcardWrite"
888        android:description="@string/permdesc_sdcardWrite"
889        android:protectionLevel="dangerous" />
890
891    <!-- Allows an application to write to internal media storage
892         @hide  -->
893    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
894        android:permissionGroup="android.permission-group.STORAGE"
895        android:label="@string/permlab_mediaStorageWrite"
896        android:description="@string/permdesc_mediaStorageWrite"
897        android:protectionLevel="signature|system" />
898
899    <!-- ================================== -->
900    <!-- Permissions for screenlock         -->
901    <!-- ================================== -->
902    <eat-comment />
903
904    <!-- Group of permissions that are related to the screenlock. -->
905    <permission-group android:name="android.permission-group.SCREENLOCK"
906        android:label="@string/permgrouplab_storage"
907        android:permissionGroupFlags="personalInfo"
908        android:description="@string/permgroupdesc_storage" />
909
910    <!-- Allows applications to disable the keyguard -->
911    <permission android:name="android.permission.DISABLE_KEYGUARD"
912        android:permissionGroup="android.permission-group.SCREENLOCK"
913        android:protectionLevel="dangerous"
914        android:description="@string/permdesc_disableKeyguard"
915        android:label="@string/permlab_disableKeyguard" />
916
917    <!-- ================================== -->
918    <!-- Permissions to access other installed applications  -->
919    <!-- ================================== -->
920    <eat-comment />
921
922    <!-- Group of permissions that are related to the other applications
923         installed on the system.  Examples include such as listing
924         running apps, or killing background processes. -->
925    <permission-group android:name="android.permission-group.APP_INFO"
926        android:label="@string/permgrouplab_appInfo"
927        android:description="@string/permgroupdesc_appInfo" />
928
929    <!-- Allows an application to get information about the currently
930         or recently running tasks. -->
931    <permission android:name="android.permission.GET_TASKS"
932        android:permissionGroup="android.permission-group.APP_INFO"
933        android:protectionLevel="dangerous"
934        android:label="@string/permlab_getTasks"
935        android:description="@string/permdesc_getTasks" />
936
937    <!-- Allows an application to get full detailed information about
938         recently running tasks, with full fidelity to the real state.
939         @hide -->
940    <permission android:name="android.permission.GET_DETAILED_TASKS"
941        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
942        android:protectionLevel="signature"
943        android:label="@string/permlab_getDetailedTasks"
944        android:description="@string/permdesc_getDetailedTasks" />
945
946    <!-- Allows an application to change the Z-order of tasks -->
947    <permission android:name="android.permission.REORDER_TASKS"
948        android:permissionGroup="android.permission-group.APP_INFO"
949        android:protectionLevel="normal"
950        android:label="@string/permlab_reorderTasks"
951        android:description="@string/permdesc_reorderTasks" />
952
953    <!-- @hide Allows an application to change to remove/kill tasks -->
954    <permission android:name="android.permission.REMOVE_TASKS"
955        android:permissionGroup="android.permission-group.APP_INFO"
956        android:protectionLevel="signature"
957        android:label="@string/permlab_removeTasks"
958        android:description="@string/permdesc_removeTasks" />
959
960    <!-- Allows an application to start any activity, regardless of permission
961         protection or exported state. @hide -->
962    <permission android:name="android.permission.START_ANY_ACTIVITY"
963        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
964        android:protectionLevel="signature"
965        android:label="@string/permlab_startAnyActivity"
966        android:description="@string/permdesc_startAnyActivity" />
967
968    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
969        API is no longer supported. -->
970    <permission android:name="android.permission.RESTART_PACKAGES"
971        android:permissionGroup="android.permission-group.APP_INFO"
972        android:protectionLevel="normal"
973        android:label="@string/permlab_killBackgroundProcesses"
974        android:description="@string/permdesc_killBackgroundProcesses" />
975
976    <!-- Allows an application to call
977        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
978    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
979        android:permissionGroup="android.permission-group.APP_INFO"
980        android:protectionLevel="normal"
981        android:label="@string/permlab_killBackgroundProcesses"
982        android:description="@string/permdesc_killBackgroundProcesses" />
983
984    <!-- ================================== -->
985    <!-- Permissions affecting the display of other applications  -->
986    <!-- ================================== -->
987    <eat-comment />
988
989    <!-- Group of permissions that allow manipulation of how
990         another application displays UI to the user. -->
991    <permission-group android:name="android.permission-group.DISPLAY"
992        android:label="@string/permgrouplab_display"
993        android:description="@string/permgroupdesc_display"
994        android:priority="18"/>
995
996    <!-- Allows an application to open windows using the type
997         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
998         shown on top of all other applications.  Very few applications
999         should use this permission; these windows are intended for
1000         system-level interaction with the user. -->
1001    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
1002        android:permissionGroup="android.permission-group.DISPLAY"
1003        android:protectionLevel="dangerous"
1004        android:label="@string/permlab_systemAlertWindow"
1005        android:description="@string/permdesc_systemAlertWindow" />
1006
1007    <!-- ================================== -->
1008    <!-- Permissions affecting the system wallpaper -->
1009    <!-- ================================== -->
1010    <eat-comment />
1011
1012    <!-- Group of permissions that allow manipulation of how
1013         another application displays UI to the user. -->
1014    <permission-group android:name="android.permission-group.WALLPAPER"
1015        android:label="@string/permgrouplab_wallpaper"
1016        android:description="@string/permgroupdesc_wallpaper"
1017        android:priority="22" />
1018
1019    <!-- Allows applications to set the wallpaper -->
1020    <permission android:name="android.permission.SET_WALLPAPER"
1021        android:permissionGroup="android.permission-group.WALLPAPER"
1022        android:protectionLevel="normal"
1023        android:label="@string/permlab_setWallpaper"
1024        android:description="@string/permdesc_setWallpaper" />
1025
1026    <!-- Allows applications to set the wallpaper hints -->
1027    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
1028        android:permissionGroup="android.permission-group.WALLPAPER"
1029        android:protectionLevel="normal"
1030        android:label="@string/permlab_setWallpaperHints"
1031        android:description="@string/permdesc_setWallpaperHints" />
1032
1033    <!-- ============================================ -->
1034    <!-- Permissions for changing the system clock -->
1035    <!-- ============================================ -->
1036    <eat-comment />
1037
1038    <!-- Group of permissions that are related to system clock. -->
1039    <permission-group android:name="android.permission-group.SYSTEM_CLOCK"
1040        android:label="@string/permgrouplab_systemClock"
1041        android:description="@string/permgroupdesc_systemClock"
1042        android:priority="23" />
1043
1044    <!-- Allows applications to set the system time -->
1045    <permission android:name="android.permission.SET_TIME"
1046        android:protectionLevel="signature|system"
1047        android:label="@string/permlab_setTime"
1048        android:description="@string/permdesc_setTime" />
1049
1050    <!-- Allows applications to set the system time zone -->
1051    <permission android:name="android.permission.SET_TIME_ZONE"
1052        android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
1053        android:protectionLevel="normal"
1054        android:label="@string/permlab_setTimeZone"
1055        android:description="@string/permdesc_setTimeZone" />
1056
1057    <!-- ==================================================== -->
1058    <!-- Permissions related to changing status bar   -->
1059    <!-- ==================================================== -->
1060
1061    <!-- Used for permissions that change the status bar -->
1062    <permission-group android:name="android.permission-group.STATUS_BAR"
1063        android:label="@string/permgrouplab_statusBar"
1064        android:description="@string/permgroupdesc_statusBar" />
1065
1066    <!-- Allows an application to expand or collapse the status bar. -->
1067    <permission android:name="android.permission.EXPAND_STATUS_BAR"
1068        android:permissionGroup="android.permission-group.STATUS_BAR"
1069        android:protectionLevel="normal"
1070        android:label="@string/permlab_expandStatusBar"
1071        android:description="@string/permdesc_expandStatusBar" />
1072
1073    <!-- ==================================================== -->
1074    <!-- Permissions related to accessing sync settings   -->
1075    <!-- ==================================================== -->
1076
1077    <!-- Used for permissions that access the sync settings or sync
1078         related information. -->
1079    <permission-group android:name="android.permission-group.SYNC_SETTINGS"
1080        android:label="@string/permgrouplab_syncSettings"
1081        android:description="@string/permgroupdesc_syncSettings"
1082        android:priority="29" />
1083
1084    <!-- Allows applications to read the sync settings -->
1085    <permission android:name="android.permission.READ_SYNC_SETTINGS"
1086        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1087        android:protectionLevel="normal"
1088        android:description="@string/permdesc_readSyncSettings"
1089        android:label="@string/permlab_readSyncSettings" />
1090
1091    <!-- Allows applications to write the sync settings -->
1092    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
1093        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1094        android:protectionLevel="normal"
1095        android:description="@string/permdesc_writeSyncSettings"
1096        android:label="@string/permlab_writeSyncSettings" />
1097
1098    <!-- Allows applications to read the sync stats -->
1099    <permission android:name="android.permission.READ_SYNC_STATS"
1100        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1101        android:protectionLevel="normal"
1102        android:description="@string/permdesc_readSyncStats"
1103        android:label="@string/permlab_readSyncStats" />
1104
1105
1106    <!-- ============================================ -->
1107    <!-- Permissions for low-level system interaction -->
1108    <!-- ============================================ -->
1109    <eat-comment />
1110
1111    <!-- Group of permissions that are related to system APIs.  Many
1112         of these are not permissions the user will be expected to understand,
1113         and such permissions should generally be marked as "normal" protection
1114         level so they don't get displayed.  This can also, however, be used
1115         for miscellaneous features that provide access to the operating system,
1116         such as writing the global system settings. -->
1117    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
1118        android:label="@string/permgrouplab_systemTools"
1119        android:description="@string/permgroupdesc_systemTools"
1120        android:priority="30" />
1121
1122    <!-- @hide Change the screen compatibility mode of applications -->
1123    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1124        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1125        android:protectionLevel="signature"
1126        android:label="@string/permlab_setScreenCompatibility"
1127        android:description="@string/permdesc_setScreenCompatibility" />
1128
1129    <!-- Allows an application to modify the current configuration, such
1130         as locale. -->
1131    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1132        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1133        android:protectionLevel="signature|system|development"
1134        android:label="@string/permlab_changeConfiguration"
1135        android:description="@string/permdesc_changeConfiguration" />
1136
1137    <!-- Allows an application to read or write the system settings. -->
1138    <permission android:name="android.permission.WRITE_SETTINGS"
1139        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1140        android:protectionLevel="normal"
1141        android:label="@string/permlab_writeSettings"
1142        android:description="@string/permdesc_writeSettings" />
1143
1144    <!-- Allows an application to modify the Google service map. -->
1145    <permission android:name="android.permission.WRITE_GSERVICES"
1146        android:protectionLevel="signature|system"
1147        android:label="@string/permlab_writeGservices"
1148        android:description="@string/permdesc_writeGservices" />
1149
1150    <!-- @hide Change the screen compatibility mode of applications -->
1151    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1152        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1153        android:protectionLevel="signature"
1154        android:label="@string/permlab_setScreenCompatibility"
1155        android:description="@string/permdesc_setScreenCompatibility" />
1156
1157    <!-- Allows an application to modify the current configuration, such
1158         as locale. -->
1159    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1160        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1161        android:protectionLevel="system|signature"
1162        android:label="@string/permlab_changeConfiguration"
1163        android:description="@string/permdesc_changeConfiguration" />
1164
1165    <!-- Allows an application to call
1166        {@link android.app.ActivityManager#forceStopPackage}.
1167        @hide -->
1168    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
1169        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1170        android:protectionLevel="signature"
1171        android:label="@string/permlab_forceStopPackages"
1172        android:description="@string/permdesc_forceStopPackages" />
1173
1174    <!-- @hide Allows an application to retrieve the content of the active window
1175         An active window is the window that has fired an accessibility event. -->
1176    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
1177        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1178        android:protectionLevel="signature|system"
1179        android:label="@string/permlab_retrieve_window_content"
1180        android:description="@string/permdesc_retrieve_window_content" />
1181
1182    <!-- Modify the global animation scaling factor. -->
1183    <permission android:name="android.permission.SET_ANIMATION_SCALE"
1184        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1185        android:protectionLevel="signature|system|development"
1186        android:label="@string/permlab_setAnimationScale"
1187        android:description="@string/permdesc_setAnimationScale" />
1188
1189    <!-- @deprecated This functionality will be removed in the future; please do
1190         not use. Allow an application to make its activities persistent. -->
1191    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
1192        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1193        android:protectionLevel="normal"
1194        android:label="@string/permlab_persistentActivity"
1195        android:description="@string/permdesc_persistentActivity" />
1196
1197    <!-- Allows an application to find out the space used by any package. -->
1198    <permission android:name="android.permission.GET_PACKAGE_SIZE"
1199        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1200        android:protectionLevel="normal"
1201        android:label="@string/permlab_getPackageSize"
1202        android:description="@string/permdesc_getPackageSize" />
1203
1204    <!-- @deprecated No longer useful, see
1205         {@link android.content.pm.PackageManager#addPackageToPreferred}
1206         for details. -->
1207    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
1208        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1209        android:protectionLevel="signature"
1210        android:label="@string/permlab_setPreferredApplications"
1211        android:description="@string/permdesc_setPreferredApplications" />
1212
1213    <!-- Allows an application to receive the
1214         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
1215         broadcast after the system finishes booting.  If you don't
1216         request this permission, you will not receive the broadcast at
1217         that time.  Though holding this permission does not have any
1218         security implications, it can have a negative impact on the
1219         user experience by increasing the amount of time it takes the
1220         system to start and allowing applications to have themselves
1221         running without the user being aware of them.  As such, you must
1222         explicitly declare your use of this facility to make that visible
1223         to the user. -->
1224    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
1225        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1226        android:protectionLevel="normal"
1227        android:label="@string/permlab_receiveBootCompleted"
1228        android:description="@string/permdesc_receiveBootCompleted" />
1229
1230    <!-- Allows an application to broadcast sticky intents.  These are
1231         broadcasts whose data is held by the system after being finished,
1232         so that clients can quickly retrieve that data without having
1233         to wait for the next broadcast. -->
1234    <permission android:name="android.permission.BROADCAST_STICKY"
1235        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1236        android:protectionLevel="normal"
1237        android:label="@string/permlab_broadcastSticky"
1238        android:description="@string/permdesc_broadcastSticky" />
1239
1240    <!-- Allows mounting and unmounting file systems for removable storage. -->
1241    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
1242        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1243        android:protectionLevel="system|signature"
1244        android:label="@string/permlab_mount_unmount_filesystems"
1245        android:description="@string/permdesc_mount_unmount_filesystems" />
1246
1247    <!-- Allows formatting file systems for removable storage. -->
1248    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
1249        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1250        android:protectionLevel="system|signature"
1251        android:label="@string/permlab_mount_format_filesystems"
1252        android:description="@string/permdesc_mount_format_filesystems" />
1253
1254    <!-- Allows access to ASEC non-destructive API calls
1255         @hide  -->
1256    <permission android:name="android.permission.ASEC_ACCESS"
1257        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1258        android:protectionLevel="signature"
1259        android:label="@string/permlab_asec_access"
1260        android:description="@string/permdesc_asec_access" />
1261
1262    <!-- Allows creation of ASEC volumes
1263         @hide  -->
1264    <permission android:name="android.permission.ASEC_CREATE"
1265        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1266        android:protectionLevel="signature"
1267        android:label="@string/permlab_asec_create"
1268        android:description="@string/permdesc_asec_create" />
1269
1270    <!-- Allows destruction of ASEC volumes
1271         @hide  -->
1272    <permission android:name="android.permission.ASEC_DESTROY"
1273        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1274        android:protectionLevel="signature"
1275        android:label="@string/permlab_asec_destroy"
1276        android:description="@string/permdesc_asec_destroy" />
1277
1278    <!-- Allows mount / unmount of ASEC volumes
1279         @hide  -->
1280    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
1281        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1282        android:protectionLevel="signature"
1283        android:label="@string/permlab_asec_mount_unmount"
1284        android:description="@string/permdesc_asec_mount_unmount" />
1285
1286    <!-- Allows rename of ASEC volumes
1287         @hide  -->
1288    <permission android:name="android.permission.ASEC_RENAME"
1289        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1290        android:protectionLevel="signature"
1291        android:label="@string/permlab_asec_rename"
1292        android:description="@string/permdesc_asec_rename" />
1293
1294    <!-- Allows applications to write the apn settings -->
1295    <permission android:name="android.permission.WRITE_APN_SETTINGS"
1296                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1297                android:protectionLevel="signature|system"
1298                android:description="@string/permdesc_writeApnSettings"
1299                android:label="@string/permlab_writeApnSettings" />
1300
1301    <!-- Allows an application to allow access the subscribed feeds
1302         ContentProvider. -->
1303    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1304        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1305        android:label="@string/permlab_subscribedFeedsRead"
1306        android:description="@string/permdesc_subscribedFeedsRead"
1307        android:protectionLevel="normal" />
1308    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1309        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1310        android:label="@string/permlab_subscribedFeedsWrite"
1311        android:description="@string/permdesc_subscribedFeedsWrite"
1312        android:protectionLevel="dangerous" />
1313
1314    <!-- Allows applications to change network connectivity state -->
1315    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
1316        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1317        android:protectionLevel="normal"
1318        android:description="@string/permdesc_changeNetworkState"
1319        android:label="@string/permlab_changeNetworkState" />
1320
1321    <!-- Allows an application to clear the caches of all installed
1322         applications on the device.  -->
1323    <permission android:name="android.permission.CLEAR_APP_CACHE"
1324        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1325        android:protectionLevel="dangerous"
1326        android:label="@string/permlab_clearAppCache"
1327        android:description="@string/permdesc_clearAppCache" />
1328
1329    <!-- Allows an application to use any media decoder when decoding for playback
1330         @hide -->
1331    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
1332        android:protectionLevel="signature|system"
1333        android:label="@string/permlab_anyCodecForPlayback"
1334        android:description="@string/permdesc_anyCodecForPlayback" />
1335
1336    <!-- ========================================= -->
1337    <!-- Permissions for special development tools -->
1338    <!-- ========================================= -->
1339    <eat-comment />
1340
1341    <!-- Group of permissions that are related to development features.  These
1342         are not permissions that should appear in normal applications; they
1343         protect APIs that are intended only to be used for development
1344         purposes. -->
1345    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
1346        android:label="@string/permgrouplab_developmentTools"
1347        android:description="@string/permgroupdesc_developmentTools"
1348        android:priority="31" />
1349
1350    <!-- Allows an application to read or write the secure system settings. -->
1351    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
1352        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1353        android:protectionLevel="signature|system|development"
1354        android:label="@string/permlab_writeSecureSettings"
1355        android:description="@string/permdesc_writeSecureSettings" />
1356
1357    <!-- Allows an application to retrieve state dump information from system
1358         services. -->
1359    <permission android:name="android.permission.DUMP"
1360        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1361        android:protectionLevel="signature|system|development"
1362        android:label="@string/permlab_dump"
1363        android:description="@string/permdesc_dump" />
1364
1365    <!-- Allows an application to read the low-level system log files.
1366         Log entries can contain the user's private information,
1367         which is why this permission is not available to normal apps. -->
1368    <permission android:name="android.permission.READ_LOGS"
1369        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1370        android:protectionLevel="signature|system|development"
1371        android:label="@string/permlab_readLogs"
1372        android:description="@string/permdesc_readLogs" />
1373
1374    <!-- Configure an application for debugging. -->
1375    <permission android:name="android.permission.SET_DEBUG_APP"
1376        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1377        android:protectionLevel="signature|system|development"
1378        android:label="@string/permlab_setDebugApp"
1379        android:description="@string/permdesc_setDebugApp" />
1380
1381    <!-- Allows an application to set the maximum number of (not needed)
1382         application processes that can be running. -->
1383    <permission android:name="android.permission.SET_PROCESS_LIMIT"
1384        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1385        android:protectionLevel="signature|system|development"
1386        android:label="@string/permlab_setProcessLimit"
1387        android:description="@string/permdesc_setProcessLimit" />
1388
1389    <!-- Allows an application to control whether activities are immediately
1390         finished when put in the background. -->
1391    <permission android:name="android.permission.SET_ALWAYS_FINISH"
1392        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1393        android:protectionLevel="signature|system|development"
1394        android:label="@string/permlab_setAlwaysFinish"
1395        android:description="@string/permdesc_setAlwaysFinish" />
1396
1397    <!-- Allow an application to request that a signal be sent to all persistent processes -->
1398    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1399        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1400        android:protectionLevel="signature|system|development"
1401        android:label="@string/permlab_signalPersistentProcesses"
1402        android:description="@string/permdesc_signalPersistentProcesses" />
1403
1404    <!-- ==================================== -->
1405    <!-- Private (signature-only) permissions -->
1406    <!-- ==================================== -->
1407    <eat-comment />
1408
1409    <!-- Allows applications to RW to diagnostic resources. -->
1410    <permission android:name="android.permission.DIAGNOSTIC"
1411        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1412        android:protectionLevel="signature"
1413        android:description="@string/permdesc_diagnostic"
1414        android:label="@string/permlab_diagnostic" />
1415
1416    <!-- Allows an application to open, close, or disable the status bar
1417         and its icons. -->
1418    <permission android:name="android.permission.STATUS_BAR"
1419        android:label="@string/permlab_statusBar"
1420        android:description="@string/permdesc_statusBar"
1421        android:protectionLevel="signature|system" />
1422
1423    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
1424    @hide -->
1425    <permission android:name="android.permission.STATUS_BAR_SERVICE"
1426        android:label="@string/permlab_statusBarService"
1427        android:description="@string/permdesc_statusBarService"
1428        android:protectionLevel="signature" />
1429
1430    <!-- Allows an application to force a BACK operation on whatever is the
1431         top activity. -->
1432    <permission android:name="android.permission.FORCE_BACK"
1433        android:label="@string/permlab_forceBack"
1434        android:description="@string/permdesc_forceBack"
1435        android:protectionLevel="signature" />
1436
1437    <!-- Allows an application to update device statistics. Not for
1438         use by third party apps. -->
1439    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
1440        android:label="@string/permlab_batteryStats"
1441        android:description="@string/permdesc_batteryStats"
1442        android:protectionLevel="signature|system" />
1443
1444    <!-- Allows an application to open windows that are for use by parts
1445         of the system user interface.  Not for use by third party apps. -->
1446    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
1447        android:label="@string/permlab_internalSystemWindow"
1448        android:description="@string/permdesc_internalSystemWindow"
1449        android:protectionLevel="signature" />
1450
1451    <!-- Allows an application to manage (create, destroy,
1452         Z-order) application tokens in the window manager.  This is only
1453         for use by the system. -->
1454    <permission android:name="android.permission.MANAGE_APP_TOKENS"
1455        android:label="@string/permlab_manageAppTokens"
1456        android:description="@string/permdesc_manageAppTokens"
1457        android:protectionLevel="signature" />
1458
1459    <!-- Allows an application to inject user events (keys, touch, trackball)
1460         into the event stream and deliver them to ANY window.  Without this
1461         permission, you can only deliver events to windows in your own process.
1462         Very few applications should need to use this permission. -->
1463    <permission android:name="android.permission.INJECT_EVENTS"
1464        android:label="@string/permlab_injectEvents"
1465        android:description="@string/permdesc_injectEvents"
1466        android:protectionLevel="signature" />
1467
1468    <!-- Allows an application to watch and control how activities are
1469         started globally in the system.  Only for is in debugging
1470         (usually the monkey command). -->
1471    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1472        android:label="@string/permlab_runSetActivityWatcher"
1473        android:description="@string/permdesc_runSetActivityWatcher"
1474        android:protectionLevel="signature" />
1475
1476    <!-- Allows an application to call the activity manager shutdown() API
1477         to put the higher-level system there into a shutdown state.
1478         @hide -->
1479    <permission android:name="android.permission.SHUTDOWN"
1480        android:label="@string/permlab_shutdown"
1481        android:description="@string/permdesc_shutdown"
1482        android:protectionLevel="signature|system" />
1483
1484    <!-- Allows an application to tell the activity manager to temporarily
1485         stop application switches, putting it into a special mode that
1486         prevents applications from immediately switching away from some
1487         critical UI such as the home screen.
1488         @hide -->
1489    <permission android:name="android.permission.STOP_APP_SWITCHES"
1490        android:label="@string/permlab_stopAppSwitches"
1491        android:description="@string/permdesc_stopAppSwitches"
1492        android:protectionLevel="signature|system" />
1493
1494    <!-- Allows an application to retrieve the current state of keys and
1495         switches.  This is only for use by the system.
1496         @deprecated The API that used this permission has been removed. -->
1497    <permission android:name="android.permission.READ_INPUT_STATE"
1498        android:label="@string/permlab_readInputState"
1499        android:description="@string/permdesc_readInputState"
1500        android:protectionLevel="signature" />
1501
1502    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1503         to ensure that only the system can bind to it. -->
1504    <permission android:name="android.permission.BIND_INPUT_METHOD"
1505        android:label="@string/permlab_bindInputMethod"
1506        android:description="@string/permdesc_bindInputMethod"
1507        android:protectionLevel="signature" />
1508
1509    <!-- Must be required by a TextService (e.g. SpellCheckerService)
1510         to ensure that only the system can bind to it. -->
1511    <permission android:name="android.permission.BIND_TEXT_SERVICE"
1512        android:label="@string/permlab_bindTextService"
1513        android:description="@string/permdesc_bindTextService"
1514        android:protectionLevel="signature" />
1515
1516    <!-- Must be required by an {@link android.net.VpnService},
1517         to ensure that only the system can bind to it. -->
1518    <permission android:name="android.permission.BIND_VPN_SERVICE"
1519        android:label="@string/permlab_bindVpnService"
1520        android:description="@string/permdesc_bindVpnService"
1521        android:protectionLevel="signature" />
1522
1523    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1524         to ensure that only the system can bind to it. -->
1525    <permission android:name="android.permission.BIND_WALLPAPER"
1526        android:label="@string/permlab_bindWallpaper"
1527        android:description="@string/permdesc_bindWallpaper"
1528        android:protectionLevel="signature|system" />
1529
1530    <!-- Must be required by device administration receiver, to ensure that only the
1531         system can interact with it. -->
1532    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1533        android:label="@string/permlab_bindDeviceAdmin"
1534        android:description="@string/permdesc_bindDeviceAdmin"
1535        android:protectionLevel="signature" />
1536
1537    <!-- Allows low-level access to setting the orientation (actually
1538         rotation) of the screen.  Not for use by normal applications. -->
1539    <permission android:name="android.permission.SET_ORIENTATION"
1540        android:label="@string/permlab_setOrientation"
1541        android:description="@string/permdesc_setOrientation"
1542        android:protectionLevel="signature" />
1543
1544    <!-- Allows low-level access to setting the pointer speed.
1545         Not for use by normal applications. -->
1546    <permission android:name="android.permission.SET_POINTER_SPEED"
1547        android:label="@string/permlab_setPointerSpeed"
1548        android:description="@string/permdesc_setPointerSpeed"
1549        android:protectionLevel="signature" />
1550
1551    <!-- Allows low-level access to setting the keyboard layout.
1552         Not for use by normal applications. -->
1553    <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
1554        android:label="@string/permlab_setKeyboardLayout"
1555        android:description="@string/permdesc_setKeyboardLayout"
1556        android:protectionLevel="signature" />
1557
1558    <!-- Allows an application to install packages. -->
1559    <permission android:name="android.permission.INSTALL_PACKAGES"
1560        android:label="@string/permlab_installPackages"
1561        android:description="@string/permdesc_installPackages"
1562        android:protectionLevel="signature|system" />
1563
1564    <!-- Allows an application to clear user data -->
1565    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1566        android:label="@string/permlab_clearAppUserData"
1567        android:description="@string/permdesc_clearAppUserData"
1568        android:protectionLevel="signature" />
1569
1570    <!-- Allows an application to delete cache files. -->
1571    <permission android:name="android.permission.DELETE_CACHE_FILES"
1572        android:label="@string/permlab_deleteCacheFiles"
1573        android:description="@string/permdesc_deleteCacheFiles"
1574        android:protectionLevel="signature|system" />
1575
1576    <!-- Allows an application to delete packages. -->
1577    <permission android:name="android.permission.DELETE_PACKAGES"
1578        android:label="@string/permlab_deletePackages"
1579        android:description="@string/permdesc_deletePackages"
1580        android:protectionLevel="signature|system" />
1581
1582    <!-- Allows an application to move location of installed package.
1583         @hide -->
1584    <permission android:name="android.permission.MOVE_PACKAGE"
1585        android:label="@string/permlab_movePackage"
1586        android:description="@string/permdesc_movePackage"
1587        android:protectionLevel="signature|system" />
1588
1589    <!-- Allows an application to change whether an application component (other than its own) is
1590         enabled or not. -->
1591    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1592        android:label="@string/permlab_changeComponentState"
1593        android:description="@string/permdesc_changeComponentState"
1594        android:protectionLevel="signature|system" />
1595
1596    <!-- @hide Allows an application to grant or revoke specific permissions. -->
1597    <permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
1598        android:label="@string/permlab_grantRevokePermissions"
1599        android:description="@string/permdesc_grantRevokePermissions"
1600        android:protectionLevel="signature" />
1601
1602    <!-- Allows an application to use SurfaceFlinger's low level features -->
1603    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1604        android:label="@string/permlab_accessSurfaceFlinger"
1605        android:description="@string/permdesc_accessSurfaceFlinger"
1606        android:protectionLevel="signature" />
1607
1608    <!-- Allows an application to take screen shots and more generally
1609         get access to the frame buffer data -->
1610    <permission android:name="android.permission.READ_FRAME_BUFFER"
1611        android:label="@string/permlab_readFrameBuffer"
1612        android:description="@string/permdesc_readFrameBuffer"
1613        android:protectionLevel="signature|system" />
1614
1615    <!-- Required to be able to disable the device (very dangerous!). -->
1616    <permission android:name="android.permission.BRICK"
1617        android:label="@string/permlab_brick"
1618        android:description="@string/permdesc_brick"
1619        android:protectionLevel="signature" />
1620
1621    <!-- Required to be able to reboot the device. -->
1622    <permission android:name="android.permission.REBOOT"
1623        android:label="@string/permlab_reboot"
1624        android:description="@string/permdesc_reboot"
1625        android:protectionLevel="signature|system" />
1626
1627   <!-- Allows low-level access to power management -->
1628    <permission android:name="android.permission.DEVICE_POWER"
1629        android:label="@string/permlab_devicePower"
1630        android:description="@string/permdesc_devicePower"
1631        android:protectionLevel="signature" />
1632
1633    <!-- Run as a manufacturer test application, running as the root user.
1634         Only available when the device is running in manufacturer test mode. -->
1635    <permission android:name="android.permission.FACTORY_TEST"
1636        android:label="@string/permlab_factoryTest"
1637        android:description="@string/permdesc_factoryTest"
1638        android:protectionLevel="signature" />
1639
1640    <!-- Allows an application to broadcast a notification that an application
1641         package has been removed. -->
1642    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1643        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1644        android:label="@string/permlab_broadcastPackageRemoved"
1645        android:description="@string/permdesc_broadcastPackageRemoved"
1646        android:protectionLevel="signature" />
1647
1648    <!-- Allows an application to broadcast an SMS receipt notification -->
1649    <permission android:name="android.permission.BROADCAST_SMS"
1650        android:permissionGroup="android.permission-group.MESSAGES"
1651        android:label="@string/permlab_broadcastSmsReceived"
1652        android:description="@string/permdesc_broadcastSmsReceived"
1653        android:protectionLevel="signature" />
1654
1655    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1656    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1657        android:permissionGroup="android.permission-group.MESSAGES"
1658        android:label="@string/permlab_broadcastWapPush"
1659        android:description="@string/permdesc_broadcastWapPush"
1660        android:protectionLevel="signature" />
1661
1662    <permission android:name="android.permission.MASTER_CLEAR"
1663        android:label="@string/permlab_masterClear"
1664        android:description="@string/permdesc_masterClear"
1665        android:protectionLevel="signature|system" />
1666
1667    <!-- Allows an application to call any phone number, including emergency
1668         numbers, without going through the Dialer user interface for the user
1669         to confirm the call being placed. -->
1670    <permission android:name="android.permission.CALL_PRIVILEGED"
1671        android:label="@string/permlab_callPrivileged"
1672        android:description="@string/permdesc_callPrivileged"
1673        android:protectionLevel="signature|system" />
1674
1675    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1676    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1677        android:label="@string/permlab_performCdmaProvisioning"
1678        android:description="@string/permdesc_performCdmaProvisioning"
1679        android:protectionLevel="signature|system" />
1680
1681    <!-- Allows enabling/disabling location update notifications from
1682         the radio. Not for use by normal applications. -->
1683    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1684        android:label="@string/permlab_locationUpdates"
1685        android:description="@string/permdesc_locationUpdates"
1686        android:protectionLevel="signature|system" />
1687
1688    <!-- Allows read/write access to the "properties" table in the checkin
1689         database, to change values that get uploaded. -->
1690    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1691        android:label="@string/permlab_checkinProperties"
1692        android:description="@string/permdesc_checkinProperties"
1693        android:protectionLevel="signature|system" />
1694
1695    <!-- Allows an application to collect component usage
1696         statistics @hide -->
1697    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1698        android:label="@string/permlab_pkgUsageStats"
1699        android:description="@string/permdesc_pkgUsageStats"
1700        android:protectionLevel="signature|system" />
1701
1702    <!-- Allows an application to collect battery statistics -->
1703    <permission android:name="android.permission.BATTERY_STATS"
1704        android:label="@string/permlab_batteryStats"
1705        android:description="@string/permdesc_batteryStats"
1706        android:protectionLevel="normal" />
1707
1708    <!-- Allows an application to control the backup and restore process
1709         @hide pending API council -->
1710    <permission android:name="android.permission.BACKUP"
1711        android:label="@string/permlab_backup"
1712        android:description="@string/permdesc_backup"
1713        android:protectionLevel="signature|system" />
1714
1715    <!-- Allows a package to launch the secure full-backup confirmation UI.
1716         ONLY the system process may hold this permission.
1717         @hide -->
1718    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
1719        android:label="@string/permlab_confirm_full_backup"
1720        android:description="@string/permdesc_confirm_full_backup"
1721        android:protectionLevel="signature" />
1722
1723    <!-- Must be required by a {@link android.widget.RemoteViewsService},
1724         to ensure that only the system can bind to it. -->
1725    <permission android:name="android.permission.BIND_REMOTEVIEWS"
1726        android:label="@string/permlab_bindRemoteViews"
1727        android:description="@string/permdesc_bindRemoteViews"
1728        android:protectionLevel="signature|system" />
1729
1730    <!-- Allows an application to tell the AppWidget service which application
1731         can access AppWidget's data.  The normal user flow is that a user
1732         picks an AppWidget to go into a particular host, thereby giving that
1733         host application access to the private data from the AppWidget app.
1734         An application that has this permission should honor that contract.
1735         Very few applications should need to use this permission. -->
1736    <permission android:name="android.permission.BIND_APPWIDGET"
1737        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1738        android:label="@string/permlab_bindGadget"
1739        android:description="@string/permdesc_bindGadget"
1740        android:protectionLevel="signature|system" />
1741
1742    <!-- Internal permission allowing an application to query/set which
1743         applications can bind AppWidgets.
1744         @hide -->
1745    <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
1746        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1747        android:protectionLevel="signature|system" />
1748
1749    <!-- Allows applications to change the background data setting
1750         @hide pending API council -->
1751    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1752        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1753        android:protectionLevel="signature"
1754        android:description="@string/permdesc_changeBackgroundDataSetting"
1755        android:label="@string/permlab_changeBackgroundDataSetting" />
1756
1757    <!-- This permission can be used on content providers to allow the global
1758         search system to access their data.  Typically it used when the
1759         provider has some permissions protecting it (which global search
1760         would not be expected to hold), and added as a read-only permission
1761         to the path in the provider where global search queries are
1762         performed.  This permission can not be held by regular applications;
1763         it is used by applications to protect themselves from everyone else
1764         besides global search. -->
1765    <permission android:name="android.permission.GLOBAL_SEARCH"
1766        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1767        android:protectionLevel="signature|system" />
1768
1769    <!-- Internal permission protecting access to the global search
1770         system: ensures that only the system can access the provider
1771         to perform queries (since this otherwise provides unrestricted
1772         access to a variety of content providers), and to write the
1773         search statistics (to keep applications from gaming the source
1774         ranking).
1775         @hide -->
1776    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1777        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1778        android:protectionLevel="signature" />
1779
1780    <!-- Allows applications to set a live wallpaper.
1781         @hide XXX Change to signature once the picker is moved to its
1782         own apk as Ghod Intended. -->
1783    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1784        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1785        android:protectionLevel="signature|system" />
1786
1787    <!-- Allow an application to read and write the cache partition.
1788         @hide -->
1789    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1790        android:label="@string/permlab_cache_filesystem"
1791        android:description="@string/permdesc_cache_filesystem"
1792        android:protectionLevel="signature|system" />
1793
1794    <!-- Must be required by default container service so that only
1795         the system can bind to it and use it to copy
1796         protected data to secure containers or files
1797         accessible to the system.
1798         @hide -->
1799    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1800        android:label="@string/permlab_copyProtectedData"
1801        android:description="@string/permlab_copyProtectedData"
1802        android:protectionLevel="signature" />
1803
1804    <!-- Internal permission protecting access to the encryption methods
1805        @hide
1806    -->
1807    <permission android:name="android.permission.CRYPT_KEEPER"
1808        android:protectionLevel="signature|system" />
1809
1810    <!-- Allows an application to read historical network usage for
1811         specific networks and applications. @hide -->
1812    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
1813        android:label="@string/permlab_readNetworkUsageHistory"
1814        android:description="@string/permdesc_readNetworkUsageHistory"
1815        android:protectionLevel="signature|system" />
1816
1817    <!-- Allows an application to manage network policies (such as warning and disable
1818         limits) and to define application-specific rules. @hide -->
1819    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
1820        android:label="@string/permlab_manageNetworkPolicy"
1821        android:description="@string/permdesc_manageNetworkPolicy"
1822        android:protectionLevel="signature" />
1823
1824    <!-- Allows an application to account its network traffic against other UIDs. Used
1825         by system services like download manager and media server. Not for use by
1826         third party apps. @hide -->
1827    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
1828        android:label="@string/permlab_modifyNetworkAccounting"
1829        android:description="@string/permdesc_modifyNetworkAccounting"
1830        android:protectionLevel="signature|system" />
1831
1832    <!-- C2DM permission.
1833         @hide Used internally.
1834     -->
1835    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
1836          android:protectionLevel="signature" />
1837    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
1838
1839    <!-- Package verifier needs to have this permission before the PackageManager will
1840         trust it to verify packages.
1841         @hide
1842    -->
1843    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
1844        android:label="@string/permlab_packageVerificationAgent"
1845        android:description="@string/permdesc_packageVerificationAgent"
1846        android:protectionLevel="signature|system" />
1847
1848    <!-- Must be required by package verifier receiver, to ensure that only the
1849         system can interact with it.
1850         @hide
1851    -->
1852    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
1853        android:label="@string/permlab_bindPackageVerifier"
1854        android:description="@string/permdesc_bindPackageVerifier"
1855        android:protectionLevel="signature" />
1856
1857    <!-- Allows applications to access serial ports via the SerialManager.
1858         @hide -->
1859    <permission android:name="android.permission.SERIAL_PORT"
1860        android:label="@string/permlab_serialPort"
1861        android:description="@string/permdesc_serialPort"
1862        android:protectionLevel="normal" />
1863
1864    <!-- Allows the holder to access content providers from outside an ApplicationThread.
1865         This permission is enforced by the ActivityManagerService on the corresponding APIs,
1866         in particular ActivityManagerService#getContentProviderExternal(String) and
1867         ActivityManagerService#removeContentProviderExternal(String).
1868         @hide
1869    -->
1870    <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
1871        android:label="@string/permlab_accessContentProvidersExternally"
1872        android:description="@string/permdesc_accessContentProvidersExternally"
1873        android:protectionLevel="signature" />
1874    <!-- Allows an application to hold an UpdateLock, recommending that a headless
1875         OTA reboot *not* occur while the lock is held.
1876         @hide -->
1877    <permission android:name="android.permission.UPDATE_LOCK"
1878        android:label="@string/permlab_updateLock"
1879        android:description="@string/permdesc_updateLock"
1880        android:protectionLevel="signatureOrSystem" />
1881
1882    <!-- The system process is explicitly the only one allowed to launch the
1883         confirmation UI for full backup/restore -->
1884    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
1885
1886    <application android:process="system"
1887                 android:persistent="true"
1888                 android:hasCode="false"
1889                 android:label="@string/android_system_label"
1890                 android:allowClearUserData="false"
1891                 android:backupAgent="com.android.server.SystemBackupAgent"
1892                 android:killAfterRestore="false"
1893                 android:icon="@drawable/ic_launcher_android">
1894        <activity android:name="com.android.internal.app.ChooserActivity"
1895                android:theme="@style/Theme.Holo.Dialog.Alert"
1896                android:finishOnCloseSystemDialogs="true"
1897                android:excludeFromRecents="true"
1898                android:multiprocess="true">
1899            <intent-filter>
1900                <action android:name="android.intent.action.CHOOSER" />
1901                <category android:name="android.intent.category.DEFAULT" />
1902            </intent-filter>
1903        </activity>
1904        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
1905                android:theme="@style/Theme.Holo.Dialog"
1906                android:label="@string/heavy_weight_switcher_title"
1907                android:finishOnCloseSystemDialogs="true"
1908                android:excludeFromRecents="true"
1909                android:process=":ui">
1910        </activity>
1911        <activity android:name="com.android.internal.app.PlatLogoActivity"
1912                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
1913                android:process=":ui">
1914        </activity>
1915        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1916                android:theme="@style/Theme.NoDisplay"
1917                android:excludeFromRecents="true"
1918                android:process=":ui">
1919        </activity>
1920
1921        <activity android:name="android.accounts.ChooseAccountActivity"
1922                android:excludeFromRecents="true"
1923                android:exported="true"
1924                android:theme="@android:style/Theme.Holo.Dialog"
1925                android:label="@string/choose_account_label"
1926                android:process=":ui">
1927        </activity>
1928
1929        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
1930                android:excludeFromRecents="true"
1931                android:exported="true"
1932                android:theme="@android:style/Theme.Holo.DialogWhenLarge.NoActionBar"
1933                android:label="@string/choose_account_label"
1934                android:process=":ui">
1935        </activity>
1936
1937        <activity android:name="android.accounts.ChooseAccountTypeActivity"
1938                android:excludeFromRecents="true"
1939                android:theme="@android:style/Theme.Holo.DialogWhenLarge.NoActionBar"
1940                android:label="@string/choose_account_label"
1941                android:process=":ui">
1942        </activity>
1943
1944        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1945                android:excludeFromRecents="true"
1946                android:exported="true"
1947                android:theme="@android:style/Theme.Holo.DialogWhenLarge"
1948                android:process=":ui">
1949        </activity>
1950
1951        <activity android:name="android.content.SyncActivityTooManyDeletes"
1952               android:theme="@android:style/Theme.Holo.Dialog"
1953               android:label="@string/sync_too_many_deletes"
1954               android:process=":ui">
1955        </activity>
1956
1957        <activity android:name="com.android.server.ShutdownActivity"
1958            android:permission="android.permission.SHUTDOWN"
1959            android:excludeFromRecents="true">
1960            <intent-filter>
1961                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1962                <category android:name="android.intent.category.DEFAULT" />
1963            </intent-filter>
1964            <intent-filter>
1965                <action android:name="android.intent.action.REBOOT" />
1966                <category android:name="android.intent.category.DEFAULT" />
1967            </intent-filter>
1968        </activity>
1969
1970        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1971                android:theme="@style/Theme.Holo.Dialog.Alert"
1972                android:excludeFromRecents="true"
1973                android:process=":ui">
1974        </activity>
1975
1976        <receiver android:name="com.android.server.BootReceiver" >
1977            <intent-filter>
1978                <action android:name="android.intent.action.BOOT_COMPLETED" />
1979            </intent-filter>
1980        </receiver>
1981
1982        <receiver android:name="com.android.server.MasterClearReceiver"
1983            android:permission="android.permission.MASTER_CLEAR"
1984            android:priority="100" >
1985            <intent-filter>
1986                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1987                <action android:name="android.intent.action.MASTER_CLEAR" />
1988
1989                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1990                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1991                <category android:name="android.intent.category.MASTER_CLEAR" />
1992            </intent-filter>
1993        </receiver>
1994
1995        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
1996            android:permission="android.permission.MASTER_CLEAR"
1997            android:exported="true" />
1998
1999    </application>
2000
2001</manifest>
2002