AndroidManifest.xml revision c535f7f291f0bda688efcee62f21cf44d0ebe38e
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" 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_CHANGED" />
41    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
42    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
43    <protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
44    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
45    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
46    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
47    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
48    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
49    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
50    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
51    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
52    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
53    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
54    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
55    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
56    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
57    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
58    <protected-broadcast android:name="android.intent.action.REBOOT" />
59    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
60
61    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
62    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
63    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
64    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
65    
66    <protected-broadcast android:name="android.backup.intent.RUN" />
67    <protected-broadcast android:name="android.backup.intent.CLEAR" />
68    <protected-broadcast android:name="android.backup.intent.INIT" />
69
70    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
71    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
72    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
73    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
74    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
75    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
76    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
77    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
78    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
79    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
80    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
81    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
82    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
83    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
84    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
85    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
86
87    <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
88    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
89    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
90    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
91    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
92
93    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
94    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
95    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
96    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
97
98    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
99    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
100    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
101
102
103    <!-- ====================================== -->
104    <!-- Permissions for things that cost money -->
105    <!-- ====================================== -->
106    <eat-comment />
107
108    <!-- Used for permissions that can be used to make the user spend money
109         without their direct involvement.  For example, this is the group
110         for permissions that allow you to directly place phone calls,
111         directly send SMS messages, etc. -->
112    <permission-group android:name="android.permission-group.COST_MONEY"
113        android:label="@string/permgrouplab_costMoney"
114        android:description="@string/permgroupdesc_costMoney" />
115
116    <!-- Allows an application to send SMS messages. -->
117    <permission android:name="android.permission.SEND_SMS"
118        android:permissionGroup="android.permission-group.COST_MONEY"
119        android:protectionLevel="dangerous"
120        android:label="@string/permlab_sendSms"
121        android:description="@string/permdesc_sendSms" />
122
123    <!-- Allows an application to initiate a phone call without going through
124         the Dialer user interface for the user to confirm the call
125         being placed. -->
126    <permission android:name="android.permission.CALL_PHONE"
127        android:permissionGroup="android.permission-group.COST_MONEY"
128        android:protectionLevel="dangerous"
129        android:label="@string/permlab_callPhone"
130        android:description="@string/permdesc_callPhone" />
131
132    <!-- ================================== -->
133    <!-- Permissions for accessing messages -->
134    <!-- ================================== -->
135    <eat-comment />
136
137    <!-- Used for permissions that allow an application to send messages
138         on behalf of the user or intercept messages being received by the
139         user.  This is primarily intended for SMS/MMS messaging, such as
140         receiving or reading an MMS. -->
141    <permission-group android:name="android.permission-group.MESSAGES"
142        android:label="@string/permgrouplab_messages"
143        android:description="@string/permgroupdesc_messages" />
144
145    <!-- Allows an application to monitor incoming SMS messages, to record
146         or perform processing on them. -->
147    <permission android:name="android.permission.RECEIVE_SMS"
148        android:permissionGroup="android.permission-group.MESSAGES"
149        android:protectionLevel="dangerous"
150        android:label="@string/permlab_receiveSms"
151        android:description="@string/permdesc_receiveSms" />
152
153    <!-- Allows an application to monitor incoming MMS messages, to record
154         or perform processing on them. -->
155    <permission android:name="android.permission.RECEIVE_MMS"
156        android:permissionGroup="android.permission-group.MESSAGES"
157        android:protectionLevel="dangerous"
158        android:label="@string/permlab_receiveMms"
159        android:description="@string/permdesc_receiveMms" />
160
161    <!-- Allows an application to read SMS messages. -->
162    <permission android:name="android.permission.READ_SMS"
163        android:permissionGroup="android.permission-group.MESSAGES"
164        android:protectionLevel="dangerous"
165        android:label="@string/permlab_readSms"
166        android:description="@string/permdesc_readSms" />
167
168    <!-- Allows an application to write SMS messages. -->
169    <permission android:name="android.permission.WRITE_SMS"
170        android:permissionGroup="android.permission-group.MESSAGES"
171        android:protectionLevel="dangerous"
172        android:label="@string/permlab_writeSms"
173        android:description="@string/permdesc_writeSms" />
174
175    <!-- Allows an application to monitor incoming WAP push messages. -->
176    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
177        android:permissionGroup="android.permission-group.MESSAGES"
178        android:protectionLevel="dangerous"
179        android:label="@string/permlab_receiveWapPush"
180        android:description="@string/permdesc_receiveWapPush" />
181
182    <!-- =============================================================== -->
183    <!-- Permissions for accessing personal info (contacts and calendar) -->
184    <!-- =============================================================== -->
185    <eat-comment />
186
187    <!-- Used for permissions that provide access to the user's private data,
188         such as contacts, calendar events, e-mail messages, etc.  This includes
189         both reading and writing of this data (which should generally be
190         expressed as two distinct permissions). -->
191    <permission-group android:name="android.permission-group.PERSONAL_INFO"
192        android:label="@string/permgrouplab_personalInfo"
193        android:description="@string/permgroupdesc_personalInfo" />
194
195    <!-- Allows an application to read the user's contacts data. -->
196    <permission android:name="android.permission.READ_CONTACTS"
197        android:permissionGroup="android.permission-group.PERSONAL_INFO"
198        android:protectionLevel="dangerous"
199        android:label="@string/permlab_readContacts"
200        android:description="@string/permdesc_readContacts" />
201
202    <!-- Allows an application to write (but not read) the user's
203         contacts data. -->
204    <permission android:name="android.permission.WRITE_CONTACTS"
205        android:permissionGroup="android.permission-group.PERSONAL_INFO"
206        android:protectionLevel="dangerous"
207        android:label="@string/permlab_writeContacts"
208        android:description="@string/permdesc_writeContacts" />
209
210    <!-- Allows an application to read the user's calendar data. -->
211    <permission android:name="android.permission.READ_CALENDAR"
212        android:permissionGroup="android.permission-group.PERSONAL_INFO"
213        android:protectionLevel="dangerous"
214        android:label="@string/permlab_readCalendar"
215        android:description="@string/permdesc_readCalendar" />
216
217    <!-- Allows an application to write (but not read) the user's
218         calendar data. -->
219    <permission android:name="android.permission.WRITE_CALENDAR"
220        android:permissionGroup="android.permission-group.PERSONAL_INFO"
221        android:protectionLevel="dangerous"
222        android:label="@string/permlab_writeCalendar"
223        android:description="@string/permdesc_writeCalendar" />
224
225    <!-- Allows an application to read the user dictionary. This should
226         really only be required by an IME, or a dictionary editor like
227         the Settings app.
228         @hide Pending API council approval -->
229    <permission android:name="android.permission.READ_USER_DICTIONARY"
230        android:permissionGroup="android.permission-group.PERSONAL_INFO"
231        android:protectionLevel="dangerous"
232        android:label="@string/permlab_readDictionary"
233        android:description="@string/permdesc_readDictionary" />
234
235    <!-- Allows an application to write to the user dictionary.
236         @hide Pending API council approval -->
237    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
238        android:permissionGroup="android.permission-group.PERSONAL_INFO"
239        android:protectionLevel="normal"
240        android:label="@string/permlab_writeDictionary"
241        android:description="@string/permdesc_writeDictionary" />
242
243    <!-- Allows an application to read (but not write) the user's
244        browsing history and bookmarks. -->
245    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
246        android:permissionGroup="android.permission-group.PERSONAL_INFO"
247        android:label="@string/permlab_readHistoryBookmarks"
248        android:description="@string/permdesc_readHistoryBookmarks"
249        android:protectionLevel="dangerous" />
250
251    <!-- Allows an application to write (but not read) the user's
252        browsing history and bookmarks. -->
253    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
254        android:permissionGroup="android.permission-group.PERSONAL_INFO"
255        android:label="@string/permlab_writeHistoryBookmarks"
256        android:description="@string/permdesc_writeHistoryBookmarks"
257        android:protectionLevel="dangerous" />
258
259    <!-- Allows an application to broadcast an Intent to set an alarm for the
260         user. -->
261    <permission android:name="com.android.alarm.permission.SET_ALARM"
262        android:permissionGroup="android.permission-group.PERSONAL_INFO"
263        android:label="@string/permlab_setAlarm"
264        android:description="@string/permdesc_setAlarm"
265        android:protectionLevel="normal" />
266
267    <!-- ======================================= -->
268    <!-- Permissions for accessing location info -->
269    <!-- ======================================= -->
270    <eat-comment />
271
272    <!-- Used for permissions that allow access to the user's current
273         location. -->
274    <permission-group android:name="android.permission-group.LOCATION"
275        android:label="@string/permgrouplab_location"
276        android:description="@string/permgroupdesc_location" />
277
278    <!-- Allows an application to access fine (e.g., GPS) location -->
279    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
280        android:permissionGroup="android.permission-group.LOCATION"
281        android:protectionLevel="dangerous"
282        android:label="@string/permlab_accessFineLocation"
283        android:description="@string/permdesc_accessFineLocation" />
284
285    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
286    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
287        android:permissionGroup="android.permission-group.LOCATION"
288        android:protectionLevel="dangerous"
289        android:label="@string/permlab_accessCoarseLocation"
290        android:description="@string/permdesc_accessCoarseLocation" />
291
292    <!-- Allows an application to create mock location providers for testing -->
293    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
294        android:permissionGroup="android.permission-group.LOCATION"
295        android:protectionLevel="dangerous"
296        android:label="@string/permlab_accessMockLocation"
297        android:description="@string/permdesc_accessMockLocation" />
298
299    <!-- Allows an application to access extra location provider commands -->
300    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
301        android:permissionGroup="android.permission-group.LOCATION"
302        android:protectionLevel="normal"
303        android:label="@string/permlab_accessLocationExtraCommands"
304        android:description="@string/permdesc_accessLocationExtraCommands" />
305
306    <!-- Allows an application to install a location provider into the Location Manager -->
307    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
308        android:protectionLevel="signatureOrSystem"
309        android:label="@string/permlab_installLocationProvider"
310        android:description="@string/permdesc_installLocationProvider" />
311
312    <!-- ======================================= -->
313    <!-- Permissions for accessing networks -->
314    <!-- ======================================= -->
315    <eat-comment />
316
317    <!-- Used for permissions that provide access to networking services.  The
318         main permission here is internet access, but this is also an
319         appropriate group for accessing or modifying any network configuration
320         or other related network operations. -->
321    <permission-group android:name="android.permission-group.NETWORK"
322        android:label="@string/permgrouplab_network"
323        android:description="@string/permgroupdesc_network" />
324
325    <!-- Allows applications to open network sockets. -->
326    <permission android:name="android.permission.INTERNET"
327        android:permissionGroup="android.permission-group.NETWORK"
328        android:protectionLevel="dangerous"
329        android:description="@string/permdesc_createNetworkSockets"
330        android:label="@string/permlab_createNetworkSockets" />
331
332    <!-- Allows applications to access information about networks -->
333    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
334        android:permissionGroup="android.permission-group.NETWORK"
335        android:protectionLevel="normal"
336        android:description="@string/permdesc_accessNetworkState"
337        android:label="@string/permlab_accessNetworkState" />
338
339    <!-- Allows applications to access information about Wi-Fi networks -->
340    <permission android:name="android.permission.ACCESS_WIFI_STATE"
341        android:permissionGroup="android.permission-group.NETWORK"
342        android:protectionLevel="normal"
343        android:description="@string/permdesc_accessWifiState"
344        android:label="@string/permlab_accessWifiState" />
345
346    <!-- Allows applications to connect to paired bluetooth devices -->
347    <permission android:name="android.permission.BLUETOOTH"
348        android:permissionGroup="android.permission-group.NETWORK"
349        android:protectionLevel="dangerous"
350        android:description="@string/permdesc_bluetooth"
351        android:label="@string/permlab_bluetooth" />
352
353    <!-- Allows applications to perform I/O operations over NFC -->
354    <permission android:name="android.permission.NFC"
355        android:permissionGroup="android.permission-group.NETWORK"
356        android:protectionLevel="dangerous"
357        android:description="@string/permdesc_nfc"
358        android:label="@string/permlab_nfc" />
359
360    <!-- Allows an application to use SIP service -->
361    <permission android:name="android.permission.USE_SIP"
362        android:permissionGroup="android.permission-group.NETWORK"
363        android:protectionLevel="dangerous"
364        android:description="@string/permdesc_use_sip"
365        android:label="@string/permlab_use_sip" />
366
367    <!-- Allows applications to call into AccountAuthenticators. Only
368    the system can get this permission. -->
369    <permission android:name="android.permission.ACCOUNT_MANAGER"
370        android:permissionGroup="android.permission-group.ACCOUNTS"
371        android:protectionLevel="signature"
372        android:description="@string/permdesc_accountManagerService"
373        android:label="@string/permlab_accountManagerService" />
374
375    <!-- Allows an internal user to use privaledged ConnectivityManager
376    APIs.
377        @hide -->
378    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
379        android:permissionGroup="android.permission-group.NETWORK"
380        android:protectionLevel="signatureOrSystem" />
381
382    <!-- ================================== -->
383    <!-- Permissions for accessing accounts -->
384    <!-- ================================== -->
385    <eat-comment />
386
387    <!-- Permissions for direct access to the accounts managed
388         by the Account Manager. -->
389    <permission-group android:name="android.permission-group.ACCOUNTS"
390        android:label="@string/permgrouplab_accounts"
391        android:description="@string/permgroupdesc_accounts" />
392
393    <!-- Allows access to the list of accounts in the Accounts Service -->
394    <permission android:name="android.permission.GET_ACCOUNTS"
395        android:permissionGroup="android.permission-group.ACCOUNTS"
396        android:protectionLevel="normal"
397        android:description="@string/permdesc_getAccounts"
398        android:label="@string/permlab_getAccounts" />
399
400    <!-- Allows an application to act as an AccountAuthenticator for
401         the AccountManager -->
402    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
403        android:permissionGroup="android.permission-group.ACCOUNTS"
404        android:protectionLevel="dangerous"
405        android:label="@string/permlab_authenticateAccounts"
406        android:description="@string/permdesc_authenticateAccounts" />
407
408    <!-- Allows an application to request authtokens from the AccountManager -->
409    <permission android:name="android.permission.USE_CREDENTIALS"
410        android:permissionGroup="android.permission-group.ACCOUNTS"
411        android:protectionLevel="dangerous"
412        android:label="@string/permlab_useCredentials"
413        android:description="@string/permdesc_useCredentials" />
414
415    <!-- Allows an application to manage the list of accounts in the AccountManager -->
416    <permission android:name="android.permission.MANAGE_ACCOUNTS"
417        android:permissionGroup="android.permission-group.ACCOUNTS"
418        android:protectionLevel="dangerous"
419        android:label="@string/permlab_manageAccounts"
420        android:description="@string/permdesc_manageAccounts" />
421
422    <!-- ================================== -->
423    <!-- Permissions for accessing hardware -->
424    <!-- ================================== -->
425    <eat-comment />
426
427    <!-- Used for permissions that provide direct access to the hardware on
428         the device.  This includes audio, the camera, vibrator, etc. -->
429    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
430        android:label="@string/permgrouplab_hardwareControls"
431        android:description="@string/permgroupdesc_hardwareControls" />
432
433    <!-- Allows an application to modify global audio settings -->
434    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
435        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
436        android:protectionLevel="dangerous"
437        android:label="@string/permlab_modifyAudioSettings"
438        android:description="@string/permdesc_modifyAudioSettings" />
439
440    <!-- Allows an application to record audio -->
441    <permission android:name="android.permission.RECORD_AUDIO"
442        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
443        android:protectionLevel="dangerous"
444        android:label="@string/permlab_recordAudio"
445        android:description="@string/permdesc_recordAudio" />
446
447    <!-- Required to be able to access the camera device.
448         <p>This will automatically enforce the <a
449         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
450         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
451         If you do not require all camera features or can properly operate if a camera
452         is not available, then you must modify your manifest as appropriate in order to
453         install on devices that don't support all camera features.</p> -->
454    <permission android:name="android.permission.CAMERA"
455        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
456        android:protectionLevel="dangerous"
457        android:label="@string/permlab_camera"
458        android:description="@string/permdesc_camera" />
459
460    <!-- Allows access to the vibrator -->
461    <permission android:name="android.permission.VIBRATE"
462        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
463        android:protectionLevel="normal"
464        android:label="@string/permlab_vibrate"
465        android:description="@string/permdesc_vibrate" />
466
467    <!-- Allows access to the flashlight -->
468    <permission android:name="android.permission.FLASHLIGHT"
469        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
470        android:protectionLevel="normal"
471        android:label="@string/permlab_flashlight"
472        android:description="@string/permdesc_flashlight" />
473
474    <!-- Allows an application to manage preferences and permissions for USB devices
475         @hide -->
476    <permission android:name="android.permission.MANAGE_USB"
477        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
478        android:protectionLevel="signatureOrSystem"
479        android:label="@string/permlab_manageUsb"
480        android:description="@string/permdesc_manageUsb" />
481
482    <!-- Allows an application to access the MTP USB kernel driver.
483         For use only by the device side MTP implementation.
484         @hide -->
485    <permission android:name="android.permission.ACCESS_MTP"
486        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
487        android:protectionLevel="signatureOrSystem"
488        android:label="@string/permlab_accessMtp"
489        android:description="@string/permdesc_accessMtp" />
490
491    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
492    <permission android:name="android.permission.HARDWARE_TEST"
493        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
494        android:protectionLevel="signature"
495        android:label="@string/permlab_hardware_test"
496        android:description="@string/permdesc_hardware_test" />
497
498    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
499         @hide -->
500    <permission android:name="android.permission.NET_ADMIN"
501        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
502        android:protectionLevel="signature" />
503
504    <!-- =========================================== -->
505    <!-- Permissions associated with telephony state -->
506    <!-- =========================================== -->
507    <eat-comment />
508
509    <!-- Used for permissions that are associated with accessing and modifyign
510         telephony state: intercepting outgoing calls, reading
511         and modifying the phone state.  Note that
512         placing phone calls is not in this group, since that is in the
513         more important "takin' yer moneys" group. -->
514    <permission-group android:name="android.permission-group.PHONE_CALLS"
515        android:label="@string/permgrouplab_phoneCalls"
516        android:description="@string/permgroupdesc_phoneCalls" />
517
518    <!-- Allows an application to monitor, modify, or abort outgoing
519         calls. -->
520    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
521        android:permissionGroup="android.permission-group.PHONE_CALLS"
522        android:protectionLevel="dangerous"
523        android:label="@string/permlab_processOutgoingCalls"
524        android:description="@string/permdesc_processOutgoingCalls" />
525
526    <!-- Allows modification of the telephony state - power on, mmi, etc.
527         Does not include placing calls. -->
528    <permission android:name="android.permission.MODIFY_PHONE_STATE"
529        android:permissionGroup="android.permission-group.PHONE_CALLS"
530        android:protectionLevel="signatureOrSystem"
531        android:label="@string/permlab_modifyPhoneState"
532        android:description="@string/permdesc_modifyPhoneState" />
533
534    <!-- Allows read only access to phone state. -->
535    <permission android:name="android.permission.READ_PHONE_STATE"
536        android:permissionGroup="android.permission-group.PHONE_CALLS"
537        android:protectionLevel="dangerous"
538        android:label="@string/permlab_readPhoneState"
539        android:description="@string/permdesc_readPhoneState" />
540
541    <!-- ================================== -->
542    <!-- Permissions for sdcard interaction -->
543    <!-- ================================== -->
544    <eat-comment />
545
546    <!-- Group of permissions that are related to SD card access. -->
547    <permission-group android:name="android.permission-group.STORAGE"
548        android:label="@string/permgrouplab_storage"
549        android:description="@string/permgroupdesc_storage" />
550
551    <!-- Allows an application to write to external storage -->
552    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
553        android:permissionGroup="android.permission-group.STORAGE"
554        android:label="@string/permlab_sdcardWrite"
555        android:description="@string/permdesc_sdcardWrite"
556        android:protectionLevel="dangerous" />
557
558    <!-- Allows an application to write to internal media storage
559         @hide  -->
560    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
561        android:permissionGroup="android.permission-group.STORAGE"
562        android:label="@string/permlab_mediaStorageWrite"
563        android:description="@string/permdesc_mediaStorageWrite"
564        android:protectionLevel="signatureOrSystem" />
565
566    <!-- ============================================ -->
567    <!-- Permissions for low-level system interaction -->
568    <!-- ============================================ -->
569    <eat-comment />
570
571    <!-- Group of permissions that are related to system APIs.  Many
572         of these are not permissions the user will be expected to understand,
573         and such permissions should generally be marked as "normal" protection
574         level so they don't get displayed.  This can also, however, be used
575         for miscellaneous features that provide access to the operating system,
576         such as writing the global system settings. -->
577    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
578        android:label="@string/permgrouplab_systemTools"
579        android:description="@string/permgroupdesc_systemTools" />
580
581    <!-- Allows an application to read or write the system settings. -->
582    <permission android:name="android.permission.WRITE_SETTINGS"
583        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
584        android:protectionLevel="dangerous"
585        android:label="@string/permlab_writeSettings"
586        android:description="@string/permdesc_writeSettings" />
587
588    <!-- Allows an application to read or write the secure system settings. -->
589    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
590        android:protectionLevel="signatureOrSystem"
591        android:label="@string/permlab_writeSecureSettings"
592        android:description="@string/permdesc_writeSecureSettings" />
593
594    <!-- Allows an application to modify the Google service map. -->
595    <permission android:name="android.permission.WRITE_GSERVICES"
596        android:protectionLevel="signatureOrSystem"
597        android:label="@string/permlab_writeGservices"
598        android:description="@string/permdesc_writeGservices" />
599
600    <!-- Allows an application to expand or collapse the status bar. -->
601    <permission android:name="android.permission.EXPAND_STATUS_BAR"
602        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
603        android:protectionLevel="normal"
604        android:label="@string/permlab_expandStatusBar"
605        android:description="@string/permdesc_expandStatusBar" />
606
607    <!-- Allows an application to get information about the currently
608         or recently running tasks: a thumbnail representation of the tasks,
609         what activities are running in it, etc. -->
610    <permission android:name="android.permission.GET_TASKS"
611        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
612        android:protectionLevel="dangerous"
613        android:label="@string/permlab_getTasks"
614        android:description="@string/permdesc_getTasks" />
615
616    <!-- Allows an application to change the Z-order of tasks -->
617    <permission android:name="android.permission.REORDER_TASKS"
618        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
619        android:protectionLevel="dangerous"
620        android:label="@string/permlab_reorderTasks"
621        android:description="@string/permdesc_reorderTasks" />
622
623    <!-- Allows an application to modify the current configuration, such
624         as locale. -->
625    <permission android:name="android.permission.CHANGE_CONFIGURATION"
626        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
627        android:protectionLevel="dangerous"
628        android:label="@string/permlab_changeConfiguration"
629        android:description="@string/permdesc_changeConfiguration" />
630
631    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
632        API is no longer supported. -->
633    <permission android:name="android.permission.RESTART_PACKAGES"
634        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
635        android:protectionLevel="normal"
636        android:label="@string/permlab_killBackgroundProcesses"
637        android:description="@string/permdesc_killBackgroundProcesses" />
638
639    <!-- Allows an application to call
640        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
641    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
642        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
643        android:protectionLevel="normal"
644        android:label="@string/permlab_killBackgroundProcesses"
645        android:description="@string/permdesc_killBackgroundProcesses" />
646
647    <!-- Allows an application to call
648        {@link android.app.ActivityManager#forceStopPackage}.
649        @hide -->
650    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
651        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
652        android:protectionLevel="signature"
653        android:label="@string/permlab_forceStopPackages"
654        android:description="@string/permdesc_forceStopPackages" />
655
656    <!-- Allows an application to retrieve state dump information from system
657         services. -->
658    <permission android:name="android.permission.DUMP"
659        android:permissionGroup="android.permission-group.PERSONAL_INFO"
660        android:protectionLevel="signatureOrSystem"
661        android:label="@string/permlab_dump"
662        android:description="@string/permdesc_dump" />
663
664    <!-- Allows an application to open windows using the type
665         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
666         shown on top of all other applications.  Very few applications
667         should use this permission; these windows are intended for
668         system-level interaction with the user. -->
669    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
670        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
671        android:protectionLevel="dangerous"
672        android:label="@string/permlab_systemAlertWindow"
673        android:description="@string/permdesc_systemAlertWindow" />
674
675    <!-- Modify the global animation scaling factor. -->
676    <permission android:name="android.permission.SET_ANIMATION_SCALE"
677        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
678        android:protectionLevel="dangerous"
679        android:label="@string/permlab_setAnimationScale"
680        android:description="@string/permdesc_setAnimationScale" />
681
682    <!-- @deprecated This functionality will be removed in the future; please do
683         not use.
684
685         Allow an application to make its activities persistent. -->
686    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
687        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
688        android:protectionLevel="dangerous"
689        android:label="@string/permlab_persistentActivity"
690        android:description="@string/permdesc_persistentActivity" />
691
692    <!-- Allows an application to find out the space used by any package. -->
693    <permission android:name="android.permission.GET_PACKAGE_SIZE"
694        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
695        android:protectionLevel="normal"
696        android:label="@string/permlab_getPackageSize"
697        android:description="@string/permdesc_getPackageSize" />
698
699    <!-- @deprecated No longer useful, see
700         {@link android.content.pm.PackageManager#addPackageToPreferred}
701         for details. -->
702    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
703        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
704        android:protectionLevel="signature"
705        android:label="@string/permlab_setPreferredApplications"
706        android:description="@string/permdesc_setPreferredApplications" />
707
708    <!-- Allows an application to receive the
709         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
710         broadcast after the system finishes booting.  If you don't
711         request this permission, you will not receive the broadcast at
712         that time.  Though holding this permission does not have any
713         security implications, it can have a negative impact on the
714         user experience by increasing the amount of time it takes the
715         system to start and allowing applications to have themselves
716         running without the user being aware of them.  As such, you must
717         explicitly declare your use of this facility to make that visible
718         to the user. -->
719    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
720        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
721        android:protectionLevel="normal"
722        android:label="@string/permlab_receiveBootCompleted"
723        android:description="@string/permdesc_receiveBootCompleted" />
724
725    <!-- Allows an application to broadcast sticky intents.  These are
726         broadcasts whose data is held by the system after being finished,
727         so that clients can quickly retrieve that data without having
728         to wait for the next broadcast. -->
729    <permission android:name="android.permission.BROADCAST_STICKY"
730        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
731        android:protectionLevel="normal"
732        android:label="@string/permlab_broadcastSticky"
733        android:description="@string/permdesc_broadcastSticky" />
734
735    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
736         from dimming -->
737    <permission android:name="android.permission.WAKE_LOCK"
738        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
739        android:protectionLevel="dangerous"
740        android:label="@string/permlab_wakeLock"
741        android:description="@string/permdesc_wakeLock" />
742
743    <!-- Allows applications to set the wallpaper -->
744    <permission android:name="android.permission.SET_WALLPAPER"
745        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
746        android:protectionLevel="normal"
747        android:label="@string/permlab_setWallpaper"
748        android:description="@string/permdesc_setWallpaper" />
749
750    <!-- Allows applications to set the wallpaper hints -->
751    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
752        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
753        android:protectionLevel="normal"
754        android:label="@string/permlab_setWallpaperHints"
755        android:description="@string/permdesc_setWallpaperHints" />
756
757    <!-- Allows applications to set the system time -->
758    <permission android:name="android.permission.SET_TIME"
759        android:protectionLevel="signatureOrSystem"
760        android:label="@string/permlab_setTime"
761        android:description="@string/permdesc_setTime" />
762
763    <!-- Allows applications to set the system time zone -->
764    <permission android:name="android.permission.SET_TIME_ZONE"
765        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
766        android:protectionLevel="dangerous"
767        android:label="@string/permlab_setTimeZone"
768        android:description="@string/permdesc_setTimeZone" />
769
770    <!-- Allows mounting and unmounting file systems for removable storage. -->
771    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
772        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
773        android:protectionLevel="dangerous"
774        android:label="@string/permlab_mount_unmount_filesystems"
775        android:description="@string/permdesc_mount_unmount_filesystems" />
776
777    <!-- Allows formatting file systems for removable storage. -->
778    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
779        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
780        android:protectionLevel="dangerous"
781        android:label="@string/permlab_mount_format_filesystems"
782        android:description="@string/permdesc_mount_format_filesystems" />
783
784    <!-- Allows access to ASEC non-destructive API calls
785         @hide  -->
786    <permission android:name="android.permission.ASEC_ACCESS"
787        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
788        android:protectionLevel="signature"
789        android:label="@string/permlab_asec_access"
790        android:description="@string/permdesc_asec_access" />
791
792    <!-- Allows creation of ASEC volumes
793         @hide  -->
794    <permission android:name="android.permission.ASEC_CREATE"
795        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
796        android:protectionLevel="signature"
797        android:label="@string/permlab_asec_create"
798        android:description="@string/permdesc_asec_create" />
799
800    <!-- Allows destruction of ASEC volumes
801         @hide  -->
802    <permission android:name="android.permission.ASEC_DESTROY"
803        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
804        android:protectionLevel="signature"
805        android:label="@string/permlab_asec_destroy"
806        android:description="@string/permdesc_asec_destroy" />
807
808    <!-- Allows mount / unmount of ASEC volumes
809         @hide  -->
810    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
811        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
812        android:protectionLevel="signature"
813        android:label="@string/permlab_asec_mount_unmount"
814        android:description="@string/permdesc_asec_mount_unmount" />
815
816    <!-- Allows rename of ASEC volumes
817         @hide  -->
818    <permission android:name="android.permission.ASEC_RENAME"
819        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
820        android:protectionLevel="signature"
821        android:label="@string/permlab_asec_rename"
822        android:description="@string/permdesc_asec_rename" />
823
824    <!-- Allows applications to disable the keyguard -->
825    <permission android:name="android.permission.DISABLE_KEYGUARD"
826        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
827        android:protectionLevel="dangerous"
828        android:description="@string/permdesc_disableKeyguard"
829        android:label="@string/permlab_disableKeyguard" />
830
831    <!-- Allows applications to read the sync settings -->
832    <permission android:name="android.permission.READ_SYNC_SETTINGS"
833        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
834        android:protectionLevel="normal"
835        android:description="@string/permdesc_readSyncSettings"
836        android:label="@string/permlab_readSyncSettings" />
837
838    <!-- Allows applications to write the sync settings -->
839    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
840        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
841        android:protectionLevel="dangerous"
842        android:description="@string/permdesc_writeSyncSettings"
843        android:label="@string/permlab_writeSyncSettings" />
844
845    <!-- Allows applications to read the sync stats -->
846    <permission android:name="android.permission.READ_SYNC_STATS"
847        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
848        android:protectionLevel="normal"
849        android:description="@string/permdesc_readSyncStats"
850        android:label="@string/permlab_readSyncStats" />
851
852    <!-- Allows applications to write the apn settings -->
853    <permission android:name="android.permission.WRITE_APN_SETTINGS"
854                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
855                android:protectionLevel="dangerous"
856                android:description="@string/permdesc_writeApnSettings"
857                android:label="@string/permlab_writeApnSettings" />
858
859    <!-- Allows an application to allow access the subscribed feeds
860         ContentProvider. -->
861    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
862        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
863        android:label="@string/permlab_subscribedFeedsRead"
864        android:description="@string/permdesc_subscribedFeedsRead"
865        android:protectionLevel="normal" />
866    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
867        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
868        android:label="@string/permlab_subscribedFeedsWrite"
869        android:description="@string/permdesc_subscribedFeedsWrite"
870        android:protectionLevel="dangerous" />
871
872    <!-- Allows applications to change network connectivity state -->
873    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
874        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
875        android:protectionLevel="dangerous"
876        android:description="@string/permdesc_changeNetworkState"
877        android:label="@string/permlab_changeNetworkState" />
878
879    <!-- Allows applications to change Wi-Fi connectivity state -->
880    <permission android:name="android.permission.CHANGE_WIFI_STATE"
881        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
882        android:protectionLevel="dangerous"
883        android:description="@string/permdesc_changeWifiState"
884        android:label="@string/permlab_changeWifiState" />
885
886    <!-- Allows applications to enter Wi-Fi Multicast mode -->
887    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
888        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
889        android:protectionLevel="dangerous"
890        android:description="@string/permdesc_changeWifiMulticastState"
891        android:label="@string/permlab_changeWifiMulticastState" />
892
893    <!-- Allows applications to discover and pair bluetooth devices -->
894    <permission android:name="android.permission.BLUETOOTH_ADMIN"
895        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
896        android:protectionLevel="dangerous"
897        android:description="@string/permdesc_bluetoothAdmin"
898        android:label="@string/permlab_bluetoothAdmin" />
899
900    <!-- Allows an application to clear the caches of all installed
901         applications on the device.  -->
902    <permission android:name="android.permission.CLEAR_APP_CACHE"
903        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
904        android:protectionLevel="dangerous"
905        android:label="@string/permlab_clearAppCache"
906        android:description="@string/permdesc_clearAppCache" />
907
908    <!-- Allows an application to read the low-level system log files.
909         Log entries can contain the user's private information,
910         which is why this permission is 'dangerous'. -->
911    <permission android:name="android.permission.READ_LOGS"
912        android:permissionGroup="android.permission-group.PERSONAL_INFO"
913        android:protectionLevel="dangerous"
914        android:label="@string/permlab_readLogs"
915        android:description="@string/permdesc_readLogs" />
916
917    <!-- ========================================= -->
918    <!-- Permissions for special development tools -->
919    <!-- ========================================= -->
920    <eat-comment />
921
922    <!-- Group of permissions that are related to development features.  These
923         are not permissions that should appear in normal applications; they
924         protect APIs that are intended only to be used for development
925         purposes. -->
926    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
927        android:label="@string/permgrouplab_developmentTools"
928        android:description="@string/permgroupdesc_developmentTools" />
929
930    <!-- Configure an application for debugging. -->
931    <permission android:name="android.permission.SET_DEBUG_APP"
932        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
933        android:protectionLevel="dangerous"
934        android:label="@string/permlab_setDebugApp"
935        android:description="@string/permdesc_setDebugApp" />
936
937    <!-- Allows an application to set the maximum number of (not needed)
938         application processes that can be running. -->
939    <permission android:name="android.permission.SET_PROCESS_LIMIT"
940        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
941        android:protectionLevel="dangerous"
942        android:label="@string/permlab_setProcessLimit"
943        android:description="@string/permdesc_setProcessLimit" />
944
945    <!-- Allows an application to control whether activities are immediately
946         finished when put in the background. -->
947    <permission android:name="android.permission.SET_ALWAYS_FINISH"
948        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
949        android:protectionLevel="dangerous"
950        android:label="@string/permlab_setAlwaysFinish"
951        android:description="@string/permdesc_setAlwaysFinish" />
952
953    <!-- Allow an application to request that a signal be sent to all persistent processes -->
954    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
955        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
956        android:protectionLevel="dangerous"
957        android:label="@string/permlab_signalPersistentProcesses"
958        android:description="@string/permdesc_signalPersistentProcesses" />
959
960    <!-- ==================================== -->
961    <!-- Private (signature-only) permissions -->
962    <!-- ==================================== -->
963    <eat-comment />
964
965    <!-- Allows applications to RW to diagnostic resources. -->
966    <permission android:name="android.permission.DIAGNOSTIC"
967        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
968        android:protectionLevel="signature"
969        android:description="@string/permdesc_diagnostic"
970        android:label="@string/permlab_diagnostic" />
971
972    <!-- Allows an application to open, close, or disable the status bar
973         and its icons. -->
974    <permission android:name="android.permission.STATUS_BAR"
975        android:label="@string/permlab_statusBar"
976        android:description="@string/permdesc_statusBar"
977        android:protectionLevel="signatureOrSystem" />
978
979    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
980    @hide -->
981    <permission android:name="android.permission.STATUS_BAR_SERVICE"
982        android:label="@string/permlab_statusBarService"
983        android:description="@string/permdesc_statusBarService"
984        android:protectionLevel="signature" />
985
986    <!-- Allows an application to force a BACK operation on whatever is the
987         top activity. -->
988    <permission android:name="android.permission.FORCE_BACK"
989        android:label="@string/permlab_forceBack"
990        android:description="@string/permdesc_forceBack"
991        android:protectionLevel="signature" />
992
993    <!-- Allows an application to update device statistics. Not for
994         use by third party apps. -->
995    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
996        android:label="@string/permlab_batteryStats"
997        android:description="@string/permdesc_batteryStats"
998        android:protectionLevel="signatureOrSystem" />
999
1000    <!-- Allows an application to open windows that are for use by parts
1001         of the system user interface.  Not for use by third party apps. -->
1002    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
1003        android:label="@string/permlab_internalSystemWindow"
1004        android:description="@string/permdesc_internalSystemWindow"
1005        android:protectionLevel="signature" />
1006
1007    <!-- Allows an application to manage (create, destroy,
1008         Z-order) application tokens in the window manager.  This is only
1009         for use by the system. -->
1010    <permission android:name="android.permission.MANAGE_APP_TOKENS"
1011        android:label="@string/permlab_manageAppTokens"
1012        android:description="@string/permdesc_manageAppTokens"
1013        android:protectionLevel="signature" />
1014
1015    <!-- Allows an application to inject user events (keys, touch, trackball)
1016         into the event stream and deliver them to ANY window.  Without this
1017         permission, you can only deliver events to windows in your own process.
1018         Very few applications should need to use this permission. -->
1019    <permission android:name="android.permission.INJECT_EVENTS"
1020        android:label="@string/permlab_injectEvents"
1021        android:description="@string/permdesc_injectEvents"
1022        android:protectionLevel="signature" />
1023
1024    <!-- Allows an application to watch and control how activities are
1025         started globally in the system.  Only for is in debugging
1026         (usually the monkey command). -->
1027    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1028        android:label="@string/permlab_runSetActivityWatcher"
1029        android:description="@string/permdesc_runSetActivityWatcher"
1030        android:protectionLevel="signature" />
1031
1032    <!-- Allows an application to call the activity manager shutdown() API
1033         to put the higher-level system there into a shutdown state.
1034         @hide -->
1035    <permission android:name="android.permission.SHUTDOWN"
1036        android:label="@string/permlab_shutdown"
1037        android:description="@string/permdesc_shutdown"
1038        android:protectionLevel="signatureOrSystem" />
1039
1040    <!-- Allows an application to tell the activity manager to temporarily
1041         stop application switches, putting it into a special mode that
1042         prevents applications from immediately switching away from some
1043         critical UI such as the home screen.
1044         @hide -->
1045    <permission android:name="android.permission.STOP_APP_SWITCHES"
1046        android:label="@string/permlab_stopAppSwitches"
1047        android:description="@string/permdesc_stopAppSwitches"
1048        android:protectionLevel="signature" />
1049
1050    <!-- Allows an application to retrieve the current state of keys and
1051         switches.  This is only for use by the system.-->
1052    <permission android:name="android.permission.READ_INPUT_STATE"
1053        android:label="@string/permlab_readInputState"
1054        android:description="@string/permdesc_readInputState"
1055        android:protectionLevel="signature" />
1056
1057    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1058         to ensure that only the system can bind to it. -->
1059    <permission android:name="android.permission.BIND_INPUT_METHOD"
1060        android:label="@string/permlab_bindInputMethod"
1061        android:description="@string/permdesc_bindInputMethod"
1062        android:protectionLevel="signature" />
1063
1064    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1065         to ensure that only the system can bind to it. -->
1066    <permission android:name="android.permission.BIND_WALLPAPER"
1067        android:label="@string/permlab_bindWallpaper"
1068        android:description="@string/permdesc_bindWallpaper"
1069        android:protectionLevel="signatureOrSystem" />
1070
1071    <!-- Must be required by device administration receiver, to ensure that only the
1072         system can interact with it. -->
1073    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1074        android:label="@string/permlab_bindDeviceAdmin"
1075        android:description="@string/permdesc_bindDeviceAdmin"
1076        android:protectionLevel="signature" />
1077
1078    <!-- Allows low-level access to setting the orientation (actually
1079         rotation) of the screen.  Not for use by normal applications. -->
1080    <permission android:name="android.permission.SET_ORIENTATION"
1081        android:label="@string/permlab_setOrientation"
1082        android:description="@string/permdesc_setOrientation"
1083        android:protectionLevel="signature" />
1084
1085    <!-- Allows an application to install packages. -->
1086    <permission android:name="android.permission.INSTALL_PACKAGES"
1087        android:label="@string/permlab_installPackages"
1088        android:description="@string/permdesc_installPackages"
1089        android:protectionLevel="signatureOrSystem" />
1090
1091    <!-- Allows an application to clear user data -->
1092    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1093        android:label="@string/permlab_clearAppUserData"
1094        android:description="@string/permdesc_clearAppUserData"
1095        android:protectionLevel="signature" />
1096
1097    <!-- Allows an application to delete cache files. -->
1098    <permission android:name="android.permission.DELETE_CACHE_FILES"
1099        android:label="@string/permlab_deleteCacheFiles"
1100        android:description="@string/permdesc_deleteCacheFiles"
1101        android:protectionLevel="signatureOrSystem" />
1102
1103    <!-- Allows an application to delete packages. -->
1104    <permission android:name="android.permission.DELETE_PACKAGES"
1105        android:label="@string/permlab_deletePackages"
1106        android:description="@string/permdesc_deletePackages"
1107        android:protectionLevel="signatureOrSystem" />
1108
1109    <!-- Allows an application to move location of installed package.
1110         @hide -->
1111    <permission android:name="android.permission.MOVE_PACKAGE"
1112        android:label="@string/permlab_movePackage"
1113        android:description="@string/permdesc_movePackage"
1114        android:protectionLevel="signatureOrSystem" />
1115
1116    <!-- Allows an application to change whether an application component (other than its own) is
1117         enabled or not. -->
1118    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1119        android:label="@string/permlab_changeComponentState"
1120        android:description="@string/permdesc_changeComponentState"
1121        android:protectionLevel="signatureOrSystem" />
1122
1123    <!-- Allows an application to use SurfaceFlinger's low level features -->
1124    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1125        android:label="@string/permlab_accessSurfaceFlinger"
1126        android:description="@string/permdesc_accessSurfaceFlinger"
1127        android:protectionLevel="signature" />
1128
1129    <!-- Allows an application to take screen shots and more generally
1130         get access to the frame buffer data -->
1131    <permission android:name="android.permission.READ_FRAME_BUFFER"
1132        android:label="@string/permlab_readFrameBuffer"
1133        android:description="@string/permdesc_readFrameBuffer"
1134        android:protectionLevel="signature" />
1135
1136    <!-- Required to be able to disable the device (very dangerous!). -->
1137    <permission android:name="android.permission.BRICK"
1138        android:label="@string/permlab_brick"
1139        android:description="@string/permdesc_brick"
1140        android:protectionLevel="signature" />
1141
1142    <!-- Required to be able to reboot the device. -->
1143    <permission android:name="android.permission.REBOOT"
1144        android:label="@string/permlab_reboot"
1145        android:description="@string/permdesc_reboot"
1146        android:protectionLevel="signatureOrSystem" />
1147
1148   <!-- Allows low-level access to power management -->
1149    <permission android:name="android.permission.DEVICE_POWER"
1150        android:label="@string/permlab_devicePower"
1151        android:description="@string/permdesc_devicePower"
1152        android:protectionLevel="signature" />
1153
1154    <!-- Run as a manufacturer test application, running as the root user.
1155         Only available when the device is running in manufacturer test mode. -->
1156    <permission android:name="android.permission.FACTORY_TEST"
1157        android:label="@string/permlab_factoryTest"
1158        android:description="@string/permdesc_factoryTest"
1159        android:protectionLevel="signature" />
1160
1161    <!-- Allows an application to broadcast a notification that an application
1162         package has been removed. -->
1163    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1164        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1165        android:label="@string/permlab_broadcastPackageRemoved"
1166        android:description="@string/permdesc_broadcastPackageRemoved"
1167        android:protectionLevel="signature" />
1168
1169    <!-- Allows an application to broadcast an SMS receipt notification -->
1170    <permission android:name="android.permission.BROADCAST_SMS"
1171        android:permissionGroup="android.permission-group.MESSAGES"
1172        android:label="@string/permlab_broadcastSmsReceived"
1173        android:description="@string/permdesc_broadcastSmsReceived"
1174        android:protectionLevel="signature" />
1175
1176    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1177    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1178        android:permissionGroup="android.permission-group.MESSAGES"
1179        android:label="@string/permlab_broadcastWapPush"
1180        android:description="@string/permdesc_broadcastWapPush"
1181        android:protectionLevel="signature" />
1182
1183    <permission android:name="android.permission.MASTER_CLEAR"
1184        android:label="@string/permlab_masterClear"
1185        android:description="@string/permdesc_masterClear"
1186        android:protectionLevel="signatureOrSystem" />
1187
1188    <!-- Allows an application to call any phone number, including emergency
1189         numbers, without going through the Dialer user interface for the user
1190         to confirm the call being placed. -->
1191    <permission android:name="android.permission.CALL_PRIVILEGED"
1192        android:label="@string/permlab_callPrivileged"
1193        android:description="@string/permdesc_callPrivileged"
1194        android:protectionLevel="signatureOrSystem" />
1195
1196    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1197    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1198        android:label="@string/permlab_performCdmaProvisioning"
1199        android:description="@string/permdesc_performCdmaProvisioning"
1200        android:protectionLevel="signatureOrSystem" />
1201
1202    <!-- Allows enabling/disabling location update notifications from
1203         the radio. Not for use by normal applications. -->
1204    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1205        android:label="@string/permlab_locationUpdates"
1206        android:description="@string/permdesc_locationUpdates"
1207        android:protectionLevel="signatureOrSystem" />
1208
1209    <!-- Allows read/write access to the "properties" table in the checkin
1210         database, to change values that get uploaded. -->
1211    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1212        android:label="@string/permlab_checkinProperties"
1213        android:description="@string/permdesc_checkinProperties"
1214        android:protectionLevel="signatureOrSystem" />
1215
1216    <!-- Allows an application to collect component usage
1217         statistics @hide -->
1218    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1219        android:label="@string/permlab_pkgUsageStats"
1220        android:description="@string/permdesc_pkgUsageStats"
1221        android:protectionLevel="signatureOrSystem" />
1222
1223    <!-- Allows an application to collect battery statistics -->
1224    <permission android:name="android.permission.BATTERY_STATS"
1225        android:label="@string/permlab_batteryStats"
1226        android:description="@string/permdesc_batteryStats"
1227        android:protectionLevel="normal" />
1228
1229    <!-- Allows an application to control the backup and restore process
1230         @hide pending API council -->
1231    <permission android:name="android.permission.BACKUP"
1232        android:label="@string/permlab_backup"
1233        android:description="@string/permdesc_backup"
1234        android:protectionLevel="signatureOrSystem" />
1235
1236    <!-- Must be required by a {@link android.widget.RemoteViewsService},
1237         to ensure that only the system can bind to it. -->
1238    <permission android:name="android.permission.BIND_REMOTEVIEWS"
1239        android:label="@string/permlab_bindRemoteViews"
1240        android:description="@string/permdesc_bindRemoteViews"
1241        android:protectionLevel="signatureOrSystem" />
1242
1243    <!-- Allows an application to tell the AppWidget service which application
1244         can access AppWidget's data.  The normal user flow is that a user
1245         picks an AppWidget to go into a particular host, thereby giving that
1246         host application access to the private data from the AppWidget app.
1247         An application that has this permission should honor that contract.
1248         Very few applications should need to use this permission. -->
1249    <permission android:name="android.permission.BIND_APPWIDGET"
1250        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1251        android:label="@string/permlab_bindGadget"
1252        android:description="@string/permdesc_bindGadget"
1253        android:protectionLevel="signatureOrSystem" />
1254
1255    <!-- Allows applications to change the background data setting
1256         @hide pending API council -->
1257    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1258        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1259        android:protectionLevel="signature"
1260        android:description="@string/permdesc_changeBackgroundDataSetting"
1261        android:label="@string/permlab_changeBackgroundDataSetting" />
1262
1263    <!-- This permission can be used on content providers to allow the global
1264         search system to access their data.  Typically it used when the
1265         provider has some permissions protecting it (which global search
1266         would not be expected to hold), and added as a read-only permission
1267         to the path in the provider where global search queries are
1268         performed.  This permission can not be held by regular applications;
1269         it is used by applications to protect themselves from everyone else
1270         besides global search. -->
1271    <permission android:name="android.permission.GLOBAL_SEARCH"
1272        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1273        android:protectionLevel="signatureOrSystem" />
1274
1275    <!-- Internal permission protecting access to the global search
1276         system: ensures that only the system can access the provider
1277         to perform queries (since this otherwise provides unrestricted
1278         access to a variety of content providers), and to write the
1279         search statistics (to keep applications from gaming the source
1280         ranking).
1281         @hide -->
1282    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1283        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1284        android:protectionLevel="signature" />
1285
1286    <!-- Allows applications to set a live wallpaper.
1287         @hide XXX Change to signature once the picker is moved to its
1288         own apk as Ghod Intended. -->
1289    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1290        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1291        android:protectionLevel="signatureOrSystem" />
1292
1293    <!-- Allow an application to read and write the cache partition.
1294         @hide -->
1295    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1296        android:label="@string/permlab_cache_filesystem"
1297        android:description="@string/permdesc_cache_filesystem"
1298        android:protectionLevel="signatureOrSystem" />
1299
1300    <!-- Must be required by default container service so that only
1301         the system can bind to it and use it to copy
1302         protected data to secure containers or files
1303         accessible to the system.
1304         @hide -->
1305    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1306        android:label="@string/permlab_copyProtectedData"
1307        android:description="@string/permlab_copyProtectedData"
1308        android:protectionLevel="signature" />
1309
1310    <!-- Internal permission protecting access to the encryption methods
1311        @hide
1312    -->
1313    <permission android:name="android.permission.CRYPT_KEEPER"
1314        android:protectionLevel="signatureOrSystem" />
1315
1316
1317    <!-- C2DM permission. 
1318         @hide Used internally.
1319     -->
1320    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
1321          android:protectionLevel="signature" />
1322    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
1323
1324    <application android:process="system"
1325                 android:persistent="true"
1326                 android:hasCode="false"
1327                 android:label="@string/android_system_label"
1328                 android:allowClearUserData="false"
1329                 android:backupAgent="com.android.server.SystemBackupAgent"
1330                 android:killAfterRestore="false"
1331                 android:icon="@drawable/ic_launcher_android">
1332        <activity android:name="com.android.internal.app.ChooserActivity"
1333                android:theme="@style/Theme.Holo.Dialog.Alert"
1334                android:finishOnCloseSystemDialogs="true"
1335                android:excludeFromRecents="true"
1336                android:multiprocess="true">
1337            <intent-filter>
1338                <action android:name="android.intent.action.CHOOSER" />
1339                <category android:name="android.intent.category.DEFAULT" />
1340            </intent-filter>
1341        </activity>
1342        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
1343                android:theme="@style/Theme.Holo.Dialog"
1344                android:label="@string/heavy_weight_switcher_title"
1345                android:finishOnCloseSystemDialogs="true"
1346                android:excludeFromRecents="true">
1347        </activity>
1348        <activity android:name="com.android.internal.app.PlatLogoActivity"
1349                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen">
1350        </activity>
1351        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1352                android:theme="@style/Theme.NoDisplay"
1353                android:excludeFromRecents="true">
1354        </activity>
1355        <activity android:name="com.android.internal.app.RingtonePickerActivity"
1356                android:theme="@style/Theme.Holo.Dialog.Alert"
1357                android:excludeFromRecents="true"
1358                android:multiprocess="true">
1359            <intent-filter>
1360                <action android:name="android.intent.action.RINGTONE_PICKER" />
1361                <category android:name="android.intent.category.DEFAULT" />
1362            </intent-filter>
1363        </activity>
1364
1365        <activity android:name="android.accounts.ChooseAccountActivity"
1366                android:excludeFromRecents="true"
1367                android:exported="true"
1368                android:theme="@android:style/Theme.Holo.Dialog"
1369                android:label="@string/choose_account_label">
1370        </activity>
1371
1372        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1373                android:excludeFromRecents="true"
1374                android:exported="true"
1375                android:theme="@android:style/Theme.Holo.DialogWhenLarge">
1376        </activity>
1377
1378        <activity android:name="android.content.SyncActivityTooManyDeletes"
1379               android:theme="@android:style/Theme.Holo.Dialog"
1380               android:label="@string/sync_too_many_deletes">
1381        </activity>
1382
1383        <activity android:name="com.android.server.ShutdownActivity"
1384            android:permission="android.permission.SHUTDOWN"
1385            android:excludeFromRecents="true">
1386            <intent-filter>
1387                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1388                <category android:name="android.intent.category.DEFAULT" />
1389            </intent-filter>
1390            <intent-filter>
1391                <action android:name="android.intent.action.REBOOT" />
1392                <category android:name="android.intent.category.DEFAULT" />
1393            </intent-filter>
1394        </activity>
1395
1396        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1397                android:theme="@style/Theme.Holo.Dialog.Alert"
1398                android:excludeFromRecents="true">
1399        </activity>
1400
1401        <service android:name="com.android.server.LoadAverageService"
1402                android:exported="true" />
1403
1404        <service android:name="com.android.internal.service.wallpaper.ImageWallpaper"
1405                android:permission="android.permission.BIND_WALLPAPER">
1406        </service>
1407
1408        <receiver android:name="com.android.server.BootReceiver" >
1409            <intent-filter>
1410                <action android:name="android.intent.action.BOOT_COMPLETED" />
1411            </intent-filter>
1412        </receiver>
1413
1414        <receiver android:name="com.android.server.MasterClearReceiver"
1415            android:permission="android.permission.MASTER_CLEAR"
1416            android:priority="100" >
1417            <intent-filter>
1418                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1419                <action android:name="android.intent.action.MASTER_CLEAR" />
1420
1421                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1422                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1423                <category android:name="android.intent.category.MASTER_CLEAR" />
1424            </intent-filter>
1425        </receiver>
1426
1427        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
1428            android:permission="android.permission.MASTER_CLEAR"
1429            android:exported="true" />
1430
1431    </application>
1432
1433</manifest>
1434