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