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="signatureOrSystem"
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="signatureOrSystem"
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="signatureOrSystem"
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="signatureOrSystem" />
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="signatureOrSystem"
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="signatureOrSystem"
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="signatureOrSystem"
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="signatureOrSystem" />
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="signatureOrSystem" />
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 read or write the secure system settings. -->
679    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
680        android:protectionLevel="signatureOrSystem"
681        android:label="@string/permlab_writeSecureSettings"
682        android:description="@string/permdesc_writeSecureSettings" />
683
684    <!-- Allows an application to modify the Google service map. -->
685    <permission android:name="android.permission.WRITE_GSERVICES"
686        android:protectionLevel="signatureOrSystem"
687        android:label="@string/permlab_writeGservices"
688        android:description="@string/permdesc_writeGservices" />
689
690    <!-- Allows an application to expand or collapse the status bar. -->
691    <permission android:name="android.permission.EXPAND_STATUS_BAR"
692        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
693        android:protectionLevel="normal"
694        android:label="@string/permlab_expandStatusBar"
695        android:description="@string/permdesc_expandStatusBar" />
696
697    <!-- Allows an application to get information about the currently
698         or recently running tasks: a thumbnail representation of the tasks,
699         what activities are running in it, etc. -->
700    <permission android:name="android.permission.GET_TASKS"
701        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
702        android:protectionLevel="dangerous"
703        android:label="@string/permlab_getTasks"
704        android:description="@string/permdesc_getTasks" />
705
706    <!-- Allows an application to change the Z-order of tasks -->
707    <permission android:name="android.permission.REORDER_TASKS"
708        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
709        android:protectionLevel="dangerous"
710        android:label="@string/permlab_reorderTasks"
711        android:description="@string/permdesc_reorderTasks" />
712
713    <!-- @hide Allows an application to change to remove/kill tasks -->
714    <permission android:name="android.permission.REMOVE_TASKS"
715        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
716        android:protectionLevel="signature"
717        android:label="@string/permlab_removeTasks"
718        android:description="@string/permdesc_removeTasks" />
719
720    <!-- Allows an application to modify the current configuration, such
721         as locale. -->
722    <permission android:name="android.permission.CHANGE_CONFIGURATION"
723        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
724        android:protectionLevel="dangerous"
725        android:label="@string/permlab_changeConfiguration"
726        android:description="@string/permdesc_changeConfiguration" />
727
728    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
729        API is no longer supported. -->
730    <permission android:name="android.permission.RESTART_PACKAGES"
731        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
732        android:protectionLevel="normal"
733        android:label="@string/permlab_killBackgroundProcesses"
734        android:description="@string/permdesc_killBackgroundProcesses" />
735
736    <!-- Allows an application to call
737        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
738    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
739        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
740        android:protectionLevel="normal"
741        android:label="@string/permlab_killBackgroundProcesses"
742        android:description="@string/permdesc_killBackgroundProcesses" />
743
744    <!-- Allows an application to call
745        {@link android.app.ActivityManager#forceStopPackage}.
746        @hide -->
747    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
748        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
749        android:protectionLevel="signature"
750        android:label="@string/permlab_forceStopPackages"
751        android:description="@string/permdesc_forceStopPackages" />
752
753    <!-- Allows an application to retrieve state dump information from system
754         services. -->
755    <permission android:name="android.permission.DUMP"
756        android:permissionGroup="android.permission-group.PERSONAL_INFO"
757        android:protectionLevel="signatureOrSystem"
758        android:label="@string/permlab_dump"
759        android:description="@string/permdesc_dump" />
760
761    <!-- @hide Allows an application to retrieve the content of the active window
762         An active window is the window that has fired an accessibility event. -->
763    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
764        android:permissionGroup="android.permission-group.PERSONAL_INFO"
765        android:protectionLevel="signatureOrSystem"
766        android:label="@string/permlab_retrieve_window_content"
767        android:description="@string/permdesc_retrieve_window_content" />
768
769    <!-- Allows an application to open windows using the type
770         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
771         shown on top of all other applications.  Very few applications
772         should use this permission; these windows are intended for
773         system-level interaction with the user. -->
774    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
775        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
776        android:protectionLevel="dangerous"
777        android:label="@string/permlab_systemAlertWindow"
778        android:description="@string/permdesc_systemAlertWindow" />
779
780    <!-- Modify the global animation scaling factor. -->
781    <permission android:name="android.permission.SET_ANIMATION_SCALE"
782        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
783        android:protectionLevel="dangerous"
784        android:label="@string/permlab_setAnimationScale"
785        android:description="@string/permdesc_setAnimationScale" />
786
787    <!-- @deprecated This functionality will be removed in the future; please do
788         not use.
789
790         Allow an application to make its activities persistent. -->
791    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
792        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
793        android:protectionLevel="dangerous"
794        android:label="@string/permlab_persistentActivity"
795        android:description="@string/permdesc_persistentActivity" />
796
797    <!-- Allows an application to find out the space used by any package. -->
798    <permission android:name="android.permission.GET_PACKAGE_SIZE"
799        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
800        android:protectionLevel="normal"
801        android:label="@string/permlab_getPackageSize"
802        android:description="@string/permdesc_getPackageSize" />
803
804    <!-- @deprecated No longer useful, see
805         {@link android.content.pm.PackageManager#addPackageToPreferred}
806         for details. -->
807    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
808        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
809        android:protectionLevel="signature"
810        android:label="@string/permlab_setPreferredApplications"
811        android:description="@string/permdesc_setPreferredApplications" />
812
813    <!-- Allows an application to receive the
814         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
815         broadcast after the system finishes booting.  If you don't
816         request this permission, you will not receive the broadcast at
817         that time.  Though holding this permission does not have any
818         security implications, it can have a negative impact on the
819         user experience by increasing the amount of time it takes the
820         system to start and allowing applications to have themselves
821         running without the user being aware of them.  As such, you must
822         explicitly declare your use of this facility to make that visible
823         to the user. -->
824    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
825        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
826        android:protectionLevel="normal"
827        android:label="@string/permlab_receiveBootCompleted"
828        android:description="@string/permdesc_receiveBootCompleted" />
829
830    <!-- Allows an application to broadcast sticky intents.  These are
831         broadcasts whose data is held by the system after being finished,
832         so that clients can quickly retrieve that data without having
833         to wait for the next broadcast. -->
834    <permission android:name="android.permission.BROADCAST_STICKY"
835        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
836        android:protectionLevel="normal"
837        android:label="@string/permlab_broadcastSticky"
838        android:description="@string/permdesc_broadcastSticky" />
839
840    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
841         from dimming -->
842    <permission android:name="android.permission.WAKE_LOCK"
843        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
844        android:protectionLevel="dangerous"
845        android:label="@string/permlab_wakeLock"
846        android:description="@string/permdesc_wakeLock" />
847
848    <!-- Allows applications to set the wallpaper -->
849    <permission android:name="android.permission.SET_WALLPAPER"
850        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
851        android:protectionLevel="normal"
852        android:label="@string/permlab_setWallpaper"
853        android:description="@string/permdesc_setWallpaper" />
854
855    <!-- Allows applications to set the wallpaper hints -->
856    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
857        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
858        android:protectionLevel="normal"
859        android:label="@string/permlab_setWallpaperHints"
860        android:description="@string/permdesc_setWallpaperHints" />
861
862    <!-- Allows applications to set the system time -->
863    <permission android:name="android.permission.SET_TIME"
864        android:protectionLevel="signatureOrSystem"
865        android:label="@string/permlab_setTime"
866        android:description="@string/permdesc_setTime" />
867
868    <!-- Allows applications to set the system time zone -->
869    <permission android:name="android.permission.SET_TIME_ZONE"
870        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
871        android:protectionLevel="dangerous"
872        android:label="@string/permlab_setTimeZone"
873        android:description="@string/permdesc_setTimeZone" />
874
875    <!-- Allows mounting and unmounting file systems for removable storage. -->
876    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
877        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
878        android:protectionLevel="dangerous"
879        android:label="@string/permlab_mount_unmount_filesystems"
880        android:description="@string/permdesc_mount_unmount_filesystems" />
881
882    <!-- Allows formatting file systems for removable storage. -->
883    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
884        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
885        android:protectionLevel="dangerous"
886        android:label="@string/permlab_mount_format_filesystems"
887        android:description="@string/permdesc_mount_format_filesystems" />
888
889    <!-- Allows access to ASEC non-destructive API calls
890         @hide  -->
891    <permission android:name="android.permission.ASEC_ACCESS"
892        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
893        android:protectionLevel="signature"
894        android:label="@string/permlab_asec_access"
895        android:description="@string/permdesc_asec_access" />
896
897    <!-- Allows creation of ASEC volumes
898         @hide  -->
899    <permission android:name="android.permission.ASEC_CREATE"
900        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
901        android:protectionLevel="signature"
902        android:label="@string/permlab_asec_create"
903        android:description="@string/permdesc_asec_create" />
904
905    <!-- Allows destruction of ASEC volumes
906         @hide  -->
907    <permission android:name="android.permission.ASEC_DESTROY"
908        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
909        android:protectionLevel="signature"
910        android:label="@string/permlab_asec_destroy"
911        android:description="@string/permdesc_asec_destroy" />
912
913    <!-- Allows mount / unmount of ASEC volumes
914         @hide  -->
915    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
916        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
917        android:protectionLevel="signature"
918        android:label="@string/permlab_asec_mount_unmount"
919        android:description="@string/permdesc_asec_mount_unmount" />
920
921    <!-- Allows rename of ASEC volumes
922         @hide  -->
923    <permission android:name="android.permission.ASEC_RENAME"
924        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
925        android:protectionLevel="signature"
926        android:label="@string/permlab_asec_rename"
927        android:description="@string/permdesc_asec_rename" />
928
929    <!-- Allows applications to disable the keyguard -->
930    <permission android:name="android.permission.DISABLE_KEYGUARD"
931        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
932        android:protectionLevel="dangerous"
933        android:description="@string/permdesc_disableKeyguard"
934        android:label="@string/permlab_disableKeyguard" />
935
936    <!-- Allows applications to read the sync settings -->
937    <permission android:name="android.permission.READ_SYNC_SETTINGS"
938        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
939        android:protectionLevel="normal"
940        android:description="@string/permdesc_readSyncSettings"
941        android:label="@string/permlab_readSyncSettings" />
942
943    <!-- Allows applications to write the sync settings -->
944    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
945        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
946        android:protectionLevel="dangerous"
947        android:description="@string/permdesc_writeSyncSettings"
948        android:label="@string/permlab_writeSyncSettings" />
949
950    <!-- Allows applications to read the sync stats -->
951    <permission android:name="android.permission.READ_SYNC_STATS"
952        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
953        android:protectionLevel="normal"
954        android:description="@string/permdesc_readSyncStats"
955        android:label="@string/permlab_readSyncStats" />
956
957    <!-- Allows applications to write the apn settings -->
958    <permission android:name="android.permission.WRITE_APN_SETTINGS"
959                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
960                android:protectionLevel="signatureOrSystem"
961                android:description="@string/permdesc_writeApnSettings"
962                android:label="@string/permlab_writeApnSettings" />
963
964    <!-- Allows an application to allow access the subscribed feeds
965         ContentProvider. -->
966    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
967        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
968        android:label="@string/permlab_subscribedFeedsRead"
969        android:description="@string/permdesc_subscribedFeedsRead"
970        android:protectionLevel="normal" />
971    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
972        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
973        android:label="@string/permlab_subscribedFeedsWrite"
974        android:description="@string/permdesc_subscribedFeedsWrite"
975        android:protectionLevel="dangerous" />
976
977    <!-- Allows applications to change network connectivity state -->
978    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
979        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
980        android:protectionLevel="dangerous"
981        android:description="@string/permdesc_changeNetworkState"
982        android:label="@string/permlab_changeNetworkState" />
983
984    <!-- Allows applications to change Wi-Fi connectivity state -->
985    <permission android:name="android.permission.CHANGE_WIFI_STATE"
986        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
987        android:protectionLevel="dangerous"
988        android:description="@string/permdesc_changeWifiState"
989        android:label="@string/permlab_changeWifiState" />
990
991    <!-- @hide -->
992    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
993        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
994        android:protectionLevel="dangerous"
995        android:description="@string/permdesc_changeWimaxState"
996        android:label="@string/permlab_changeWimaxState" />
997    <!-- Allows applications to enter Wi-Fi Multicast mode -->
998    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
999        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1000        android:protectionLevel="dangerous"
1001        android:description="@string/permdesc_changeWifiMulticastState"
1002        android:label="@string/permlab_changeWifiMulticastState" />
1003
1004    <!-- Allows applications to discover and pair bluetooth devices -->
1005    <permission android:name="android.permission.BLUETOOTH_ADMIN"
1006        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1007        android:protectionLevel="dangerous"
1008        android:description="@string/permdesc_bluetoothAdmin"
1009        android:label="@string/permlab_bluetoothAdmin" />
1010
1011    <!-- Allows an application to clear the caches of all installed
1012         applications on the device.  -->
1013    <permission android:name="android.permission.CLEAR_APP_CACHE"
1014        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1015        android:protectionLevel="dangerous"
1016        android:label="@string/permlab_clearAppCache"
1017        android:description="@string/permdesc_clearAppCache" />
1018
1019    <!-- Allows an application to read the low-level system log files.
1020         Log entries can contain the user's private information,
1021         which is why this permission is 'dangerous'. -->
1022    <permission android:name="android.permission.READ_LOGS"
1023        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1024        android:protectionLevel="dangerous"
1025        android:label="@string/permlab_readLogs"
1026        android:description="@string/permdesc_readLogs" />
1027
1028    <!-- Allows an application to use any media decoder when decoding for playback
1029         @hide -->
1030    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
1031        android:protectionLevel="signatureOrSystem"
1032        android:label="@string/permlab_anyCodecForPlayback"
1033        android:description="@string/permdesc_anyCodecForPlayback" />
1034
1035    <!-- ========================================= -->
1036    <!-- Permissions for special development tools -->
1037    <!-- ========================================= -->
1038    <eat-comment />
1039
1040    <!-- Group of permissions that are related to development features.  These
1041         are not permissions that should appear in normal applications; they
1042         protect APIs that are intended only to be used for development
1043         purposes. -->
1044    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
1045        android:label="@string/permgrouplab_developmentTools"
1046        android:description="@string/permgroupdesc_developmentTools" />
1047
1048    <!-- Configure an application for debugging. -->
1049    <permission android:name="android.permission.SET_DEBUG_APP"
1050        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1051        android:protectionLevel="dangerous"
1052        android:label="@string/permlab_setDebugApp"
1053        android:description="@string/permdesc_setDebugApp" />
1054
1055    <!-- Allows an application to set the maximum number of (not needed)
1056         application processes that can be running. -->
1057    <permission android:name="android.permission.SET_PROCESS_LIMIT"
1058        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1059        android:protectionLevel="dangerous"
1060        android:label="@string/permlab_setProcessLimit"
1061        android:description="@string/permdesc_setProcessLimit" />
1062
1063    <!-- Allows an application to control whether activities are immediately
1064         finished when put in the background. -->
1065    <permission android:name="android.permission.SET_ALWAYS_FINISH"
1066        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1067        android:protectionLevel="dangerous"
1068        android:label="@string/permlab_setAlwaysFinish"
1069        android:description="@string/permdesc_setAlwaysFinish" />
1070
1071    <!-- Allow an application to request that a signal be sent to all persistent processes -->
1072    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1073        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1074        android:protectionLevel="dangerous"
1075        android:label="@string/permlab_signalPersistentProcesses"
1076        android:description="@string/permdesc_signalPersistentProcesses" />
1077
1078    <!-- ==================================== -->
1079    <!-- Private (signature-only) permissions -->
1080    <!-- ==================================== -->
1081    <eat-comment />
1082
1083    <!-- Allows applications to RW to diagnostic resources. -->
1084    <permission android:name="android.permission.DIAGNOSTIC"
1085        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1086        android:protectionLevel="signature"
1087        android:description="@string/permdesc_diagnostic"
1088        android:label="@string/permlab_diagnostic" />
1089
1090    <!-- Allows an application to open, close, or disable the status bar
1091         and its icons. -->
1092    <permission android:name="android.permission.STATUS_BAR"
1093        android:label="@string/permlab_statusBar"
1094        android:description="@string/permdesc_statusBar"
1095        android:protectionLevel="signatureOrSystem" />
1096
1097    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
1098    @hide -->
1099    <permission android:name="android.permission.STATUS_BAR_SERVICE"
1100        android:label="@string/permlab_statusBarService"
1101        android:description="@string/permdesc_statusBarService"
1102        android:protectionLevel="signature" />
1103
1104    <!-- Allows an application to force a BACK operation on whatever is the
1105         top activity. -->
1106    <permission android:name="android.permission.FORCE_BACK"
1107        android:label="@string/permlab_forceBack"
1108        android:description="@string/permdesc_forceBack"
1109        android:protectionLevel="signature" />
1110
1111    <!-- Allows an application to update device statistics. Not for
1112         use by third party apps. -->
1113    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
1114        android:label="@string/permlab_batteryStats"
1115        android:description="@string/permdesc_batteryStats"
1116        android:protectionLevel="signatureOrSystem" />
1117
1118    <!-- Allows an application to open windows that are for use by parts
1119         of the system user interface.  Not for use by third party apps. -->
1120    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
1121        android:label="@string/permlab_internalSystemWindow"
1122        android:description="@string/permdesc_internalSystemWindow"
1123        android:protectionLevel="signature" />
1124
1125    <!-- Allows an application to manage (create, destroy,
1126         Z-order) application tokens in the window manager.  This is only
1127         for use by the system. -->
1128    <permission android:name="android.permission.MANAGE_APP_TOKENS"
1129        android:label="@string/permlab_manageAppTokens"
1130        android:description="@string/permdesc_manageAppTokens"
1131        android:protectionLevel="signature" />
1132
1133    <!-- Allows an application to inject user events (keys, touch, trackball)
1134         into the event stream and deliver them to ANY window.  Without this
1135         permission, you can only deliver events to windows in your own process.
1136         Very few applications should need to use this permission. -->
1137    <permission android:name="android.permission.INJECT_EVENTS"
1138        android:label="@string/permlab_injectEvents"
1139        android:description="@string/permdesc_injectEvents"
1140        android:protectionLevel="signature" />
1141
1142    <!-- Allows an application to watch and control how activities are
1143         started globally in the system.  Only for is in debugging
1144         (usually the monkey command). -->
1145    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1146        android:label="@string/permlab_runSetActivityWatcher"
1147        android:description="@string/permdesc_runSetActivityWatcher"
1148        android:protectionLevel="signature" />
1149
1150    <!-- Allows an application to call the activity manager shutdown() API
1151         to put the higher-level system there into a shutdown state.
1152         @hide -->
1153    <permission android:name="android.permission.SHUTDOWN"
1154        android:label="@string/permlab_shutdown"
1155        android:description="@string/permdesc_shutdown"
1156        android:protectionLevel="signatureOrSystem" />
1157
1158    <!-- Allows an application to tell the activity manager to temporarily
1159         stop application switches, putting it into a special mode that
1160         prevents applications from immediately switching away from some
1161         critical UI such as the home screen.
1162         @hide -->
1163    <permission android:name="android.permission.STOP_APP_SWITCHES"
1164        android:label="@string/permlab_stopAppSwitches"
1165        android:description="@string/permdesc_stopAppSwitches"
1166        android:protectionLevel="signatureOrSystem" />
1167
1168    <!-- Allows an application to retrieve the current state of keys and
1169         switches.  This is only for use by the system.-->
1170    <permission android:name="android.permission.READ_INPUT_STATE"
1171        android:label="@string/permlab_readInputState"
1172        android:description="@string/permdesc_readInputState"
1173        android:protectionLevel="signature" />
1174
1175    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1176         to ensure that only the system can bind to it. -->
1177    <permission android:name="android.permission.BIND_INPUT_METHOD"
1178        android:label="@string/permlab_bindInputMethod"
1179        android:description="@string/permdesc_bindInputMethod"
1180        android:protectionLevel="signature" />
1181
1182    <!-- Must be required by a TextService (e.g. SpellCheckerService)
1183         to ensure that only the system can bind to it. -->
1184    <permission android:name="android.permission.BIND_TEXT_SERVICE"
1185        android:label="@string/permlab_bindTextService"
1186        android:description="@string/permdesc_bindTextService"
1187        android:protectionLevel="signature" />
1188
1189    <!-- Must be required by an {@link android.net.VpnService},
1190         to ensure that only the system can bind to it. -->
1191    <permission android:name="android.permission.BIND_VPN_SERVICE"
1192        android:label="@string/permlab_bindVpnService"
1193        android:description="@string/permdesc_bindVpnService"
1194        android:protectionLevel="signature" />
1195
1196    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1197         to ensure that only the system can bind to it. -->
1198    <permission android:name="android.permission.BIND_WALLPAPER"
1199        android:label="@string/permlab_bindWallpaper"
1200        android:description="@string/permdesc_bindWallpaper"
1201        android:protectionLevel="signatureOrSystem" />
1202
1203    <!-- Must be required by device administration receiver, to ensure that only the
1204         system can interact with it. -->
1205    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1206        android:label="@string/permlab_bindDeviceAdmin"
1207        android:description="@string/permdesc_bindDeviceAdmin"
1208        android:protectionLevel="signature" />
1209
1210    <!-- Allows low-level access to setting the orientation (actually
1211         rotation) of the screen.  Not for use by normal applications. -->
1212    <permission android:name="android.permission.SET_ORIENTATION"
1213        android:label="@string/permlab_setOrientation"
1214        android:description="@string/permdesc_setOrientation"
1215        android:protectionLevel="signature" />
1216
1217    <!-- Allows low-level access to setting the pointer speed.
1218         Not for use by normal applications. -->
1219    <permission android:name="android.permission.SET_POINTER_SPEED"
1220        android:label="@string/permlab_setPointerSpeed"
1221        android:description="@string/permdesc_setPointerSpeed"
1222        android:protectionLevel="signature" />
1223
1224    <!-- Allows an application to install packages. -->
1225    <permission android:name="android.permission.INSTALL_PACKAGES"
1226        android:label="@string/permlab_installPackages"
1227        android:description="@string/permdesc_installPackages"
1228        android:protectionLevel="signatureOrSystem" />
1229
1230    <!-- Allows an application to clear user data -->
1231    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1232        android:label="@string/permlab_clearAppUserData"
1233        android:description="@string/permdesc_clearAppUserData"
1234        android:protectionLevel="signature" />
1235
1236    <!-- Allows an application to delete cache files. -->
1237    <permission android:name="android.permission.DELETE_CACHE_FILES"
1238        android:label="@string/permlab_deleteCacheFiles"
1239        android:description="@string/permdesc_deleteCacheFiles"
1240        android:protectionLevel="signatureOrSystem" />
1241
1242    <!-- Allows an application to delete packages. -->
1243    <permission android:name="android.permission.DELETE_PACKAGES"
1244        android:label="@string/permlab_deletePackages"
1245        android:description="@string/permdesc_deletePackages"
1246        android:protectionLevel="signatureOrSystem" />
1247
1248    <!-- Allows an application to move location of installed package.
1249         @hide -->
1250    <permission android:name="android.permission.MOVE_PACKAGE"
1251        android:label="@string/permlab_movePackage"
1252        android:description="@string/permdesc_movePackage"
1253        android:protectionLevel="signatureOrSystem" />
1254
1255    <!-- Allows an application to change whether an application component (other than its own) is
1256         enabled or not. -->
1257    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1258        android:label="@string/permlab_changeComponentState"
1259        android:description="@string/permdesc_changeComponentState"
1260        android:protectionLevel="signatureOrSystem" />
1261
1262    <!-- Allows an application to use SurfaceFlinger's low level features -->
1263    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1264        android:label="@string/permlab_accessSurfaceFlinger"
1265        android:description="@string/permdesc_accessSurfaceFlinger"
1266        android:protectionLevel="signature" />
1267
1268    <!-- Allows an application to take screen shots and more generally
1269         get access to the frame buffer data -->
1270    <permission android:name="android.permission.READ_FRAME_BUFFER"
1271        android:label="@string/permlab_readFrameBuffer"
1272        android:description="@string/permdesc_readFrameBuffer"
1273        android:protectionLevel="signatureOrSystem" />
1274
1275    <!-- Required to be able to disable the device (very dangerous!). -->
1276    <permission android:name="android.permission.BRICK"
1277        android:label="@string/permlab_brick"
1278        android:description="@string/permdesc_brick"
1279        android:protectionLevel="signature" />
1280
1281    <!-- Required to be able to reboot the device. -->
1282    <permission android:name="android.permission.REBOOT"
1283        android:label="@string/permlab_reboot"
1284        android:description="@string/permdesc_reboot"
1285        android:protectionLevel="signatureOrSystem" />
1286
1287   <!-- Allows low-level access to power management -->
1288    <permission android:name="android.permission.DEVICE_POWER"
1289        android:label="@string/permlab_devicePower"
1290        android:description="@string/permdesc_devicePower"
1291        android:protectionLevel="signature" />
1292
1293    <!-- Run as a manufacturer test application, running as the root user.
1294         Only available when the device is running in manufacturer test mode. -->
1295    <permission android:name="android.permission.FACTORY_TEST"
1296        android:label="@string/permlab_factoryTest"
1297        android:description="@string/permdesc_factoryTest"
1298        android:protectionLevel="signature" />
1299
1300    <!-- Allows an application to broadcast a notification that an application
1301         package has been removed. -->
1302    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1303        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1304        android:label="@string/permlab_broadcastPackageRemoved"
1305        android:description="@string/permdesc_broadcastPackageRemoved"
1306        android:protectionLevel="signature" />
1307
1308    <!-- Allows an application to broadcast an SMS receipt notification -->
1309    <permission android:name="android.permission.BROADCAST_SMS"
1310        android:permissionGroup="android.permission-group.MESSAGES"
1311        android:label="@string/permlab_broadcastSmsReceived"
1312        android:description="@string/permdesc_broadcastSmsReceived"
1313        android:protectionLevel="signature" />
1314
1315    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1316    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1317        android:permissionGroup="android.permission-group.MESSAGES"
1318        android:label="@string/permlab_broadcastWapPush"
1319        android:description="@string/permdesc_broadcastWapPush"
1320        android:protectionLevel="signature" />
1321
1322    <permission android:name="android.permission.MASTER_CLEAR"
1323        android:label="@string/permlab_masterClear"
1324        android:description="@string/permdesc_masterClear"
1325        android:protectionLevel="signatureOrSystem" />
1326
1327    <!-- Allows an application to call any phone number, including emergency
1328         numbers, without going through the Dialer user interface for the user
1329         to confirm the call being placed. -->
1330    <permission android:name="android.permission.CALL_PRIVILEGED"
1331        android:label="@string/permlab_callPrivileged"
1332        android:description="@string/permdesc_callPrivileged"
1333        android:protectionLevel="signatureOrSystem" />
1334
1335    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1336    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1337        android:label="@string/permlab_performCdmaProvisioning"
1338        android:description="@string/permdesc_performCdmaProvisioning"
1339        android:protectionLevel="signatureOrSystem" />
1340
1341    <!-- Allows enabling/disabling location update notifications from
1342         the radio. Not for use by normal applications. -->
1343    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1344        android:label="@string/permlab_locationUpdates"
1345        android:description="@string/permdesc_locationUpdates"
1346        android:protectionLevel="signatureOrSystem" />
1347
1348    <!-- Allows read/write access to the "properties" table in the checkin
1349         database, to change values that get uploaded. -->
1350    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1351        android:label="@string/permlab_checkinProperties"
1352        android:description="@string/permdesc_checkinProperties"
1353        android:protectionLevel="signatureOrSystem" />
1354
1355    <!-- Allows an application to collect component usage
1356         statistics @hide -->
1357    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1358        android:label="@string/permlab_pkgUsageStats"
1359        android:description="@string/permdesc_pkgUsageStats"
1360        android:protectionLevel="signatureOrSystem" />
1361
1362    <!-- Allows an application to collect battery statistics -->
1363    <permission android:name="android.permission.BATTERY_STATS"
1364        android:label="@string/permlab_batteryStats"
1365        android:description="@string/permdesc_batteryStats"
1366        android:protectionLevel="normal" />
1367
1368    <!-- Allows an application to control the backup and restore process
1369         @hide pending API council -->
1370    <permission android:name="android.permission.BACKUP"
1371        android:label="@string/permlab_backup"
1372        android:description="@string/permdesc_backup"
1373        android:protectionLevel="signatureOrSystem" />
1374
1375    <!-- Allows a package to launch the secure full-backup confirmation UI.
1376         ONLY the system process may hold this permission.
1377         @hide -->
1378    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
1379        android:label="@string/permlab_confirm_full_backup"
1380        android:description="@string/permdesc_confirm_full_backup"
1381        android:protectionLevel="signature" />
1382
1383    <!-- Must be required by a {@link android.widget.RemoteViewsService},
1384         to ensure that only the system can bind to it. -->
1385    <permission android:name="android.permission.BIND_REMOTEVIEWS"
1386        android:label="@string/permlab_bindRemoteViews"
1387        android:description="@string/permdesc_bindRemoteViews"
1388        android:protectionLevel="signatureOrSystem" />
1389
1390    <!-- Allows an application to tell the AppWidget service which application
1391         can access AppWidget's data.  The normal user flow is that a user
1392         picks an AppWidget to go into a particular host, thereby giving that
1393         host application access to the private data from the AppWidget app.
1394         An application that has this permission should honor that contract.
1395         Very few applications should need to use this permission. -->
1396    <permission android:name="android.permission.BIND_APPWIDGET"
1397        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1398        android:label="@string/permlab_bindGadget"
1399        android:description="@string/permdesc_bindGadget"
1400        android:protectionLevel="signatureOrSystem" />
1401
1402    <!-- Allows applications to change the background data setting
1403         @hide pending API council -->
1404    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1405        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1406        android:protectionLevel="signature"
1407        android:description="@string/permdesc_changeBackgroundDataSetting"
1408        android:label="@string/permlab_changeBackgroundDataSetting" />
1409
1410    <!-- This permission can be used on content providers to allow the global
1411         search system to access their data.  Typically it used when the
1412         provider has some permissions protecting it (which global search
1413         would not be expected to hold), and added as a read-only permission
1414         to the path in the provider where global search queries are
1415         performed.  This permission can not be held by regular applications;
1416         it is used by applications to protect themselves from everyone else
1417         besides global search. -->
1418    <permission android:name="android.permission.GLOBAL_SEARCH"
1419        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1420        android:protectionLevel="signatureOrSystem" />
1421
1422    <!-- Internal permission protecting access to the global search
1423         system: ensures that only the system can access the provider
1424         to perform queries (since this otherwise provides unrestricted
1425         access to a variety of content providers), and to write the
1426         search statistics (to keep applications from gaming the source
1427         ranking).
1428         @hide -->
1429    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1430        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1431        android:protectionLevel="signature" />
1432
1433    <!-- Allows applications to set a live wallpaper.
1434         @hide XXX Change to signature once the picker is moved to its
1435         own apk as Ghod Intended. -->
1436    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1437        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1438        android:protectionLevel="signatureOrSystem" />
1439
1440    <!-- Allow an application to read and write the cache partition.
1441         @hide -->
1442    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1443        android:label="@string/permlab_cache_filesystem"
1444        android:description="@string/permdesc_cache_filesystem"
1445        android:protectionLevel="signatureOrSystem" />
1446
1447    <!-- Must be required by default container service so that only
1448         the system can bind to it and use it to copy
1449         protected data to secure containers or files
1450         accessible to the system.
1451         @hide -->
1452    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1453        android:label="@string/permlab_copyProtectedData"
1454        android:description="@string/permlab_copyProtectedData"
1455        android:protectionLevel="signature" />
1456
1457    <!-- Internal permission protecting access to the encryption methods
1458        @hide
1459    -->
1460    <permission android:name="android.permission.CRYPT_KEEPER"
1461        android:protectionLevel="signatureOrSystem" />
1462
1463    <!-- Allows an application to read historical network usage for
1464         specific networks and applications. @hide -->
1465    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
1466        android:label="@string/permlab_readNetworkUsageHistory"
1467        android:description="@string/permdesc_readNetworkUsageHistory"
1468        android:protectionLevel="signatureOrSystem" />
1469
1470    <!-- Allows an application to manage network policies (such as warning and disable
1471         limits) and to define application-specific rules. @hide -->
1472    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
1473        android:label="@string/permlab_manageNetworkPolicy"
1474        android:description="@string/permdesc_manageNetworkPolicy"
1475        android:protectionLevel="signature" />
1476
1477    <!-- Allows an application to account its network traffic against other UIDs. Used
1478         by system services like download manager and media server. Not for use by
1479         third party apps. @hide -->
1480    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
1481        android:label="@string/permlab_modifyNetworkAccounting"
1482        android:description="@string/permdesc_modifyNetworkAccounting"
1483        android:protectionLevel="signatureOrSystem" />
1484
1485    <!-- C2DM permission.
1486         @hide Used internally.
1487     -->
1488    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
1489          android:protectionLevel="signature" />
1490    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
1491
1492    <!-- Package verifier needs to have this permission before the PackageManager will
1493         trust it to verify packages.
1494         @hide
1495    -->
1496    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
1497        android:label="@string/permlab_packageVerificationAgent"
1498        android:description="@string/permdesc_packageVerificationAgent"
1499        android:protectionLevel="signatureOrSystem" />
1500
1501    <!-- Must be required by package verifier receiver, to ensure that only the
1502         system can interact with it.
1503         @hide
1504    -->
1505    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
1506        android:label="@string/permlab_bindPackageVerifier"
1507        android:description="@string/permdesc_bindPackageVerifier"
1508        android:protectionLevel="signature" />
1509
1510    <!-- The system process is explicitly the only one allowed to launch the
1511         confirmation UI for full backup/restore -->
1512    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
1513
1514    <application android:process="system"
1515                 android:persistent="true"
1516                 android:hasCode="false"
1517                 android:label="@string/android_system_label"
1518                 android:allowClearUserData="false"
1519                 android:backupAgent="com.android.server.SystemBackupAgent"
1520                 android:killAfterRestore="false"
1521                 android:icon="@drawable/ic_launcher_android">
1522        <activity android:name="com.android.internal.app.ChooserActivity"
1523                android:theme="@style/Theme.Holo.Dialog.Alert"
1524                android:finishOnCloseSystemDialogs="true"
1525                android:excludeFromRecents="true"
1526                android:multiprocess="true">
1527            <intent-filter>
1528                <action android:name="android.intent.action.CHOOSER" />
1529                <category android:name="android.intent.category.DEFAULT" />
1530            </intent-filter>
1531        </activity>
1532        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
1533                android:theme="@style/Theme.Holo.Dialog"
1534                android:label="@string/heavy_weight_switcher_title"
1535                android:finishOnCloseSystemDialogs="true"
1536                android:excludeFromRecents="true"
1537                android:process=":ui">
1538        </activity>
1539        <activity android:name="com.android.internal.app.PlatLogoActivity"
1540                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
1541                android:process=":ui">
1542        </activity>
1543        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1544                android:theme="@style/Theme.NoDisplay"
1545                android:excludeFromRecents="true"
1546                android:process=":ui">
1547        </activity>
1548        <activity android:name="com.android.internal.app.RingtonePickerActivity"
1549                android:theme="@style/Theme.Holo.Dialog.Alert"
1550                android:excludeFromRecents="true"
1551                android:multiprocess="true"
1552                android:process=":ui">
1553            <intent-filter>
1554                <action android:name="android.intent.action.RINGTONE_PICKER" />
1555                <category android:name="android.intent.category.DEFAULT" />
1556            </intent-filter>
1557        </activity>
1558
1559        <activity android:name="android.accounts.ChooseAccountActivity"
1560                android:excludeFromRecents="true"
1561                android:exported="true"
1562                android:theme="@android:style/Theme.Holo.Dialog"
1563                android:label="@string/choose_account_label"
1564                android:process=":ui">
1565        </activity>
1566
1567        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
1568                android:excludeFromRecents="true"
1569                android:exported="true"
1570                android:theme="@android:style/Theme.Holo.DialogWhenLarge.NoActionBar"
1571                android:label="@string/choose_account_label"
1572                android:process=":ui">
1573        </activity>
1574
1575        <activity android:name="android.accounts.ChooseAccountTypeActivity"
1576                android:excludeFromRecents="true"
1577                android:theme="@android:style/Theme.Holo.DialogWhenLarge.NoActionBar"
1578                android:label="@string/choose_account_label"
1579                android:process=":ui">
1580        </activity>
1581
1582        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1583                android:excludeFromRecents="true"
1584                android:exported="true"
1585                android:theme="@android:style/Theme.Holo.DialogWhenLarge"
1586                android:process=":ui">
1587        </activity>
1588
1589        <activity android:name="android.content.SyncActivityTooManyDeletes"
1590               android:theme="@android:style/Theme.Holo.Dialog"
1591               android:label="@string/sync_too_many_deletes"
1592               android:process=":ui">
1593        </activity>
1594
1595        <activity android:name="com.android.server.ShutdownActivity"
1596            android:permission="android.permission.SHUTDOWN"
1597            android:excludeFromRecents="true">
1598            <intent-filter>
1599                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1600                <category android:name="android.intent.category.DEFAULT" />
1601            </intent-filter>
1602            <intent-filter>
1603                <action android:name="android.intent.action.REBOOT" />
1604                <category android:name="android.intent.category.DEFAULT" />
1605            </intent-filter>
1606        </activity>
1607
1608        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1609                android:theme="@style/Theme.Holo.Dialog.Alert"
1610                android:excludeFromRecents="true"
1611                android:process=":ui">
1612        </activity>
1613
1614        <receiver android:name="com.android.server.BootReceiver" >
1615            <intent-filter>
1616                <action android:name="android.intent.action.BOOT_COMPLETED" />
1617            </intent-filter>
1618        </receiver>
1619
1620        <receiver android:name="com.android.server.MasterClearReceiver"
1621            android:permission="android.permission.MASTER_CLEAR"
1622            android:priority="100" >
1623            <intent-filter>
1624                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1625                <action android:name="android.intent.action.MASTER_CLEAR" />
1626
1627                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1628                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1629                <category android:name="android.intent.category.MASTER_CLEAR" />
1630            </intent-filter>
1631        </receiver>
1632
1633        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
1634            android:permission="android.permission.MASTER_CLEAR"
1635            android:exported="true" />
1636
1637    </application>
1638
1639</manifest>
1640