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