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