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