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