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