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