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