AndroidManifest.xml revision 049219925fc2fb3adee803731a2ccd1c6c7c580a
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.PACKAGE_VERIFIED" />
47    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
48    <protected-broadcast android:name="android.intent.action.QUERY_PACKAGE_RESTART" />
49    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
50    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
51    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
52    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
53    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
54    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
55    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
56    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
57    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
58    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
59    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
60    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
61    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
62    <protected-broadcast android:name="android.intent.action.REBOOT" />
63    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
64    <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
65    <protected-broadcast android:name="android.intent.action.USER_ADDED" />
66    <protected-broadcast android:name="android.intent.action.USER_REMOVED" />
67    <protected-broadcast android:name="android.intent.action.USER_STOPPED" />
68    <protected-broadcast android:name="android.intent.action.USER_BACKGROUND" />
69    <protected-broadcast android:name="android.intent.action.USER_FOREGROUND" />
70    <protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
71
72    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
73    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
74    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
75    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
76
77    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_UPDATE_OPTIONS" />
78    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DELETED" />
79    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_DISABLED" />
80    <protected-broadcast android:name="android.appwidget.action.APPWIDGET_ENABLED" />
81
82    <protected-broadcast android:name="android.backup.intent.RUN" />
83    <protected-broadcast android:name="android.backup.intent.CLEAR" />
84    <protected-broadcast android:name="android.backup.intent.INIT" />
85
86    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
87    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
88    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
89    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
90    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
91    <protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
92    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
93    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
94    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
95    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
96    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
97    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
98    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
99    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
100    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
101    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
102    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
103    <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
104    <protected-broadcast
105        android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
106    <protected-broadcast
107        android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
108    <protected-broadcast
109        android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
110    <protected-broadcast
111        android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
112    <protected-broadcast
113        android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
114    <protected-broadcast
115        android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
116    <protected-broadcast
117        android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
118
119    <protected-broadcast android:name="android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED" />
120
121    <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
122    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
123    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
124    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
125    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
126
127    <protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
128    <protected-broadcast android:name="android.intent.action.ANALOG_AUDIO_DOCK_PLUG" />
129    <protected-broadcast android:name="android.intent.action.DIGITAL_AUDIO_DOCK_PLUG" />
130    <protected-broadcast android:name="android.intent.action.HDMI_AUDIO_PLUG" />
131    <protected-broadcast android:name="android.intent.action.USB_AUDIO_ACCESSORY_PLUG" />
132    <protected-broadcast android:name="android.intent.action.USB_AUDIO_DEVICE_PLUG" />
133
134    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
135    <protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
136    <protected-broadcast android:name="android.net.conn.DATA_ACTIVITY_CHANGE" />
137    <protected-broadcast android:name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" />
138    <protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL_TEST_COMPLETED" />
139
140    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
141    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
142    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
143    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
144
145    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
146    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
147    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
148
149    <protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
150
151    <protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
152    <protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
153    <protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
154
155    <protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
156    <protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
157    <protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" />
158    <protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
159    <protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
160    <protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
161    <protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
162    <protected-broadcast android:name="android.net.wifi.LINK_CONFIGURATION_CHANGED" />
163    <protected-broadcast android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" />
164    <protected-broadcast android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
165    <protected-broadcast android:name="android.net.wifi.supplicant.STATE_CHANGE" />
166    <protected-broadcast android:name="android.net.wifi.p2p.STATE_CHANGED" />
167    <protected-broadcast android:name="android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" />
168    <protected-broadcast android:name="android.net.wifi.p2p.THIS_DEVICE_CHANGED" />
169    <protected-broadcast android:name="android.net.wifi.p2p.PEERS_CHANGED" />
170    <protected-broadcast android:name="android.net.wifi.p2p.CONNECTION_STATE_CHANGE" />
171    <protected-broadcast android:name="android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED" />
172    <protected-broadcast android:name="android.net.conn.TETHER_STATE_CHANGED" />
173    <protected-broadcast android:name="android.net.conn.INET_CONDITION_ACTION" />
174    <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
175    <protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
176    <protected-broadcast android:name="android.intent.action.AIRPLANE_MODE" />
177    <protected-broadcast android:name="android.intent.action.ADVANCED_SETTINGS" />
178    <protected-broadcast android:name="android.intent.action.BUGREPORT_FINISHED" />
179
180    <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_START" />
181    <protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_END" />
182
183    <!-- ====================================== -->
184    <!-- Permissions for things that cost money -->
185    <!-- ====================================== -->
186    <eat-comment />
187
188    <!-- Used for permissions that can be used to make the user spend money
189         without their direct involvement. -->
190    <permission-group android:name="android.permission-group.COST_MONEY"
191        android:label="@string/permgrouplab_costMoney"
192        android:description="@string/permgroupdesc_costMoney" />
193
194    <!-- ================================== -->
195    <!-- Permissions for accessing messages -->
196    <!-- ================================== -->
197    <eat-comment />
198
199    <!-- Used for permissions that allow an application to send messages
200         on behalf of the user or intercept messages being received by the
201         user.  This is primarily intended for SMS/MMS messaging, such as
202         receiving or reading an MMS. -->
203    <permission-group android:name="android.permission-group.MESSAGES"
204        android:label="@string/permgrouplab_messages"
205        android:icon="@drawable/perm_group_messages"
206        android:description="@string/permgroupdesc_messages"
207        android:permissionGroupFlags="personalInfo"
208        android:priority="360"/>
209
210    <!-- Allows an application to send SMS messages. -->
211    <permission android:name="android.permission.SEND_SMS"
212        android:permissionGroup="android.permission-group.MESSAGES"
213        android:protectionLevel="dangerous"
214        android:permissionFlags="costsMoney"
215        android:label="@string/permlab_sendSms"
216        android:description="@string/permdesc_sendSms" />
217
218    <!-- Allows an application (Phone) to send a request to other applications
219         to handle the respond-via-message action during incoming calls. -->
220    <permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE"
221        android:permissionGroup="android.permission-group.MESSAGES"
222        android:protectionLevel="signature|system"
223        android:label="@string/permlab_sendRespondViaMessageRequest"
224        android:description="@string/permdesc_sendRespondViaMessageRequest" />
225
226    <!-- Allows an application to monitor incoming SMS messages, to record
227         or perform processing on them. -->
228    <permission android:name="android.permission.RECEIVE_SMS"
229        android:permissionGroup="android.permission-group.MESSAGES"
230        android:protectionLevel="dangerous"
231        android:label="@string/permlab_receiveSms"
232        android:description="@string/permdesc_receiveSms" />
233
234    <!-- Allows an application to monitor incoming MMS messages, to record
235         or perform processing on them. -->
236    <permission android:name="android.permission.RECEIVE_MMS"
237        android:permissionGroup="android.permission-group.MESSAGES"
238        android:protectionLevel="dangerous"
239        android:label="@string/permlab_receiveMms"
240        android:description="@string/permdesc_receiveMms" />
241
242    <!-- Allows an application to receive emergency cell broadcast messages,
243         to record or display them to the user. Reserved for system apps.
244         @hide Pending API council approval -->
245    <permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
246        android:permissionGroup="android.permission-group.MESSAGES"
247        android:protectionLevel="signature|system"
248        android:label="@string/permlab_receiveEmergencyBroadcast"
249        android:description="@string/permdesc_receiveEmergencyBroadcast" />
250
251    <!-- Allows an application to read previously received cell broadcast
252         messages and to register a content observer to get notifications when
253         a cell broadcast has been received and added to the database. For
254         emergency alerts, the database is updated immediately after the
255         alert dialog and notification sound/vibration/speech are presented.
256         The "read" column is then updated after the user dismisses the alert.
257         This enables supplementary emergency assistance apps to start loading
258         additional emergency information (if Internet access is available)
259         when the alert is first received, and to delay presenting the info
260         to the user until after the initial alert dialog is dismissed.
261         @hide Pending API council approval -->
262    <permission android:name="android.permission.READ_CELL_BROADCASTS"
263        android:permissionGroup="android.permission-group.MESSAGES"
264        android:protectionLevel="dangerous"
265        android:label="@string/permlab_readCellBroadcasts"
266        android:description="@string/permdesc_readCellBroadcasts" />
267
268    <!-- Allows an application to read SMS messages. -->
269    <permission android:name="android.permission.READ_SMS"
270        android:permissionGroup="android.permission-group.MESSAGES"
271        android:protectionLevel="dangerous"
272        android:label="@string/permlab_readSms"
273        android:description="@string/permdesc_readSms" />
274
275    <!-- Allows an application to write SMS messages. -->
276    <permission android:name="android.permission.WRITE_SMS"
277        android:permissionGroup="android.permission-group.MESSAGES"
278        android:protectionLevel="dangerous"
279        android:label="@string/permlab_writeSms"
280        android:description="@string/permdesc_writeSms" />
281
282    <!-- Allows an application to monitor incoming WAP push messages. -->
283    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
284        android:permissionGroup="android.permission-group.MESSAGES"
285        android:protectionLevel="dangerous"
286        android:label="@string/permlab_receiveWapPush"
287        android:description="@string/permdesc_receiveWapPush" />
288
289    <!-- =============================================================== -->
290    <!-- Permissions for accessing social info (contacts and social) -->
291    <!-- =============================================================== -->
292    <eat-comment />
293
294    <!-- Used for permissions that provide access to the user's social connections,
295         such as contacts, call logs, social stream, etc.  This includes
296         both reading and writing of this data (which should generally be
297         expressed as two distinct permissions). -->
298
299    <permission-group android:name="android.permission-group.SOCIAL_INFO"
300        android:label="@string/permgrouplab_socialInfo"
301        android:icon="@drawable/perm_group_social_info"
302        android:description="@string/permgroupdesc_socialInfo"
303        android:permissionGroupFlags="personalInfo"
304        android:priority="320" />
305
306    <!-- Allows an application to read the user's contacts data. -->
307    <permission android:name="android.permission.READ_CONTACTS"
308        android:permissionGroup="android.permission-group.SOCIAL_INFO"
309        android:protectionLevel="dangerous"
310        android:label="@string/permlab_readContacts"
311        android:description="@string/permdesc_readContacts" />
312
313    <!-- Allows an application to write (but not read) the user's
314         contacts data. -->
315    <permission android:name="android.permission.WRITE_CONTACTS"
316        android:permissionGroup="android.permission-group.SOCIAL_INFO"
317        android:protectionLevel="dangerous"
318        android:label="@string/permlab_writeContacts"
319        android:description="@string/permdesc_writeContacts" />
320
321    <!-- Allows an application to execute contacts directory search.
322         This should only be used by ContactsProvider. -->
323    <!-- @hide -->
324    <permission android:name="android.permission.BIND_DIRECTORY_SEARCH"
325        android:permissionGroup="android.permission-group.PERSONAL_INFO"
326        android:protectionLevel="signature|system" />
327
328    <!-- Allows an application to read the user's call log.
329         <p class="note"><strong>Note:</strong> If your app uses the
330         {@link #READ_CONTACTS} permission and <em>both</em> your <a
331         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
332         minSdkVersion}</a> and <a
333         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
334         targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
335         grants your app this permission. If you don't need this permission, be sure your <a
336         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
337         targetSdkVersion}</a> is 16 or higher.</p> -->
338    <permission android:name="android.permission.READ_CALL_LOG"
339        android:permissionGroup="android.permission-group.SOCIAL_INFO"
340        android:protectionLevel="dangerous"
341        android:label="@string/permlab_readCallLog"
342        android:description="@string/permdesc_readCallLog" />
343
344    <!-- Allows an application to write (but not read) the user's
345         contacts data.
346         <p class="note"><strong>Note:</strong> If your app uses the
347         {@link #WRITE_CONTACTS} permission and <em>both</em> your <a
348         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
349         minSdkVersion}</a> and <a
350         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
351         targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
352         grants your app this permission. If you don't need this permission, be sure your <a
353         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
354         targetSdkVersion}</a> is 16 or higher.</p>  -->
355    <permission android:name="android.permission.WRITE_CALL_LOG"
356        android:permissionGroup="android.permission-group.SOCIAL_INFO"
357        android:protectionLevel="dangerous"
358        android:label="@string/permlab_writeCallLog"
359        android:description="@string/permdesc_writeCallLog" />
360
361  <!-- Allows an application to read from the user's social stream. -->
362    <permission android:name="android.permission.READ_SOCIAL_STREAM"
363        android:permissionGroup="android.permission-group.SOCIAL_INFO"
364        android:protectionLevel="dangerous"
365        android:label="@string/permlab_readSocialStream"
366        android:description="@string/permdesc_readSocialStream" />
367
368    <!-- Allows an application to write (but not read) the user's
369         social stream data. -->
370    <permission android:name="android.permission.WRITE_SOCIAL_STREAM"
371        android:permissionGroup="android.permission-group.SOCIAL_INFO"
372        android:protectionLevel="dangerous"
373        android:label="@string/permlab_writeSocialStream"
374        android:description="@string/permdesc_writeSocialStream" />
375
376    <!-- =============================================================== -->
377    <!-- Permissions for accessing information about the device owner    -->
378    <!-- =============================================================== -->
379    <eat-comment />
380
381    <!-- Used for permissions that provide access to information about the device
382         user such as profile information.  This includes both reading and
383         writing of this data (which should generally be expressed as two
384         distinct permissions). -->
385    <permission-group android:name="android.permission-group.PERSONAL_INFO"
386        android:label="@string/permgrouplab_personalInfo"
387        android:icon="@drawable/perm_group_personal_info"
388        android:description="@string/permgroupdesc_personalInfo"
389        android:permissionGroupFlags="personalInfo"
390        android:priority="310" />
391
392    <!-- Allows an application to read the user's personal profile data. -->
393    <permission android:name="android.permission.READ_PROFILE"
394        android:permissionGroup="android.permission-group.PERSONAL_INFO"
395        android:protectionLevel="dangerous"
396        android:label="@string/permlab_readProfile"
397        android:description="@string/permdesc_readProfile" />
398
399    <!-- Allows an application to write (but not read) the user's
400         personal profile data. -->
401    <permission android:name="android.permission.WRITE_PROFILE"
402        android:permissionGroup="android.permission-group.PERSONAL_INFO"
403        android:protectionLevel="dangerous"
404        android:label="@string/permlab_writeProfile"
405        android:description="@string/permdesc_writeProfile" />
406
407    <!-- =============================================================== -->
408    <!-- Permissions for accessing the device calendar                   -->
409    <!-- =============================================================== -->
410    <eat-comment />
411
412    <!-- Used for permissions that provide access to the device
413         calendar to create / view events.-->
414    <permission-group android:name="android.permission-group.CALENDAR"
415        android:label="@string/permgrouplab_calendar"
416        android:icon="@drawable/perm_group_calendar"
417        android:description="@string/permgroupdesc_calendar"
418        android:permissionGroupFlags="personalInfo"
419        android:priority="290" />
420
421    <!-- Allows an application to read the user's calendar data. -->
422    <permission android:name="android.permission.READ_CALENDAR"
423        android:permissionGroup="android.permission-group.PERSONAL_INFO"
424        android:protectionLevel="dangerous"
425        android:label="@string/permlab_readCalendar"
426        android:description="@string/permdesc_readCalendar" />
427
428    <!-- Allows an application to write (but not read) the user's
429         calendar data. -->
430    <permission android:name="android.permission.WRITE_CALENDAR"
431        android:permissionGroup="android.permission-group.PERSONAL_INFO"
432        android:protectionLevel="dangerous"
433        android:label="@string/permlab_writeCalendar"
434        android:description="@string/permdesc_writeCalendar" />
435
436    <!-- =============================================================== -->
437    <!-- Permissions for accessing the user dictionary-->
438    <!-- =============================================================== -->
439    <eat-comment />
440
441    <!-- Used for permissions that provide access to the user
442         calendar to create / view events.-->
443    <permission-group android:name="android.permission-group.USER_DICTIONARY"
444        android:label="@string/permgrouplab_dictionary"
445        android:icon="@drawable/perm_group_user_dictionary"
446        android:description="@string/permgroupdesc_dictionary"
447        android:permissionGroupFlags="personalInfo"
448        android:priority="170" />
449
450    <!-- Allows an application to read the user dictionary. This should
451         really only be required by an IME, or a dictionary editor like
452         the Settings app. -->
453    <permission android:name="android.permission.READ_USER_DICTIONARY"
454        android:permissionGroup="android.permission-group.USER_DICTIONARY"
455        android:protectionLevel="dangerous"
456        android:label="@string/permlab_readDictionary"
457        android:description="@string/permdesc_readDictionary" />
458
459    <!-- Used for permissions that provide access to the user
460         calendar to create / view events.-->
461    <permission-group android:name="android.permission-group.WRITE_USER_DICTIONARY"
462        android:label="@string/permgrouplab_writeDictionary"
463        android:icon="@drawable/perm_group_user_dictionary_write"
464        android:description="@string/permgroupdesc_writeDictionary"
465        android:priority="160" />
466
467    <!-- Allows an application to write to the user dictionary. -->
468    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
469        android:permissionGroup="android.permission-group.WRITE_USER_DICTIONARY"
470        android:protectionLevel="normal"
471        android:label="@string/permlab_writeDictionary"
472        android:description="@string/permdesc_writeDictionary" />
473
474    <!-- =============================================================== -->
475    <!-- Permissions for accessing the user bookmarks                    -->
476    <!-- =============================================================== -->
477    <eat-comment />
478
479    <!-- Used for permissions that provide access to the user
480         bookmarks and browser history.-->
481    <permission-group android:name="android.permission-group.BOOKMARKS"
482        android:label="@string/permgrouplab_bookmarks"
483        android:icon="@drawable/perm_group_bookmarks"
484        android:description="@string/permgroupdesc_bookmarks"
485        android:permissionGroupFlags="personalInfo"
486        android:priority="300" />
487
488    <!-- Allows an application to read (but not write) the user's
489        browsing history and bookmarks. -->
490    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
491        android:permissionGroup="android.permission-group.BOOKMARKS"
492        android:label="@string/permlab_readHistoryBookmarks"
493        android:description="@string/permdesc_readHistoryBookmarks"
494        android:protectionLevel="dangerous" />
495
496    <!-- Allows an application to write (but not read) the user's
497        browsing history and bookmarks. -->
498    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
499        android:permissionGroup="android.permission-group.BOOKMARKS"
500        android:label="@string/permlab_writeHistoryBookmarks"
501        android:description="@string/permdesc_writeHistoryBookmarks"
502        android:protectionLevel="dangerous" />
503
504    <!-- =============================================================== -->
505    <!-- Permissions for setting the device alarm                        -->
506    <!-- =============================================================== -->
507    <eat-comment />
508
509    <!-- Used for permissions that provide access to the user voicemail box. -->
510    <permission-group android:name="android.permission-group.DEVICE_ALARMS"
511        android:label="@string/permgrouplab_deviceAlarms"
512        android:icon="@drawable/perm_group_device_alarms"
513        android:description="@string/permgroupdesc_deviceAlarms"
514        android:permissionGroupFlags="personalInfo"
515        android:priority="210" />
516
517    <!-- Allows an application to broadcast an Intent to set an alarm for the
518         user. -->
519    <permission android:name="com.android.alarm.permission.SET_ALARM"
520        android:permissionGroup="android.permission-group.DEVICE_ALARMS"
521        android:label="@string/permlab_setAlarm"
522        android:description="@string/permdesc_setAlarm"
523        android:protectionLevel="normal" />
524
525    <!-- =============================================================== -->
526    <!-- Permissions for accessing the user voicemail                    -->
527    <!-- =============================================================== -->
528    <eat-comment />
529
530    <!-- Used for permissions that provide access to the user voicemail box. -->
531    <permission-group android:name="android.permission-group.VOICEMAIL"
532        android:label="@string/permgrouplab_voicemail"
533        android:icon="@drawable/perm_group_voicemail"
534        android:description="@string/permgroupdesc_voicemail"
535        android:permissionGroupFlags="personalInfo"
536        android:priority="280" />
537
538   <!-- Allows an application to add voicemails into the system. -->
539    <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
540        android:permissionGroup="android.permission-group.VOICEMAIL"
541        android:protectionLevel="dangerous"
542        android:label="@string/permlab_addVoicemail"
543        android:description="@string/permdesc_addVoicemail" />
544
545    <!-- =============================================== -->
546    <!-- Permissions for enabling accessibility features -->
547    <!-- =============================================== -->
548    <eat-comment />
549
550    <!-- Used for permissions that allow requesting certain accessibility features. -->
551    <permission-group android:name="android.permission-group.ACCESSIBILITY_FEATURES"
552        android:label="@string/permgrouplab_accessibilityFeatures"
553        android:icon="@drawable/perm_group_accessibility_features"
554        android:description="@string/permgroupdesc_accessibilityFeatures"
555        android:priority="380" />
556
557    <!-- ======================================= -->
558    <!-- Permissions for accessing location info -->
559    <!-- ======================================= -->
560    <eat-comment />
561
562    <!-- Used for permissions that allow access to the user's current
563         location. -->
564    <permission-group android:name="android.permission-group.LOCATION"
565        android:label="@string/permgrouplab_location"
566        android:icon="@drawable/perm_group_location"
567        android:description="@string/permgroupdesc_location"
568        android:permissionGroupFlags="personalInfo"
569        android:priority="330" />
570
571    <!-- Allows an app to access precise location from location sources such
572         as GPS, cell towers, and Wi-Fi. -->
573    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
574        android:permissionGroup="android.permission-group.LOCATION"
575        android:protectionLevel="dangerous"
576        android:label="@string/permlab_accessFineLocation"
577        android:description="@string/permdesc_accessFineLocation" />
578
579    <!-- Allows an app to access approximate location derived from network location
580         sources such as cell towers and Wi-Fi. -->
581    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
582        android:permissionGroup="android.permission-group.LOCATION"
583        android:protectionLevel="dangerous"
584        android:label="@string/permlab_accessCoarseLocation"
585        android:description="@string/permdesc_accessCoarseLocation" />
586
587    <!-- Allows an application to create mock location providers for testing -->
588    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
589        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
590        android:protectionLevel="dangerous"
591        android:label="@string/permlab_accessMockLocation"
592        android:description="@string/permdesc_accessMockLocation" />
593
594    <!-- Allows an application to access extra location provider commands -->
595    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
596        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
597        android:protectionLevel="normal"
598        android:label="@string/permlab_accessLocationExtraCommands"
599        android:description="@string/permdesc_accessLocationExtraCommands" />
600
601    <!-- Allows an application to install a location provider into the Location Manager -->
602    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
603        android:protectionLevel="signature|system"
604        android:label="@string/permlab_installLocationProvider"
605        android:description="@string/permdesc_installLocationProvider" />
606
607    <!-- Allows an application to use location features in hardware,
608         such as the geofencing api
609         Protected by signature|system protection level -->
610    <permission android:name="android.permission.LOCATION_HARDWARE"
611        android:permissionGroup="android.permission-group.LOCATION"
612        android:protectionLevel="signature|system" />
613    <uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
614
615    <!-- ======================================= -->
616    <!-- Permissions for accessing networks -->
617    <!-- ======================================= -->
618    <eat-comment />
619
620    <!-- Used for permissions that provide access to networking services.  The
621         main permission here is internet access, but this is also an
622         appropriate group for accessing or modifying any network configuration
623         or other related network operations. -->
624    <permission-group android:name="android.permission-group.NETWORK"
625        android:label="@string/permgrouplab_network"
626        android:icon="@drawable/perm_group_network"
627        android:description="@string/permgroupdesc_network"
628        android:priority="270" />
629
630    <!-- Allows applications to open network sockets. -->
631    <permission android:name="android.permission.INTERNET"
632        android:permissionGroup="android.permission-group.NETWORK"
633        android:protectionLevel="dangerous"
634        android:description="@string/permdesc_createNetworkSockets"
635        android:label="@string/permlab_createNetworkSockets" />
636
637    <!-- Allows applications to access information about networks -->
638    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
639        android:permissionGroup="android.permission-group.NETWORK"
640        android:protectionLevel="normal"
641        android:description="@string/permdesc_accessNetworkState"
642        android:label="@string/permlab_accessNetworkState" />
643
644    <!-- Allows applications to access information about Wi-Fi networks -->
645    <permission android:name="android.permission.ACCESS_WIFI_STATE"
646        android:permissionGroup="android.permission-group.NETWORK"
647        android:protectionLevel="normal"
648        android:description="@string/permdesc_accessWifiState"
649        android:label="@string/permlab_accessWifiState" />
650
651    <!-- Allows applications to change Wi-Fi connectivity state -->
652    <permission android:name="android.permission.CHANGE_WIFI_STATE"
653        android:permissionGroup="android.permission-group.NETWORK"
654        android:protectionLevel="dangerous"
655        android:description="@string/permdesc_changeWifiState"
656        android:label="@string/permlab_changeWifiState" />
657
658    <!-- @hide -->
659    <permission android:name="android.permission.ACCESS_WIMAX_STATE"
660        android:permissionGroup="android.permission-group.NETWORK"
661        android:protectionLevel="normal"
662        android:description="@string/permdesc_accessWimaxState"
663        android:label="@string/permlab_accessWimaxState" />
664
665    <!-- @hide -->
666    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
667        android:permissionGroup="android.permission-group.NETWORK"
668        android:protectionLevel="dangerous"
669        android:description="@string/permdesc_changeWimaxState"
670        android:label="@string/permlab_changeWimaxState" />
671
672    <!-- ======================================= -->
673    <!-- Permissions for short range, peripheral networks -->
674    <!-- ======================================= -->
675    <eat-comment />
676
677    <!-- Used for permissions that provide access to other devices through Bluetooth.-->
678    <permission-group android:name="android.permission-group.BLUETOOTH_NETWORK"
679        android:label="@string/permgrouplab_bluetoothNetwork"
680        android:icon="@drawable/perm_group_bluetooth"
681        android:description="@string/permgroupdesc_bluetoothNetwork"
682        android:priority="260" />
683
684    <!-- Allows applications to connect to paired bluetooth devices -->
685    <permission android:name="android.permission.BLUETOOTH"
686        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
687        android:protectionLevel="dangerous"
688        android:description="@string/permdesc_bluetooth"
689        android:label="@string/permlab_bluetooth" />
690
691    <!-- Allows applications to discover and pair bluetooth devices -->
692    <permission android:name="android.permission.BLUETOOTH_ADMIN"
693        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
694        android:protectionLevel="dangerous"
695        android:description="@string/permdesc_bluetoothAdmin"
696        android:label="@string/permlab_bluetoothAdmin" />
697
698    <!-- Allows bluetooth stack to access files
699         @hide This should only be used by Bluetooth apk.
700    -->
701    <permission android:name="android.permission.BLUETOOTH_STACK"
702        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
703        android:protectionLevel="signature" />
704
705    <!-- Allows applications to perform I/O operations over NFC -->
706    <permission android:name="android.permission.NFC"
707        android:permissionGroup="android.permission-group.NETWORK"
708        android:protectionLevel="dangerous"
709        android:description="@string/permdesc_nfc"
710        android:label="@string/permlab_nfc" />
711
712    <!-- Allows an internal user to use privileged ConnectivityManager APIs.
713        @hide -->
714    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
715        android:permissionGroup="android.permission-group.NETWORK"
716        android:protectionLevel="signature|system" />
717
718    <!-- @hide -->
719    <permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
720        android:permissionGroup="android.permission-group.NETWORK"
721        android:protectionLevel="signature|system" />
722
723    <!-- Allows access to the loop radio (Android@Home mesh network) device.
724	@hide -->
725    <permission android:name="android.permission.LOOP_RADIO"
726	android:permissionGroup="android.permission-group.NETWORK"
727	android:protectionLevel="signature|system" />
728
729    <!-- ================================== -->
730    <!-- Permissions for accessing accounts -->
731    <!-- ================================== -->
732    <eat-comment />
733
734    <!-- Permissions for direct access to the accounts managed
735         by the Account Manager. -->
736    <permission-group android:name="android.permission-group.ACCOUNTS"
737        android:label="@string/permgrouplab_accounts"
738        android:icon="@drawable/perm_group_accounts"
739        android:description="@string/permgroupdesc_accounts"
740        android:permissionGroupFlags="personalInfo"
741        android:priority="200" />
742
743    <!-- Allows access to the list of accounts in the Accounts Service -->
744    <permission android:name="android.permission.GET_ACCOUNTS"
745        android:permissionGroup="android.permission-group.ACCOUNTS"
746        android:protectionLevel="normal"
747        android:description="@string/permdesc_getAccounts"
748        android:label="@string/permlab_getAccounts" />
749
750    <!-- Allows an application to act as an AccountAuthenticator for
751         the AccountManager -->
752    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
753        android:permissionGroup="android.permission-group.ACCOUNTS"
754        android:protectionLevel="dangerous"
755        android:label="@string/permlab_authenticateAccounts"
756        android:description="@string/permdesc_authenticateAccounts" />
757
758    <!-- Allows an application to request authtokens from the AccountManager -->
759    <permission android:name="android.permission.USE_CREDENTIALS"
760        android:permissionGroup="android.permission-group.ACCOUNTS"
761        android:protectionLevel="dangerous"
762        android:label="@string/permlab_useCredentials"
763        android:description="@string/permdesc_useCredentials" />
764
765    <!-- Allows an application to manage the list of accounts in the AccountManager -->
766    <permission android:name="android.permission.MANAGE_ACCOUNTS"
767        android:permissionGroup="android.permission-group.ACCOUNTS"
768        android:protectionLevel="dangerous"
769        android:label="@string/permlab_manageAccounts"
770        android:description="@string/permdesc_manageAccounts" />
771
772    <!-- Allows applications to call into AccountAuthenticators. Only
773         the system can get this permission. -->
774    <permission android:name="android.permission.ACCOUNT_MANAGER"
775        android:permissionGroup="android.permission-group.ACCOUNTS"
776        android:protectionLevel="signature"
777        android:description="@string/permdesc_accountManagerService"
778        android:label="@string/permlab_accountManagerService" />
779
780    <!-- ================================== -->
781    <!-- Permissions for accessing hardware that may effect battery life-->
782    <!-- ================================== -->
783    <eat-comment />
784
785    <!-- Used for permissions that provide direct access to the hardware on
786         the device that has an effect on battery life.  This includes vibrator,
787         flashlight,  etc. -->
788
789    <permission-group android:name="android.permission-group.AFFECTS_BATTERY"
790        android:label="@string/permgrouplab_affectsBattery"
791        android:icon="@drawable/perm_group_affects_battery"
792        android:description="@string/permgroupdesc_affectsBattery"
793        android:priority="180" />
794
795    <!-- Allows applications to enter Wi-Fi Multicast mode -->
796    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
797        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
798        android:protectionLevel="dangerous"
799        android:description="@string/permdesc_changeWifiMulticastState"
800        android:label="@string/permlab_changeWifiMulticastState" />
801
802    <!-- Allows access to the vibrator -->
803    <permission android:name="android.permission.VIBRATE"
804        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
805        android:protectionLevel="normal"
806        android:label="@string/permlab_vibrate"
807        android:description="@string/permdesc_vibrate" />
808
809    <!-- Allows access to the flashlight -->
810    <permission android:name="android.permission.FLASHLIGHT"
811        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
812        android:protectionLevel="normal"
813        android:label="@string/permlab_flashlight"
814        android:description="@string/permdesc_flashlight" />
815
816    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
817         from dimming -->
818    <permission android:name="android.permission.WAKE_LOCK"
819        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
820        android:protectionLevel="normal"
821        android:label="@string/permlab_wakeLock"
822        android:description="@string/permdesc_wakeLock" />
823
824    <!-- ==================================================== -->
825    <!-- Permissions related to changing audio settings   -->
826    <!-- ==================================================== -->
827    <eat-comment />
828
829    <!-- Used for permissions that provide direct access to speaker settings
830         the device. -->
831    <permission-group android:name="android.permission-group.AUDIO_SETTINGS"
832        android:label="@string/permgrouplab_audioSettings"
833        android:icon="@drawable/perm_group_audio_settings"
834        android:description="@string/permgroupdesc_audioSettings"
835        android:priority="130" />
836
837    <!-- Allows an application to modify global audio settings -->
838    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
839        android:permissionGroup="android.permission-group.AUDIO_SETTINGS"
840        android:protectionLevel="normal"
841        android:label="@string/permlab_modifyAudioSettings"
842        android:description="@string/permdesc_modifyAudioSettings" />
843
844    <!-- ================================== -->
845    <!-- Permissions for accessing hardware -->
846    <!-- ================================== -->
847    <eat-comment />
848
849    <!-- Used for permissions that provide direct access to the hardware on
850         the device.  This includes audio, the camera, vibrator, etc. -->
851    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
852        android:label="@string/permgrouplab_hardwareControls"
853        android:description="@string/permgroupdesc_hardwareControls"
854        android:priority="260"/>
855
856    <!-- Allows an application to manage preferences and permissions for USB devices
857         @hide -->
858    <permission android:name="android.permission.MANAGE_USB"
859        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
860        android:protectionLevel="signature|system"
861        android:label="@string/permlab_manageUsb"
862        android:description="@string/permdesc_manageUsb" />
863
864    <!-- Allows an application to access the MTP USB kernel driver.
865         For use only by the device side MTP implementation.
866         @hide -->
867    <permission android:name="android.permission.ACCESS_MTP"
868        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
869        android:protectionLevel="signature|system"
870        android:label="@string/permlab_accessMtp"
871        android:description="@string/permdesc_accessMtp" />
872
873    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
874    <permission android:name="android.permission.HARDWARE_TEST"
875        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
876        android:protectionLevel="signature"
877        android:label="@string/permlab_hardware_test"
878        android:description="@string/permdesc_hardware_test" />
879
880    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
881         @hide -->
882    <permission android:name="android.permission.NET_ADMIN"
883        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
884        android:protectionLevel="signature" />
885
886    <!-- Allows registration for remote audio playback. @hide -->
887    <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
888        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
889        android:protectionLevel="signature" />
890
891    <!-- =========================================== -->
892    <!-- Permissions associated with audio capture -->
893    <!-- =========================================== -->
894    <eat-comment />
895
896    <!-- Used for permissions that are associated with accessing
897         microphone audio from the device. Note that phone calls also capture audio
898         but are in a separate (more visible) permission group. -->
899    <permission-group android:name="android.permission-group.MICROPHONE"
900        android:label="@string/permgrouplab_microphone"
901        android:icon="@drawable/perm_group_microphone"
902        android:description="@string/permgroupdesc_microphone"
903        android:permissionGroupFlags="personalInfo"
904        android:priority="340" />
905
906    <!-- Allows an application to record audio -->
907    <permission android:name="android.permission.RECORD_AUDIO"
908        android:permissionGroup="android.permission-group.MICROPHONE"
909        android:protectionLevel="dangerous"
910        android:label="@string/permlab_recordAudio"
911        android:description="@string/permdesc_recordAudio" />
912
913
914    <!-- =========================================== -->
915    <!-- Permissions associated with camera and image capture -->
916    <!-- =========================================== -->
917    <eat-comment />
918
919    <!-- Used for permissions that are associated with accessing
920         camera or capturing images/video from the device. -->
921    <permission-group android:name="android.permission-group.CAMERA"
922        android:label="@string/permgrouplab_camera"
923        android:icon="@drawable/perm_group_camera"
924        android:description="@string/permgroupdesc_camera"
925        android:permissionGroupFlags="personalInfo"
926        android:priority="350" />
927
928    <!-- Required to be able to access the camera device.
929         <p>This will automatically enforce the <a
930         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
931         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
932         If you do not require all camera features or can properly operate if a camera
933         is not available, then you must modify your manifest as appropriate in order to
934         install on devices that don't support all camera features.</p> -->
935    <permission android:name="android.permission.CAMERA"
936        android:permissionGroup="android.permission-group.CAMERA"
937        android:protectionLevel="dangerous"
938        android:label="@string/permlab_camera"
939        android:description="@string/permdesc_camera" />
940
941    <!-- Allows disabling the transmit-indicator LED that is normally on when
942         a camera is in use by an application.
943         @hide -->
944    <permission android:name="android.permission.CAMERA_DISABLE_TRANSMIT_LED"
945        android:permissionGroup="android.permission-group.CAMERA"
946        android:protectionLevel="signature|system"
947        android:label="@string/permlab_cameraDisableTransmitLed"
948        android:description="@string/permdesc_cameraDisableTransmitLed" />
949
950    <!-- =========================================== -->
951    <!-- Permissions associated with telephony state -->
952    <!-- =========================================== -->
953    <eat-comment />
954
955    <!-- Used for permissions that are associated with accessing and modifyign
956         telephony state: placing calls, intercepting outgoing calls, reading
957         and modifying the phone state. -->
958    <permission-group android:name="android.permission-group.PHONE_CALLS"
959        android:label="@string/permgrouplab_phoneCalls"
960        android:icon="@drawable/perm_group_phone_calls"
961        android:description="@string/permgroupdesc_phoneCalls"
962        android:permissionGroupFlags="personalInfo"
963        android:priority="370" />
964
965    <!-- Allows an application to monitor, modify, or abort outgoing
966         calls. -->
967    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
968        android:permissionGroup="android.permission-group.PHONE_CALLS"
969        android:protectionLevel="dangerous"
970        android:label="@string/permlab_processOutgoingCalls"
971        android:description="@string/permdesc_processOutgoingCalls" />
972
973    <!-- Allows modification of the telephony state - power on, mmi, etc.
974         Does not include placing calls. -->
975    <permission android:name="android.permission.MODIFY_PHONE_STATE"
976        android:permissionGroup="android.permission-group.PHONE_CALLS"
977        android:protectionLevel="signature|system"
978        android:label="@string/permlab_modifyPhoneState"
979        android:description="@string/permdesc_modifyPhoneState" />
980
981    <!-- Allows read only access to phone state.
982         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
983         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
984         minSdkVersion}</a> and <a
985         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
986         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
987         grants your app this permission. If you don't need this permission, be sure your <a
988         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
989         targetSdkVersion}</a> is 4 or higher. -->
990    <permission android:name="android.permission.READ_PHONE_STATE"
991        android:permissionGroup="android.permission-group.PHONE_CALLS"
992        android:protectionLevel="dangerous"
993        android:label="@string/permlab_readPhoneState"
994        android:description="@string/permdesc_readPhoneState" />
995
996    <!-- Allows read access to privileged phone state.
997         @hide Used internally. -->
998    <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
999        android:permissionGroup="android.permission-group.PHONE_CALLS"
1000        android:protectionLevel="signature|system" />
1001
1002     <!-- Allows an application to initiate a phone call without going through
1003         the Dialer user interface for the user to confirm the call
1004         being placed. -->
1005    <permission android:name="android.permission.CALL_PHONE"
1006        android:permissionGroup="android.permission-group.PHONE_CALLS"
1007        android:protectionLevel="dangerous"
1008        android:permissionFlags="costsMoney"
1009        android:label="@string/permlab_callPhone"
1010        android:description="@string/permdesc_callPhone" />
1011
1012    <!-- Allows an application to use SIP service -->
1013    <permission android:name="android.permission.USE_SIP"
1014        android:permissionGroup="android.permission-group.PHONE_CALLS"
1015        android:protectionLevel="dangerous"
1016        android:description="@string/permdesc_use_sip"
1017        android:label="@string/permlab_use_sip" />
1018
1019    <!-- ================================== -->
1020    <!-- Permissions for sdcard interaction -->
1021    <!-- ================================== -->
1022    <eat-comment />
1023
1024    <!-- Group of permissions that are related to SD card access. -->
1025    <permission-group android:name="android.permission-group.STORAGE"
1026        android:label="@string/permgrouplab_storage"
1027        android:icon="@drawable/perm_group_storage"
1028        android:description="@string/permgroupdesc_storage"
1029        android:permissionGroupFlags="personalInfo"
1030        android:priority="240" />
1031
1032    <!-- Allows an application to read from external storage.
1033         <p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
1034         granted this permission.</p>
1035         <p>Currently, this permission is not enforced and all apps still have access to read from
1036         external storage without this permission. That will change in a future release and apps
1037         will require this permission to read from external storage. So if your
1038         app reads from the external storage, you should add this permission to your app now
1039         to ensure that it continues to work on future versions of Android.</p>
1040         <p>You can test your app with the permission enforced by either running your app on the
1041         Android Emulator when running Android 4.1 or higher, or enabling <em>Protect USB
1042         storage</em> under Developer options in the Settings app on a device running Android 4.1 or
1043         higher.</p>
1044         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1045         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1046         minSdkVersion}</a> and <a
1047         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1048         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1049         grants your app this permission. If you don't need this permission, be sure your <a
1050         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1051         targetSdkVersion}</a> is 4 or higher.-->
1052    <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
1053        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1054        android:label="@string/permlab_sdcardRead"
1055        android:description="@string/permdesc_sdcardRead"
1056        android:protectionLevel="normal" />
1057
1058    <!-- Allows an application to write to external storage.
1059         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1060         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1061         minSdkVersion}</a> and <a
1062         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1063         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1064         grants your app this permission. If you don't need this permission, be sure your <a
1065         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1066         targetSdkVersion}</a> is 4 or higher. -->
1067    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
1068        android:permissionGroup="android.permission-group.STORAGE"
1069        android:label="@string/permlab_sdcardWrite"
1070        android:description="@string/permdesc_sdcardWrite"
1071        android:protectionLevel="dangerous" />
1072
1073    <!-- Allows an application to write to internal media storage
1074         @hide  -->
1075    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
1076        android:permissionGroup="android.permission-group.STORAGE"
1077        android:label="@string/permlab_mediaStorageWrite"
1078        android:description="@string/permdesc_mediaStorageWrite"
1079        android:protectionLevel="signature|system" />
1080
1081    <!-- Allows an application to manage access to documents, usually as part
1082         of a document picker. -->
1083    <permission android:name="android.permission.MANAGE_DOCUMENTS"
1084        android:permissionGroup="android.permission-group.STORAGE"
1085        android:label="@string/permlab_manageDocs"
1086        android:description="@string/permdesc_manageDocs"
1087        android:protectionLevel="signature|system" />
1088
1089    <!-- ================================== -->
1090    <!-- Permissions for screenlock         -->
1091    <!-- ================================== -->
1092    <eat-comment />
1093
1094    <!-- Group of permissions that are related to the screenlock. -->
1095    <permission-group android:name="android.permission-group.SCREENLOCK"
1096        android:label="@string/permgrouplab_screenlock"
1097        android:icon="@drawable/perm_group_screenlock"
1098        android:permissionGroupFlags="personalInfo"
1099        android:description="@string/permgroupdesc_screenlock"
1100        android:priority="230" />
1101
1102    <!-- Allows applications to disable the keyguard -->
1103    <permission android:name="android.permission.DISABLE_KEYGUARD"
1104        android:permissionGroup="android.permission-group.SCREENLOCK"
1105        android:protectionLevel="dangerous"
1106        android:description="@string/permdesc_disableKeyguard"
1107        android:label="@string/permlab_disableKeyguard" />
1108
1109    <!-- ================================== -->
1110    <!-- Permissions to access other installed applications  -->
1111    <!-- ================================== -->
1112    <eat-comment />
1113
1114    <!-- Group of permissions that are related to the other applications
1115         installed on the system.  Examples include such as listing
1116         running apps, or killing background processes. -->
1117    <permission-group android:name="android.permission-group.APP_INFO"
1118        android:label="@string/permgrouplab_appInfo"
1119        android:icon="@drawable/perm_group_app_info"
1120        android:description="@string/permgroupdesc_appInfo"
1121        android:priority="220" />
1122
1123    <!-- Allows an application to get information about the currently
1124         or recently running tasks. -->
1125    <permission android:name="android.permission.GET_TASKS"
1126        android:permissionGroup="android.permission-group.APP_INFO"
1127        android:protectionLevel="dangerous"
1128        android:label="@string/permlab_getTasks"
1129        android:description="@string/permdesc_getTasks" />
1130    <!-- @hide Allows an application to call APIs that allow it to do interactions
1131         across the users on the device, using singleton services and
1132         user-targeted broadcasts.  This permission is not available to
1133         third party applications. -->
1134    <permission android:name="android.permission.INTERACT_ACROSS_USERS"
1135        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1136        android:protectionLevel="signature|system|development"
1137        android:label="@string/permlab_interactAcrossUsers"
1138        android:description="@string/permdesc_interactAcrossUsers" />
1139
1140    <!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
1141         that removes restrictions on where broadcasts can be sent and allows other
1142         types of interactions. -->
1143    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
1144        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1145        android:protectionLevel="signature"
1146        android:label="@string/permlab_interactAcrossUsersFull"
1147        android:description="@string/permdesc_interactAcrossUsersFull" />
1148
1149    <!-- @hide Allows an application to call APIs that allow it to query and manage
1150         users on the device. This permission is not available to
1151         third party applications. -->
1152    <permission android:name="android.permission.MANAGE_USERS"
1153        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1154        android:protectionLevel="signature|system"
1155        android:label="@string/permlab_manageUsers"
1156        android:description="@string/permdesc_manageUsers" />
1157
1158    <!-- Allows an application to get full detailed information about
1159         recently running tasks, with full fidelity to the real state.
1160         @hide -->
1161    <permission android:name="android.permission.GET_DETAILED_TASKS"
1162        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1163        android:protectionLevel="signature"
1164        android:label="@string/permlab_getDetailedTasks"
1165        android:description="@string/permdesc_getDetailedTasks" />
1166
1167    <!-- Allows an application to change the Z-order of tasks -->
1168    <permission android:name="android.permission.REORDER_TASKS"
1169        android:permissionGroup="android.permission-group.APP_INFO"
1170        android:protectionLevel="normal"
1171        android:label="@string/permlab_reorderTasks"
1172        android:description="@string/permdesc_reorderTasks" />
1173
1174    <!-- @hide Allows an application to change to remove/kill tasks -->
1175    <permission android:name="android.permission.REMOVE_TASKS"
1176        android:permissionGroup="android.permission-group.APP_INFO"
1177        android:protectionLevel="signature"
1178        android:label="@string/permlab_removeTasks"
1179        android:description="@string/permdesc_removeTasks" />
1180
1181    <!-- Allows an application to start any activity, regardless of permission
1182         protection or exported state. @hide -->
1183    <permission android:name="android.permission.START_ANY_ACTIVITY"
1184        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1185        android:protectionLevel="signature"
1186        android:label="@string/permlab_startAnyActivity"
1187        android:description="@string/permdesc_startAnyActivity" />
1188
1189    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
1190        API is no longer supported. -->
1191    <permission android:name="android.permission.RESTART_PACKAGES"
1192        android:permissionGroup="android.permission-group.APP_INFO"
1193        android:protectionLevel="normal"
1194        android:label="@string/permlab_killBackgroundProcesses"
1195        android:description="@string/permdesc_killBackgroundProcesses" />
1196
1197    <!-- Allows an application to call
1198        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
1199    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
1200        android:permissionGroup="android.permission-group.APP_INFO"
1201        android:protectionLevel="normal"
1202        android:label="@string/permlab_killBackgroundProcesses"
1203        android:description="@string/permdesc_killBackgroundProcesses" />
1204
1205    <!-- ================================== -->
1206    <!-- Permissions affecting the display of other applications  -->
1207    <!-- ================================== -->
1208    <eat-comment />
1209
1210    <!-- Group of permissions that allow manipulation of how
1211         another application displays UI to the user. -->
1212    <permission-group android:name="android.permission-group.DISPLAY"
1213        android:label="@string/permgrouplab_display"
1214        android:icon="@drawable/perm_group_display"
1215        android:description="@string/permgroupdesc_display"
1216        android:priority="190"/>
1217
1218    <!-- Allows an application to open windows using the type
1219         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
1220         shown on top of all other applications.  Very few applications
1221         should use this permission; these windows are intended for
1222         system-level interaction with the user. -->
1223    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
1224        android:permissionGroup="android.permission-group.DISPLAY"
1225        android:protectionLevel="dangerous"
1226        android:label="@string/permlab_systemAlertWindow"
1227        android:description="@string/permdesc_systemAlertWindow" />
1228
1229    <!-- ================================== -->
1230    <!-- Permissions affecting the system wallpaper -->
1231    <!-- ================================== -->
1232    <eat-comment />
1233
1234    <!-- Group of permissions that allow manipulation of how
1235         another application displays UI to the user. -->
1236    <permission-group android:name="android.permission-group.WALLPAPER"
1237        android:label="@string/permgrouplab_wallpaper"
1238        android:icon="@drawable/perm_group_wallpaper"
1239        android:description="@string/permgroupdesc_wallpaper"
1240        android:priority="150" />
1241
1242    <!-- Allows applications to set the wallpaper -->
1243    <permission android:name="android.permission.SET_WALLPAPER"
1244        android:permissionGroup="android.permission-group.WALLPAPER"
1245        android:protectionLevel="normal"
1246        android:label="@string/permlab_setWallpaper"
1247        android:description="@string/permdesc_setWallpaper" />
1248
1249    <!-- Allows applications to set the wallpaper hints -->
1250    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
1251        android:permissionGroup="android.permission-group.WALLPAPER"
1252        android:protectionLevel="normal"
1253        android:label="@string/permlab_setWallpaperHints"
1254        android:description="@string/permdesc_setWallpaperHints" />
1255
1256    <!-- ============================================ -->
1257    <!-- Permissions for changing the system clock -->
1258    <!-- ============================================ -->
1259    <eat-comment />
1260
1261    <!-- Group of permissions that are related to system clock. -->
1262    <permission-group android:name="android.permission-group.SYSTEM_CLOCK"
1263        android:label="@string/permgrouplab_systemClock"
1264        android:icon="@drawable/perm_group_system_clock"
1265        android:description="@string/permgroupdesc_systemClock"
1266        android:priority="140" />
1267
1268    <!-- Allows applications to set the system time -->
1269    <permission android:name="android.permission.SET_TIME"
1270        android:protectionLevel="signature|system"
1271        android:label="@string/permlab_setTime"
1272        android:description="@string/permdesc_setTime" />
1273
1274    <!-- Allows applications to set the system time zone -->
1275    <permission android:name="android.permission.SET_TIME_ZONE"
1276        android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
1277        android:protectionLevel="normal"
1278        android:label="@string/permlab_setTimeZone"
1279        android:description="@string/permdesc_setTimeZone" />
1280
1281    <!-- ==================================================== -->
1282    <!-- Permissions related to changing status bar   -->
1283    <!-- ==================================================== -->
1284    <eat-comment />
1285
1286    <!-- Used for permissions that change the status bar -->
1287    <permission-group android:name="android.permission-group.STATUS_BAR"
1288        android:label="@string/permgrouplab_statusBar"
1289        android:icon="@drawable/perm_group_status_bar"
1290        android:description="@string/permgroupdesc_statusBar"
1291        android:priority="110" />
1292
1293    <!-- Allows an application to expand or collapse the status bar. -->
1294    <permission android:name="android.permission.EXPAND_STATUS_BAR"
1295        android:permissionGroup="android.permission-group.STATUS_BAR"
1296        android:protectionLevel="normal"
1297        android:label="@string/permlab_expandStatusBar"
1298        android:description="@string/permdesc_expandStatusBar" />
1299
1300    <!-- ==================================================== -->
1301    <!-- Permissions related to accessing sync settings   -->
1302    <!-- ==================================================== -->
1303    <eat-comment />
1304
1305    <!-- Used for permissions that access the sync settings or sync
1306         related information. -->
1307    <permission-group android:name="android.permission-group.SYNC_SETTINGS"
1308        android:label="@string/permgrouplab_syncSettings"
1309        android:icon="@drawable/perm_group_sync_settings"
1310        android:description="@string/permgroupdesc_syncSettings"
1311        android:priority="120" />
1312
1313    <!-- Allows applications to read the sync settings -->
1314    <permission android:name="android.permission.READ_SYNC_SETTINGS"
1315        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1316        android:protectionLevel="normal"
1317        android:description="@string/permdesc_readSyncSettings"
1318        android:label="@string/permlab_readSyncSettings" />
1319
1320    <!-- Allows applications to write the sync settings -->
1321    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
1322        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1323        android:protectionLevel="normal"
1324        android:description="@string/permdesc_writeSyncSettings"
1325        android:label="@string/permlab_writeSyncSettings" />
1326
1327    <!-- Allows applications to read the sync stats -->
1328    <permission android:name="android.permission.READ_SYNC_STATS"
1329        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1330        android:protectionLevel="normal"
1331        android:description="@string/permdesc_readSyncStats"
1332        android:label="@string/permlab_readSyncStats" />
1333
1334
1335    <!-- ============================================ -->
1336    <!-- Permissions for low-level system interaction -->
1337    <!-- ============================================ -->
1338    <eat-comment />
1339
1340    <!-- Group of permissions that are related to system APIs.  Many
1341         of these are not permissions the user will be expected to understand,
1342         and such permissions should generally be marked as "normal" protection
1343         level so they don't get displayed.  This can also, however, be used
1344         for miscellaneous features that provide access to the operating system,
1345         such as writing the global system settings. -->
1346    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
1347        android:label="@string/permgrouplab_systemTools"
1348        android:icon="@drawable/perm_group_system_tools"
1349        android:description="@string/permgroupdesc_systemTools"
1350        android:priority="100" />
1351
1352    <!-- @hide Change the screen compatibility mode of applications -->
1353    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1354        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1355        android:protectionLevel="signature"
1356        android:label="@string/permlab_setScreenCompatibility"
1357        android:description="@string/permdesc_setScreenCompatibility" />
1358
1359    <!-- Allows an application to access all multi-user external storage @hide -->
1360    <permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"
1361        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1362        android:label="@string/permlab_sdcardAccessAll"
1363        android:description="@string/permdesc_sdcardAccessAll"
1364        android:protectionLevel="signature" />
1365
1366    <!-- Allows an application to modify the current configuration, such
1367         as locale. -->
1368    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1369        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1370        android:protectionLevel="signature|system|development"
1371        android:label="@string/permlab_changeConfiguration"
1372        android:description="@string/permdesc_changeConfiguration" />
1373
1374    <!-- Allows an application to read or write the system settings. -->
1375    <permission android:name="android.permission.WRITE_SETTINGS"
1376        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1377        android:protectionLevel="normal"
1378        android:label="@string/permlab_writeSettings"
1379        android:description="@string/permdesc_writeSettings" />
1380
1381    <!-- Allows an application to modify the Google service map. -->
1382    <permission android:name="android.permission.WRITE_GSERVICES"
1383        android:protectionLevel="signature|system"
1384        android:label="@string/permlab_writeGservices"
1385        android:description="@string/permdesc_writeGservices" />
1386
1387    <!-- Allows an application to call
1388        {@link android.app.ActivityManager#forceStopPackage}.
1389        @hide -->
1390    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
1391        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1392        android:protectionLevel="signature"
1393        android:label="@string/permlab_forceStopPackages"
1394        android:description="@string/permdesc_forceStopPackages" />
1395
1396    <!-- @hide Allows an application to retrieve the content of the active window
1397         An active window is the window that has fired an accessibility event. -->
1398    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
1399        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1400        android:protectionLevel="signature|system"
1401        android:label="@string/permlab_retrieve_window_content"
1402        android:description="@string/permdesc_retrieve_window_content" />
1403
1404    <!-- Modify the global animation scaling factor. -->
1405    <permission android:name="android.permission.SET_ANIMATION_SCALE"
1406        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1407        android:protectionLevel="signature|system|development"
1408        android:label="@string/permlab_setAnimationScale"
1409        android:description="@string/permdesc_setAnimationScale" />
1410
1411    <!-- @deprecated This functionality will be removed in the future; please do
1412         not use. Allow an application to make its activities persistent. -->
1413    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
1414        android:permissionGroup="android.permission-group.APP_INFO"
1415        android:protectionLevel="normal"
1416        android:label="@string/permlab_persistentActivity"
1417        android:description="@string/permdesc_persistentActivity" />
1418
1419    <!-- Allows an application to find out the space used by any package. -->
1420    <permission android:name="android.permission.GET_PACKAGE_SIZE"
1421        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1422        android:protectionLevel="normal"
1423        android:label="@string/permlab_getPackageSize"
1424        android:description="@string/permdesc_getPackageSize" />
1425
1426    <!-- @deprecated No longer useful, see
1427         {@link android.content.pm.PackageManager#addPackageToPreferred}
1428         for details. -->
1429    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
1430        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1431        android:protectionLevel="signature"
1432        android:label="@string/permlab_setPreferredApplications"
1433        android:description="@string/permdesc_setPreferredApplications" />
1434
1435    <!-- Allows an application to receive the
1436         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
1437         broadcast after the system finishes booting.  If you don't
1438         request this permission, you will not receive the broadcast at
1439         that time.  Though holding this permission does not have any
1440         security implications, it can have a negative impact on the
1441         user experience by increasing the amount of time it takes the
1442         system to start and allowing applications to have themselves
1443         running without the user being aware of them.  As such, you must
1444         explicitly declare your use of this facility to make that visible
1445         to the user. -->
1446    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
1447        android:permissionGroup="android.permission-group.APP_INFO"
1448        android:protectionLevel="normal"
1449        android:label="@string/permlab_receiveBootCompleted"
1450        android:description="@string/permdesc_receiveBootCompleted" />
1451
1452    <!-- Allows an application to broadcast sticky intents.  These are
1453         broadcasts whose data is held by the system after being finished,
1454         so that clients can quickly retrieve that data without having
1455         to wait for the next broadcast. -->
1456    <permission android:name="android.permission.BROADCAST_STICKY"
1457        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1458        android:protectionLevel="normal"
1459        android:label="@string/permlab_broadcastSticky"
1460        android:description="@string/permdesc_broadcastSticky" />
1461
1462    <!-- Allows mounting and unmounting file systems for removable storage. -->
1463    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
1464        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1465        android:protectionLevel="system|signature"
1466        android:label="@string/permlab_mount_unmount_filesystems"
1467        android:description="@string/permdesc_mount_unmount_filesystems" />
1468
1469    <!-- Allows formatting file systems for removable storage. -->
1470    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
1471        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1472        android:protectionLevel="system|signature"
1473        android:label="@string/permlab_mount_format_filesystems"
1474        android:description="@string/permdesc_mount_format_filesystems" />
1475
1476    <!-- Allows access to ASEC non-destructive API calls
1477         @hide  -->
1478    <permission android:name="android.permission.ASEC_ACCESS"
1479        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1480        android:protectionLevel="signature"
1481        android:label="@string/permlab_asec_access"
1482        android:description="@string/permdesc_asec_access" />
1483
1484    <!-- Allows creation of ASEC volumes
1485         @hide  -->
1486    <permission android:name="android.permission.ASEC_CREATE"
1487        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1488        android:protectionLevel="signature"
1489        android:label="@string/permlab_asec_create"
1490        android:description="@string/permdesc_asec_create" />
1491
1492    <!-- Allows destruction of ASEC volumes
1493         @hide  -->
1494    <permission android:name="android.permission.ASEC_DESTROY"
1495        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1496        android:protectionLevel="signature"
1497        android:label="@string/permlab_asec_destroy"
1498        android:description="@string/permdesc_asec_destroy" />
1499
1500    <!-- Allows mount / unmount of ASEC volumes
1501         @hide  -->
1502    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
1503        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1504        android:protectionLevel="signature"
1505        android:label="@string/permlab_asec_mount_unmount"
1506        android:description="@string/permdesc_asec_mount_unmount" />
1507
1508    <!-- Allows rename of ASEC volumes
1509         @hide  -->
1510    <permission android:name="android.permission.ASEC_RENAME"
1511        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1512        android:protectionLevel="signature"
1513        android:label="@string/permlab_asec_rename"
1514        android:description="@string/permdesc_asec_rename" />
1515
1516    <!-- Allows applications to write the apn settings -->
1517    <permission android:name="android.permission.WRITE_APN_SETTINGS"
1518                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1519                android:protectionLevel="signature|system"
1520                android:description="@string/permdesc_writeApnSettings"
1521                android:label="@string/permlab_writeApnSettings" />
1522
1523    <!-- Allows an application to allow access the subscribed feeds
1524         ContentProvider. -->
1525    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1526        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1527        android:label="@string/permlab_subscribedFeedsRead"
1528        android:description="@string/permdesc_subscribedFeedsRead"
1529        android:protectionLevel="normal" />
1530    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1531        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1532        android:label="@string/permlab_subscribedFeedsWrite"
1533        android:description="@string/permdesc_subscribedFeedsWrite"
1534        android:protectionLevel="dangerous" />
1535
1536    <!-- Allows applications to change network connectivity state -->
1537    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
1538        android:permissionGroup="android.permission-group.NETWORK"
1539        android:protectionLevel="normal"
1540        android:description="@string/permdesc_changeNetworkState"
1541        android:label="@string/permlab_changeNetworkState" />
1542
1543    <!-- Allows an application to clear the caches of all installed
1544         applications on the device.  -->
1545    <permission android:name="android.permission.CLEAR_APP_CACHE"
1546        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1547        android:protectionLevel="dangerous"
1548        android:label="@string/permlab_clearAppCache"
1549        android:description="@string/permdesc_clearAppCache" />
1550
1551    <!-- Allows an application to use any media decoder when decoding for playback
1552         @hide -->
1553    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
1554        android:protectionLevel="signature|system"
1555        android:label="@string/permlab_anyCodecForPlayback"
1556        android:description="@string/permdesc_anyCodecForPlayback" />
1557
1558    <!-- ========================================= -->
1559    <!-- Permissions for special development tools -->
1560    <!-- ========================================= -->
1561    <eat-comment />
1562
1563    <!-- Group of permissions that are related to development features.  These
1564         are not permissions that should appear in normal applications; they
1565         protect APIs that are intended only to be used for development
1566         purposes. -->
1567    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
1568        android:label="@string/permgrouplab_developmentTools"
1569        android:description="@string/permgroupdesc_developmentTools"
1570        android:priority="310" />
1571
1572    <!-- Allows an application to read or write the secure system settings. -->
1573    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
1574        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1575        android:protectionLevel="signature|system|development"
1576        android:label="@string/permlab_writeSecureSettings"
1577        android:description="@string/permdesc_writeSecureSettings" />
1578
1579    <!-- Allows an application to retrieve state dump information from system
1580         services. -->
1581    <permission android:name="android.permission.DUMP"
1582        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1583        android:protectionLevel="signature|system|development"
1584        android:label="@string/permlab_dump"
1585        android:description="@string/permdesc_dump" />
1586
1587    <!-- Allows an application to read the low-level system log files.
1588         Log entries can contain the user's private information,
1589         which is why this permission is not available to normal apps. -->
1590    <permission android:name="android.permission.READ_LOGS"
1591        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1592        android:protectionLevel="signature|system|development"
1593        android:label="@string/permlab_readLogs"
1594        android:description="@string/permdesc_readLogs" />
1595
1596    <!-- Configure an application for debugging. -->
1597    <permission android:name="android.permission.SET_DEBUG_APP"
1598        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1599        android:protectionLevel="signature|system|development"
1600        android:label="@string/permlab_setDebugApp"
1601        android:description="@string/permdesc_setDebugApp" />
1602
1603    <!-- Allows an application to set the maximum number of (not needed)
1604         application processes that can be running. -->
1605    <permission android:name="android.permission.SET_PROCESS_LIMIT"
1606        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1607        android:protectionLevel="signature|system|development"
1608        android:label="@string/permlab_setProcessLimit"
1609        android:description="@string/permdesc_setProcessLimit" />
1610
1611    <!-- Allows an application to control whether activities are immediately
1612         finished when put in the background. -->
1613    <permission android:name="android.permission.SET_ALWAYS_FINISH"
1614        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1615        android:protectionLevel="signature|system|development"
1616        android:label="@string/permlab_setAlwaysFinish"
1617        android:description="@string/permdesc_setAlwaysFinish" />
1618
1619    <!-- Allow an application to request that a signal be sent to all persistent processes -->
1620    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1621        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1622        android:protectionLevel="signature|system|development"
1623        android:label="@string/permlab_signalPersistentProcesses"
1624        android:description="@string/permdesc_signalPersistentProcesses" />
1625
1626    <!-- ==================================== -->
1627    <!-- Private (signature-only) permissions -->
1628    <!-- ==================================== -->
1629    <eat-comment />
1630
1631    <!-- Allows applications to RW to diagnostic resources. -->
1632    <permission android:name="android.permission.DIAGNOSTIC"
1633        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1634        android:protectionLevel="signature"
1635        android:description="@string/permdesc_diagnostic"
1636        android:label="@string/permlab_diagnostic" />
1637
1638    <!-- Allows an application to open, close, or disable the status bar
1639         and its icons. -->
1640    <permission android:name="android.permission.STATUS_BAR"
1641        android:label="@string/permlab_statusBar"
1642        android:description="@string/permdesc_statusBar"
1643        android:protectionLevel="signature|system" />
1644
1645    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
1646    @hide -->
1647    <permission android:name="android.permission.STATUS_BAR_SERVICE"
1648        android:label="@string/permlab_statusBarService"
1649        android:description="@string/permdesc_statusBarService"
1650        android:protectionLevel="signature" />
1651
1652    <!-- Allows an application to force a BACK operation on whatever is the
1653         top activity. -->
1654    <permission android:name="android.permission.FORCE_BACK"
1655        android:label="@string/permlab_forceBack"
1656        android:description="@string/permdesc_forceBack"
1657        android:protectionLevel="signature" />
1658
1659    <!-- Allows an application to update device statistics. Not for
1660         use by third party apps. -->
1661    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
1662        android:label="@string/permlab_updateBatteryStats"
1663        android:description="@string/permdesc_updateBatteryStats"
1664        android:protectionLevel="signature|system" />
1665
1666    <!-- @hide Allows an application to collect battery statistics -->
1667    <permission android:name="android.permission.GET_APP_OPS_STATS"
1668        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1669        android:label="@string/permlab_getAppOpsStats"
1670        android:description="@string/permdesc_getAppOpsStats"
1671        android:protectionLevel="signature|system|development" />
1672
1673    <!-- Allows an application to update application operation statistics. Not for
1674         use by third party apps. @hide -->
1675    <permission android:name="android.permission.UPDATE_APP_OPS_STATS"
1676        android:label="@string/permlab_updateAppOpsStats"
1677        android:description="@string/permdesc_updateAppOpsStats"
1678        android:protectionLevel="signature|system" />
1679
1680    <!-- Allows an application to open windows that are for use by parts
1681         of the system user interface.  Not for use by third party apps. -->
1682    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
1683        android:label="@string/permlab_internalSystemWindow"
1684        android:description="@string/permdesc_internalSystemWindow"
1685        android:protectionLevel="signature" />
1686
1687    <!-- Allows an application to manage (create, destroy,
1688         Z-order) application tokens in the window manager.  This is only
1689         for use by the system. -->
1690    <permission android:name="android.permission.MANAGE_APP_TOKENS"
1691        android:label="@string/permlab_manageAppTokens"
1692        android:description="@string/permdesc_manageAppTokens"
1693        android:protectionLevel="signature" />
1694
1695    <!-- @hide Allows the application to temporarily freeze the screen for a
1696         full-screen transition. -->
1697    <permission android:name="android.permission.FREEZE_SCREEN"
1698        android:label="@string/permlab_freezeScreen"
1699        android:description="@string/permdesc_freezeScreen"
1700        android:protectionLevel="signature" />
1701
1702    <!-- Allows an application to inject user events (keys, touch, trackball)
1703         into the event stream and deliver them to ANY window.  Without this
1704         permission, you can only deliver events to windows in your own process.
1705         Very few applications should need to use this permission. -->
1706    <permission android:name="android.permission.INJECT_EVENTS"
1707        android:label="@string/permlab_injectEvents"
1708        android:description="@string/permdesc_injectEvents"
1709        android:protectionLevel="signature" />
1710
1711    <!-- @hide Allows an application to register an input filter which filters the stream
1712         of user events (keys, touch, trackball) before they are dispatched to any window. -->
1713    <permission android:name="android.permission.FILTER_EVENTS"
1714        android:label="@string/permlab_filter_events"
1715        android:description="@string/permdesc_filter_events"
1716        android:protectionLevel="signature" />
1717
1718    <!-- @hide Allows an application to retrieve info for a window from the window manager. -->
1719    <permission android:name="android.permission.RETRIEVE_WINDOW_INFO"
1720        android:label="@string/permlab_retrieve_window_info"
1721        android:description="@string/permdesc_retrieve_window_info"
1722        android:protectionLevel="signature" />
1723
1724    <!-- @hide Allows an application to temporary enable accessibility on the device. -->
1725    <permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
1726        android:label="@string/permlab_temporary_enable_accessibility"
1727        android:description="@string/permdesc_temporary_enable_accessibility"
1728        android:protectionLevel="signature" />
1729
1730    <!-- @hide Allows an application to magnify the content of a display. -->
1731    <permission android:name="android.permission.MAGNIFY_DISPLAY"
1732        android:label="@string/permlab_magnify_display"
1733        android:description="@string/permdesc_magnify_display"
1734        android:protectionLevel="signature" />
1735
1736    <!-- Allows an application to watch and control how activities are
1737         started globally in the system.  Only for is in debugging
1738         (usually the monkey command). -->
1739    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1740        android:label="@string/permlab_runSetActivityWatcher"
1741        android:description="@string/permdesc_runSetActivityWatcher"
1742        android:protectionLevel="signature" />
1743
1744    <!-- Allows an application to call the activity manager shutdown() API
1745         to put the higher-level system there into a shutdown state.
1746         @hide -->
1747    <permission android:name="android.permission.SHUTDOWN"
1748        android:label="@string/permlab_shutdown"
1749        android:description="@string/permdesc_shutdown"
1750        android:protectionLevel="signature|system" />
1751
1752    <!-- Allows an application to tell the activity manager to temporarily
1753         stop application switches, putting it into a special mode that
1754         prevents applications from immediately switching away from some
1755         critical UI such as the home screen.
1756         @hide -->
1757    <permission android:name="android.permission.STOP_APP_SWITCHES"
1758        android:label="@string/permlab_stopAppSwitches"
1759        android:description="@string/permdesc_stopAppSwitches"
1760        android:protectionLevel="signature|system" />
1761
1762    <!-- Allows an application to retrieve private information about
1763         the current top activity, such as any assist context it can provide. -->
1764    <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
1765        android:label="@string/permlab_getTopActivityInfo"
1766        android:description="@string/permdesc_getTopActivityInfo"
1767        android:protectionLevel="signature" />
1768
1769    <!-- Allows an application to retrieve the current state of keys and
1770         switches.  This is only for use by the system.
1771         @deprecated The API that used this permission has been removed. -->
1772    <permission android:name="android.permission.READ_INPUT_STATE"
1773        android:label="@string/permlab_readInputState"
1774        android:description="@string/permdesc_readInputState"
1775        android:protectionLevel="signature" />
1776
1777    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1778         to ensure that only the system can bind to it. -->
1779    <permission android:name="android.permission.BIND_INPUT_METHOD"
1780        android:label="@string/permlab_bindInputMethod"
1781        android:description="@string/permdesc_bindInputMethod"
1782        android:protectionLevel="signature" />
1783
1784    <!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
1785         to ensure that only the system can bind to it. -->
1786    <permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
1787        android:label="@string/permlab_bindAccessibilityService"
1788        android:description="@string/permdesc_bindAccessibilityService"
1789        android:protectionLevel="signature" />
1790
1791    <!-- Must be required by a TextService (e.g. SpellCheckerService)
1792         to ensure that only the system can bind to it. -->
1793    <permission android:name="android.permission.BIND_TEXT_SERVICE"
1794        android:label="@string/permlab_bindTextService"
1795        android:description="@string/permdesc_bindTextService"
1796        android:protectionLevel="signature" />
1797
1798    <!-- Must be required by an {@link android.net.VpnService},
1799         to ensure that only the system can bind to it. -->
1800    <permission android:name="android.permission.BIND_VPN_SERVICE"
1801        android:label="@string/permlab_bindVpnService"
1802        android:description="@string/permdesc_bindVpnService"
1803        android:protectionLevel="signature" />
1804
1805    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1806         to ensure that only the system can bind to it. -->
1807    <permission android:name="android.permission.BIND_WALLPAPER"
1808        android:label="@string/permlab_bindWallpaper"
1809        android:description="@string/permdesc_bindWallpaper"
1810        android:protectionLevel="signature|system" />
1811
1812    <!-- Must be required by device administration receiver, to ensure that only the
1813         system can interact with it. -->
1814    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1815        android:label="@string/permlab_bindDeviceAdmin"
1816        android:description="@string/permdesc_bindDeviceAdmin"
1817        android:protectionLevel="signature" />
1818
1819    <!-- Allows low-level access to setting the orientation (actually
1820         rotation) of the screen.  Not for use by normal applications. -->
1821    <permission android:name="android.permission.SET_ORIENTATION"
1822        android:label="@string/permlab_setOrientation"
1823        android:description="@string/permdesc_setOrientation"
1824        android:protectionLevel="signature" />
1825
1826    <!-- Allows low-level access to setting the pointer speed.
1827         Not for use by normal applications. -->
1828    <permission android:name="android.permission.SET_POINTER_SPEED"
1829        android:label="@string/permlab_setPointerSpeed"
1830        android:description="@string/permdesc_setPointerSpeed"
1831        android:protectionLevel="signature" />
1832
1833    <!-- Allows low-level access to setting the keyboard layout.
1834         Not for use by normal applications.
1835         @hide -->
1836    <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
1837        android:label="@string/permlab_setKeyboardLayout"
1838        android:description="@string/permdesc_setKeyboardLayout"
1839        android:protectionLevel="signature" />
1840
1841    <!-- Allows an application to install packages. -->
1842    <permission android:name="android.permission.INSTALL_PACKAGES"
1843        android:label="@string/permlab_installPackages"
1844        android:description="@string/permdesc_installPackages"
1845        android:protectionLevel="signature|system" />
1846
1847    <!-- Allows an application to clear user data -->
1848    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1849        android:label="@string/permlab_clearAppUserData"
1850        android:description="@string/permdesc_clearAppUserData"
1851        android:protectionLevel="signature" />
1852
1853    <!-- Allows an application to delete cache files. -->
1854    <permission android:name="android.permission.DELETE_CACHE_FILES"
1855        android:label="@string/permlab_deleteCacheFiles"
1856        android:description="@string/permdesc_deleteCacheFiles"
1857        android:protectionLevel="signature|system" />
1858
1859    <!-- Allows an application to delete packages. -->
1860    <permission android:name="android.permission.DELETE_PACKAGES"
1861        android:label="@string/permlab_deletePackages"
1862        android:description="@string/permdesc_deletePackages"
1863        android:protectionLevel="signature|system" />
1864
1865    <!-- Allows an application to move location of installed package.
1866         @hide -->
1867    <permission android:name="android.permission.MOVE_PACKAGE"
1868        android:label="@string/permlab_movePackage"
1869        android:description="@string/permdesc_movePackage"
1870        android:protectionLevel="signature|system" />
1871
1872    <!-- Allows an application to change whether an application component (other than its own) is
1873         enabled or not. -->
1874    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1875        android:label="@string/permlab_changeComponentState"
1876        android:description="@string/permdesc_changeComponentState"
1877        android:protectionLevel="signature|system" />
1878
1879    <!-- @hide Allows an application to grant or revoke specific permissions. -->
1880    <permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
1881        android:label="@string/permlab_grantRevokePermissions"
1882        android:description="@string/permdesc_grantRevokePermissions"
1883        android:protectionLevel="signature" />
1884
1885    <!-- Allows an application to use SurfaceFlinger's low level features -->
1886    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1887        android:label="@string/permlab_accessSurfaceFlinger"
1888        android:description="@string/permdesc_accessSurfaceFlinger"
1889        android:protectionLevel="signature" />
1890
1891    <!-- Allows an application to take screen shots and more generally
1892         get access to the frame buffer data -->
1893    <permission android:name="android.permission.READ_FRAME_BUFFER"
1894        android:label="@string/permlab_readFrameBuffer"
1895        android:description="@string/permdesc_readFrameBuffer"
1896        android:protectionLevel="signature|system" />
1897
1898    <!-- Allows an application to configure and connect to Wifi displays
1899         @hide -->
1900    <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
1901        android:label="@string/permlab_configureWifiDisplay"
1902        android:description="@string/permdesc_configureWifiDisplay"
1903        android:protectionLevel="signature" />
1904
1905    <!-- Allows an application to control low-level features of Wifi displays
1906         such as opening an RTSP socket.  This permission should only be used
1907         by the display manager.
1908         @hide -->
1909    <permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
1910        android:label="@string/permlab_controlWifiDisplay"
1911        android:description="@string/permdesc_controlWifiDisplay"
1912        android:protectionLevel="signature" />
1913
1914    <!-- Required to be able to disable the device (very dangerous!). -->
1915    <permission android:name="android.permission.BRICK"
1916        android:label="@string/permlab_brick"
1917        android:description="@string/permdesc_brick"
1918        android:protectionLevel="signature" />
1919
1920    <!-- Required to be able to reboot the device. -->
1921    <permission android:name="android.permission.REBOOT"
1922        android:label="@string/permlab_reboot"
1923        android:description="@string/permdesc_reboot"
1924        android:protectionLevel="signature|system" />
1925
1926   <!-- Allows low-level access to power management -->
1927    <permission android:name="android.permission.DEVICE_POWER"
1928        android:label="@string/permlab_devicePower"
1929        android:description="@string/permdesc_devicePower"
1930        android:protectionLevel="signature" />
1931
1932   <!-- @hide Allows low-level access to tun tap driver -->
1933    <permission android:name="android.permission.NET_TUNNELING"
1934        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1935        android:protectionLevel="signature" />
1936
1937    <!-- Run as a manufacturer test application, running as the root user.
1938         Only available when the device is running in manufacturer test mode. -->
1939    <permission android:name="android.permission.FACTORY_TEST"
1940        android:label="@string/permlab_factoryTest"
1941        android:description="@string/permdesc_factoryTest"
1942        android:protectionLevel="signature" />
1943
1944    <!-- Allows an application to broadcast a notification that an application
1945         package has been removed. -->
1946    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1947        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1948        android:label="@string/permlab_broadcastPackageRemoved"
1949        android:description="@string/permdesc_broadcastPackageRemoved"
1950        android:protectionLevel="signature" />
1951
1952    <!-- Allows an application to broadcast an SMS receipt notification -->
1953    <permission android:name="android.permission.BROADCAST_SMS"
1954        android:permissionGroup="android.permission-group.MESSAGES"
1955        android:label="@string/permlab_broadcastSmsReceived"
1956        android:description="@string/permdesc_broadcastSmsReceived"
1957        android:protectionLevel="signature" />
1958
1959    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1960    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1961        android:permissionGroup="android.permission-group.MESSAGES"
1962        android:label="@string/permlab_broadcastWapPush"
1963        android:description="@string/permdesc_broadcastWapPush"
1964        android:protectionLevel="signature" />
1965
1966    <permission android:name="android.permission.MASTER_CLEAR"
1967        android:label="@string/permlab_masterClear"
1968        android:description="@string/permdesc_masterClear"
1969        android:protectionLevel="signature|system" />
1970
1971    <!-- Allows an application to call any phone number, including emergency
1972         numbers, without going through the Dialer user interface for the user
1973         to confirm the call being placed. Not for use by third party apps. -->
1974    <permission android:name="android.permission.CALL_PRIVILEGED"
1975        android:label="@string/permlab_callPrivileged"
1976        android:description="@string/permdesc_callPrivileged"
1977        android:protectionLevel="signature|system" />
1978
1979    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1980    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1981        android:label="@string/permlab_performCdmaProvisioning"
1982        android:description="@string/permdesc_performCdmaProvisioning"
1983        android:protectionLevel="signature|system" />
1984
1985    <!-- Allows enabling/disabling location update notifications from
1986         the radio. Not for use by normal applications. -->
1987    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1988        android:label="@string/permlab_locationUpdates"
1989        android:description="@string/permdesc_locationUpdates"
1990        android:protectionLevel="signature|system" />
1991
1992    <!-- Allows read/write access to the "properties" table in the checkin
1993         database, to change values that get uploaded. -->
1994    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1995        android:label="@string/permlab_checkinProperties"
1996        android:description="@string/permdesc_checkinProperties"
1997        android:protectionLevel="signature|system" />
1998
1999    <!-- Allows an application to collect component usage
2000         statistics @hide -->
2001    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
2002        android:label="@string/permlab_pkgUsageStats"
2003        android:description="@string/permdesc_pkgUsageStats"
2004        android:protectionLevel="signature|system" />
2005
2006    <!-- Allows an application to collect battery statistics -->
2007    <permission android:name="android.permission.BATTERY_STATS"
2008        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2009        android:label="@string/permlab_batteryStats"
2010        android:description="@string/permdesc_batteryStats"
2011        android:protectionLevel="dangerous" />
2012
2013    <!-- Allows an application to control the backup and restore process
2014         @hide pending API council -->
2015    <permission android:name="android.permission.BACKUP"
2016        android:label="@string/permlab_backup"
2017        android:description="@string/permdesc_backup"
2018        android:protectionLevel="signature|system" />
2019
2020    <!-- Allows a package to launch the secure full-backup confirmation UI.
2021         ONLY the system process may hold this permission.
2022         @hide -->
2023    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
2024        android:label="@string/permlab_confirm_full_backup"
2025        android:description="@string/permdesc_confirm_full_backup"
2026        android:protectionLevel="signature" />
2027
2028    <!-- Must be required by a {@link android.widget.RemoteViewsService},
2029         to ensure that only the system can bind to it. -->
2030    <permission android:name="android.permission.BIND_REMOTEVIEWS"
2031        android:label="@string/permlab_bindRemoteViews"
2032        android:description="@string/permdesc_bindRemoteViews"
2033        android:protectionLevel="signature|system" />
2034
2035    <!-- Allows an application to tell the AppWidget service which application
2036         can access AppWidget's data.  The normal user flow is that a user
2037         picks an AppWidget to go into a particular host, thereby giving that
2038         host application access to the private data from the AppWidget app.
2039         An application that has this permission should honor that contract.
2040         Very few applications should need to use this permission. -->
2041    <permission android:name="android.permission.BIND_APPWIDGET"
2042        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2043        android:label="@string/permlab_bindGadget"
2044        android:description="@string/permdesc_bindGadget"
2045        android:protectionLevel="signature|system" />
2046
2047    <!-- Private permission, to restrict who can bring up a dialog to add a new
2048         keyguard widget
2049         @hide -->
2050    <permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
2051        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2052        android:protectionLevel="signature|system" />
2053
2054    <!-- Internal permission allowing an application to query/set which
2055         applications can bind AppWidgets.
2056         @hide -->
2057    <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
2058        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2059        android:protectionLevel="signature|system" />
2060
2061    <!-- Allows applications to change the background data setting
2062         @hide pending API council -->
2063    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
2064        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2065        android:protectionLevel="signature"
2066        android:description="@string/permdesc_changeBackgroundDataSetting"
2067        android:label="@string/permlab_changeBackgroundDataSetting" />
2068
2069    <!-- This permission can be used on content providers to allow the global
2070         search system to access their data.  Typically it used when the
2071         provider has some permissions protecting it (which global search
2072         would not be expected to hold), and added as a read-only permission
2073         to the path in the provider where global search queries are
2074         performed.  This permission can not be held by regular applications;
2075         it is used by applications to protect themselves from everyone else
2076         besides global search. -->
2077    <permission android:name="android.permission.GLOBAL_SEARCH"
2078        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2079        android:protectionLevel="signature|system" />
2080
2081    <!-- Internal permission protecting access to the global search
2082         system: ensures that only the system can access the provider
2083         to perform queries (since this otherwise provides unrestricted
2084         access to a variety of content providers), and to write the
2085         search statistics (to keep applications from gaming the source
2086         ranking).
2087         @hide -->
2088    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
2089        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2090        android:protectionLevel="signature" />
2091
2092    <!-- Allows applications to set a live wallpaper.
2093         @hide XXX Change to signature once the picker is moved to its
2094         own apk as Ghod Intended. -->
2095    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
2096        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2097        android:protectionLevel="signature|system" />
2098
2099    <!-- Allows applications to read dream settings and dream state.
2100         @hide -->
2101    <permission android:name="android.permission.READ_DREAM_STATE"
2102        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2103        android:protectionLevel="signature" />
2104
2105    <!-- Allows applications to write dream settings, and start or stop dreaming.
2106         @hide -->
2107    <permission android:name="android.permission.WRITE_DREAM_STATE"
2108        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2109        android:protectionLevel="signature" />
2110
2111    <!-- Allow an application to read and write the cache partition.
2112         @hide -->
2113    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
2114        android:label="@string/permlab_cache_filesystem"
2115        android:description="@string/permdesc_cache_filesystem"
2116        android:protectionLevel="signature|system" />
2117
2118    <!-- Must be required by default container service so that only
2119         the system can bind to it and use it to copy
2120         protected data to secure containers or files
2121         accessible to the system.
2122         @hide -->
2123    <permission android:name="android.permission.COPY_PROTECTED_DATA"
2124        android:label="@string/permlab_copyProtectedData"
2125        android:description="@string/permlab_copyProtectedData"
2126        android:protectionLevel="signature" />
2127
2128    <!-- Internal permission protecting access to the encryption methods
2129        @hide
2130    -->
2131    <permission android:name="android.permission.CRYPT_KEEPER"
2132        android:protectionLevel="signature|system" />
2133
2134    <!-- Allows an application to read historical network usage for
2135         specific networks and applications. @hide -->
2136    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
2137        android:label="@string/permlab_readNetworkUsageHistory"
2138        android:description="@string/permdesc_readNetworkUsageHistory"
2139        android:protectionLevel="signature|system" />
2140
2141    <!-- Allows an application to manage network policies (such as warning and disable
2142         limits) and to define application-specific rules. @hide -->
2143    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
2144        android:label="@string/permlab_manageNetworkPolicy"
2145        android:description="@string/permdesc_manageNetworkPolicy"
2146        android:protectionLevel="signature" />
2147
2148    <!-- Allows an application to account its network traffic against other UIDs. Used
2149         by system services like download manager and media server. Not for use by
2150         third party apps. @hide -->
2151    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
2152        android:label="@string/permlab_modifyNetworkAccounting"
2153        android:description="@string/permdesc_modifyNetworkAccounting"
2154        android:protectionLevel="signature|system" />
2155
2156    <!-- C2DM permission.
2157         @hide Used internally.
2158     -->
2159    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
2160          android:protectionLevel="signature" />
2161    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
2162
2163    <!-- @hide Package verifier needs to have this permission before the PackageManager will
2164         trust it to verify packages.
2165    -->
2166    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
2167        android:label="@string/permlab_packageVerificationAgent"
2168        android:description="@string/permdesc_packageVerificationAgent"
2169        android:protectionLevel="signature|system" />
2170
2171    <!-- Must be required by package verifier receiver, to ensure that only the
2172         system can interact with it.
2173         @hide
2174    -->
2175    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
2176        android:label="@string/permlab_bindPackageVerifier"
2177        android:description="@string/permdesc_bindPackageVerifier"
2178        android:protectionLevel="signature" />
2179
2180    <!-- Allows applications to access serial ports via the SerialManager.
2181         @hide -->
2182    <permission android:name="android.permission.SERIAL_PORT"
2183        android:label="@string/permlab_serialPort"
2184        android:description="@string/permdesc_serialPort"
2185        android:protectionLevel="signature|system" />
2186
2187    <!-- Allows the holder to access content providers from outside an ApplicationThread.
2188         This permission is enforced by the ActivityManagerService on the corresponding APIs,
2189         in particular ActivityManagerService#getContentProviderExternal(String) and
2190         ActivityManagerService#removeContentProviderExternal(String).
2191         @hide
2192    -->
2193    <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
2194        android:label="@string/permlab_accessContentProvidersExternally"
2195        android:description="@string/permdesc_accessContentProvidersExternally"
2196        android:protectionLevel="signature" />
2197    <!-- Allows an application to hold an UpdateLock, recommending that a headless
2198         OTA reboot *not* occur while the lock is held.
2199         @hide -->
2200    <permission android:name="android.permission.UPDATE_LOCK"
2201        android:label="@string/permlab_updateLock"
2202        android:description="@string/permdesc_updateLock"
2203        android:protectionLevel="signatureOrSystem" />
2204
2205    <!-- Allows an application to read the current set of notifications, including
2206         any metadata and intents attached.
2207         @hide -->
2208    <permission android:name="android.permission.ACCESS_NOTIFICATIONS"
2209        android:label="@string/permlab_accessNotifications"
2210        android:description="@string/permdesc_accessNotifications"
2211        android:protectionLevel="signature|system" />
2212
2213    <!-- Allows access to keyguard secure storage.  Only allowed for system processes.
2214        @hide -->
2215    <permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"
2216        android:protectionLevel="signature"
2217        android:label="@string/permlab_access_keyguard_secure_storage"
2218        android:description="@string/permdesc_access_keyguard_secure_storage" />
2219
2220    <!-- Allows an application to control keyguard.  Only allowed for system processes.
2221        @hide -->
2222    <permission android:name="android.permission.CONTROL_KEYGUARD"
2223        android:protectionLevel="signature"
2224        android:label="@string/permlab_control_keyguard"
2225        android:description="@string/permdesc_control_keyguard" />
2226
2227    <!-- Must be required by an {@link
2228         android.service.notification.NotificationListenerService},
2229         to ensure that only the system can bind to it. -->
2230    <permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
2231        android:label="@string/permlab_bindNotificationListenerService"
2232        android:description="@string/permdesc_bindNotificationListenerService"
2233        android:protectionLevel="signature" />
2234
2235    <!-- The system process is explicitly the only one allowed to launch the
2236         confirmation UI for full backup/restore -->
2237    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
2238
2239    <application android:process="system"
2240                 android:persistent="true"
2241                 android:hasCode="false"
2242                 android:label="@string/android_system_label"
2243                 android:allowClearUserData="false"
2244                 android:backupAgent="com.android.server.SystemBackupAgent"
2245                 android:killAfterRestore="false"
2246                 android:icon="@drawable/ic_launcher_android"
2247                 android:supportsRtl="true">
2248        <activity android:name="com.android.internal.app.ChooserActivity"
2249                android:theme="@style/Theme.Holo.Dialog.Alert"
2250                android:finishOnCloseSystemDialogs="true"
2251                android:excludeFromRecents="true"
2252                android:multiprocess="true">
2253            <intent-filter>
2254                <action android:name="android.intent.action.CHOOSER" />
2255                <category android:name="android.intent.category.DEFAULT" />
2256            </intent-filter>
2257        </activity>
2258        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
2259                android:theme="@style/Theme.Holo.Dialog"
2260                android:label="@string/heavy_weight_switcher_title"
2261                android:finishOnCloseSystemDialogs="true"
2262                android:excludeFromRecents="true"
2263                android:process=":ui">
2264        </activity>
2265        <activity android:name="com.android.internal.app.PlatLogoActivity"
2266                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
2267                android:process=":ui">
2268        </activity>
2269        <activity android:name="com.android.internal.app.DisableCarModeActivity"
2270                android:theme="@style/Theme.NoDisplay"
2271                android:excludeFromRecents="true"
2272                android:process=":ui">
2273        </activity>
2274
2275        <activity android:name="android.accounts.ChooseAccountActivity"
2276                android:excludeFromRecents="true"
2277                android:exported="true"
2278                android:theme="@android:style/Theme.Holo.Dialog"
2279                android:label="@string/choose_account_label"
2280                android:process=":ui">
2281        </activity>
2282
2283        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
2284                android:excludeFromRecents="true"
2285                android:exported="true"
2286                android:theme="@android:style/Theme.Holo.Dialog"
2287                android:label="@string/choose_account_label"
2288                android:process=":ui">
2289        </activity>
2290
2291        <activity android:name="android.accounts.ChooseAccountTypeActivity"
2292                android:excludeFromRecents="true"
2293                android:theme="@android:style/Theme.Holo.Dialog"
2294                android:label="@string/choose_account_label"
2295                android:process=":ui">
2296        </activity>
2297
2298        <activity android:name="android.accounts.CantAddAccountActivity"
2299                android:excludeFromRecents="true"
2300                android:exported="true"
2301                android:theme="@android:style/Theme.Holo.Dialog"
2302                android:label="@string/error_message_title"
2303                android:process=":ui">
2304        </activity>
2305
2306        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
2307                android:excludeFromRecents="true"
2308                android:exported="true"
2309                android:theme="@android:style/Theme.Holo.DialogWhenLarge"
2310                android:process=":ui">
2311        </activity>
2312
2313        <activity android:name="android.content.SyncActivityTooManyDeletes"
2314               android:theme="@android:style/Theme.Holo.Dialog"
2315               android:label="@string/sync_too_many_deletes"
2316               android:process=":ui">
2317        </activity>
2318
2319        <activity android:name="com.android.server.ShutdownActivity"
2320            android:permission="android.permission.SHUTDOWN"
2321            android:excludeFromRecents="true">
2322            <intent-filter>
2323                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
2324                <category android:name="android.intent.category.DEFAULT" />
2325            </intent-filter>
2326            <intent-filter>
2327                <action android:name="android.intent.action.REBOOT" />
2328                <category android:name="android.intent.category.DEFAULT" />
2329            </intent-filter>
2330        </activity>
2331
2332        <activity android:name="com.android.internal.app.NetInitiatedActivity"
2333                android:theme="@style/Theme.Holo.Dialog.Alert"
2334                android:excludeFromRecents="true"
2335                android:process=":ui">
2336        </activity>
2337
2338        <receiver android:name="com.android.server.BootReceiver"
2339                android:primaryUserOnly="true">
2340            <intent-filter>
2341                <action android:name="android.intent.action.BOOT_COMPLETED" />
2342            </intent-filter>
2343        </receiver>
2344
2345        <receiver android:name="com.android.server.updates.CertPinInstallReceiver" >
2346            <intent-filter>
2347                <action android:name="android.intent.action.UPDATE_PINS" />
2348            </intent-filter>
2349        </receiver>
2350
2351        <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver" >
2352            <intent-filter>
2353                <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
2354            </intent-filter>
2355        </receiver>
2356
2357        <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver" >
2358            <intent-filter>
2359                <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
2360            </intent-filter>
2361        </receiver>
2362
2363        <receiver android:name="com.android.server.updates.TZInfoInstallReceiver" >
2364            <intent-filter>
2365                <action android:name="android.intent.action.UPDATE_TZINFO" />
2366            </intent-filter>
2367        </receiver>
2368
2369        <receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver" >
2370            <intent-filter>
2371                <action android:name="android.intent.action.UPDATE_SEPOLICY" />
2372            </intent-filter>
2373        </receiver>
2374
2375        <receiver android:name="com.android.server.MasterClearReceiver"
2376            android:permission="android.permission.MASTER_CLEAR"
2377            android:priority="100" >
2378            <intent-filter>
2379                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
2380                <action android:name="android.intent.action.MASTER_CLEAR" />
2381
2382                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
2383                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
2384                <category android:name="android.intent.category.MASTER_CLEAR" />
2385            </intent-filter>
2386        </receiver>
2387
2388        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
2389            android:permission="android.permission.MASTER_CLEAR"
2390            android:exported="true" />
2391
2392        <service android:name="android.hardware.location.GeofenceHardwareService"
2393            android:permission="android.permission.LOCATION_HARDWARE"
2394            android:exported="false" />
2395    </application>
2396
2397</manifest>
2398