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