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