AndroidManifest.xml revision 434203a277cd2f237a71508a3d5a7d1602126cd5
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/AndroidManifest.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21    package="android" android:sharedUserId="android.uid.system"
22    android:sharedUserLabel="@string/android_system_label">
23
24    <!-- ================================================ -->
25    <!-- Special broadcasts that only the system can send -->
26    <!-- ================================================ -->
27    <eat-comment />
28
29    <protected-broadcast android:name="android.intent.action.SCREEN_OFF" />
30    <protected-broadcast android:name="android.intent.action.SCREEN_ON" />
31    <protected-broadcast android:name="android.intent.action.USER_PRESENT" />
32    <protected-broadcast android:name="android.intent.action.TIME_TICK" />
33    <protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
34    <protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
35    <protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
36    <protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
37    <protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
38    <protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
39    <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
40    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
41    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
42    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
43    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
44    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
45    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
46    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
47    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
48    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
49    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
50    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
51    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
52    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
53    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
54    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
55    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
56    <protected-broadcast android:name="android.intent.action.REBOOT" />
57    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
58
59    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
60    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
61    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
62    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
63    
64    <protected-broadcast android:name="android.backup.intent.RUN" />
65    <protected-broadcast android:name="android.backup.intent.CLEAR" />
66    <protected-broadcast android:name="android.backup.intent.INIT" />
67
68    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
69    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
70    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
71    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
72    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
73    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
74    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
75    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
76    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
77    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
78    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
79    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
80    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
81    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
82    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
83    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
84
85    <protected-broadcast android:name="android.hardware.action.USB_CONNECTED" />
86    <protected-broadcast android:name="android.hardware.action.USB_DISCONNECTED" />
87    <protected-broadcast android:name="android.hardware.action.USB_STATE" />
88    <protected-broadcast android:name="android.hardware.action.USB_CAMERA_ATTACHED" />
89    <protected-broadcast android:name="android.hardware.action.USB_CAMERA_DETACHED" />
90
91    <protected-broadcast android:name="android.nfc.action.TAG_DISCOVERED" />
92    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
93    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
94    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
95    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
96
97    <!-- ====================================== -->
98    <!-- Permissions for things that cost money -->
99    <!-- ====================================== -->
100    <eat-comment />
101
102    <!-- Used for permissions that can be used to make the user spend money
103         without their direct involvement.  For example, this is the group
104         for permissions that allow you to directly place phone calls,
105         directly send SMS messages, etc. -->
106    <permission-group android:name="android.permission-group.COST_MONEY"
107        android:label="@string/permgrouplab_costMoney"
108        android:description="@string/permgroupdesc_costMoney" />
109
110    <!-- Allows an application to send SMS messages. -->
111    <permission android:name="android.permission.SEND_SMS"
112        android:permissionGroup="android.permission-group.COST_MONEY"
113        android:protectionLevel="dangerous"
114        android:label="@string/permlab_sendSms"
115        android:description="@string/permdesc_sendSms" />
116
117    <!-- Allows an application to initiate a phone call without going through
118         the Dialer user interface for the user to confirm the call
119         being placed. -->
120    <permission android:name="android.permission.CALL_PHONE"
121        android:permissionGroup="android.permission-group.COST_MONEY"
122        android:protectionLevel="dangerous"
123        android:label="@string/permlab_callPhone"
124        android:description="@string/permdesc_callPhone" />
125
126    <!-- ================================== -->
127    <!-- Permissions for accessing messages -->
128    <!-- ================================== -->
129    <eat-comment />
130
131    <!-- Used for permissions that allow an application to send messages
132         on behalf of the user or intercept messages being received by the
133         user.  This is primarily intended for SMS/MMS messaging, such as
134         receiving or reading an MMS. -->
135    <permission-group android:name="android.permission-group.MESSAGES"
136        android:label="@string/permgrouplab_messages"
137        android:description="@string/permgroupdesc_messages" />
138
139    <!-- Allows an application to monitor incoming SMS messages, to record
140         or perform processing on them. -->
141    <permission android:name="android.permission.RECEIVE_SMS"
142        android:permissionGroup="android.permission-group.MESSAGES"
143        android:protectionLevel="dangerous"
144        android:label="@string/permlab_receiveSms"
145        android:description="@string/permdesc_receiveSms" />
146
147    <!-- Allows an application to monitor incoming MMS messages, to record
148         or perform processing on them. -->
149    <permission android:name="android.permission.RECEIVE_MMS"
150        android:permissionGroup="android.permission-group.MESSAGES"
151        android:protectionLevel="dangerous"
152        android:label="@string/permlab_receiveMms"
153        android:description="@string/permdesc_receiveMms" />
154
155    <!-- Allows an application to read SMS messages. -->
156    <permission android:name="android.permission.READ_SMS"
157        android:permissionGroup="android.permission-group.MESSAGES"
158        android:protectionLevel="dangerous"
159        android:label="@string/permlab_readSms"
160        android:description="@string/permdesc_readSms" />
161
162    <!-- Allows an application to write SMS messages. -->
163    <permission android:name="android.permission.WRITE_SMS"
164        android:permissionGroup="android.permission-group.MESSAGES"
165        android:protectionLevel="dangerous"
166        android:label="@string/permlab_writeSms"
167        android:description="@string/permdesc_writeSms" />
168
169    <!-- Allows an application to monitor incoming WAP push messages. -->
170    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
171        android:permissionGroup="android.permission-group.MESSAGES"
172        android:protectionLevel="dangerous"
173        android:label="@string/permlab_receiveWapPush"
174        android:description="@string/permdesc_receiveWapPush" />
175
176    <!-- =============================================================== -->
177    <!-- Permissions for accessing personal info (contacts and calendar) -->
178    <!-- =============================================================== -->
179    <eat-comment />
180
181    <!-- Used for permissions that provide access to the user's private data,
182         such as contacts, calendar events, e-mail messages, etc.  This includes
183         both reading and writing of this data (which should generally be
184         expressed as two distinct permissions). -->
185    <permission-group android:name="android.permission-group.PERSONAL_INFO"
186        android:label="@string/permgrouplab_personalInfo"
187        android:description="@string/permgroupdesc_personalInfo" />
188
189    <!-- Allows an application to read the user's contacts data. -->
190    <permission android:name="android.permission.READ_CONTACTS"
191        android:permissionGroup="android.permission-group.PERSONAL_INFO"
192        android:protectionLevel="dangerous"
193        android:label="@string/permlab_readContacts"
194        android:description="@string/permdesc_readContacts" />
195
196    <!-- Allows an application to write (but not read) the user's
197         contacts data. -->
198    <permission android:name="android.permission.WRITE_CONTACTS"
199        android:permissionGroup="android.permission-group.PERSONAL_INFO"
200        android:protectionLevel="dangerous"
201        android:label="@string/permlab_writeContacts"
202        android:description="@string/permdesc_writeContacts" />
203
204    <!-- Allows an application to read the user's calendar data. -->
205    <permission android:name="android.permission.READ_CALENDAR"
206        android:permissionGroup="android.permission-group.PERSONAL_INFO"
207        android:protectionLevel="dangerous"
208        android:label="@string/permlab_readCalendar"
209        android:description="@string/permdesc_readCalendar" />
210
211    <!-- Allows an application to write (but not read) the user's
212         calendar data. -->
213    <permission android:name="android.permission.WRITE_CALENDAR"
214        android:permissionGroup="android.permission-group.PERSONAL_INFO"
215        android:protectionLevel="dangerous"
216        android:label="@string/permlab_writeCalendar"
217        android:description="@string/permdesc_writeCalendar" />
218
219    <!-- Allows an application to read the user dictionary. This should
220         really only be required by an IME, or a dictionary editor like
221         the Settings app.
222         @hide Pending API council approval -->
223    <permission android:name="android.permission.READ_USER_DICTIONARY"
224        android:permissionGroup="android.permission-group.PERSONAL_INFO"
225        android:protectionLevel="dangerous"
226        android:label="@string/permlab_readDictionary"
227        android:description="@string/permdesc_readDictionary" />
228
229    <!-- Allows an application to write to the user dictionary.
230         @hide Pending API council approval -->
231    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
232        android:permissionGroup="android.permission-group.PERSONAL_INFO"
233        android:protectionLevel="normal"
234        android:label="@string/permlab_writeDictionary"
235        android:description="@string/permdesc_writeDictionary" />
236
237    <!-- Allows an application to read (but not write) the user's
238        browsing history and bookmarks. -->
239    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
240        android:permissionGroup="android.permission-group.PERSONAL_INFO"
241        android:label="@string/permlab_readHistoryBookmarks"
242        android:description="@string/permdesc_readHistoryBookmarks"
243        android:protectionLevel="dangerous" />
244
245    <!-- Allows an application to write (but not read) the user's
246        browsing history and bookmarks. -->
247    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
248        android:permissionGroup="android.permission-group.PERSONAL_INFO"
249        android:label="@string/permlab_writeHistoryBookmarks"
250        android:description="@string/permdesc_writeHistoryBookmarks"
251        android:protectionLevel="dangerous" />
252
253    <!-- Allows an application to broadcast an Intent to set an alarm for the
254         user. -->
255    <permission android:name="com.android.alarm.permission.SET_ALARM"
256        android:permissionGroup="android.permission-group.PERSONAL_INFO"
257        android:label="@string/permlab_setAlarm"
258        android:description="@string/permdesc_setAlarm"
259        android:protectionLevel="normal" />
260
261    <!-- ======================================= -->
262    <!-- Permissions for accessing location info -->
263    <!-- ======================================= -->
264    <eat-comment />
265
266    <!-- Used for permissions that allow access to the user's current
267         location. -->
268    <permission-group android:name="android.permission-group.LOCATION"
269        android:label="@string/permgrouplab_location"
270        android:description="@string/permgroupdesc_location" />
271
272    <!-- Allows an application to access fine (e.g., GPS) location -->
273    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
274        android:permissionGroup="android.permission-group.LOCATION"
275        android:protectionLevel="dangerous"
276        android:label="@string/permlab_accessFineLocation"
277        android:description="@string/permdesc_accessFineLocation" />
278
279    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
280    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
281        android:permissionGroup="android.permission-group.LOCATION"
282        android:protectionLevel="dangerous"
283        android:label="@string/permlab_accessCoarseLocation"
284        android:description="@string/permdesc_accessCoarseLocation" />
285
286    <!-- Allows an application to create mock location providers for testing -->
287    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
288        android:permissionGroup="android.permission-group.LOCATION"
289        android:protectionLevel="dangerous"
290        android:label="@string/permlab_accessMockLocation"
291        android:description="@string/permdesc_accessMockLocation" />
292
293    <!-- Allows an application to access extra location provider commands -->
294    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
295        android:permissionGroup="android.permission-group.LOCATION"
296        android:protectionLevel="normal"
297        android:label="@string/permlab_accessLocationExtraCommands"
298        android:description="@string/permdesc_accessLocationExtraCommands" />
299
300    <!-- Allows an application to install a location provider into the Location Manager -->
301    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
302        android:protectionLevel="signatureOrSystem"
303        android:label="@string/permlab_installLocationProvider"
304        android:description="@string/permdesc_installLocationProvider" />
305
306    <!-- ======================================= -->
307    <!-- Permissions for accessing networks -->
308    <!-- ======================================= -->
309    <eat-comment />
310
311    <!-- Used for permissions that provide access to networking services.  The
312         main permission here is internet access, but this is also an
313         appropriate group for accessing or modifying any network configuration
314         or other related network operations. -->
315    <permission-group android:name="android.permission-group.NETWORK"
316        android:label="@string/permgrouplab_network"
317        android:description="@string/permgroupdesc_network" />
318
319    <!-- Allows applications to open network sockets. -->
320    <permission android:name="android.permission.INTERNET"
321        android:permissionGroup="android.permission-group.NETWORK"
322        android:protectionLevel="dangerous"
323        android:description="@string/permdesc_createNetworkSockets"
324        android:label="@string/permlab_createNetworkSockets" />
325
326    <!-- Allows applications to access information about networks -->
327    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
328        android:permissionGroup="android.permission-group.NETWORK"
329        android:protectionLevel="normal"
330        android:description="@string/permdesc_accessNetworkState"
331        android:label="@string/permlab_accessNetworkState" />
332
333    <!-- Allows applications to access information about Wi-Fi networks -->
334    <permission android:name="android.permission.ACCESS_WIFI_STATE"
335        android:permissionGroup="android.permission-group.NETWORK"
336        android:protectionLevel="normal"
337        android:description="@string/permdesc_accessWifiState"
338        android:label="@string/permlab_accessWifiState" />
339
340    <!-- Allows applications to connect to paired bluetooth devices -->
341    <permission android:name="android.permission.BLUETOOTH"
342        android:permissionGroup="android.permission-group.NETWORK"
343        android:protectionLevel="dangerous"
344        android:description="@string/permdesc_bluetooth"
345        android:label="@string/permlab_bluetooth" />
346
347    <!-- Allows applications to directly communicate over NFC -->
348    <permission android:name="android.permission.NFC"
349        android:permissionGroup="android.permission-group.NETWORK"
350        android:protectionLevel="dangerous"
351        android:description="@string/permdesc_nfc"
352        android:label="@string/permlab_nfc" />
353
354    <!-- Allows an application to use SIP service -->
355    <permission android:name="android.permission.USE_SIP"
356        android:permissionGroup="android.permission-group.NETWORK"
357        android:protectionLevel="dangerous"
358        android:description="@string/permdesc_use_sip"
359        android:label="@string/permlab_use_sip" />
360
361    <!-- Allows applications to call into AccountAuthenticators. Only
362    the system can get this permission. -->
363    <permission android:name="android.permission.ACCOUNT_MANAGER"
364        android:permissionGroup="android.permission-group.ACCOUNTS"
365        android:protectionLevel="signature"
366        android:description="@string/permdesc_accountManagerService"
367        android:label="@string/permlab_accountManagerService" />
368
369    <!-- Allows an internal user to use privaledged ConnectivityManager
370    APIs.
371        @hide -->
372    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
373        android:permissionGroup="android.permission-group.NETWORK"
374        android:protectionLevel="signatureOrSystem" />
375
376    <!-- ================================== -->
377    <!-- Permissions for accessing accounts -->
378    <!-- ================================== -->
379    <eat-comment />
380
381    <!-- Permissions for direct access to the accounts managed
382         by the Account Manager. -->
383    <permission-group android:name="android.permission-group.ACCOUNTS"
384        android:label="@string/permgrouplab_accounts"
385        android:description="@string/permgroupdesc_accounts" />
386
387    <!-- Allows access to the list of accounts in the Accounts Service -->
388    <permission android:name="android.permission.GET_ACCOUNTS"
389        android:permissionGroup="android.permission-group.ACCOUNTS"
390        android:protectionLevel="normal"
391        android:description="@string/permdesc_getAccounts"
392        android:label="@string/permlab_getAccounts" />
393
394    <!-- Allows an application to act as an AccountAuthenticator for
395         the AccountManager -->
396    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
397        android:permissionGroup="android.permission-group.ACCOUNTS"
398        android:protectionLevel="dangerous"
399        android:label="@string/permlab_authenticateAccounts"
400        android:description="@string/permdesc_authenticateAccounts" />
401
402    <!-- Allows an application to request authtokens from the AccountManager -->
403    <permission android:name="android.permission.USE_CREDENTIALS"
404        android:permissionGroup="android.permission-group.ACCOUNTS"
405        android:protectionLevel="dangerous"
406        android:label="@string/permlab_useCredentials"
407        android:description="@string/permdesc_useCredentials" />
408
409    <!-- Allows an application to manage the list of accounts in the AccountManager -->
410    <permission android:name="android.permission.MANAGE_ACCOUNTS"
411        android:permissionGroup="android.permission-group.ACCOUNTS"
412        android:protectionLevel="dangerous"
413        android:label="@string/permlab_manageAccounts"
414        android:description="@string/permdesc_manageAccounts" />
415
416    <!-- ================================== -->
417    <!-- Permissions for accessing hardware -->
418    <!-- ================================== -->
419    <eat-comment />
420
421    <!-- Used for permissions that provide direct access to the hardware on
422         the device.  This includes audio, the camera, vibrator, etc. -->
423    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
424        android:label="@string/permgrouplab_hardwareControls"
425        android:description="@string/permgroupdesc_hardwareControls" />
426
427    <!-- Allows an application to modify global audio settings -->
428    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
429        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
430        android:protectionLevel="dangerous"
431        android:label="@string/permlab_modifyAudioSettings"
432        android:description="@string/permdesc_modifyAudioSettings" />
433
434    <!-- Allows an application to record audio -->
435    <permission android:name="android.permission.RECORD_AUDIO"
436        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
437        android:protectionLevel="dangerous"
438        android:label="@string/permlab_recordAudio"
439        android:description="@string/permdesc_recordAudio" />
440
441    <!-- Required to be able to access the camera device.
442         <p>This will automatically enforce the <a
443         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
444         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
445         If you do not require all camera features or can properly operate if a camera
446         is not available, then you must modify your manifest as appropriate in order to
447         install on devices that don't support all camera features.</p> -->
448    <permission android:name="android.permission.CAMERA"
449        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
450        android:protectionLevel="dangerous"
451        android:label="@string/permlab_camera"
452        android:description="@string/permdesc_camera" />
453
454    <!-- Allows access to the vibrator -->
455    <permission android:name="android.permission.VIBRATE"
456        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
457        android:protectionLevel="normal"
458        android:label="@string/permlab_vibrate"
459        android:description="@string/permdesc_vibrate" />
460
461    <!-- Allows access to the flashlight -->
462    <permission android:name="android.permission.FLASHLIGHT"
463        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
464        android:protectionLevel="normal"
465        android:label="@string/permlab_flashlight"
466        android:description="@string/permdesc_flashlight" />
467
468    <!-- Allows an application to access USB devices
469         @hide -->
470    <permission android:name="android.permission.ACCESS_USB"
471        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
472        android:protectionLevel="signatureOrSystem"
473        android:label="@string/permlab_accessUsb"
474        android:description="@string/permdesc_accessUsb" />
475
476    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
477    <permission android:name="android.permission.HARDWARE_TEST"
478        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
479        android:protectionLevel="signature"
480        android:label="@string/permlab_hardware_test"
481        android:description="@string/permdesc_hardware_test" />
482
483    <!-- =========================================== -->
484    <!-- Permissions associated with telephony state -->
485    <!-- =========================================== -->
486    <eat-comment />
487
488    <!-- Used for permissions that are associated with accessing and modifyign
489         telephony state: intercepting outgoing calls, reading
490         and modifying the phone state.  Note that
491         placing phone calls is not in this group, since that is in the
492         more important "takin' yer moneys" group. -->
493    <permission-group android:name="android.permission-group.PHONE_CALLS"
494        android:label="@string/permgrouplab_phoneCalls"
495        android:description="@string/permgroupdesc_phoneCalls" />
496
497    <!-- Allows an application to monitor, modify, or abort outgoing
498         calls. -->
499    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
500        android:permissionGroup="android.permission-group.PHONE_CALLS"
501        android:protectionLevel="dangerous"
502        android:label="@string/permlab_processOutgoingCalls"
503        android:description="@string/permdesc_processOutgoingCalls" />
504
505    <!-- Allows modification of the telephony state - power on, mmi, etc.
506         Does not include placing calls. -->
507    <permission android:name="android.permission.MODIFY_PHONE_STATE"
508        android:permissionGroup="android.permission-group.PHONE_CALLS"
509        android:protectionLevel="signatureOrSystem"
510        android:label="@string/permlab_modifyPhoneState"
511        android:description="@string/permdesc_modifyPhoneState" />
512
513    <!-- Allows read only access to phone state. -->
514    <permission android:name="android.permission.READ_PHONE_STATE"
515        android:permissionGroup="android.permission-group.PHONE_CALLS"
516        android:protectionLevel="dangerous"
517        android:label="@string/permlab_readPhoneState"
518        android:description="@string/permdesc_readPhoneState" />
519
520    <!-- ================================== -->
521    <!-- Permissions for sdcard interaction -->
522    <!-- ================================== -->
523    <eat-comment />
524
525    <!-- Group of permissions that are related to SD card access. -->
526    <permission-group android:name="android.permission-group.STORAGE"
527        android:label="@string/permgrouplab_storage"
528        android:description="@string/permgroupdesc_storage" />
529
530    <!-- Allows an application to write to external storage -->
531    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
532        android:permissionGroup="android.permission-group.STORAGE"
533        android:label="@string/permlab_sdcardWrite"
534        android:description="@string/permdesc_sdcardWrite"
535        android:protectionLevel="dangerous" />
536
537    <!-- Allows an application to write to internal media storage -->
538    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
539        android:permissionGroup="android.permission-group.STORAGE"
540        android:label="@string/permlab_mediaStorageWrite"
541        android:description="@string/permdesc_mediaStorageWrite"
542        android:protectionLevel="signatureOrSystem" />
543
544    <!-- ============================================ -->
545    <!-- Permissions for low-level system interaction -->
546    <!-- ============================================ -->
547    <eat-comment />
548
549    <!-- Group of permissions that are related to system APIs.  Many
550         of these are not permissions the user will be expected to understand,
551         and such permissions should generally be marked as "normal" protection
552         level so they don't get displayed.  This can also, however, be used
553         for miscellaneous features that provide access to the operating system,
554         such as writing the global system settings. -->
555    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
556        android:label="@string/permgrouplab_systemTools"
557        android:description="@string/permgroupdesc_systemTools" />
558
559    <!-- Allows an application to read or write the system settings. -->
560    <permission android:name="android.permission.WRITE_SETTINGS"
561        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
562        android:protectionLevel="dangerous"
563        android:label="@string/permlab_writeSettings"
564        android:description="@string/permdesc_writeSettings" />
565
566    <!-- Allows an application to read or write the secure system settings. -->
567    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
568        android:protectionLevel="signatureOrSystem"
569        android:label="@string/permlab_writeSecureSettings"
570        android:description="@string/permdesc_writeSecureSettings" />
571
572    <!-- Allows an application to modify the Google service map. -->
573    <permission android:name="android.permission.WRITE_GSERVICES"
574        android:protectionLevel="signatureOrSystem"
575        android:label="@string/permlab_writeGservices"
576        android:description="@string/permdesc_writeGservices" />
577
578    <!-- Allows an application to expand or collapse the status bar. -->
579    <permission android:name="android.permission.EXPAND_STATUS_BAR"
580        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
581        android:protectionLevel="normal"
582        android:label="@string/permlab_expandStatusBar"
583        android:description="@string/permdesc_expandStatusBar" />
584
585    <!-- Allows an application to get information about the currently
586         or recently running tasks: a thumbnail representation of the tasks,
587         what activities are running in it, etc. -->
588    <permission android:name="android.permission.GET_TASKS"
589        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
590        android:protectionLevel="dangerous"
591        android:label="@string/permlab_getTasks"
592        android:description="@string/permdesc_getTasks" />
593
594    <!-- Allows an application to change the Z-order of tasks -->
595    <permission android:name="android.permission.REORDER_TASKS"
596        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
597        android:protectionLevel="dangerous"
598        android:label="@string/permlab_reorderTasks"
599        android:description="@string/permdesc_reorderTasks" />
600
601    <!-- Allows an application to modify the current configuration, such
602         as locale. -->
603    <permission android:name="android.permission.CHANGE_CONFIGURATION"
604        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
605        android:protectionLevel="dangerous"
606        android:label="@string/permlab_changeConfiguration"
607        android:description="@string/permdesc_changeConfiguration" />
608
609    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
610        API is no longer supported. -->
611    <permission android:name="android.permission.RESTART_PACKAGES"
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#killBackgroundProcesses}. -->
619    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
620        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
621        android:protectionLevel="normal"
622        android:label="@string/permlab_killBackgroundProcesses"
623        android:description="@string/permdesc_killBackgroundProcesses" />
624
625    <!-- Allows an application to call
626        {@link android.app.ActivityManager#forceStopPackage}.
627        @hide -->
628    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
629        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
630        android:protectionLevel="signature"
631        android:label="@string/permlab_forceStopPackages"
632        android:description="@string/permdesc_forceStopPackages" />
633
634    <!-- Allows an application to retrieve state dump information from system
635         services. -->
636    <permission android:name="android.permission.DUMP"
637        android:permissionGroup="android.permission-group.PERSONAL_INFO"
638        android:protectionLevel="signatureOrSystem"
639        android:label="@string/permlab_dump"
640        android:description="@string/permdesc_dump" />
641
642    <!-- Allows an application to open windows using the type
643         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
644         shown on top of all other applications.  Very few applications
645         should use this permission; these windows are intended for
646         system-level interaction with the user. -->
647    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
648        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
649        android:protectionLevel="dangerous"
650        android:label="@string/permlab_systemAlertWindow"
651        android:description="@string/permdesc_systemAlertWindow" />
652
653    <!-- Modify the global animation scaling factor. -->
654    <permission android:name="android.permission.SET_ANIMATION_SCALE"
655        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
656        android:protectionLevel="dangerous"
657        android:label="@string/permlab_setAnimationScale"
658        android:description="@string/permdesc_setAnimationScale" />
659
660    <!-- @deprecated This functionality will be removed in the future; please do
661         not use.
662
663         Allow an application to make its activities persistent. -->
664    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
665        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
666        android:protectionLevel="dangerous"
667        android:label="@string/permlab_persistentActivity"
668        android:description="@string/permdesc_persistentActivity" />
669
670    <!-- Allows an application to find out the space used by any package. -->
671    <permission android:name="android.permission.GET_PACKAGE_SIZE"
672        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
673        android:protectionLevel="normal"
674        android:label="@string/permlab_getPackageSize"
675        android:description="@string/permdesc_getPackageSize" />
676
677    <!-- @deprecated No longer useful, see
678         {@link android.content.pm.PackageManager#addPackageToPreferred}
679         for details. -->
680    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
681        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
682        android:protectionLevel="signature"
683        android:label="@string/permlab_setPreferredApplications"
684        android:description="@string/permdesc_setPreferredApplications" />
685
686    <!-- Allows an application to receive the
687         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
688         broadcast after the system finishes booting.  If you don't
689         request this permission, you will not receive the broadcast at
690         that time.  Though holding this permission does not have any
691         security implications, it can have a negative impact on the
692         user experience by increasing the amount of time it takes the
693         system to start and allowing applications to have themselves
694         running without the user being aware of them.  As such, you must
695         explicitly declare your use of this facility to make that visible
696         to the user. -->
697    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
698        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
699        android:protectionLevel="normal"
700        android:label="@string/permlab_receiveBootCompleted"
701        android:description="@string/permdesc_receiveBootCompleted" />
702
703    <!-- Allows an application to broadcast sticky intents.  These are
704         broadcasts whose data is held by the system after being finished,
705         so that clients can quickly retrieve that data without having
706         to wait for the next broadcast. -->
707    <permission android:name="android.permission.BROADCAST_STICKY"
708        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
709        android:protectionLevel="normal"
710        android:label="@string/permlab_broadcastSticky"
711        android:description="@string/permdesc_broadcastSticky" />
712
713    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
714         from dimming -->
715    <permission android:name="android.permission.WAKE_LOCK"
716        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
717        android:protectionLevel="dangerous"
718        android:label="@string/permlab_wakeLock"
719        android:description="@string/permdesc_wakeLock" />
720
721    <!-- Allows applications to set the wallpaper -->
722    <permission android:name="android.permission.SET_WALLPAPER"
723        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
724        android:protectionLevel="normal"
725        android:label="@string/permlab_setWallpaper"
726        android:description="@string/permdesc_setWallpaper" />
727
728    <!-- Allows applications to set the wallpaper hints -->
729    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
730        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
731        android:protectionLevel="normal"
732        android:label="@string/permlab_setWallpaperHints"
733        android:description="@string/permdesc_setWallpaperHints" />
734
735    <!-- Allows applications to set the system time -->
736    <permission android:name="android.permission.SET_TIME"
737        android:protectionLevel="signatureOrSystem"
738        android:label="@string/permlab_setTime"
739        android:description="@string/permdesc_setTime" />
740
741    <!-- Allows applications to set the system time zone -->
742    <permission android:name="android.permission.SET_TIME_ZONE"
743        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
744        android:protectionLevel="dangerous"
745        android:label="@string/permlab_setTimeZone"
746        android:description="@string/permdesc_setTimeZone" />
747
748    <!-- Allows mounting and unmounting file systems for removable storage. -->
749    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
750        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
751        android:protectionLevel="dangerous"
752        android:label="@string/permlab_mount_unmount_filesystems"
753        android:description="@string/permdesc_mount_unmount_filesystems" />
754
755    <!-- Allows formatting file systems for removable storage. -->
756    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
757        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
758        android:protectionLevel="dangerous"
759        android:label="@string/permlab_mount_format_filesystems"
760        android:description="@string/permdesc_mount_format_filesystems" />
761
762    <!-- Allows access to ASEC non-destructive API calls
763         @hide  -->
764    <permission android:name="android.permission.ASEC_ACCESS"
765        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
766        android:protectionLevel="signature"
767        android:label="@string/permlab_asec_access"
768        android:description="@string/permdesc_asec_access" />
769
770    <!-- Allows creation of ASEC volumes
771         @hide  -->
772    <permission android:name="android.permission.ASEC_CREATE"
773        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
774        android:protectionLevel="signature"
775        android:label="@string/permlab_asec_create"
776        android:description="@string/permdesc_asec_create" />
777
778    <!-- Allows destruction of ASEC volumes
779         @hide  -->
780    <permission android:name="android.permission.ASEC_DESTROY"
781        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
782        android:protectionLevel="signature"
783        android:label="@string/permlab_asec_destroy"
784        android:description="@string/permdesc_asec_destroy" />
785
786    <!-- Allows mount / unmount of ASEC volumes
787         @hide  -->
788    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
789        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
790        android:protectionLevel="signature"
791        android:label="@string/permlab_asec_mount_unmount"
792        android:description="@string/permdesc_asec_mount_unmount" />
793
794    <!-- Allows rename of ASEC volumes
795         @hide  -->
796    <permission android:name="android.permission.ASEC_RENAME"
797        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
798        android:protectionLevel="signature"
799        android:label="@string/permlab_asec_rename"
800        android:description="@string/permdesc_asec_rename" />
801
802    <!-- Allows applications to disable the keyguard -->
803    <permission android:name="android.permission.DISABLE_KEYGUARD"
804        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
805        android:protectionLevel="dangerous"
806        android:description="@string/permdesc_disableKeyguard"
807        android:label="@string/permlab_disableKeyguard" />
808
809    <!-- Allows applications to read the sync settings -->
810    <permission android:name="android.permission.READ_SYNC_SETTINGS"
811        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
812        android:protectionLevel="normal"
813        android:description="@string/permdesc_readSyncSettings"
814        android:label="@string/permlab_readSyncSettings" />
815
816    <!-- Allows applications to write the sync settings -->
817    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
818        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
819        android:protectionLevel="dangerous"
820        android:description="@string/permdesc_writeSyncSettings"
821        android:label="@string/permlab_writeSyncSettings" />
822
823    <!-- Allows applications to read the sync stats -->
824    <permission android:name="android.permission.READ_SYNC_STATS"
825        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
826        android:protectionLevel="normal"
827        android:description="@string/permdesc_readSyncStats"
828        android:label="@string/permlab_readSyncStats" />
829
830    <!-- Allows applications to write the apn settings -->
831    <permission android:name="android.permission.WRITE_APN_SETTINGS"
832                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
833                android:protectionLevel="dangerous"
834                android:description="@string/permdesc_writeApnSettings"
835                android:label="@string/permlab_writeApnSettings" />
836
837    <!-- Allows an application to allow access the subscribed feeds
838         ContentProvider. -->
839    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
840        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
841        android:label="@string/permlab_subscribedFeedsRead"
842        android:description="@string/permdesc_subscribedFeedsRead"
843        android:protectionLevel="normal" />
844    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
845        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
846        android:label="@string/permlab_subscribedFeedsWrite"
847        android:description="@string/permdesc_subscribedFeedsWrite"
848        android:protectionLevel="dangerous" />
849
850    <!-- Allows applications to change network connectivity state -->
851    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
852        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
853        android:protectionLevel="dangerous"
854        android:description="@string/permdesc_changeNetworkState"
855        android:label="@string/permlab_changeNetworkState" />
856
857    <!-- Allows applications to change Wi-Fi connectivity state -->
858    <permission android:name="android.permission.CHANGE_WIFI_STATE"
859        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
860        android:protectionLevel="dangerous"
861        android:description="@string/permdesc_changeWifiState"
862        android:label="@string/permlab_changeWifiState" />
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="signature" />
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="signature" />
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.Holo.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.Holo.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.Wallpaper.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.Holo.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            <intent-filter>
1347                <action android:name="android.intent.action.REBOOT" />
1348                <category android:name="android.intent.category.DEFAULT" />
1349            </intent-filter>
1350        </activity>
1351        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1352                android:theme="@style/Theme.Holo.Dialog.Alert"
1353                android:excludeFromRecents="true">
1354        </activity>
1355
1356        <service android:name="com.android.server.LoadAverageService"
1357                android:exported="true" />
1358
1359        <service android:name="com.android.internal.service.wallpaper.ImageWallpaper"
1360                android:permission="android.permission.BIND_WALLPAPER">
1361        </service>
1362
1363        <receiver android:name="com.android.server.BootReceiver" >
1364            <intent-filter>
1365                <action android:name="android.intent.action.BOOT_COMPLETED" />
1366            </intent-filter>
1367        </receiver>
1368
1369        <receiver android:name="com.android.server.MasterClearReceiver"
1370            android:permission="android.permission.MASTER_CLEAR"
1371            android:priority="100" >
1372            <intent-filter>
1373                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1374                <action android:name="android.intent.action.MASTER_CLEAR" />
1375
1376                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1377                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1378                <category android:name="android.intent.category.MASTER_CLEAR" />
1379            </intent-filter>
1380        </receiver>
1381
1382        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
1383            android:permission="android.permission.MASTER_CLEAR"
1384            android:exported="true" />
1385
1386    </application>
1387
1388</manifest>
1389