AndroidManifest.xml revision 590b73bc5b8e5f7b59bff1d9264a52388a5162e6
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
89    <protected-broadcast android:name="android.nfc.action.NDEF_TAG_DISCOVERED" />
90    <protected-broadcast android:name="android.nfc.action.TAG_DISCOVERED" />
91    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
92    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
93
94    <!-- ====================================== -->
95    <!-- Permissions for things that cost money -->
96    <!-- ====================================== -->
97    <eat-comment />
98
99    <!-- Used for permissions that can be used to make the user spend money
100         without their direct involvement.  For example, this is the group
101         for permissions that allow you to directly place phone calls,
102         directly send SMS messages, etc. -->
103    <permission-group android:name="android.permission-group.COST_MONEY"
104        android:label="@string/permgrouplab_costMoney"
105        android:description="@string/permgroupdesc_costMoney" />
106
107    <!-- Allows an application to send SMS messages. -->
108    <permission android:name="android.permission.SEND_SMS"
109        android:permissionGroup="android.permission-group.COST_MONEY"
110        android:protectionLevel="dangerous"
111        android:label="@string/permlab_sendSms"
112        android:description="@string/permdesc_sendSms" />
113
114    <!-- Allows an application to initiate a phone call without going through
115         the Dialer user interface for the user to confirm the call
116         being placed. -->
117    <permission android:name="android.permission.CALL_PHONE"
118        android:permissionGroup="android.permission-group.COST_MONEY"
119        android:protectionLevel="dangerous"
120        android:label="@string/permlab_callPhone"
121        android:description="@string/permdesc_callPhone" />
122
123    <!-- ================================== -->
124    <!-- Permissions for accessing messages -->
125    <!-- ================================== -->
126    <eat-comment />
127
128    <!-- Used for permissions that allow an application to send messages
129         on behalf of the user or intercept messages being received by the
130         user.  This is primarily intended for SMS/MMS messaging, such as
131         receiving or reading an MMS. -->
132    <permission-group android:name="android.permission-group.MESSAGES"
133        android:label="@string/permgrouplab_messages"
134        android:description="@string/permgroupdesc_messages" />
135
136    <!-- Allows an application to monitor incoming SMS messages, to record
137         or perform processing on them. -->
138    <permission android:name="android.permission.RECEIVE_SMS"
139        android:permissionGroup="android.permission-group.MESSAGES"
140        android:protectionLevel="dangerous"
141        android:label="@string/permlab_receiveSms"
142        android:description="@string/permdesc_receiveSms" />
143
144    <!-- Allows an application to monitor incoming MMS messages, to record
145         or perform processing on them. -->
146    <permission android:name="android.permission.RECEIVE_MMS"
147        android:permissionGroup="android.permission-group.MESSAGES"
148        android:protectionLevel="dangerous"
149        android:label="@string/permlab_receiveMms"
150        android:description="@string/permdesc_receiveMms" />
151
152    <!-- Allows an application to read SMS messages. -->
153    <permission android:name="android.permission.READ_SMS"
154        android:permissionGroup="android.permission-group.MESSAGES"
155        android:protectionLevel="dangerous"
156        android:label="@string/permlab_readSms"
157        android:description="@string/permdesc_readSms" />
158
159    <!-- Allows an application to write SMS messages. -->
160    <permission android:name="android.permission.WRITE_SMS"
161        android:permissionGroup="android.permission-group.MESSAGES"
162        android:protectionLevel="dangerous"
163        android:label="@string/permlab_writeSms"
164        android:description="@string/permdesc_writeSms" />
165
166    <!-- Allows an application to monitor incoming WAP push messages. -->
167    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
168        android:permissionGroup="android.permission-group.MESSAGES"
169        android:protectionLevel="dangerous"
170        android:label="@string/permlab_receiveWapPush"
171        android:description="@string/permdesc_receiveWapPush" />
172
173    <!-- =============================================================== -->
174    <!-- Permissions for accessing personal info (contacts and calendar) -->
175    <!-- =============================================================== -->
176    <eat-comment />
177
178    <!-- Used for permissions that provide access to the user's private data,
179         such as contacts, calendar events, e-mail messages, etc.  This includes
180         both reading and writing of this data (which should generally be
181         expressed as two distinct permissions). -->
182    <permission-group android:name="android.permission-group.PERSONAL_INFO"
183        android:label="@string/permgrouplab_personalInfo"
184        android:description="@string/permgroupdesc_personalInfo" />
185
186    <!-- Allows an application to read the user's contacts data. -->
187    <permission android:name="android.permission.READ_CONTACTS"
188        android:permissionGroup="android.permission-group.PERSONAL_INFO"
189        android:protectionLevel="dangerous"
190        android:label="@string/permlab_readContacts"
191        android:description="@string/permdesc_readContacts" />
192
193    <!-- Allows an application to write (but not read) the user's
194         contacts data. -->
195    <permission android:name="android.permission.WRITE_CONTACTS"
196        android:permissionGroup="android.permission-group.PERSONAL_INFO"
197        android:protectionLevel="dangerous"
198        android:label="@string/permlab_writeContacts"
199        android:description="@string/permdesc_writeContacts" />
200
201    <!-- Allows an application to read the user's calendar data. -->
202    <permission android:name="android.permission.READ_CALENDAR"
203        android:permissionGroup="android.permission-group.PERSONAL_INFO"
204        android:protectionLevel="dangerous"
205        android:label="@string/permlab_readCalendar"
206        android:description="@string/permdesc_readCalendar" />
207
208    <!-- Allows an application to write (but not read) the user's
209         calendar data. -->
210    <permission android:name="android.permission.WRITE_CALENDAR"
211        android:permissionGroup="android.permission-group.PERSONAL_INFO"
212        android:protectionLevel="dangerous"
213        android:label="@string/permlab_writeCalendar"
214        android:description="@string/permdesc_writeCalendar" />
215
216    <!-- Allows an application to read the user dictionary. This should
217         really only be required by an IME, or a dictionary editor like
218         the Settings app.
219         @hide Pending API council approval -->
220    <permission android:name="android.permission.READ_USER_DICTIONARY"
221        android:permissionGroup="android.permission-group.PERSONAL_INFO"
222        android:protectionLevel="dangerous"
223        android:label="@string/permlab_readDictionary"
224        android:description="@string/permdesc_readDictionary" />
225
226    <!-- Allows an application to write to the user dictionary.
227         @hide Pending API council approval -->
228    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
229        android:permissionGroup="android.permission-group.PERSONAL_INFO"
230        android:protectionLevel="normal"
231        android:label="@string/permlab_writeDictionary"
232        android:description="@string/permdesc_writeDictionary" />
233
234    <!-- Allows an application to read (but not write) the user's
235        browsing history and bookmarks. -->
236    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
237        android:permissionGroup="android.permission-group.PERSONAL_INFO"
238        android:label="@string/permlab_readHistoryBookmarks"
239        android:description="@string/permdesc_readHistoryBookmarks"
240        android:protectionLevel="dangerous" />
241
242    <!-- Allows an application to write (but not read) the user's
243        browsing history and bookmarks. -->
244    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
245        android:permissionGroup="android.permission-group.PERSONAL_INFO"
246        android:label="@string/permlab_writeHistoryBookmarks"
247        android:description="@string/permdesc_writeHistoryBookmarks"
248        android:protectionLevel="dangerous" />
249
250    <!-- Allows an application to broadcast an Intent to set an alarm for the
251         user. -->
252    <permission android:name="com.android.alarm.permission.SET_ALARM"
253        android:permissionGroup="android.permission-group.PERSONAL_INFO"
254        android:label="@string/permlab_setAlarm"
255        android:description="@string/permdesc_setAlarm"
256        android:protectionLevel="normal" />
257
258    <!-- ======================================= -->
259    <!-- Permissions for accessing location info -->
260    <!-- ======================================= -->
261    <eat-comment />
262
263    <!-- Used for permissions that allow access to the user's current
264         location. -->
265    <permission-group android:name="android.permission-group.LOCATION"
266        android:label="@string/permgrouplab_location"
267        android:description="@string/permgroupdesc_location" />
268
269    <!-- Allows an application to access fine (e.g., GPS) location -->
270    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
271        android:permissionGroup="android.permission-group.LOCATION"
272        android:protectionLevel="dangerous"
273        android:label="@string/permlab_accessFineLocation"
274        android:description="@string/permdesc_accessFineLocation" />
275
276    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
277    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
278        android:permissionGroup="android.permission-group.LOCATION"
279        android:protectionLevel="dangerous"
280        android:label="@string/permlab_accessCoarseLocation"
281        android:description="@string/permdesc_accessCoarseLocation" />
282
283    <!-- Allows an application to create mock location providers for testing -->
284    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
285        android:permissionGroup="android.permission-group.LOCATION"
286        android:protectionLevel="dangerous"
287        android:label="@string/permlab_accessMockLocation"
288        android:description="@string/permdesc_accessMockLocation" />
289
290    <!-- Allows an application to access extra location provider commands -->
291    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
292        android:permissionGroup="android.permission-group.LOCATION"
293        android:protectionLevel="normal"
294        android:label="@string/permlab_accessLocationExtraCommands"
295        android:description="@string/permdesc_accessLocationExtraCommands" />
296
297    <!-- Allows an application to install a location provider into the Location Manager -->
298    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
299        android:protectionLevel="signatureOrSystem"
300        android:label="@string/permlab_installLocationProvider"
301        android:description="@string/permdesc_installLocationProvider" />
302
303    <!-- ======================================= -->
304    <!-- Permissions for accessing networks -->
305    <!-- ======================================= -->
306    <eat-comment />
307
308    <!-- Used for permissions that provide access to networking services.  The
309         main permission here is internet access, but this is also an
310         appropriate group for accessing or modifying any network configuration
311         or other related network operations. -->
312    <permission-group android:name="android.permission-group.NETWORK"
313        android:label="@string/permgrouplab_network"
314        android:description="@string/permgroupdesc_network" />
315
316    <!-- Allows applications to open network sockets. -->
317    <permission android:name="android.permission.INTERNET"
318        android:permissionGroup="android.permission-group.NETWORK"
319        android:protectionLevel="dangerous"
320        android:description="@string/permdesc_createNetworkSockets"
321        android:label="@string/permlab_createNetworkSockets" />
322
323    <!-- Allows applications to access information about networks -->
324    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
325        android:permissionGroup="android.permission-group.NETWORK"
326        android:protectionLevel="normal"
327        android:description="@string/permdesc_accessNetworkState"
328        android:label="@string/permlab_accessNetworkState" />
329
330    <!-- Allows applications to access information about Wi-Fi networks -->
331    <permission android:name="android.permission.ACCESS_WIFI_STATE"
332        android:permissionGroup="android.permission-group.NETWORK"
333        android:protectionLevel="normal"
334        android:description="@string/permdesc_accessWifiState"
335        android:label="@string/permlab_accessWifiState" />
336
337    <!-- Allows applications to connect to paired bluetooth devices -->
338    <permission android:name="android.permission.BLUETOOTH"
339        android:permissionGroup="android.permission-group.NETWORK"
340        android:protectionLevel="dangerous"
341        android:description="@string/permdesc_bluetooth"
342        android:label="@string/permlab_bluetooth" />
343
344    <!-- Allows applications to access remote NFC devices
345         @hide -->
346    <permission android:name="com.trustedlogic.trustednfc.permission.NFC_RAW"
347        android:permissionGroup="android.permission-group.NETWORK"
348        android:protectionLevel="dangerous"
349        android:description="@string/permdesc_nfcRaw"
350        android:label="@string/permlab_nfcRaw" />
351
352    <!-- Allows applications to be notified of remote NFC devices
353         @hide -->
354    <permission android:name="com.trustedlogic.trustednfc.permission.NFC_NOTIFY"
355        android:permissionGroup="android.permission-group.NETWORK"
356        android:protectionLevel="dangerous"
357        android:description="@string/permdesc_nfcNotify"
358        android:label="@string/permlab_nfcNotify" />
359
360    <!-- Allows applications to be notified of remote NFC LLCP devices
361         @hide -->
362    <permission android:name="com.trustedlogic.trustednfc.permission.NFC_LLCP"
363        android:permissionGroup="android.permission-group.NETWORK"
364        android:protectionLevel="dangerous"
365        android:description="@string/permdesc_nfcLlcp"
366        android:label="@string/permlab_nfcLlcp" />
367
368    <!-- Allows an application to use SIP service -->
369    <permission android:name="android.permission.USE_SIP"
370        android:permissionGroup="android.permission-group.NETWORK"
371        android:protectionLevel="dangerous"
372        android:description="@string/permdesc_use_sip"
373        android:label="@string/permlab_use_sip" />
374
375    <!-- Allows applications to call into AccountAuthenticators. Only
376    the system can get this permission. -->
377    <permission android:name="android.permission.ACCOUNT_MANAGER"
378        android:permissionGroup="android.permission-group.ACCOUNTS"
379        android:protectionLevel="signature"
380        android:description="@string/permdesc_accountManagerService"
381        android:label="@string/permlab_accountManagerService" />
382
383    <!-- ================================== -->
384    <!-- Permissions for accessing accounts -->
385    <!-- ================================== -->
386    <eat-comment />
387
388    <!-- Permissions for direct access to the accounts managed
389         by the Account Manager. -->
390    <permission-group android:name="android.permission-group.ACCOUNTS"
391        android:label="@string/permgrouplab_accounts"
392        android:description="@string/permgroupdesc_accounts" />
393
394    <!-- Allows access to the list of accounts in the Accounts Service -->
395    <permission android:name="android.permission.GET_ACCOUNTS"
396        android:permissionGroup="android.permission-group.ACCOUNTS"
397        android:protectionLevel="normal"
398        android:description="@string/permdesc_getAccounts"
399        android:label="@string/permlab_getAccounts" />
400
401    <!-- Allows an application to act as an AccountAuthenticator for
402         the AccountManager -->
403    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
404        android:permissionGroup="android.permission-group.ACCOUNTS"
405        android:protectionLevel="dangerous"
406        android:label="@string/permlab_authenticateAccounts"
407        android:description="@string/permdesc_authenticateAccounts" />
408
409    <!-- Allows an application to request authtokens from the AccountManager -->
410    <permission android:name="android.permission.USE_CREDENTIALS"
411        android:permissionGroup="android.permission-group.ACCOUNTS"
412        android:protectionLevel="dangerous"
413        android:label="@string/permlab_useCredentials"
414        android:description="@string/permdesc_useCredentials" />
415
416    <!-- Allows an application to manage the list of accounts in the AccountManager -->
417    <permission android:name="android.permission.MANAGE_ACCOUNTS"
418        android:permissionGroup="android.permission-group.ACCOUNTS"
419        android:protectionLevel="dangerous"
420        android:label="@string/permlab_manageAccounts"
421        android:description="@string/permdesc_manageAccounts" />
422
423    <!-- ================================== -->
424    <!-- Permissions for accessing hardware -->
425    <!-- ================================== -->
426    <eat-comment />
427
428    <!-- Used for permissions that provide direct access to the hardware on
429         the device.  This includes audio, the camera, vibrator, etc. -->
430    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
431        android:label="@string/permgrouplab_hardwareControls"
432        android:description="@string/permgroupdesc_hardwareControls" />
433
434    <!-- Allows an application to modify global audio settings -->
435    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
436        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
437        android:protectionLevel="dangerous"
438        android:label="@string/permlab_modifyAudioSettings"
439        android:description="@string/permdesc_modifyAudioSettings" />
440
441    <!-- Allows an application to record audio -->
442    <permission android:name="android.permission.RECORD_AUDIO"
443        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
444        android:protectionLevel="dangerous"
445        android:label="@string/permlab_recordAudio"
446        android:description="@string/permdesc_recordAudio" />
447
448    <!-- Required to be able to access the camera device.
449         <p>This will automatically enforce the <a
450         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
451         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
452         If you do not require all camera features or can properly operate if a camera
453         is not available, then you must modify your manifest as appropriate in order to
454         install on devices that don't support all camera features.</p> -->
455    <permission android:name="android.permission.CAMERA"
456        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
457        android:protectionLevel="dangerous"
458        android:label="@string/permlab_camera"
459        android:description="@string/permdesc_camera" />
460
461    <!-- Allows access to the vibrator -->
462    <permission android:name="android.permission.VIBRATE"
463        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
464        android:protectionLevel="normal"
465        android:label="@string/permlab_vibrate"
466        android:description="@string/permdesc_vibrate" />
467
468    <!-- Allows access to the flashlight -->
469    <permission android:name="android.permission.FLASHLIGHT"
470        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
471        android:protectionLevel="normal"
472        android:label="@string/permlab_flashlight"
473        android:description="@string/permdesc_flashlight" />
474
475    <!-- Allows an application to access USB devices
476         @hide -->
477    <permission android:name="android.permission.ACCESS_USB"
478        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
479        android:protectionLevel="signatureOrSystem"
480        android:label="@string/permlab_accessUsb"
481        android:description="@string/permdesc_accessUsb" />
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 applications to change NFC connectivity settings 
879         @hide -->
880    <permission android:name="com.trustedlogic.trustednfc.permission.NFC_ADMIN"
881        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
882        android:protectionLevel="dangerous"
883        android:description="@string/permdesc_nfcAdmin"
884        android:label="@string/permlab_nfcAdmin" />
885
886    <!-- Allows an application to clear the caches of all installed
887         applications on the device.  -->
888    <permission android:name="android.permission.CLEAR_APP_CACHE"
889        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
890        android:protectionLevel="dangerous"
891        android:label="@string/permlab_clearAppCache"
892        android:description="@string/permdesc_clearAppCache" />
893
894    <!-- Allows an application to read the low-level system log files.
895         Log entries can contain the user's private information,
896         which is why this permission is 'dangerous'. -->
897    <permission android:name="android.permission.READ_LOGS"
898        android:permissionGroup="android.permission-group.PERSONAL_INFO"
899        android:protectionLevel="dangerous"
900        android:label="@string/permlab_readLogs"
901        android:description="@string/permdesc_readLogs" />
902
903    <!-- ========================================= -->
904    <!-- Permissions for special development tools -->
905    <!-- ========================================= -->
906    <eat-comment />
907
908    <!-- Group of permissions that are related to development features.  These
909         are not permissions that should appear in normal applications; they
910         protect APIs that are intended only to be used for development
911         purposes. -->
912    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
913        android:label="@string/permgrouplab_developmentTools"
914        android:description="@string/permgroupdesc_developmentTools" />
915
916    <!-- Configure an application for debugging. -->
917    <permission android:name="android.permission.SET_DEBUG_APP"
918        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
919        android:protectionLevel="dangerous"
920        android:label="@string/permlab_setDebugApp"
921        android:description="@string/permdesc_setDebugApp" />
922
923    <!-- Allows an application to set the maximum number of (not needed)
924         application processes that can be running. -->
925    <permission android:name="android.permission.SET_PROCESS_LIMIT"
926        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
927        android:protectionLevel="dangerous"
928        android:label="@string/permlab_setProcessLimit"
929        android:description="@string/permdesc_setProcessLimit" />
930
931    <!-- Allows an application to control whether activities are immediately
932         finished when put in the background. -->
933    <permission android:name="android.permission.SET_ALWAYS_FINISH"
934        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
935        android:protectionLevel="dangerous"
936        android:label="@string/permlab_setAlwaysFinish"
937        android:description="@string/permdesc_setAlwaysFinish" />
938
939    <!-- Allow an application to request that a signal be sent to all persistent processes -->
940    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
941        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
942        android:protectionLevel="dangerous"
943        android:label="@string/permlab_signalPersistentProcesses"
944        android:description="@string/permdesc_signalPersistentProcesses" />
945
946    <!-- ==================================== -->
947    <!-- Private (signature-only) permissions -->
948    <!-- ==================================== -->
949    <eat-comment />
950
951    <!-- Allows applications to RW to diagnostic resources. -->
952    <permission android:name="android.permission.DIAGNOSTIC"
953        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
954        android:protectionLevel="signature"
955        android:description="@string/permdesc_diagnostic"
956        android:label="@string/permlab_diagnostic" />
957
958    <!-- Allows an application to open, close, or disable the status bar
959         and its icons. -->
960    <permission android:name="android.permission.STATUS_BAR"
961        android:label="@string/permlab_statusBar"
962        android:description="@string/permdesc_statusBar"
963        android:protectionLevel="signatureOrSystem" />
964
965    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
966    @hide -->
967    <permission android:name="android.permission.STATUS_BAR_SERVICE"
968        android:label="@string/permlab_statusBarService"
969        android:description="@string/permdesc_statusBarService"
970        android:protectionLevel="signature" />
971
972    <!-- Allows an application to force a BACK operation on whatever is the
973         top activity. -->
974    <permission android:name="android.permission.FORCE_BACK"
975        android:label="@string/permlab_forceBack"
976        android:description="@string/permdesc_forceBack"
977        android:protectionLevel="signature" />
978
979    <!-- Allows an application to update device statistics. Not for
980         use by third party apps. -->
981    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
982        android:label="@string/permlab_batteryStats"
983        android:description="@string/permdesc_batteryStats"
984        android:protectionLevel="signatureOrSystem" />
985
986    <!-- Allows an application to open windows that are for use by parts
987         of the system user interface.  Not for use by third party apps. -->
988    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
989        android:label="@string/permlab_internalSystemWindow"
990        android:description="@string/permdesc_internalSystemWindow"
991        android:protectionLevel="signature" />
992
993    <!-- Allows an application to manage (create, destroy,
994         Z-order) application tokens in the window manager.  This is only
995         for use by the system. -->
996    <permission android:name="android.permission.MANAGE_APP_TOKENS"
997        android:label="@string/permlab_manageAppTokens"
998        android:description="@string/permdesc_manageAppTokens"
999        android:protectionLevel="signature" />
1000
1001    <!-- Allows an application to inject user events (keys, touch, trackball)
1002         into the event stream and deliver them to ANY window.  Without this
1003         permission, you can only deliver events to windows in your own process.
1004         Very few applications should need to use this permission. -->
1005    <permission android:name="android.permission.INJECT_EVENTS"
1006        android:label="@string/permlab_injectEvents"
1007        android:description="@string/permdesc_injectEvents"
1008        android:protectionLevel="signature" />
1009
1010    <!-- Allows an application to watch and control how activities are
1011         started globally in the system.  Only for is in debugging
1012         (usually the monkey command). -->
1013    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1014        android:label="@string/permlab_runSetActivityWatcher"
1015        android:description="@string/permdesc_runSetActivityWatcher"
1016        android:protectionLevel="signature" />
1017
1018    <!-- Allows an application to call the activity manager shutdown() API
1019         to put the higher-level system there into a shutdown state.
1020         @hide -->
1021    <permission android:name="android.permission.SHUTDOWN"
1022        android:label="@string/permlab_shutdown"
1023        android:description="@string/permdesc_shutdown"
1024        android:protectionLevel="signature" />
1025
1026    <!-- Allows an application to tell the activity manager to temporarily
1027         stop application switches, putting it into a special mode that
1028         prevents applications from immediately switching away from some
1029         critical UI such as the home screen.
1030         @hide -->
1031    <permission android:name="android.permission.STOP_APP_SWITCHES"
1032        android:label="@string/permlab_stopAppSwitches"
1033        android:description="@string/permdesc_stopAppSwitches"
1034        android:protectionLevel="signature" />
1035
1036    <!-- Allows an application to retrieve the current state of keys and
1037         switches.  This is only for use by the system.-->
1038    <permission android:name="android.permission.READ_INPUT_STATE"
1039        android:label="@string/permlab_readInputState"
1040        android:description="@string/permdesc_readInputState"
1041        android:protectionLevel="signature" />
1042
1043    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1044         to ensure that only the system can bind to it. -->
1045    <permission android:name="android.permission.BIND_INPUT_METHOD"
1046        android:label="@string/permlab_bindInputMethod"
1047        android:description="@string/permdesc_bindInputMethod"
1048        android:protectionLevel="signature" />
1049
1050    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1051         to ensure that only the system can bind to it. -->
1052    <permission android:name="android.permission.BIND_WALLPAPER"
1053        android:label="@string/permlab_bindWallpaper"
1054        android:description="@string/permdesc_bindWallpaper"
1055        android:protectionLevel="signatureOrSystem" />
1056
1057    <!-- Must be required by device administration receiver, to ensure that only the
1058         system can interact with it. -->
1059    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1060        android:label="@string/permlab_bindDeviceAdmin"
1061        android:description="@string/permdesc_bindDeviceAdmin"
1062        android:protectionLevel="signature" />
1063
1064    <!-- Allows low-level access to setting the orientation (actually
1065         rotation) of the screen.  Not for use by normal applications. -->
1066    <permission android:name="android.permission.SET_ORIENTATION"
1067        android:label="@string/permlab_setOrientation"
1068        android:description="@string/permdesc_setOrientation"
1069        android:protectionLevel="signature" />
1070
1071    <!-- Allows an application to install packages. -->
1072    <permission android:name="android.permission.INSTALL_PACKAGES"
1073        android:label="@string/permlab_installPackages"
1074        android:description="@string/permdesc_installPackages"
1075        android:protectionLevel="signatureOrSystem" />
1076
1077    <!-- Allows an application to clear user data -->
1078    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1079        android:label="@string/permlab_clearAppUserData"
1080        android:description="@string/permdesc_clearAppUserData"
1081        android:protectionLevel="signature" />
1082
1083    <!-- Allows an application to delete cache files. -->
1084    <permission android:name="android.permission.DELETE_CACHE_FILES"
1085        android:label="@string/permlab_deleteCacheFiles"
1086        android:description="@string/permdesc_deleteCacheFiles"
1087        android:protectionLevel="signatureOrSystem" />
1088
1089    <!-- Allows an application to delete packages. -->
1090    <permission android:name="android.permission.DELETE_PACKAGES"
1091        android:label="@string/permlab_deletePackages"
1092        android:description="@string/permdesc_deletePackages"
1093        android:protectionLevel="signatureOrSystem" />
1094
1095    <!-- Allows an application to move location of installed package.
1096         @hide -->
1097    <permission android:name="android.permission.MOVE_PACKAGE"
1098        android:label="@string/permlab_movePackage"
1099        android:description="@string/permdesc_movePackage"
1100        android:protectionLevel="signatureOrSystem" />
1101
1102    <!-- Allows an application to change whether an application component (other than its own) is
1103         enabled or not. -->
1104    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1105        android:label="@string/permlab_changeComponentState"
1106        android:description="@string/permdesc_changeComponentState"
1107        android:protectionLevel="signature" />
1108
1109    <!-- Allows an application to use SurfaceFlinger's low level features -->
1110    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1111        android:label="@string/permlab_accessSurfaceFlinger"
1112        android:description="@string/permdesc_accessSurfaceFlinger"
1113        android:protectionLevel="signature" />
1114
1115    <!-- Allows an application to take screen shots and more generally
1116         get access to the frame buffer data -->
1117    <permission android:name="android.permission.READ_FRAME_BUFFER"
1118        android:label="@string/permlab_readFrameBuffer"
1119        android:description="@string/permdesc_readFrameBuffer"
1120        android:protectionLevel="signature" />
1121
1122    <!-- Required to be able to disable the device (very dangerous!). -->
1123    <permission android:name="android.permission.BRICK"
1124        android:label="@string/permlab_brick"
1125        android:description="@string/permdesc_brick"
1126        android:protectionLevel="signature" />
1127
1128    <!-- Required to be able to reboot the device. -->
1129    <permission android:name="android.permission.REBOOT"
1130        android:label="@string/permlab_reboot"
1131        android:description="@string/permdesc_reboot"
1132        android:protectionLevel="signatureOrSystem" />
1133
1134   <!-- Allows low-level access to power management -->
1135    <permission android:name="android.permission.DEVICE_POWER"
1136        android:label="@string/permlab_devicePower"
1137        android:description="@string/permdesc_devicePower"
1138        android:protectionLevel="signature" />
1139
1140    <!-- Run as a manufacturer test application, running as the root user.
1141         Only available when the device is running in manufacturer test mode. -->
1142    <permission android:name="android.permission.FACTORY_TEST"
1143        android:label="@string/permlab_factoryTest"
1144        android:description="@string/permdesc_factoryTest"
1145        android:protectionLevel="signature" />
1146
1147    <!-- Allows an application to broadcast a notification that an application
1148         package has been removed. -->
1149    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1150        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1151        android:label="@string/permlab_broadcastPackageRemoved"
1152        android:description="@string/permdesc_broadcastPackageRemoved"
1153        android:protectionLevel="signature" />
1154
1155    <!-- Allows an application to broadcast an SMS receipt notification -->
1156    <permission android:name="android.permission.BROADCAST_SMS"
1157        android:permissionGroup="android.permission-group.MESSAGES"
1158        android:label="@string/permlab_broadcastSmsReceived"
1159        android:description="@string/permdesc_broadcastSmsReceived"
1160        android:protectionLevel="signature" />
1161
1162    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1163    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1164        android:permissionGroup="android.permission-group.MESSAGES"
1165        android:label="@string/permlab_broadcastWapPush"
1166        android:description="@string/permdesc_broadcastWapPush"
1167        android:protectionLevel="signature" />
1168
1169    <permission android:name="android.permission.MASTER_CLEAR"
1170        android:label="@string/permlab_masterClear"
1171        android:description="@string/permdesc_masterClear"
1172        android:protectionLevel="signatureOrSystem" />
1173
1174    <!-- Allows an application to call any phone number, including emergency
1175         numbers, without going through the Dialer user interface for the user
1176         to confirm the call being placed. -->
1177    <permission android:name="android.permission.CALL_PRIVILEGED"
1178        android:label="@string/permlab_callPrivileged"
1179        android:description="@string/permdesc_callPrivileged"
1180        android:protectionLevel="signatureOrSystem" />
1181
1182    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1183    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1184        android:label="@string/permlab_performCdmaProvisioning"
1185        android:description="@string/permdesc_performCdmaProvisioning"
1186        android:protectionLevel="signatureOrSystem" />
1187
1188    <!-- Allows enabling/disabling location update notifications from
1189         the radio. Not for use by normal applications. -->
1190    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1191        android:label="@string/permlab_locationUpdates"
1192        android:description="@string/permdesc_locationUpdates"
1193        android:protectionLevel="signatureOrSystem" />
1194
1195    <!-- Allows read/write access to the "properties" table in the checkin
1196         database, to change values that get uploaded. -->
1197    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1198        android:label="@string/permlab_checkinProperties"
1199        android:description="@string/permdesc_checkinProperties"
1200        android:protectionLevel="signatureOrSystem" />
1201
1202    <!-- Allows an application to collect component usage
1203         statistics @hide -->
1204    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1205        android:label="@string/permlab_pkgUsageStats"
1206        android:description="@string/permdesc_pkgUsageStats"
1207        android:protectionLevel="signature" />
1208
1209    <!-- Allows an application to collect battery statistics -->
1210    <permission android:name="android.permission.BATTERY_STATS"
1211        android:label="@string/permlab_batteryStats"
1212        android:description="@string/permdesc_batteryStats"
1213        android:protectionLevel="normal" />
1214
1215    <!-- Allows an application to control the backup and restore process
1216         @hide pending API council -->
1217    <permission android:name="android.permission.BACKUP"
1218        android:label="@string/permlab_backup"
1219        android:description="@string/permdesc_backup"
1220        android:protectionLevel="signatureOrSystem" />
1221
1222    <!-- Allows an application to tell the AppWidget service which application
1223         can access AppWidget's data.  The normal user flow is that a user
1224         picks an AppWidget to go into a particular host, thereby giving that
1225         host application access to the private data from the AppWidget app.
1226         An application that has this permission should honor that contract.
1227         Very few applications should need to use this permission. -->
1228    <permission android:name="android.permission.BIND_APPWIDGET"
1229        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1230        android:label="@string/permlab_bindGadget"
1231        android:description="@string/permdesc_bindGadget"
1232        android:protectionLevel="signatureOrSystem" />
1233
1234    <!-- Allows applications to change the background data setting
1235         @hide pending API council -->
1236    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1237        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1238        android:protectionLevel="signature"
1239        android:description="@string/permdesc_changeBackgroundDataSetting"
1240        android:label="@string/permlab_changeBackgroundDataSetting" />
1241
1242    <!-- This permission can be used on content providers to allow the global
1243         search system to access their data.  Typically it used when the
1244         provider has some permissions protecting it (which global search
1245         would not be expected to hold), and added as a read-only permission
1246         to the path in the provider where global search queries are
1247         performed.  This permission can not be held by regular applications;
1248         it is used by applications to protect themselves from everyone else
1249         besides global search. -->
1250    <permission android:name="android.permission.GLOBAL_SEARCH"
1251        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1252        android:protectionLevel="signatureOrSystem" />
1253
1254    <!-- Internal permission protecting access to the global search
1255         system: ensures that only the system can access the provider
1256         to perform queries (since this otherwise provides unrestricted
1257         access to a variety of content providers), and to write the
1258         search statistics (to keep applications from gaming the source
1259         ranking).
1260         @hide -->
1261    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1262        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1263        android:protectionLevel="signature" />
1264
1265    <!-- Allows applications to set a live wallpaper.
1266         @hide XXX Change to signature once the picker is moved to its
1267         own apk as Ghod Intended. -->
1268    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1269        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1270        android:protectionLevel="signatureOrSystem" />
1271
1272    <!-- Allow an application to read and write the cache partition.
1273         @hide -->
1274    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1275        android:label="@string/permlab_cache_filesystem"
1276        android:description="@string/permdesc_cache_filesystem"
1277        android:protectionLevel="signatureOrSystem" />
1278
1279    <!-- Must be required by default container service so that only
1280         the system can bind to it and use it to copy
1281         protected data to secure containers or files
1282         accessible to the system.
1283         @hide -->
1284    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1285        android:label="@string/permlab_copyProtectedData"
1286        android:description="@string/permlab_copyProtectedData"
1287        android:protectionLevel="signature" />
1288
1289    <!-- C2DM permission. 
1290         @hide Used internally.
1291     -->
1292    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
1293          android:protectionLevel="signature" />
1294    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
1295
1296    <application android:process="system"
1297                 android:persistent="true"
1298                 android:hasCode="false"
1299                 android:label="@string/android_system_label"
1300                 android:allowClearUserData="false"
1301                 android:backupAgent="com.android.server.SystemBackupAgent"
1302                 android:killAfterRestore="false"
1303                 android:icon="@drawable/ic_launcher_android">
1304        <activity android:name="com.android.internal.app.ChooserActivity"
1305                android:theme="@style/Theme.Dialog.Alert"
1306                android:finishOnCloseSystemDialogs="true"
1307                android:excludeFromRecents="true"
1308                android:multiprocess="true">
1309            <intent-filter>
1310                <action android:name="android.intent.action.CHOOSER" />
1311                <category android:name="android.intent.category.DEFAULT" />
1312            </intent-filter>
1313        </activity>
1314        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
1315                android:theme="@style/Theme.Dialog"
1316                android:label="@string/heavy_weight_switcher_title"
1317                android:finishOnCloseSystemDialogs="true"
1318                android:excludeFromRecents="true">
1319        </activity>
1320        <activity android:name="com.android.internal.app.PlatLogoActivity"
1321                android:theme="@style/Theme.NoTitleBar.Fullscreen">
1322        </activity>
1323        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1324                android:theme="@style/Theme.NoDisplay"
1325                android:excludeFromRecents="true">
1326        </activity>
1327        <activity android:name="com.android.internal.app.RingtonePickerActivity"
1328                android:theme="@style/Theme.Dialog.Alert"
1329                android:excludeFromRecents="true"
1330                android:multiprocess="true">
1331            <intent-filter>
1332                <action android:name="android.intent.action.RINGTONE_PICKER" />
1333                <category android:name="android.intent.category.DEFAULT" />
1334            </intent-filter>
1335        </activity>
1336
1337        <activity android:name="android.accounts.ChooseAccountActivity"
1338                android:excludeFromRecents="true"
1339                android:exported="true">
1340        </activity>
1341
1342        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1343                android:excludeFromRecents="true"
1344                android:exported="true">
1345        </activity>
1346
1347        <activity android:name="com.android.server.ShutdownActivity"
1348            android:permission="android.permission.SHUTDOWN"
1349            android:excludeFromRecents="true">
1350            <intent-filter>
1351                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1352                <category android:name="android.intent.category.DEFAULT" />
1353            </intent-filter>
1354        </activity>
1355        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1356                android:theme="@style/Theme.Dialog.Alert"
1357                android:excludeFromRecents="true">
1358        </activity>
1359
1360        <service android:name="com.android.server.LoadAverageService"
1361                android:exported="true" />
1362
1363        <service android:name="com.android.internal.service.wallpaper.ImageWallpaper"
1364                android:permission="android.permission.BIND_WALLPAPER">
1365        </service>
1366
1367        <receiver android:name="com.android.server.BootReceiver" >
1368            <intent-filter>
1369                <action android:name="android.intent.action.BOOT_COMPLETED" />
1370            </intent-filter>
1371        </receiver>
1372
1373        <receiver android:name="com.android.server.MasterClearReceiver"
1374            android:permission="android.permission.MASTER_CLEAR" >
1375            <intent-filter>
1376                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1377                <action android:name="android.intent.action.MASTER_CLEAR" />
1378
1379                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1380                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1381                <category android:name="android.intent.category.MASTER_CLEAR" />
1382            </intent-filter>
1383        </receiver>
1384    </application>
1385
1386</manifest>
1387
1388
1389