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