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