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