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