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