AndroidManifest.xml revision 367f41f8f61126c2ab34a34cc676756a9fc23ac2
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.usb.action.USB_STATE" />
86    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
87    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
88
89    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
90    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
91    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
92    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
93
94    <!-- ====================================== -->
95    <!-- Permissions for things that cost money -->
96    <!-- ====================================== -->
97    <eat-comment />
98
99    <!-- Used for permissions that can be used to make the user spend money
100         without their direct involvement.  For example, this is the group
101         for permissions that allow you to directly place phone calls,
102         directly send SMS messages, etc. -->
103    <permission-group android:name="android.permission-group.COST_MONEY"
104        android:label="@string/permgrouplab_costMoney"
105        android:description="@string/permgroupdesc_costMoney" />
106
107    <!-- Allows an application to send SMS messages. -->
108    <permission android:name="android.permission.SEND_SMS"
109        android:permissionGroup="android.permission-group.COST_MONEY"
110        android:protectionLevel="dangerous"
111        android:label="@string/permlab_sendSms"
112        android:description="@string/permdesc_sendSms" />
113
114    <!-- Allows an application to initiate a phone call without going through
115         the Dialer user interface for the user to confirm the call
116         being placed. -->
117    <permission android:name="android.permission.CALL_PHONE"
118        android:permissionGroup="android.permission-group.COST_MONEY"
119        android:protectionLevel="dangerous"
120        android:label="@string/permlab_callPhone"
121        android:description="@string/permdesc_callPhone" />
122
123    <!-- ================================== -->
124    <!-- Permissions for accessing messages -->
125    <!-- ================================== -->
126    <eat-comment />
127
128    <!-- Used for permissions that allow an application to send messages
129         on behalf of the user or intercept messages being received by the
130         user.  This is primarily intended for SMS/MMS messaging, such as
131         receiving or reading an MMS. -->
132    <permission-group android:name="android.permission-group.MESSAGES"
133        android:label="@string/permgrouplab_messages"
134        android:description="@string/permgroupdesc_messages" />
135
136    <!-- Allows an application to monitor incoming SMS messages, to record
137         or perform processing on them. -->
138    <permission android:name="android.permission.RECEIVE_SMS"
139        android:permissionGroup="android.permission-group.MESSAGES"
140        android:protectionLevel="dangerous"
141        android:label="@string/permlab_receiveSms"
142        android:description="@string/permdesc_receiveSms" />
143
144    <!-- Allows an application to monitor incoming MMS messages, to record
145         or perform processing on them. -->
146    <permission android:name="android.permission.RECEIVE_MMS"
147        android:permissionGroup="android.permission-group.MESSAGES"
148        android:protectionLevel="dangerous"
149        android:label="@string/permlab_receiveMms"
150        android:description="@string/permdesc_receiveMms" />
151
152    <!-- Allows an application to read SMS messages. -->
153    <permission android:name="android.permission.READ_SMS"
154        android:permissionGroup="android.permission-group.MESSAGES"
155        android:protectionLevel="dangerous"
156        android:label="@string/permlab_readSms"
157        android:description="@string/permdesc_readSms" />
158
159    <!-- Allows an application to write SMS messages. -->
160    <permission android:name="android.permission.WRITE_SMS"
161        android:permissionGroup="android.permission-group.MESSAGES"
162        android:protectionLevel="dangerous"
163        android:label="@string/permlab_writeSms"
164        android:description="@string/permdesc_writeSms" />
165
166    <!-- Allows an application to monitor incoming WAP push messages. -->
167    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
168        android:permissionGroup="android.permission-group.MESSAGES"
169        android:protectionLevel="dangerous"
170        android:label="@string/permlab_receiveWapPush"
171        android:description="@string/permdesc_receiveWapPush" />
172
173    <!-- =============================================================== -->
174    <!-- Permissions for accessing personal info (contacts and calendar) -->
175    <!-- =============================================================== -->
176    <eat-comment />
177
178    <!-- Used for permissions that provide access to the user's private data,
179         such as contacts, calendar events, e-mail messages, etc.  This includes
180         both reading and writing of this data (which should generally be
181         expressed as two distinct permissions). -->
182    <permission-group android:name="android.permission-group.PERSONAL_INFO"
183        android:label="@string/permgrouplab_personalInfo"
184        android:description="@string/permgroupdesc_personalInfo" />
185
186    <!-- Allows an application to read the user's contacts data. -->
187    <permission android:name="android.permission.READ_CONTACTS"
188        android:permissionGroup="android.permission-group.PERSONAL_INFO"
189        android:protectionLevel="dangerous"
190        android:label="@string/permlab_readContacts"
191        android:description="@string/permdesc_readContacts" />
192
193    <!-- Allows an application to write (but not read) the user's
194         contacts data. -->
195    <permission android:name="android.permission.WRITE_CONTACTS"
196        android:permissionGroup="android.permission-group.PERSONAL_INFO"
197        android:protectionLevel="dangerous"
198        android:label="@string/permlab_writeContacts"
199        android:description="@string/permdesc_writeContacts" />
200
201    <!-- Allows an application to read the user's calendar data. -->
202    <permission android:name="android.permission.READ_CALENDAR"
203        android:permissionGroup="android.permission-group.PERSONAL_INFO"
204        android:protectionLevel="dangerous"
205        android:label="@string/permlab_readCalendar"
206        android:description="@string/permdesc_readCalendar" />
207
208    <!-- Allows an application to write (but not read) the user's
209         calendar data. -->
210    <permission android:name="android.permission.WRITE_CALENDAR"
211        android:permissionGroup="android.permission-group.PERSONAL_INFO"
212        android:protectionLevel="dangerous"
213        android:label="@string/permlab_writeCalendar"
214        android:description="@string/permdesc_writeCalendar" />
215
216    <!-- Allows an application to read the user dictionary. This should
217         really only be required by an IME, or a dictionary editor like
218         the Settings app.
219         @hide Pending API council approval -->
220    <permission android:name="android.permission.READ_USER_DICTIONARY"
221        android:permissionGroup="android.permission-group.PERSONAL_INFO"
222        android:protectionLevel="dangerous"
223        android:label="@string/permlab_readDictionary"
224        android:description="@string/permdesc_readDictionary" />
225
226    <!-- Allows an application to write to the user dictionary.
227         @hide Pending API council approval -->
228    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
229        android:permissionGroup="android.permission-group.PERSONAL_INFO"
230        android:protectionLevel="normal"
231        android:label="@string/permlab_writeDictionary"
232        android:description="@string/permdesc_writeDictionary" />
233
234    <!-- Allows an application to read (but not write) the user's
235        browsing history and bookmarks. -->
236    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
237        android:permissionGroup="android.permission-group.PERSONAL_INFO"
238        android:label="@string/permlab_readHistoryBookmarks"
239        android:description="@string/permdesc_readHistoryBookmarks"
240        android:protectionLevel="dangerous" />
241
242    <!-- Allows an application to write (but not read) the user's
243        browsing history and bookmarks. -->
244    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
245        android:permissionGroup="android.permission-group.PERSONAL_INFO"
246        android:label="@string/permlab_writeHistoryBookmarks"
247        android:description="@string/permdesc_writeHistoryBookmarks"
248        android:protectionLevel="dangerous" />
249
250    <!-- Allows an application to broadcast an Intent to set an alarm for the
251         user. -->
252    <permission android:name="com.android.alarm.permission.SET_ALARM"
253        android:permissionGroup="android.permission-group.PERSONAL_INFO"
254        android:label="@string/permlab_setAlarm"
255        android:description="@string/permdesc_setAlarm"
256        android:protectionLevel="normal" />
257
258    <!-- ======================================= -->
259    <!-- Permissions for accessing location info -->
260    <!-- ======================================= -->
261    <eat-comment />
262
263    <!-- Used for permissions that allow access to the user's current
264         location. -->
265    <permission-group android:name="android.permission-group.LOCATION"
266        android:label="@string/permgrouplab_location"
267        android:description="@string/permgroupdesc_location" />
268
269    <!-- Allows an application to access fine (e.g., GPS) location -->
270    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
271        android:permissionGroup="android.permission-group.LOCATION"
272        android:protectionLevel="dangerous"
273        android:label="@string/permlab_accessFineLocation"
274        android:description="@string/permdesc_accessFineLocation" />
275
276    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
277    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
278        android:permissionGroup="android.permission-group.LOCATION"
279        android:protectionLevel="dangerous"
280        android:label="@string/permlab_accessCoarseLocation"
281        android:description="@string/permdesc_accessCoarseLocation" />
282
283    <!-- Allows an application to create mock location providers for testing -->
284    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
285        android:permissionGroup="android.permission-group.LOCATION"
286        android:protectionLevel="dangerous"
287        android:label="@string/permlab_accessMockLocation"
288        android:description="@string/permdesc_accessMockLocation" />
289
290    <!-- Allows an application to access extra location provider commands -->
291    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
292        android:permissionGroup="android.permission-group.LOCATION"
293        android:protectionLevel="normal"
294        android:label="@string/permlab_accessLocationExtraCommands"
295        android:description="@string/permdesc_accessLocationExtraCommands" />
296
297    <!-- Allows an application to install a location provider into the Location Manager -->
298    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
299        android:protectionLevel="signatureOrSystem"
300        android:label="@string/permlab_installLocationProvider"
301        android:description="@string/permdesc_installLocationProvider" />
302
303    <!-- ======================================= -->
304    <!-- Permissions for accessing networks -->
305    <!-- ======================================= -->
306    <eat-comment />
307
308    <!-- Used for permissions that provide access to networking services.  The
309         main permission here is internet access, but this is also an
310         appropriate group for accessing or modifying any network configuration
311         or other related network operations. -->
312    <permission-group android:name="android.permission-group.NETWORK"
313        android:label="@string/permgrouplab_network"
314        android:description="@string/permgroupdesc_network" />
315
316    <!-- Allows applications to open network sockets. -->
317    <permission android:name="android.permission.INTERNET"
318        android:permissionGroup="android.permission-group.NETWORK"
319        android:protectionLevel="dangerous"
320        android:description="@string/permdesc_createNetworkSockets"
321        android:label="@string/permlab_createNetworkSockets" />
322
323    <!-- Allows applications to access information about networks -->
324    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
325        android:permissionGroup="android.permission-group.NETWORK"
326        android:protectionLevel="normal"
327        android:description="@string/permdesc_accessNetworkState"
328        android:label="@string/permlab_accessNetworkState" />
329
330    <!-- Allows applications to access information about Wi-Fi networks -->
331    <permission android:name="android.permission.ACCESS_WIFI_STATE"
332        android:permissionGroup="android.permission-group.NETWORK"
333        android:protectionLevel="normal"
334        android:description="@string/permdesc_accessWifiState"
335        android:label="@string/permlab_accessWifiState" />
336
337    <!-- Allows applications to access information about WiMAX networks
338         @hide -->
339    <permission android:name="android.permission.ACCESS_WIMAX_STATE"
340        android:permissionGroup="android.permission-group.NETWORK"
341        android:protectionLevel="normal"
342        android:description="@string/permdesc_accessWimaxState"
343        android:label="@string/permlab_accessWimaxState" />
344
345    <!-- Allows applications to connect to paired bluetooth devices -->
346    <permission android:name="android.permission.BLUETOOTH"
347        android:permissionGroup="android.permission-group.NETWORK"
348        android:protectionLevel="dangerous"
349        android:description="@string/permdesc_bluetooth"
350        android:label="@string/permlab_bluetooth" />
351
352    <!-- Allows applications to perform I/O operations over NFC -->
353    <permission android:name="android.permission.NFC"
354        android:permissionGroup="android.permission-group.NETWORK"
355        android:protectionLevel="dangerous"
356        android:description="@string/permdesc_nfc"
357        android:label="@string/permlab_nfc" />
358
359    <!-- Allows an application to use SIP service -->
360    <permission android:name="android.permission.USE_SIP"
361        android:permissionGroup="android.permission-group.NETWORK"
362        android:protectionLevel="dangerous"
363        android:description="@string/permdesc_use_sip"
364        android:label="@string/permlab_use_sip" />
365
366    <!-- Allows applications to call into AccountAuthenticators. Only
367    the system can get this permission. -->
368    <permission android:name="android.permission.ACCOUNT_MANAGER"
369        android:permissionGroup="android.permission-group.ACCOUNTS"
370        android:protectionLevel="signature"
371        android:description="@string/permdesc_accountManagerService"
372        android:label="@string/permlab_accountManagerService" />
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 manage preferences and permissions for USB devices
467         @hide -->
468    <permission android:name="android.permission.MANAGE_USB"
469        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
470        android:protectionLevel="signatureOrSystem"
471        android:label="@string/permlab_manageUsb"
472        android:description="@string/permdesc_manageUsb" />
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 change WiMAX connectivity state
856         @hide -->
857    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
858        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
859        android:protectionLevel="dangerous"
860        android:description="@string/permdesc_changeWimaxState"
861        android:label="@string/permlab_changeWimaxState" />
862
863    <!-- Allows applications to enter Wi-Fi Multicast mode -->
864    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
865        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
866        android:protectionLevel="dangerous"
867        android:description="@string/permdesc_changeWifiMulticastState"
868        android:label="@string/permlab_changeWifiMulticastState" />
869
870    <!-- Allows applications to discover and pair bluetooth devices -->
871    <permission android:name="android.permission.BLUETOOTH_ADMIN"
872        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
873        android:protectionLevel="dangerous"
874        android:description="@string/permdesc_bluetoothAdmin"
875        android:label="@string/permlab_bluetoothAdmin" />
876
877    <!-- Allows an application to clear the caches of all installed
878         applications on the device.  -->
879    <permission android:name="android.permission.CLEAR_APP_CACHE"
880        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
881        android:protectionLevel="dangerous"
882        android:label="@string/permlab_clearAppCache"
883        android:description="@string/permdesc_clearAppCache" />
884
885    <!-- Allows an application to read the low-level system log files.
886         Log entries can contain the user's private information,
887         which is why this permission is 'dangerous'. -->
888    <permission android:name="android.permission.READ_LOGS"
889        android:permissionGroup="android.permission-group.PERSONAL_INFO"
890        android:protectionLevel="dangerous"
891        android:label="@string/permlab_readLogs"
892        android:description="@string/permdesc_readLogs" />
893
894    <!-- ========================================= -->
895    <!-- Permissions for special development tools -->
896    <!-- ========================================= -->
897    <eat-comment />
898
899    <!-- Group of permissions that are related to development features.  These
900         are not permissions that should appear in normal applications; they
901         protect APIs that are intended only to be used for development
902         purposes. -->
903    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
904        android:label="@string/permgrouplab_developmentTools"
905        android:description="@string/permgroupdesc_developmentTools" />
906
907    <!-- Configure an application for debugging. -->
908    <permission android:name="android.permission.SET_DEBUG_APP"
909        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
910        android:protectionLevel="dangerous"
911        android:label="@string/permlab_setDebugApp"
912        android:description="@string/permdesc_setDebugApp" />
913
914    <!-- Allows an application to set the maximum number of (not needed)
915         application processes that can be running. -->
916    <permission android:name="android.permission.SET_PROCESS_LIMIT"
917        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
918        android:protectionLevel="dangerous"
919        android:label="@string/permlab_setProcessLimit"
920        android:description="@string/permdesc_setProcessLimit" />
921
922    <!-- Allows an application to control whether activities are immediately
923         finished when put in the background. -->
924    <permission android:name="android.permission.SET_ALWAYS_FINISH"
925        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
926        android:protectionLevel="dangerous"
927        android:label="@string/permlab_setAlwaysFinish"
928        android:description="@string/permdesc_setAlwaysFinish" />
929
930    <!-- Allow an application to request that a signal be sent to all persistent processes -->
931    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
932        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
933        android:protectionLevel="dangerous"
934        android:label="@string/permlab_signalPersistentProcesses"
935        android:description="@string/permdesc_signalPersistentProcesses" />
936
937    <!-- ==================================== -->
938    <!-- Private (signature-only) permissions -->
939    <!-- ==================================== -->
940    <eat-comment />
941
942    <!-- Allows applications to RW to diagnostic resources. -->
943    <permission android:name="android.permission.DIAGNOSTIC"
944        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
945        android:protectionLevel="signature"
946        android:description="@string/permdesc_diagnostic"
947        android:label="@string/permlab_diagnostic" />
948
949    <!-- Allows an application to open, close, or disable the status bar
950         and its icons. -->
951    <permission android:name="android.permission.STATUS_BAR"
952        android:label="@string/permlab_statusBar"
953        android:description="@string/permdesc_statusBar"
954        android:protectionLevel="signatureOrSystem" />
955
956    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
957    @hide -->
958    <permission android:name="android.permission.STATUS_BAR_SERVICE"
959        android:label="@string/permlab_statusBarService"
960        android:description="@string/permdesc_statusBarService"
961        android:protectionLevel="signature" />
962
963    <!-- Allows an application to force a BACK operation on whatever is the
964         top activity. -->
965    <permission android:name="android.permission.FORCE_BACK"
966        android:label="@string/permlab_forceBack"
967        android:description="@string/permdesc_forceBack"
968        android:protectionLevel="signature" />
969
970    <!-- Allows an application to update device statistics. Not for
971         use by third party apps. -->
972    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
973        android:label="@string/permlab_batteryStats"
974        android:description="@string/permdesc_batteryStats"
975        android:protectionLevel="signatureOrSystem" />
976
977    <!-- Allows an application to open windows that are for use by parts
978         of the system user interface.  Not for use by third party apps. -->
979    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
980        android:label="@string/permlab_internalSystemWindow"
981        android:description="@string/permdesc_internalSystemWindow"
982        android:protectionLevel="signature" />
983
984    <!-- Allows an application to manage (create, destroy,
985         Z-order) application tokens in the window manager.  This is only
986         for use by the system. -->
987    <permission android:name="android.permission.MANAGE_APP_TOKENS"
988        android:label="@string/permlab_manageAppTokens"
989        android:description="@string/permdesc_manageAppTokens"
990        android:protectionLevel="signature" />
991
992    <!-- Allows an application to inject user events (keys, touch, trackball)
993         into the event stream and deliver them to ANY window.  Without this
994         permission, you can only deliver events to windows in your own process.
995         Very few applications should need to use this permission. -->
996    <permission android:name="android.permission.INJECT_EVENTS"
997        android:label="@string/permlab_injectEvents"
998        android:description="@string/permdesc_injectEvents"
999        android:protectionLevel="signature" />
1000
1001    <!-- Allows an application to watch and control how activities are
1002         started globally in the system.  Only for is in debugging
1003         (usually the monkey command). -->
1004    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1005        android:label="@string/permlab_runSetActivityWatcher"
1006        android:description="@string/permdesc_runSetActivityWatcher"
1007        android:protectionLevel="signature" />
1008
1009    <!-- Allows an application to call the activity manager shutdown() API
1010         to put the higher-level system there into a shutdown state.
1011         @hide -->
1012    <permission android:name="android.permission.SHUTDOWN"
1013        android:label="@string/permlab_shutdown"
1014        android:description="@string/permdesc_shutdown"
1015        android:protectionLevel="signature" />
1016
1017    <!-- Allows an application to tell the activity manager to temporarily
1018         stop application switches, putting it into a special mode that
1019         prevents applications from immediately switching away from some
1020         critical UI such as the home screen.
1021         @hide -->
1022    <permission android:name="android.permission.STOP_APP_SWITCHES"
1023        android:label="@string/permlab_stopAppSwitches"
1024        android:description="@string/permdesc_stopAppSwitches"
1025        android:protectionLevel="signature" />
1026
1027    <!-- Allows an application to retrieve the current state of keys and
1028         switches.  This is only for use by the system.-->
1029    <permission android:name="android.permission.READ_INPUT_STATE"
1030        android:label="@string/permlab_readInputState"
1031        android:description="@string/permdesc_readInputState"
1032        android:protectionLevel="signature" />
1033
1034    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1035         to ensure that only the system can bind to it. -->
1036    <permission android:name="android.permission.BIND_INPUT_METHOD"
1037        android:label="@string/permlab_bindInputMethod"
1038        android:description="@string/permdesc_bindInputMethod"
1039        android:protectionLevel="signature" />
1040
1041    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1042         to ensure that only the system can bind to it. -->
1043    <permission android:name="android.permission.BIND_WALLPAPER"
1044        android:label="@string/permlab_bindWallpaper"
1045        android:description="@string/permdesc_bindWallpaper"
1046        android:protectionLevel="signatureOrSystem" />
1047
1048    <!-- Must be required by device administration receiver, to ensure that only the
1049         system can interact with it. -->
1050    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1051        android:label="@string/permlab_bindDeviceAdmin"
1052        android:description="@string/permdesc_bindDeviceAdmin"
1053        android:protectionLevel="signature" />
1054
1055    <!-- Allows low-level access to setting the orientation (actually
1056         rotation) of the screen.  Not for use by normal applications. -->
1057    <permission android:name="android.permission.SET_ORIENTATION"
1058        android:label="@string/permlab_setOrientation"
1059        android:description="@string/permdesc_setOrientation"
1060        android:protectionLevel="signature" />
1061
1062    <!-- Allows an application to install packages. -->
1063    <permission android:name="android.permission.INSTALL_PACKAGES"
1064        android:label="@string/permlab_installPackages"
1065        android:description="@string/permdesc_installPackages"
1066        android:protectionLevel="signatureOrSystem" />
1067
1068    <!-- Allows an application to clear user data -->
1069    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1070        android:label="@string/permlab_clearAppUserData"
1071        android:description="@string/permdesc_clearAppUserData"
1072        android:protectionLevel="signature" />
1073
1074    <!-- Allows an application to delete cache files. -->
1075    <permission android:name="android.permission.DELETE_CACHE_FILES"
1076        android:label="@string/permlab_deleteCacheFiles"
1077        android:description="@string/permdesc_deleteCacheFiles"
1078        android:protectionLevel="signatureOrSystem" />
1079
1080    <!-- Allows an application to delete packages. -->
1081    <permission android:name="android.permission.DELETE_PACKAGES"
1082        android:label="@string/permlab_deletePackages"
1083        android:description="@string/permdesc_deletePackages"
1084        android:protectionLevel="signatureOrSystem" />
1085
1086    <!-- Allows an application to move location of installed package.
1087         @hide -->
1088    <permission android:name="android.permission.MOVE_PACKAGE"
1089        android:label="@string/permlab_movePackage"
1090        android:description="@string/permdesc_movePackage"
1091        android:protectionLevel="signatureOrSystem" />
1092
1093    <!-- Allows an application to change whether an application component (other than its own) is
1094         enabled or not. -->
1095    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1096        android:label="@string/permlab_changeComponentState"
1097        android:description="@string/permdesc_changeComponentState"
1098        android:protectionLevel="signatureOrSystem" />
1099
1100    <!-- Allows an application to use SurfaceFlinger's low level features -->
1101    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1102        android:label="@string/permlab_accessSurfaceFlinger"
1103        android:description="@string/permdesc_accessSurfaceFlinger"
1104        android:protectionLevel="signature" />
1105
1106    <!-- Allows an application to take screen shots and more generally
1107         get access to the frame buffer data -->
1108    <permission android:name="android.permission.READ_FRAME_BUFFER"
1109        android:label="@string/permlab_readFrameBuffer"
1110        android:description="@string/permdesc_readFrameBuffer"
1111        android:protectionLevel="signature" />
1112
1113    <!-- Required to be able to disable the device (very dangerous!). -->
1114    <permission android:name="android.permission.BRICK"
1115        android:label="@string/permlab_brick"
1116        android:description="@string/permdesc_brick"
1117        android:protectionLevel="signature" />
1118
1119    <!-- Required to be able to reboot the device. -->
1120    <permission android:name="android.permission.REBOOT"
1121        android:label="@string/permlab_reboot"
1122        android:description="@string/permdesc_reboot"
1123        android:protectionLevel="signatureOrSystem" />
1124
1125   <!-- Allows low-level access to power management -->
1126    <permission android:name="android.permission.DEVICE_POWER"
1127        android:label="@string/permlab_devicePower"
1128        android:description="@string/permdesc_devicePower"
1129        android:protectionLevel="signature" />
1130
1131    <!-- Run as a manufacturer test application, running as the root user.
1132         Only available when the device is running in manufacturer test mode. -->
1133    <permission android:name="android.permission.FACTORY_TEST"
1134        android:label="@string/permlab_factoryTest"
1135        android:description="@string/permdesc_factoryTest"
1136        android:protectionLevel="signature" />
1137
1138    <!-- Allows an application to broadcast a notification that an application
1139         package has been removed. -->
1140    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1141        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1142        android:label="@string/permlab_broadcastPackageRemoved"
1143        android:description="@string/permdesc_broadcastPackageRemoved"
1144        android:protectionLevel="signature" />
1145
1146    <!-- Allows an application to broadcast an SMS receipt notification -->
1147    <permission android:name="android.permission.BROADCAST_SMS"
1148        android:permissionGroup="android.permission-group.MESSAGES"
1149        android:label="@string/permlab_broadcastSmsReceived"
1150        android:description="@string/permdesc_broadcastSmsReceived"
1151        android:protectionLevel="signature" />
1152
1153    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1154    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1155        android:permissionGroup="android.permission-group.MESSAGES"
1156        android:label="@string/permlab_broadcastWapPush"
1157        android:description="@string/permdesc_broadcastWapPush"
1158        android:protectionLevel="signature" />
1159
1160    <permission android:name="android.permission.MASTER_CLEAR"
1161        android:label="@string/permlab_masterClear"
1162        android:description="@string/permdesc_masterClear"
1163        android:protectionLevel="signatureOrSystem" />
1164
1165    <!-- Allows an application to call any phone number, including emergency
1166         numbers, without going through the Dialer user interface for the user
1167         to confirm the call being placed. -->
1168    <permission android:name="android.permission.CALL_PRIVILEGED"
1169        android:label="@string/permlab_callPrivileged"
1170        android:description="@string/permdesc_callPrivileged"
1171        android:protectionLevel="signatureOrSystem" />
1172
1173    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1174    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1175        android:label="@string/permlab_performCdmaProvisioning"
1176        android:description="@string/permdesc_performCdmaProvisioning"
1177        android:protectionLevel="signatureOrSystem" />
1178
1179    <!-- Allows enabling/disabling location update notifications from
1180         the radio. Not for use by normal applications. -->
1181    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1182        android:label="@string/permlab_locationUpdates"
1183        android:description="@string/permdesc_locationUpdates"
1184        android:protectionLevel="signatureOrSystem" />
1185
1186    <!-- Allows read/write access to the "properties" table in the checkin
1187         database, to change values that get uploaded. -->
1188    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1189        android:label="@string/permlab_checkinProperties"
1190        android:description="@string/permdesc_checkinProperties"
1191        android:protectionLevel="signatureOrSystem" />
1192
1193    <!-- Allows an application to collect component usage
1194         statistics @hide -->
1195    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1196        android:label="@string/permlab_pkgUsageStats"
1197        android:description="@string/permdesc_pkgUsageStats"
1198        android:protectionLevel="signature" />
1199
1200    <!-- Allows an application to collect battery statistics -->
1201    <permission android:name="android.permission.BATTERY_STATS"
1202        android:label="@string/permlab_batteryStats"
1203        android:description="@string/permdesc_batteryStats"
1204        android:protectionLevel="normal" />
1205
1206    <!-- Allows an application to control the backup and restore process
1207         @hide pending API council -->
1208    <permission android:name="android.permission.BACKUP"
1209        android:label="@string/permlab_backup"
1210        android:description="@string/permdesc_backup"
1211        android:protectionLevel="signatureOrSystem" />
1212
1213    <!-- Allows an application to tell the AppWidget service which application
1214         can access AppWidget's data.  The normal user flow is that a user
1215         picks an AppWidget to go into a particular host, thereby giving that
1216         host application access to the private data from the AppWidget app.
1217         An application that has this permission should honor that contract.
1218         Very few applications should need to use this permission. -->
1219    <permission android:name="android.permission.BIND_APPWIDGET"
1220        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1221        android:label="@string/permlab_bindGadget"
1222        android:description="@string/permdesc_bindGadget"
1223        android:protectionLevel="signatureOrSystem" />
1224
1225    <!-- Allows applications to change the background data setting
1226         @hide pending API council -->
1227    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1228        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1229        android:protectionLevel="signature"
1230        android:description="@string/permdesc_changeBackgroundDataSetting"
1231        android:label="@string/permlab_changeBackgroundDataSetting" />
1232
1233    <!-- This permission can be used on content providers to allow the global
1234         search system to access their data.  Typically it used when the
1235         provider has some permissions protecting it (which global search
1236         would not be expected to hold), and added as a read-only permission
1237         to the path in the provider where global search queries are
1238         performed.  This permission can not be held by regular applications;
1239         it is used by applications to protect themselves from everyone else
1240         besides global search. -->
1241    <permission android:name="android.permission.GLOBAL_SEARCH"
1242        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1243        android:protectionLevel="signatureOrSystem" />
1244
1245    <!-- Internal permission protecting access to the global search
1246         system: ensures that only the system can access the provider
1247         to perform queries (since this otherwise provides unrestricted
1248         access to a variety of content providers), and to write the
1249         search statistics (to keep applications from gaming the source
1250         ranking).
1251         @hide -->
1252    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1253        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1254        android:protectionLevel="signature" />
1255
1256    <!-- Allows applications to set a live wallpaper.
1257         @hide XXX Change to signature once the picker is moved to its
1258         own apk as Ghod Intended. -->
1259    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1260        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1261        android:protectionLevel="signatureOrSystem" />
1262
1263    <!-- Allow an application to read and write the cache partition.
1264         @hide -->
1265    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1266        android:label="@string/permlab_cache_filesystem"
1267        android:description="@string/permdesc_cache_filesystem"
1268        android:protectionLevel="signatureOrSystem" />
1269
1270    <!-- Must be required by default container service so that only
1271         the system can bind to it and use it to copy
1272         protected data to secure containers or files
1273         accessible to the system.
1274         @hide -->
1275    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1276        android:label="@string/permlab_copyProtectedData"
1277        android:description="@string/permlab_copyProtectedData"
1278        android:protectionLevel="signature" />
1279
1280    <!-- C2DM permission. 
1281         @hide Used internally.
1282     -->
1283    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
1284          android:protectionLevel="signature" />
1285    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
1286
1287    <application android:process="system"
1288                 android:persistent="true"
1289                 android:hasCode="false"
1290                 android:label="@string/android_system_label"
1291                 android:allowClearUserData="false"
1292                 android:backupAgent="com.android.server.SystemBackupAgent"
1293                 android:killAfterRestore="false"
1294                 android:icon="@drawable/ic_launcher_android">
1295        <activity android:name="com.android.internal.app.ChooserActivity"
1296                android:theme="@style/Theme.Dialog.Alert"
1297                android:finishOnCloseSystemDialogs="true"
1298                android:excludeFromRecents="true"
1299                android:multiprocess="true">
1300            <intent-filter>
1301                <action android:name="android.intent.action.CHOOSER" />
1302                <category android:name="android.intent.category.DEFAULT" />
1303            </intent-filter>
1304        </activity>
1305        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
1306                android:theme="@style/Theme.Dialog"
1307                android:label="@string/heavy_weight_switcher_title"
1308                android:finishOnCloseSystemDialogs="true"
1309                android:excludeFromRecents="true">
1310        </activity>
1311        <activity android:name="com.android.internal.app.PlatLogoActivity"
1312                android:theme="@style/Theme.NoTitleBar.Fullscreen">
1313        </activity>
1314        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1315                android:theme="@style/Theme.NoDisplay"
1316                android:excludeFromRecents="true">
1317        </activity>
1318        <activity android:name="com.android.internal.app.RingtonePickerActivity"
1319                android:theme="@style/Theme.Dialog.Alert"
1320                android:excludeFromRecents="true"
1321                android:multiprocess="true">
1322            <intent-filter>
1323                <action android:name="android.intent.action.RINGTONE_PICKER" />
1324                <category android:name="android.intent.category.DEFAULT" />
1325            </intent-filter>
1326        </activity>
1327
1328        <activity android:name="android.accounts.ChooseAccountActivity"
1329                android:excludeFromRecents="true"
1330                android:exported="true">
1331        </activity>
1332
1333        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1334                android:excludeFromRecents="true"
1335                android:exported="true">
1336        </activity>
1337
1338        <activity android:name="com.android.server.ShutdownActivity"
1339            android:permission="android.permission.SHUTDOWN"
1340            android:excludeFromRecents="true">
1341            <intent-filter>
1342                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1343                <category android:name="android.intent.category.DEFAULT" />
1344            </intent-filter>
1345        </activity>
1346        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1347                android:theme="@style/Theme.Dialog.Alert"
1348                android:excludeFromRecents="true">
1349        </activity>
1350
1351        <activity android:name="com.android.server.usb.UsbResolverActivity"
1352                android:theme="@style/Theme.Dialog.Alert"
1353                android:finishOnCloseSystemDialogs="true"
1354                android:excludeFromRecents="true">
1355        </activity>
1356
1357        <service android:name="com.android.server.LoadAverageService"
1358                android:exported="true" />
1359
1360        <service android:name="com.android.internal.service.wallpaper.ImageWallpaper"
1361                android:permission="android.permission.BIND_WALLPAPER">
1362        </service>
1363
1364        <receiver android:name="com.android.server.BootReceiver" >
1365            <intent-filter>
1366                <action android:name="android.intent.action.BOOT_COMPLETED" />
1367            </intent-filter>
1368        </receiver>
1369
1370        <receiver android:name="com.android.server.MasterClearReceiver"
1371            android:permission="android.permission.MASTER_CLEAR"
1372            android:priority="100" >
1373            <intent-filter>
1374                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1375                <action android:name="android.intent.action.MASTER_CLEAR" />
1376
1377                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1378                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1379                <category android:name="android.intent.category.MASTER_CLEAR" />
1380            </intent-filter>
1381        </receiver>
1382
1383        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
1384            android:permission="android.permission.MASTER_CLEAR"
1385            android:exported="true" />
1386
1387    </application>
1388
1389</manifest>
1390