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