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