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