AndroidManifest.xml revision 5d1a182a8a2dd9613ef3b1f2de7b6a3d690ae890
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
549    <!-- Used for permissions that allow requesting certain accessibility features. -->
550    <permission-group android:name="android.permission-group.ACCESSIBILITY_FEATURES"
551        android:label="@string/permgrouplab_accessibilityFeatures"
552        android:icon="@drawable/perm_group_accessibility_features"
553        android:description="@string/permgroupdesc_accessibilityFeatures"
554        android:priority="380" />
555
556    <!-- Allows an accessibility service to request touch exploration mode. -->
557    <permission android:name="android.permission.CAN_REQUEST_TOUCH_EXPLORATION_MODE"
558        android:permissionGroup="android.permission-group.ACCESSIBILITY_FEATURES"
559        android:label="@string/permlab_canRequestTouchExplorationMode"
560        android:description="@string/permdesc_canRequestTouchExplorationMode"
561        android:protectionLevel="dangerous" />
562
563    <!-- Allows an accessibility service to request enhanced web accessibility. -->
564    <permission android:name="android.permission.CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY"
565        android:permissionGroup="android.permission-group.ACCESSIBILITY_FEATURES"
566        android:label="@string/permlab_canRequestEnahncedWebAccessibility"
567        android:description="@string/permdesc_canRequestEnahncedWebAccessibility"
568        android:protectionLevel="dangerous" />
569
570    <!-- ======================================= -->
571    <!-- Permissions for accessing location info -->
572    <!-- ======================================= -->
573    <eat-comment />
574
575    <!-- Used for permissions that allow access to the user's current
576         location. -->
577    <permission-group android:name="android.permission-group.LOCATION"
578        android:label="@string/permgrouplab_location"
579        android:icon="@drawable/perm_group_location"
580        android:description="@string/permgroupdesc_location"
581        android:permissionGroupFlags="personalInfo"
582        android:priority="330" />
583
584    <!-- Allows an app to access precise location from location sources such
585         as GPS, cell towers, and Wi-Fi. -->
586    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
587        android:permissionGroup="android.permission-group.LOCATION"
588        android:protectionLevel="dangerous"
589        android:label="@string/permlab_accessFineLocation"
590        android:description="@string/permdesc_accessFineLocation" />
591
592    <!-- Allows an app to access approximate location derived from network location
593         sources such as cell towers and Wi-Fi. -->
594    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
595        android:permissionGroup="android.permission-group.LOCATION"
596        android:protectionLevel="dangerous"
597        android:label="@string/permlab_accessCoarseLocation"
598        android:description="@string/permdesc_accessCoarseLocation" />
599
600    <!-- Allows an application to create mock location providers for testing -->
601    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
602        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
603        android:protectionLevel="dangerous"
604        android:label="@string/permlab_accessMockLocation"
605        android:description="@string/permdesc_accessMockLocation" />
606
607    <!-- Allows an application to access extra location provider commands -->
608    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
609        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
610        android:protectionLevel="normal"
611        android:label="@string/permlab_accessLocationExtraCommands"
612        android:description="@string/permdesc_accessLocationExtraCommands" />
613
614    <!-- Allows an application to install a location provider into the Location Manager -->
615    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
616        android:protectionLevel="signature|system"
617        android:label="@string/permlab_installLocationProvider"
618        android:description="@string/permdesc_installLocationProvider" />
619
620    <!-- Allows an application to use location features in hardware,
621         such as the geofencing api
622         Protected by signature|system protection level -->
623    <permission android:name="android.permission.LOCATION_HARDWARE"
624        android:permissionGroup="android.permission-group.LOCATION"
625        android:protectionLevel="signature|system" />
626    <uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
627
628    <!-- ======================================= -->
629    <!-- Permissions for accessing networks -->
630    <!-- ======================================= -->
631    <eat-comment />
632
633    <!-- Used for permissions that provide access to networking services.  The
634         main permission here is internet access, but this is also an
635         appropriate group for accessing or modifying any network configuration
636         or other related network operations. -->
637    <permission-group android:name="android.permission-group.NETWORK"
638        android:label="@string/permgrouplab_network"
639        android:icon="@drawable/perm_group_network"
640        android:description="@string/permgroupdesc_network"
641        android:priority="270" />
642
643    <!-- Allows applications to open network sockets. -->
644    <permission android:name="android.permission.INTERNET"
645        android:permissionGroup="android.permission-group.NETWORK"
646        android:protectionLevel="dangerous"
647        android:description="@string/permdesc_createNetworkSockets"
648        android:label="@string/permlab_createNetworkSockets" />
649
650    <!-- Allows applications to access information about networks -->
651    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
652        android:permissionGroup="android.permission-group.NETWORK"
653        android:protectionLevel="normal"
654        android:description="@string/permdesc_accessNetworkState"
655        android:label="@string/permlab_accessNetworkState" />
656
657    <!-- Allows applications to access information about Wi-Fi networks -->
658    <permission android:name="android.permission.ACCESS_WIFI_STATE"
659        android:permissionGroup="android.permission-group.NETWORK"
660        android:protectionLevel="normal"
661        android:description="@string/permdesc_accessWifiState"
662        android:label="@string/permlab_accessWifiState" />
663
664    <!-- Allows applications to change Wi-Fi connectivity state -->
665    <permission android:name="android.permission.CHANGE_WIFI_STATE"
666        android:permissionGroup="android.permission-group.NETWORK"
667        android:protectionLevel="dangerous"
668        android:description="@string/permdesc_changeWifiState"
669        android:label="@string/permlab_changeWifiState" />
670
671    <!-- @hide -->
672    <permission android:name="android.permission.ACCESS_WIMAX_STATE"
673        android:permissionGroup="android.permission-group.NETWORK"
674        android:protectionLevel="normal"
675        android:description="@string/permdesc_accessWimaxState"
676        android:label="@string/permlab_accessWimaxState" />
677
678    <!-- @hide -->
679    <permission android:name="android.permission.CHANGE_WIMAX_STATE"
680        android:permissionGroup="android.permission-group.NETWORK"
681        android:protectionLevel="dangerous"
682        android:description="@string/permdesc_changeWimaxState"
683        android:label="@string/permlab_changeWimaxState" />
684
685    <!-- ======================================= -->
686    <!-- Permissions for short range, peripheral networks -->
687    <!-- ======================================= -->
688    <eat-comment />
689
690    <!-- Used for permissions that provide access to other devices through Bluetooth.-->
691    <permission-group android:name="android.permission-group.BLUETOOTH_NETWORK"
692        android:label="@string/permgrouplab_bluetoothNetwork"
693        android:icon="@drawable/perm_group_bluetooth"
694        android:description="@string/permgroupdesc_bluetoothNetwork"
695        android:priority="260" />
696
697    <!-- Allows applications to connect to paired bluetooth devices -->
698    <permission android:name="android.permission.BLUETOOTH"
699        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
700        android:protectionLevel="dangerous"
701        android:description="@string/permdesc_bluetooth"
702        android:label="@string/permlab_bluetooth" />
703
704    <!-- Allows applications to discover and pair bluetooth devices -->
705    <permission android:name="android.permission.BLUETOOTH_ADMIN"
706        android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
707        android:protectionLevel="dangerous"
708        android:description="@string/permdesc_bluetoothAdmin"
709        android:label="@string/permlab_bluetoothAdmin" />
710
711    <!-- Allows bluetooth stack to access files
712         @hide This should only be used by Bluetooth apk.
713    -->
714    <permission android:name="android.permission.BLUETOOTH_STACK"
715        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
716        android:protectionLevel="signature" />
717
718    <!-- Allows applications to perform I/O operations over NFC -->
719    <permission android:name="android.permission.NFC"
720        android:permissionGroup="android.permission-group.NETWORK"
721        android:protectionLevel="dangerous"
722        android:description="@string/permdesc_nfc"
723        android:label="@string/permlab_nfc" />
724
725    <!-- Allows an internal user to use privileged ConnectivityManager APIs.
726        @hide -->
727    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
728        android:permissionGroup="android.permission-group.NETWORK"
729        android:protectionLevel="signature|system" />
730
731    <!-- @hide -->
732    <permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
733        android:permissionGroup="android.permission-group.NETWORK"
734        android:protectionLevel="signature|system" />
735
736    <!-- Allows access to the loop radio (Android@Home mesh network) device.
737	@hide -->
738    <permission android:name="android.permission.LOOP_RADIO"
739	android:permissionGroup="android.permission-group.NETWORK"
740	android:protectionLevel="signature|system" />
741
742    <!-- ================================== -->
743    <!-- Permissions for accessing accounts -->
744    <!-- ================================== -->
745    <eat-comment />
746
747    <!-- Permissions for direct access to the accounts managed
748         by the Account Manager. -->
749    <permission-group android:name="android.permission-group.ACCOUNTS"
750        android:label="@string/permgrouplab_accounts"
751        android:icon="@drawable/perm_group_accounts"
752        android:description="@string/permgroupdesc_accounts"
753        android:permissionGroupFlags="personalInfo"
754        android:priority="200" />
755
756    <!-- Allows access to the list of accounts in the Accounts Service -->
757    <permission android:name="android.permission.GET_ACCOUNTS"
758        android:permissionGroup="android.permission-group.ACCOUNTS"
759        android:protectionLevel="normal"
760        android:description="@string/permdesc_getAccounts"
761        android:label="@string/permlab_getAccounts" />
762
763    <!-- Allows an application to act as an AccountAuthenticator for
764         the AccountManager -->
765    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
766        android:permissionGroup="android.permission-group.ACCOUNTS"
767        android:protectionLevel="dangerous"
768        android:label="@string/permlab_authenticateAccounts"
769        android:description="@string/permdesc_authenticateAccounts" />
770
771    <!-- Allows an application to request authtokens from the AccountManager -->
772    <permission android:name="android.permission.USE_CREDENTIALS"
773        android:permissionGroup="android.permission-group.ACCOUNTS"
774        android:protectionLevel="dangerous"
775        android:label="@string/permlab_useCredentials"
776        android:description="@string/permdesc_useCredentials" />
777
778    <!-- Allows an application to manage the list of accounts in the AccountManager -->
779    <permission android:name="android.permission.MANAGE_ACCOUNTS"
780        android:permissionGroup="android.permission-group.ACCOUNTS"
781        android:protectionLevel="dangerous"
782        android:label="@string/permlab_manageAccounts"
783        android:description="@string/permdesc_manageAccounts" />
784
785    <!-- Allows applications to call into AccountAuthenticators. Only
786         the system can get this permission. -->
787    <permission android:name="android.permission.ACCOUNT_MANAGER"
788        android:permissionGroup="android.permission-group.ACCOUNTS"
789        android:protectionLevel="signature"
790        android:description="@string/permdesc_accountManagerService"
791        android:label="@string/permlab_accountManagerService" />
792
793    <!-- ================================== -->
794    <!-- Permissions for accessing hardware that may effect battery life-->
795    <!-- ================================== -->
796    <eat-comment />
797
798    <!-- Used for permissions that provide direct access to the hardware on
799         the device that has an effect on battery life.  This includes vibrator,
800         flashlight,  etc. -->
801
802    <permission-group android:name="android.permission-group.AFFECTS_BATTERY"
803        android:label="@string/permgrouplab_affectsBattery"
804        android:icon="@drawable/perm_group_affects_battery"
805        android:description="@string/permgroupdesc_affectsBattery"
806        android:priority="180" />
807
808    <!-- Allows applications to enter Wi-Fi Multicast mode -->
809    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
810        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
811        android:protectionLevel="dangerous"
812        android:description="@string/permdesc_changeWifiMulticastState"
813        android:label="@string/permlab_changeWifiMulticastState" />
814
815    <!-- Allows access to the vibrator -->
816    <permission android:name="android.permission.VIBRATE"
817        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
818        android:protectionLevel="normal"
819        android:label="@string/permlab_vibrate"
820        android:description="@string/permdesc_vibrate" />
821
822    <!-- Allows access to the flashlight -->
823    <permission android:name="android.permission.FLASHLIGHT"
824        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
825        android:protectionLevel="normal"
826        android:label="@string/permlab_flashlight"
827        android:description="@string/permdesc_flashlight" />
828
829    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
830         from dimming -->
831    <permission android:name="android.permission.WAKE_LOCK"
832        android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
833        android:protectionLevel="normal"
834        android:label="@string/permlab_wakeLock"
835        android:description="@string/permdesc_wakeLock" />
836
837    <!-- ==================================================== -->
838    <!-- Permissions related to changing audio settings   -->
839    <!-- ==================================================== -->
840
841    <!-- Used for permissions that provide direct access to speaker settings
842         the device. -->
843    <permission-group android:name="android.permission-group.AUDIO_SETTINGS"
844        android:label="@string/permgrouplab_audioSettings"
845        android:icon="@drawable/perm_group_audio_settings"
846        android:description="@string/permgroupdesc_audioSettings"
847        android:priority="130" />
848
849    <!-- Allows an application to modify global audio settings -->
850    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
851        android:permissionGroup="android.permission-group.AUDIO_SETTINGS"
852        android:protectionLevel="normal"
853        android:label="@string/permlab_modifyAudioSettings"
854        android:description="@string/permdesc_modifyAudioSettings" />
855
856    <!-- ================================== -->
857    <!-- Permissions for accessing hardware -->
858    <!-- ================================== -->
859    <eat-comment />
860
861    <!-- Used for permissions that provide direct access to the hardware on
862         the device.  This includes audio, the camera, vibrator, etc. -->
863    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
864        android:label="@string/permgrouplab_hardwareControls"
865        android:description="@string/permgroupdesc_hardwareControls"
866        android:priority="260"/>
867
868    <!-- Allows an application to manage preferences and permissions for USB devices
869         @hide -->
870    <permission android:name="android.permission.MANAGE_USB"
871        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
872        android:protectionLevel="signature|system"
873        android:label="@string/permlab_manageUsb"
874        android:description="@string/permdesc_manageUsb" />
875
876    <!-- Allows an application to access the MTP USB kernel driver.
877         For use only by the device side MTP implementation.
878         @hide -->
879    <permission android:name="android.permission.ACCESS_MTP"
880        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
881        android:protectionLevel="signature|system"
882        android:label="@string/permlab_accessMtp"
883        android:description="@string/permdesc_accessMtp" />
884
885    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
886    <permission android:name="android.permission.HARDWARE_TEST"
887        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
888        android:protectionLevel="signature"
889        android:label="@string/permlab_hardware_test"
890        android:description="@string/permdesc_hardware_test" />
891
892    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
893         @hide -->
894    <permission android:name="android.permission.NET_ADMIN"
895        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
896        android:protectionLevel="signature" />
897
898    <!-- Allows registration for remote audio playback. @hide -->
899    <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
900        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
901        android:protectionLevel="signature" />
902
903    <!-- =========================================== -->
904    <!-- Permissions associated with audio capture -->
905    <!-- =========================================== -->
906    <eat-comment />
907
908    <!-- Used for permissions that are associated with accessing
909         microphone audio from the device. Note that phone calls also capture audio
910         but are in a separate (more visible) permission group. -->
911    <permission-group android:name="android.permission-group.MICROPHONE"
912        android:label="@string/permgrouplab_microphone"
913        android:icon="@drawable/perm_group_microphone"
914        android:description="@string/permgroupdesc_microphone"
915        android:permissionGroupFlags="personalInfo"
916        android:priority="340" />
917
918    <!-- Allows an application to record audio -->
919    <permission android:name="android.permission.RECORD_AUDIO"
920        android:permissionGroup="android.permission-group.MICROPHONE"
921        android:protectionLevel="dangerous"
922        android:label="@string/permlab_recordAudio"
923        android:description="@string/permdesc_recordAudio" />
924
925
926    <!-- =========================================== -->
927    <!-- Permissions associated with camera and image capture -->
928    <!-- =========================================== -->
929    <eat-comment />
930
931    <!-- Used for permissions that are associated with accessing
932         camera or capturing images/video from the device. -->
933    <permission-group android:name="android.permission-group.CAMERA"
934        android:label="@string/permgrouplab_camera"
935        android:icon="@drawable/perm_group_camera"
936        android:description="@string/permgroupdesc_camera"
937        android:permissionGroupFlags="personalInfo"
938        android:priority="350" />
939
940    <!-- Required to be able to access the camera device.
941         <p>This will automatically enforce the <a
942         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
943         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
944         If you do not require all camera features or can properly operate if a camera
945         is not available, then you must modify your manifest as appropriate in order to
946         install on devices that don't support all camera features.</p> -->
947    <permission android:name="android.permission.CAMERA"
948        android:permissionGroup="android.permission-group.CAMERA"
949        android:protectionLevel="dangerous"
950        android:label="@string/permlab_camera"
951        android:description="@string/permdesc_camera" />
952
953    <!-- =========================================== -->
954    <!-- Permissions associated with telephony state -->
955    <!-- =========================================== -->
956    <eat-comment />
957
958    <!-- Used for permissions that are associated with accessing and modifyign
959         telephony state: placing calls, intercepting outgoing calls, reading
960         and modifying the phone state. -->
961    <permission-group android:name="android.permission-group.PHONE_CALLS"
962        android:label="@string/permgrouplab_phoneCalls"
963        android:icon="@drawable/perm_group_phone_calls"
964        android:description="@string/permgroupdesc_phoneCalls"
965        android:permissionGroupFlags="personalInfo"
966        android:priority="370" />
967
968    <!-- Allows an application to monitor, modify, or abort outgoing
969         calls. -->
970    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
971        android:permissionGroup="android.permission-group.PHONE_CALLS"
972        android:protectionLevel="dangerous"
973        android:label="@string/permlab_processOutgoingCalls"
974        android:description="@string/permdesc_processOutgoingCalls" />
975
976    <!-- Allows modification of the telephony state - power on, mmi, etc.
977         Does not include placing calls. -->
978    <permission android:name="android.permission.MODIFY_PHONE_STATE"
979        android:permissionGroup="android.permission-group.PHONE_CALLS"
980        android:protectionLevel="signature|system"
981        android:label="@string/permlab_modifyPhoneState"
982        android:description="@string/permdesc_modifyPhoneState" />
983
984    <!-- Allows read only access to phone state.
985         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
986         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
987         minSdkVersion}</a> and <a
988         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
989         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
990         grants your app this permission. If you don't need this permission, be sure your <a
991         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
992         targetSdkVersion}</a> is 4 or higher. -->
993    <permission android:name="android.permission.READ_PHONE_STATE"
994        android:permissionGroup="android.permission-group.PHONE_CALLS"
995        android:protectionLevel="dangerous"
996        android:label="@string/permlab_readPhoneState"
997        android:description="@string/permdesc_readPhoneState" />
998
999    <!-- Allows read access to privileged phone state.
1000         @hide Used internally. -->
1001    <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
1002        android:permissionGroup="android.permission-group.PHONE_CALLS"
1003        android:protectionLevel="signature|system" />
1004
1005     <!-- Allows an application to initiate a phone call without going through
1006         the Dialer user interface for the user to confirm the call
1007         being placed. -->
1008    <permission android:name="android.permission.CALL_PHONE"
1009        android:permissionGroup="android.permission-group.PHONE_CALLS"
1010        android:protectionLevel="dangerous"
1011        android:permissionFlags="costsMoney"
1012        android:label="@string/permlab_callPhone"
1013        android:description="@string/permdesc_callPhone" />
1014
1015    <!-- Allows an application to use SIP service -->
1016    <permission android:name="android.permission.USE_SIP"
1017        android:permissionGroup="android.permission-group.PHONE_CALLS"
1018        android:protectionLevel="dangerous"
1019        android:description="@string/permdesc_use_sip"
1020        android:label="@string/permlab_use_sip" />
1021
1022    <!-- ================================== -->
1023    <!-- Permissions for sdcard interaction -->
1024    <!-- ================================== -->
1025    <eat-comment />
1026
1027    <!-- Group of permissions that are related to SD card access. -->
1028    <permission-group android:name="android.permission-group.STORAGE"
1029        android:label="@string/permgrouplab_storage"
1030        android:icon="@drawable/perm_group_storage"
1031        android:description="@string/permgroupdesc_storage"
1032        android:permissionGroupFlags="personalInfo"
1033        android:priority="240" />
1034
1035    <!-- Allows an application to read from external storage.
1036         <p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
1037         granted this permission.</p>
1038         <p>Currently, this permission is not enforced and all apps still have access to read from
1039         external storage without this permission. That will change in a future release and apps
1040         will require this permission to read from external storage. So if your
1041         app reads from the external storage, you should add this permission to your app now
1042         to ensure that it continues to work on future versions of Android.</p>
1043         <p>You can test your app with the permission enforced by either running your app on the
1044         Android Emulator when running Android 4.1 or higher, or enabling <em>Protect USB
1045         storage</em> under Developer options in the Settings app on a device running Android 4.1 or
1046         higher.</p>
1047         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1048         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1049         minSdkVersion}</a> and <a
1050         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1051         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1052         grants your app this permission. If you don't need this permission, be sure your <a
1053         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1054         targetSdkVersion}</a> is 4 or higher.-->
1055    <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
1056        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1057        android:label="@string/permlab_sdcardRead"
1058        android:description="@string/permdesc_sdcardRead"
1059        android:protectionLevel="normal" />
1060
1061    <!-- Allows an application to write to external storage.
1062         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1063         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1064         minSdkVersion}</a> and <a
1065         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1066         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1067         grants your app this permission. If you don't need this permission, be sure your <a
1068         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1069         targetSdkVersion}</a> is 4 or higher. -->
1070    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
1071        android:permissionGroup="android.permission-group.STORAGE"
1072        android:label="@string/permlab_sdcardWrite"
1073        android:description="@string/permdesc_sdcardWrite"
1074        android:protectionLevel="dangerous" />
1075
1076    <!-- Allows an application to write to internal media storage
1077         @hide  -->
1078    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
1079        android:permissionGroup="android.permission-group.STORAGE"
1080        android:label="@string/permlab_mediaStorageWrite"
1081        android:description="@string/permdesc_mediaStorageWrite"
1082        android:protectionLevel="signature|system" />
1083
1084    <!-- ================================== -->
1085    <!-- Permissions for screenlock         -->
1086    <!-- ================================== -->
1087    <eat-comment />
1088
1089    <!-- Group of permissions that are related to the screenlock. -->
1090    <permission-group android:name="android.permission-group.SCREENLOCK"
1091        android:label="@string/permgrouplab_screenlock"
1092        android:icon="@drawable/perm_group_screenlock"
1093        android:permissionGroupFlags="personalInfo"
1094        android:description="@string/permgroupdesc_screenlock"
1095        android:priority="230" />
1096
1097    <!-- Allows applications to disable the keyguard -->
1098    <permission android:name="android.permission.DISABLE_KEYGUARD"
1099        android:permissionGroup="android.permission-group.SCREENLOCK"
1100        android:protectionLevel="dangerous"
1101        android:description="@string/permdesc_disableKeyguard"
1102        android:label="@string/permlab_disableKeyguard" />
1103
1104    <!-- ================================== -->
1105    <!-- Permissions to access other installed applications  -->
1106    <!-- ================================== -->
1107    <eat-comment />
1108
1109    <!-- Group of permissions that are related to the other applications
1110         installed on the system.  Examples include such as listing
1111         running apps, or killing background processes. -->
1112    <permission-group android:name="android.permission-group.APP_INFO"
1113        android:label="@string/permgrouplab_appInfo"
1114        android:icon="@drawable/perm_group_app_info"
1115        android:description="@string/permgroupdesc_appInfo"
1116        android:priority="220" />
1117
1118    <!-- Allows an application to get information about the currently
1119         or recently running tasks. -->
1120    <permission android:name="android.permission.GET_TASKS"
1121        android:permissionGroup="android.permission-group.APP_INFO"
1122        android:protectionLevel="dangerous"
1123        android:label="@string/permlab_getTasks"
1124        android:description="@string/permdesc_getTasks" />
1125    <!-- @hide Allows an application to call APIs that allow it to do interactions
1126         across the users on the device, using singleton services and
1127         user-targeted broadcasts.  This permission is not available to
1128         third party applications. -->
1129    <permission android:name="android.permission.INTERACT_ACROSS_USERS"
1130        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1131        android:protectionLevel="signature|system|development"
1132        android:label="@string/permlab_interactAcrossUsers"
1133        android:description="@string/permdesc_interactAcrossUsers" />
1134
1135    <!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
1136         that removes restrictions on where broadcasts can be sent and allows other
1137         types of interactions. -->
1138    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
1139        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1140        android:protectionLevel="signature"
1141        android:label="@string/permlab_interactAcrossUsersFull"
1142        android:description="@string/permdesc_interactAcrossUsersFull" />
1143
1144    <!-- @hide Allows an application to call APIs that allow it to query and manage
1145         users on the device. This permission is not available to
1146         third party applications. -->
1147    <permission android:name="android.permission.MANAGE_USERS"
1148        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1149        android:protectionLevel="signature|system"
1150        android:label="@string/permlab_manageUsers"
1151        android:description="@string/permdesc_manageUsers" />
1152
1153    <!-- Allows an application to get full detailed information about
1154         recently running tasks, with full fidelity to the real state.
1155         @hide -->
1156    <permission android:name="android.permission.GET_DETAILED_TASKS"
1157        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1158        android:protectionLevel="signature"
1159        android:label="@string/permlab_getDetailedTasks"
1160        android:description="@string/permdesc_getDetailedTasks" />
1161
1162    <!-- Allows an application to change the Z-order of tasks -->
1163    <permission android:name="android.permission.REORDER_TASKS"
1164        android:permissionGroup="android.permission-group.APP_INFO"
1165        android:protectionLevel="normal"
1166        android:label="@string/permlab_reorderTasks"
1167        android:description="@string/permdesc_reorderTasks" />
1168
1169    <!-- @hide Allows an application to change to remove/kill tasks -->
1170    <permission android:name="android.permission.REMOVE_TASKS"
1171        android:permissionGroup="android.permission-group.APP_INFO"
1172        android:protectionLevel="signature"
1173        android:label="@string/permlab_removeTasks"
1174        android:description="@string/permdesc_removeTasks" />
1175
1176    <!-- Allows an application to start any activity, regardless of permission
1177         protection or exported state. @hide -->
1178    <permission android:name="android.permission.START_ANY_ACTIVITY"
1179        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1180        android:protectionLevel="signature"
1181        android:label="@string/permlab_startAnyActivity"
1182        android:description="@string/permdesc_startAnyActivity" />
1183
1184    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
1185        API is no longer supported. -->
1186    <permission android:name="android.permission.RESTART_PACKAGES"
1187        android:permissionGroup="android.permission-group.APP_INFO"
1188        android:protectionLevel="normal"
1189        android:label="@string/permlab_killBackgroundProcesses"
1190        android:description="@string/permdesc_killBackgroundProcesses" />
1191
1192    <!-- Allows an application to call
1193        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
1194    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
1195        android:permissionGroup="android.permission-group.APP_INFO"
1196        android:protectionLevel="normal"
1197        android:label="@string/permlab_killBackgroundProcesses"
1198        android:description="@string/permdesc_killBackgroundProcesses" />
1199
1200    <!-- ================================== -->
1201    <!-- Permissions affecting the display of other applications  -->
1202    <!-- ================================== -->
1203    <eat-comment />
1204
1205    <!-- Group of permissions that allow manipulation of how
1206         another application displays UI to the user. -->
1207    <permission-group android:name="android.permission-group.DISPLAY"
1208        android:label="@string/permgrouplab_display"
1209        android:icon="@drawable/perm_group_display"
1210        android:description="@string/permgroupdesc_display"
1211        android:priority="190"/>
1212
1213    <!-- Allows an application to open windows using the type
1214         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
1215         shown on top of all other applications.  Very few applications
1216         should use this permission; these windows are intended for
1217         system-level interaction with the user. -->
1218    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
1219        android:permissionGroup="android.permission-group.DISPLAY"
1220        android:protectionLevel="dangerous"
1221        android:label="@string/permlab_systemAlertWindow"
1222        android:description="@string/permdesc_systemAlertWindow" />
1223
1224    <!-- ================================== -->
1225    <!-- Permissions affecting the system wallpaper -->
1226    <!-- ================================== -->
1227    <eat-comment />
1228
1229    <!-- Group of permissions that allow manipulation of how
1230         another application displays UI to the user. -->
1231    <permission-group android:name="android.permission-group.WALLPAPER"
1232        android:label="@string/permgrouplab_wallpaper"
1233        android:icon="@drawable/perm_group_wallpaper"
1234        android:description="@string/permgroupdesc_wallpaper"
1235        android:priority="150" />
1236
1237    <!-- Allows applications to set the wallpaper -->
1238    <permission android:name="android.permission.SET_WALLPAPER"
1239        android:permissionGroup="android.permission-group.WALLPAPER"
1240        android:protectionLevel="normal"
1241        android:label="@string/permlab_setWallpaper"
1242        android:description="@string/permdesc_setWallpaper" />
1243
1244    <!-- Allows applications to set the wallpaper hints -->
1245    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
1246        android:permissionGroup="android.permission-group.WALLPAPER"
1247        android:protectionLevel="normal"
1248        android:label="@string/permlab_setWallpaperHints"
1249        android:description="@string/permdesc_setWallpaperHints" />
1250
1251    <!-- ============================================ -->
1252    <!-- Permissions for changing the system clock -->
1253    <!-- ============================================ -->
1254    <eat-comment />
1255
1256    <!-- Group of permissions that are related to system clock. -->
1257    <permission-group android:name="android.permission-group.SYSTEM_CLOCK"
1258        android:label="@string/permgrouplab_systemClock"
1259        android:icon="@drawable/perm_group_system_clock"
1260        android:description="@string/permgroupdesc_systemClock"
1261        android:priority="140" />
1262
1263    <!-- Allows applications to set the system time -->
1264    <permission android:name="android.permission.SET_TIME"
1265        android:protectionLevel="signature|system"
1266        android:label="@string/permlab_setTime"
1267        android:description="@string/permdesc_setTime" />
1268
1269    <!-- Allows applications to set the system time zone -->
1270    <permission android:name="android.permission.SET_TIME_ZONE"
1271        android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
1272        android:protectionLevel="normal"
1273        android:label="@string/permlab_setTimeZone"
1274        android:description="@string/permdesc_setTimeZone" />
1275
1276    <!-- ==================================================== -->
1277    <!-- Permissions related to changing status bar   -->
1278    <!-- ==================================================== -->
1279
1280    <!-- Used for permissions that change the status bar -->
1281    <permission-group android:name="android.permission-group.STATUS_BAR"
1282        android:label="@string/permgrouplab_statusBar"
1283        android:icon="@drawable/perm_group_status_bar"
1284        android:description="@string/permgroupdesc_statusBar"
1285        android:priority="110" />
1286
1287    <!-- Allows an application to expand or collapse the status bar. -->
1288    <permission android:name="android.permission.EXPAND_STATUS_BAR"
1289        android:permissionGroup="android.permission-group.STATUS_BAR"
1290        android:protectionLevel="normal"
1291        android:label="@string/permlab_expandStatusBar"
1292        android:description="@string/permdesc_expandStatusBar" />
1293
1294    <!-- ==================================================== -->
1295    <!-- Permissions related to accessing sync settings   -->
1296    <!-- ==================================================== -->
1297
1298    <!-- Used for permissions that access the sync settings or sync
1299         related information. -->
1300    <permission-group android:name="android.permission-group.SYNC_SETTINGS"
1301        android:label="@string/permgrouplab_syncSettings"
1302        android:icon="@drawable/perm_group_sync_settings"
1303        android:description="@string/permgroupdesc_syncSettings"
1304        android:priority="120" />
1305
1306    <!-- Allows applications to read the sync settings -->
1307    <permission android:name="android.permission.READ_SYNC_SETTINGS"
1308        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1309        android:protectionLevel="normal"
1310        android:description="@string/permdesc_readSyncSettings"
1311        android:label="@string/permlab_readSyncSettings" />
1312
1313    <!-- Allows applications to write the sync settings -->
1314    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
1315        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1316        android:protectionLevel="normal"
1317        android:description="@string/permdesc_writeSyncSettings"
1318        android:label="@string/permlab_writeSyncSettings" />
1319
1320    <!-- Allows applications to read the sync stats -->
1321    <permission android:name="android.permission.READ_SYNC_STATS"
1322        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1323        android:protectionLevel="normal"
1324        android:description="@string/permdesc_readSyncStats"
1325        android:label="@string/permlab_readSyncStats" />
1326
1327
1328    <!-- ============================================ -->
1329    <!-- Permissions for low-level system interaction -->
1330    <!-- ============================================ -->
1331    <eat-comment />
1332
1333    <!-- Group of permissions that are related to system APIs.  Many
1334         of these are not permissions the user will be expected to understand,
1335         and such permissions should generally be marked as "normal" protection
1336         level so they don't get displayed.  This can also, however, be used
1337         for miscellaneous features that provide access to the operating system,
1338         such as writing the global system settings. -->
1339    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
1340        android:label="@string/permgrouplab_systemTools"
1341        android:icon="@drawable/perm_group_system_tools"
1342        android:description="@string/permgroupdesc_systemTools"
1343        android:priority="100" />
1344
1345    <!-- @hide Change the screen compatibility mode of applications -->
1346    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1347        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1348        android:protectionLevel="signature"
1349        android:label="@string/permlab_setScreenCompatibility"
1350        android:description="@string/permdesc_setScreenCompatibility" />
1351
1352    <!-- Allows an application to access all multi-user external storage @hide -->
1353    <permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"
1354        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1355        android:label="@string/permlab_sdcardAccessAll"
1356        android:description="@string/permdesc_sdcardAccessAll"
1357        android:protectionLevel="signature" />
1358
1359    <!-- Allows an application to modify the current configuration, such
1360         as locale. -->
1361    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1362        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1363        android:protectionLevel="signature|system|development"
1364        android:label="@string/permlab_changeConfiguration"
1365        android:description="@string/permdesc_changeConfiguration" />
1366
1367    <!-- Allows an application to read or write the system settings. -->
1368    <permission android:name="android.permission.WRITE_SETTINGS"
1369        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1370        android:protectionLevel="normal"
1371        android:label="@string/permlab_writeSettings"
1372        android:description="@string/permdesc_writeSettings" />
1373
1374    <!-- Allows an application to modify the Google service map. -->
1375    <permission android:name="android.permission.WRITE_GSERVICES"
1376        android:protectionLevel="signature|system"
1377        android:label="@string/permlab_writeGservices"
1378        android:description="@string/permdesc_writeGservices" />
1379
1380    <!-- Allows an application to call
1381        {@link android.app.ActivityManager#forceStopPackage}.
1382        @hide -->
1383    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
1384        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1385        android:protectionLevel="signature"
1386        android:label="@string/permlab_forceStopPackages"
1387        android:description="@string/permdesc_forceStopPackages" />
1388
1389    <!-- @hide Allows an application to retrieve the content of the active window
1390         An active window is the window that has fired an accessibility event. -->
1391    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
1392        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1393        android:protectionLevel="signature|system"
1394        android:label="@string/permlab_retrieve_window_content"
1395        android:description="@string/permdesc_retrieve_window_content" />
1396
1397    <!-- Modify the global animation scaling factor. -->
1398    <permission android:name="android.permission.SET_ANIMATION_SCALE"
1399        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1400        android:protectionLevel="signature|system|development"
1401        android:label="@string/permlab_setAnimationScale"
1402        android:description="@string/permdesc_setAnimationScale" />
1403
1404    <!-- @deprecated This functionality will be removed in the future; please do
1405         not use. Allow an application to make its activities persistent. -->
1406    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
1407        android:permissionGroup="android.permission-group.APP_INFO"
1408        android:protectionLevel="normal"
1409        android:label="@string/permlab_persistentActivity"
1410        android:description="@string/permdesc_persistentActivity" />
1411
1412    <!-- Allows an application to find out the space used by any package. -->
1413    <permission android:name="android.permission.GET_PACKAGE_SIZE"
1414        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1415        android:protectionLevel="normal"
1416        android:label="@string/permlab_getPackageSize"
1417        android:description="@string/permdesc_getPackageSize" />
1418
1419    <!-- @deprecated No longer useful, see
1420         {@link android.content.pm.PackageManager#addPackageToPreferred}
1421         for details. -->
1422    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
1423        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1424        android:protectionLevel="signature"
1425        android:label="@string/permlab_setPreferredApplications"
1426        android:description="@string/permdesc_setPreferredApplications" />
1427
1428    <!-- Allows an application to receive the
1429         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
1430         broadcast after the system finishes booting.  If you don't
1431         request this permission, you will not receive the broadcast at
1432         that time.  Though holding this permission does not have any
1433         security implications, it can have a negative impact on the
1434         user experience by increasing the amount of time it takes the
1435         system to start and allowing applications to have themselves
1436         running without the user being aware of them.  As such, you must
1437         explicitly declare your use of this facility to make that visible
1438         to the user. -->
1439    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
1440        android:permissionGroup="android.permission-group.APP_INFO"
1441        android:protectionLevel="normal"
1442        android:label="@string/permlab_receiveBootCompleted"
1443        android:description="@string/permdesc_receiveBootCompleted" />
1444
1445    <!-- Allows an application to broadcast sticky intents.  These are
1446         broadcasts whose data is held by the system after being finished,
1447         so that clients can quickly retrieve that data without having
1448         to wait for the next broadcast. -->
1449    <permission android:name="android.permission.BROADCAST_STICKY"
1450        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1451        android:protectionLevel="normal"
1452        android:label="@string/permlab_broadcastSticky"
1453        android:description="@string/permdesc_broadcastSticky" />
1454
1455    <!-- Allows mounting and unmounting file systems for removable storage. -->
1456    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
1457        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1458        android:protectionLevel="system|signature"
1459        android:label="@string/permlab_mount_unmount_filesystems"
1460        android:description="@string/permdesc_mount_unmount_filesystems" />
1461
1462    <!-- Allows formatting file systems for removable storage. -->
1463    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
1464        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1465        android:protectionLevel="system|signature"
1466        android:label="@string/permlab_mount_format_filesystems"
1467        android:description="@string/permdesc_mount_format_filesystems" />
1468
1469    <!-- Allows access to ASEC non-destructive API calls
1470         @hide  -->
1471    <permission android:name="android.permission.ASEC_ACCESS"
1472        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1473        android:protectionLevel="signature"
1474        android:label="@string/permlab_asec_access"
1475        android:description="@string/permdesc_asec_access" />
1476
1477    <!-- Allows creation of ASEC volumes
1478         @hide  -->
1479    <permission android:name="android.permission.ASEC_CREATE"
1480        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1481        android:protectionLevel="signature"
1482        android:label="@string/permlab_asec_create"
1483        android:description="@string/permdesc_asec_create" />
1484
1485    <!-- Allows destruction of ASEC volumes
1486         @hide  -->
1487    <permission android:name="android.permission.ASEC_DESTROY"
1488        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1489        android:protectionLevel="signature"
1490        android:label="@string/permlab_asec_destroy"
1491        android:description="@string/permdesc_asec_destroy" />
1492
1493    <!-- Allows mount / unmount of ASEC volumes
1494         @hide  -->
1495    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
1496        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1497        android:protectionLevel="signature"
1498        android:label="@string/permlab_asec_mount_unmount"
1499        android:description="@string/permdesc_asec_mount_unmount" />
1500
1501    <!-- Allows rename of ASEC volumes
1502         @hide  -->
1503    <permission android:name="android.permission.ASEC_RENAME"
1504        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1505        android:protectionLevel="signature"
1506        android:label="@string/permlab_asec_rename"
1507        android:description="@string/permdesc_asec_rename" />
1508
1509    <!-- Allows applications to write the apn settings -->
1510    <permission android:name="android.permission.WRITE_APN_SETTINGS"
1511                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1512                android:protectionLevel="signature|system"
1513                android:description="@string/permdesc_writeApnSettings"
1514                android:label="@string/permlab_writeApnSettings" />
1515
1516    <!-- Allows an application to allow access the subscribed feeds
1517         ContentProvider. -->
1518    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1519        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1520        android:label="@string/permlab_subscribedFeedsRead"
1521        android:description="@string/permdesc_subscribedFeedsRead"
1522        android:protectionLevel="normal" />
1523    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1524        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1525        android:label="@string/permlab_subscribedFeedsWrite"
1526        android:description="@string/permdesc_subscribedFeedsWrite"
1527        android:protectionLevel="dangerous" />
1528
1529    <!-- Allows applications to change network connectivity state -->
1530    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
1531        android:permissionGroup="android.permission-group.NETWORK"
1532        android:protectionLevel="normal"
1533        android:description="@string/permdesc_changeNetworkState"
1534        android:label="@string/permlab_changeNetworkState" />
1535
1536    <!-- Allows an application to clear the caches of all installed
1537         applications on the device.  -->
1538    <permission android:name="android.permission.CLEAR_APP_CACHE"
1539        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1540        android:protectionLevel="dangerous"
1541        android:label="@string/permlab_clearAppCache"
1542        android:description="@string/permdesc_clearAppCache" />
1543
1544    <!-- Allows an application to use any media decoder when decoding for playback
1545         @hide -->
1546    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
1547        android:protectionLevel="signature|system"
1548        android:label="@string/permlab_anyCodecForPlayback"
1549        android:description="@string/permdesc_anyCodecForPlayback" />
1550
1551    <!-- ========================================= -->
1552    <!-- Permissions for special development tools -->
1553    <!-- ========================================= -->
1554    <eat-comment />
1555
1556    <!-- Group of permissions that are related to development features.  These
1557         are not permissions that should appear in normal applications; they
1558         protect APIs that are intended only to be used for development
1559         purposes. -->
1560    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
1561        android:label="@string/permgrouplab_developmentTools"
1562        android:description="@string/permgroupdesc_developmentTools"
1563        android:priority="310" />
1564
1565    <!-- Allows an application to read or write the secure system settings. -->
1566    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
1567        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1568        android:protectionLevel="signature|system|development"
1569        android:label="@string/permlab_writeSecureSettings"
1570        android:description="@string/permdesc_writeSecureSettings" />
1571
1572    <!-- Allows an application to retrieve state dump information from system
1573         services. -->
1574    <permission android:name="android.permission.DUMP"
1575        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1576        android:protectionLevel="signature|system|development"
1577        android:label="@string/permlab_dump"
1578        android:description="@string/permdesc_dump" />
1579
1580    <!-- Allows an application to read the low-level system log files.
1581         Log entries can contain the user's private information,
1582         which is why this permission is not available to normal apps. -->
1583    <permission android:name="android.permission.READ_LOGS"
1584        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1585        android:protectionLevel="signature|system|development"
1586        android:label="@string/permlab_readLogs"
1587        android:description="@string/permdesc_readLogs" />
1588
1589    <!-- Configure an application for debugging. -->
1590    <permission android:name="android.permission.SET_DEBUG_APP"
1591        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1592        android:protectionLevel="signature|system|development"
1593        android:label="@string/permlab_setDebugApp"
1594        android:description="@string/permdesc_setDebugApp" />
1595
1596    <!-- Allows an application to set the maximum number of (not needed)
1597         application processes that can be running. -->
1598    <permission android:name="android.permission.SET_PROCESS_LIMIT"
1599        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1600        android:protectionLevel="signature|system|development"
1601        android:label="@string/permlab_setProcessLimit"
1602        android:description="@string/permdesc_setProcessLimit" />
1603
1604    <!-- Allows an application to control whether activities are immediately
1605         finished when put in the background. -->
1606    <permission android:name="android.permission.SET_ALWAYS_FINISH"
1607        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1608        android:protectionLevel="signature|system|development"
1609        android:label="@string/permlab_setAlwaysFinish"
1610        android:description="@string/permdesc_setAlwaysFinish" />
1611
1612    <!-- Allow an application to request that a signal be sent to all persistent processes -->
1613    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1614        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1615        android:protectionLevel="signature|system|development"
1616        android:label="@string/permlab_signalPersistentProcesses"
1617        android:description="@string/permdesc_signalPersistentProcesses" />
1618
1619    <!-- ==================================== -->
1620    <!-- Private (signature-only) permissions -->
1621    <!-- ==================================== -->
1622    <eat-comment />
1623
1624    <!-- Allows applications to RW to diagnostic resources. -->
1625    <permission android:name="android.permission.DIAGNOSTIC"
1626        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1627        android:protectionLevel="signature"
1628        android:description="@string/permdesc_diagnostic"
1629        android:label="@string/permlab_diagnostic" />
1630
1631    <!-- Allows an application to open, close, or disable the status bar
1632         and its icons. -->
1633    <permission android:name="android.permission.STATUS_BAR"
1634        android:label="@string/permlab_statusBar"
1635        android:description="@string/permdesc_statusBar"
1636        android:protectionLevel="signature|system" />
1637
1638    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
1639    @hide -->
1640    <permission android:name="android.permission.STATUS_BAR_SERVICE"
1641        android:label="@string/permlab_statusBarService"
1642        android:description="@string/permdesc_statusBarService"
1643        android:protectionLevel="signature" />
1644
1645    <!-- Allows an application to force a BACK operation on whatever is the
1646         top activity. -->
1647    <permission android:name="android.permission.FORCE_BACK"
1648        android:label="@string/permlab_forceBack"
1649        android:description="@string/permdesc_forceBack"
1650        android:protectionLevel="signature" />
1651
1652    <!-- Allows an application to update device statistics. Not for
1653         use by third party apps. -->
1654    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
1655        android:label="@string/permlab_updateBatteryStats"
1656        android:description="@string/permdesc_updateBatteryStats"
1657        android:protectionLevel="signature|system" />
1658
1659    <!-- @hide Allows an application to collect battery statistics -->
1660    <permission android:name="android.permission.GET_APP_OPS_STATS"
1661        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1662        android:label="@string/permlab_getAppOpsStats"
1663        android:description="@string/permdesc_getAppOpsStats"
1664        android:protectionLevel="signature|system|development" />
1665
1666    <!-- Allows an application to update application operation statistics. Not for
1667         use by third party apps. @hide -->
1668    <permission android:name="android.permission.UPDATE_APP_OPS_STATS"
1669        android:label="@string/permlab_updateAppOpsStats"
1670        android:description="@string/permdesc_updateAppOpsStats"
1671        android:protectionLevel="signature|system" />
1672
1673    <!-- Allows an application to open windows that are for use by parts
1674         of the system user interface.  Not for use by third party apps. -->
1675    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
1676        android:label="@string/permlab_internalSystemWindow"
1677        android:description="@string/permdesc_internalSystemWindow"
1678        android:protectionLevel="signature" />
1679
1680    <!-- Allows an application to manage (create, destroy,
1681         Z-order) application tokens in the window manager.  This is only
1682         for use by the system. -->
1683    <permission android:name="android.permission.MANAGE_APP_TOKENS"
1684        android:label="@string/permlab_manageAppTokens"
1685        android:description="@string/permdesc_manageAppTokens"
1686        android:protectionLevel="signature" />
1687
1688    <!-- @hide Allows the application to temporarily freeze the screen for a
1689         full-screen transition. -->
1690    <permission android:name="android.permission.FREEZE_SCREEN"
1691        android:label="@string/permlab_freezeScreen"
1692        android:description="@string/permdesc_freezeScreen"
1693        android:protectionLevel="signature" />
1694
1695    <!-- Allows an application to inject user events (keys, touch, trackball)
1696         into the event stream and deliver them to ANY window.  Without this
1697         permission, you can only deliver events to windows in your own process.
1698         Very few applications should need to use this permission. -->
1699    <permission android:name="android.permission.INJECT_EVENTS"
1700        android:label="@string/permlab_injectEvents"
1701        android:description="@string/permdesc_injectEvents"
1702        android:protectionLevel="signature" />
1703
1704    <!-- @hide Allows an application to register an input filter which filters the stream
1705         of user events (keys, touch, trackball) before they are dispatched to any window. -->
1706    <permission android:name="android.permission.FILTER_EVENTS"
1707        android:label="@string/permlab_filter_events"
1708        android:description="@string/permdesc_filter_events"
1709        android:protectionLevel="signature" />
1710
1711    <!-- @hide Allows an application to retrieve info for a window from the window manager. -->
1712    <permission android:name="android.permission.RETRIEVE_WINDOW_INFO"
1713        android:label="@string/permlab_retrieve_window_info"
1714        android:description="@string/permdesc_retrieve_window_info"
1715        android:protectionLevel="signature" />
1716
1717    <!-- @hide Allows an application to temporary enable accessibility on the device. -->
1718    <permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
1719        android:label="@string/permlab_temporary_enable_accessibility"
1720        android:description="@string/permdesc_temporary_enable_accessibility"
1721        android:protectionLevel="signature" />
1722
1723    <!-- @hide Allows an application to magnify the content of a display. -->
1724    <permission android:name="android.permission.MAGNIFY_DISPLAY"
1725        android:label="@string/permlab_magnify_display"
1726        android:description="@string/permdesc_magnify_display"
1727        android:protectionLevel="signature" />
1728
1729    <!-- Allows an application to watch and control how activities are
1730         started globally in the system.  Only for is in debugging
1731         (usually the monkey command). -->
1732    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1733        android:label="@string/permlab_runSetActivityWatcher"
1734        android:description="@string/permdesc_runSetActivityWatcher"
1735        android:protectionLevel="signature" />
1736
1737    <!-- Allows an application to call the activity manager shutdown() API
1738         to put the higher-level system there into a shutdown state.
1739         @hide -->
1740    <permission android:name="android.permission.SHUTDOWN"
1741        android:label="@string/permlab_shutdown"
1742        android:description="@string/permdesc_shutdown"
1743        android:protectionLevel="signature|system" />
1744
1745    <!-- Allows an application to tell the activity manager to temporarily
1746         stop application switches, putting it into a special mode that
1747         prevents applications from immediately switching away from some
1748         critical UI such as the home screen.
1749         @hide -->
1750    <permission android:name="android.permission.STOP_APP_SWITCHES"
1751        android:label="@string/permlab_stopAppSwitches"
1752        android:description="@string/permdesc_stopAppSwitches"
1753        android:protectionLevel="signature|system" />
1754
1755    <!-- Allows an application to retrieve private information about
1756         the current top activity, such as any assist context it can provide. -->
1757    <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
1758        android:label="@string/permlab_getTopActivityInfo"
1759        android:description="@string/permdesc_getTopActivityInfo"
1760        android:protectionLevel="signature" />
1761
1762    <!-- Allows an application to retrieve the current state of keys and
1763         switches.  This is only for use by the system.
1764         @deprecated The API that used this permission has been removed. -->
1765    <permission android:name="android.permission.READ_INPUT_STATE"
1766        android:label="@string/permlab_readInputState"
1767        android:description="@string/permdesc_readInputState"
1768        android:protectionLevel="signature" />
1769
1770    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1771         to ensure that only the system can bind to it. -->
1772    <permission android:name="android.permission.BIND_INPUT_METHOD"
1773        android:label="@string/permlab_bindInputMethod"
1774        android:description="@string/permdesc_bindInputMethod"
1775        android:protectionLevel="signature" />
1776
1777    <!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
1778         to ensure that only the system can bind to it. -->
1779    <permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
1780        android:label="@string/permlab_bindAccessibilityService"
1781        android:description="@string/permdesc_bindAccessibilityService"
1782        android:protectionLevel="signature" />
1783
1784    <!-- Must be required by a TextService (e.g. SpellCheckerService)
1785         to ensure that only the system can bind to it. -->
1786    <permission android:name="android.permission.BIND_TEXT_SERVICE"
1787        android:label="@string/permlab_bindTextService"
1788        android:description="@string/permdesc_bindTextService"
1789        android:protectionLevel="signature" />
1790
1791    <!-- Must be required by an {@link android.net.VpnService},
1792         to ensure that only the system can bind to it. -->
1793    <permission android:name="android.permission.BIND_VPN_SERVICE"
1794        android:label="@string/permlab_bindVpnService"
1795        android:description="@string/permdesc_bindVpnService"
1796        android:protectionLevel="signature" />
1797
1798    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1799         to ensure that only the system can bind to it. -->
1800    <permission android:name="android.permission.BIND_WALLPAPER"
1801        android:label="@string/permlab_bindWallpaper"
1802        android:description="@string/permdesc_bindWallpaper"
1803        android:protectionLevel="signature|system" />
1804
1805    <!-- Must be required by device administration receiver, to ensure that only the
1806         system can interact with it. -->
1807    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1808        android:label="@string/permlab_bindDeviceAdmin"
1809        android:description="@string/permdesc_bindDeviceAdmin"
1810        android:protectionLevel="signature" />
1811
1812    <!-- Allows low-level access to setting the orientation (actually
1813         rotation) of the screen.  Not for use by normal applications. -->
1814    <permission android:name="android.permission.SET_ORIENTATION"
1815        android:label="@string/permlab_setOrientation"
1816        android:description="@string/permdesc_setOrientation"
1817        android:protectionLevel="signature" />
1818
1819    <!-- Allows low-level access to setting the pointer speed.
1820         Not for use by normal applications. -->
1821    <permission android:name="android.permission.SET_POINTER_SPEED"
1822        android:label="@string/permlab_setPointerSpeed"
1823        android:description="@string/permdesc_setPointerSpeed"
1824        android:protectionLevel="signature" />
1825
1826    <!-- Allows low-level access to setting the keyboard layout.
1827         Not for use by normal applications.
1828         @hide -->
1829    <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
1830        android:label="@string/permlab_setKeyboardLayout"
1831        android:description="@string/permdesc_setKeyboardLayout"
1832        android:protectionLevel="signature" />
1833
1834    <!-- Allows an application to install packages. -->
1835    <permission android:name="android.permission.INSTALL_PACKAGES"
1836        android:label="@string/permlab_installPackages"
1837        android:description="@string/permdesc_installPackages"
1838        android:protectionLevel="signature|system" />
1839
1840    <!-- Allows an application to clear user data -->
1841    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1842        android:label="@string/permlab_clearAppUserData"
1843        android:description="@string/permdesc_clearAppUserData"
1844        android:protectionLevel="signature" />
1845
1846    <!-- Allows an application to delete cache files. -->
1847    <permission android:name="android.permission.DELETE_CACHE_FILES"
1848        android:label="@string/permlab_deleteCacheFiles"
1849        android:description="@string/permdesc_deleteCacheFiles"
1850        android:protectionLevel="signature|system" />
1851
1852    <!-- Allows an application to delete packages. -->
1853    <permission android:name="android.permission.DELETE_PACKAGES"
1854        android:label="@string/permlab_deletePackages"
1855        android:description="@string/permdesc_deletePackages"
1856        android:protectionLevel="signature|system" />
1857
1858    <!-- Allows an application to move location of installed package.
1859         @hide -->
1860    <permission android:name="android.permission.MOVE_PACKAGE"
1861        android:label="@string/permlab_movePackage"
1862        android:description="@string/permdesc_movePackage"
1863        android:protectionLevel="signature|system" />
1864
1865    <!-- Allows an application to change whether an application component (other than its own) is
1866         enabled or not. -->
1867    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1868        android:label="@string/permlab_changeComponentState"
1869        android:description="@string/permdesc_changeComponentState"
1870        android:protectionLevel="signature|system" />
1871
1872    <!-- @hide Allows an application to grant or revoke specific permissions. -->
1873    <permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
1874        android:label="@string/permlab_grantRevokePermissions"
1875        android:description="@string/permdesc_grantRevokePermissions"
1876        android:protectionLevel="signature" />
1877
1878    <!-- Allows an application to use SurfaceFlinger's low level features -->
1879    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1880        android:label="@string/permlab_accessSurfaceFlinger"
1881        android:description="@string/permdesc_accessSurfaceFlinger"
1882        android:protectionLevel="signature" />
1883
1884    <!-- Allows an application to take screen shots and more generally
1885         get access to the frame buffer data -->
1886    <permission android:name="android.permission.READ_FRAME_BUFFER"
1887        android:label="@string/permlab_readFrameBuffer"
1888        android:description="@string/permdesc_readFrameBuffer"
1889        android:protectionLevel="signature|system" />
1890
1891    <!-- Allows an application to configure and connect to Wifi displays
1892         @hide -->
1893    <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
1894        android:label="@string/permlab_configureWifiDisplay"
1895        android:description="@string/permdesc_configureWifiDisplay"
1896        android:protectionLevel="signature" />
1897
1898    <!-- Allows an application to control low-level features of Wifi displays
1899         such as opening an RTSP socket.  This permission should only be used
1900         by the display manager.
1901         @hide -->
1902    <permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
1903        android:label="@string/permlab_controlWifiDisplay"
1904        android:description="@string/permdesc_controlWifiDisplay"
1905        android:protectionLevel="signature" />
1906
1907    <!-- Required to be able to disable the device (very dangerous!). -->
1908    <permission android:name="android.permission.BRICK"
1909        android:label="@string/permlab_brick"
1910        android:description="@string/permdesc_brick"
1911        android:protectionLevel="signature" />
1912
1913    <!-- Required to be able to reboot the device. -->
1914    <permission android:name="android.permission.REBOOT"
1915        android:label="@string/permlab_reboot"
1916        android:description="@string/permdesc_reboot"
1917        android:protectionLevel="signature|system" />
1918
1919   <!-- Allows low-level access to power management -->
1920    <permission android:name="android.permission.DEVICE_POWER"
1921        android:label="@string/permlab_devicePower"
1922        android:description="@string/permdesc_devicePower"
1923        android:protectionLevel="signature" />
1924
1925   <!-- @hide Allows low-level access to tun tap driver -->
1926    <permission android:name="android.permission.NET_TUNNELING"
1927        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1928        android:protectionLevel="signature" />
1929
1930    <!-- Run as a manufacturer test application, running as the root user.
1931         Only available when the device is running in manufacturer test mode. -->
1932    <permission android:name="android.permission.FACTORY_TEST"
1933        android:label="@string/permlab_factoryTest"
1934        android:description="@string/permdesc_factoryTest"
1935        android:protectionLevel="signature" />
1936
1937    <!-- Allows an application to broadcast a notification that an application
1938         package has been removed. -->
1939    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1940        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1941        android:label="@string/permlab_broadcastPackageRemoved"
1942        android:description="@string/permdesc_broadcastPackageRemoved"
1943        android:protectionLevel="signature" />
1944
1945    <!-- Allows an application to broadcast an SMS receipt notification -->
1946    <permission android:name="android.permission.BROADCAST_SMS"
1947        android:permissionGroup="android.permission-group.MESSAGES"
1948        android:label="@string/permlab_broadcastSmsReceived"
1949        android:description="@string/permdesc_broadcastSmsReceived"
1950        android:protectionLevel="signature" />
1951
1952    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1953    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1954        android:permissionGroup="android.permission-group.MESSAGES"
1955        android:label="@string/permlab_broadcastWapPush"
1956        android:description="@string/permdesc_broadcastWapPush"
1957        android:protectionLevel="signature" />
1958
1959    <permission android:name="android.permission.MASTER_CLEAR"
1960        android:label="@string/permlab_masterClear"
1961        android:description="@string/permdesc_masterClear"
1962        android:protectionLevel="signature|system" />
1963
1964    <!-- Allows an application to call any phone number, including emergency
1965         numbers, without going through the Dialer user interface for the user
1966         to confirm the call being placed. -->
1967    <permission android:name="android.permission.CALL_PRIVILEGED"
1968        android:label="@string/permlab_callPrivileged"
1969        android:description="@string/permdesc_callPrivileged"
1970        android:protectionLevel="signature|system" />
1971
1972    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1973    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1974        android:label="@string/permlab_performCdmaProvisioning"
1975        android:description="@string/permdesc_performCdmaProvisioning"
1976        android:protectionLevel="signature|system" />
1977
1978    <!-- Allows enabling/disabling location update notifications from
1979         the radio. Not for use by normal applications. -->
1980    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1981        android:label="@string/permlab_locationUpdates"
1982        android:description="@string/permdesc_locationUpdates"
1983        android:protectionLevel="signature|system" />
1984
1985    <!-- Allows read/write access to the "properties" table in the checkin
1986         database, to change values that get uploaded. -->
1987    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1988        android:label="@string/permlab_checkinProperties"
1989        android:description="@string/permdesc_checkinProperties"
1990        android:protectionLevel="signature|system" />
1991
1992    <!-- Allows an application to collect component usage
1993         statistics @hide -->
1994    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1995        android:label="@string/permlab_pkgUsageStats"
1996        android:description="@string/permdesc_pkgUsageStats"
1997        android:protectionLevel="signature|system" />
1998
1999    <!-- Allows an application to collect battery statistics -->
2000    <permission android:name="android.permission.BATTERY_STATS"
2001        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2002        android:label="@string/permlab_batteryStats"
2003        android:description="@string/permdesc_batteryStats"
2004        android:protectionLevel="dangerous" />
2005
2006    <!-- Allows an application to control the backup and restore process
2007         @hide pending API council -->
2008    <permission android:name="android.permission.BACKUP"
2009        android:label="@string/permlab_backup"
2010        android:description="@string/permdesc_backup"
2011        android:protectionLevel="signature|system" />
2012
2013    <!-- Allows a package to launch the secure full-backup confirmation UI.
2014         ONLY the system process may hold this permission.
2015         @hide -->
2016    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
2017        android:label="@string/permlab_confirm_full_backup"
2018        android:description="@string/permdesc_confirm_full_backup"
2019        android:protectionLevel="signature" />
2020
2021    <!-- Must be required by a {@link android.widget.RemoteViewsService},
2022         to ensure that only the system can bind to it. -->
2023    <permission android:name="android.permission.BIND_REMOTEVIEWS"
2024        android:label="@string/permlab_bindRemoteViews"
2025        android:description="@string/permdesc_bindRemoteViews"
2026        android:protectionLevel="signature|system" />
2027
2028    <!-- Allows an application to tell the AppWidget service which application
2029         can access AppWidget's data.  The normal user flow is that a user
2030         picks an AppWidget to go into a particular host, thereby giving that
2031         host application access to the private data from the AppWidget app.
2032         An application that has this permission should honor that contract.
2033         Very few applications should need to use this permission. -->
2034    <permission android:name="android.permission.BIND_APPWIDGET"
2035        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2036        android:label="@string/permlab_bindGadget"
2037        android:description="@string/permdesc_bindGadget"
2038        android:protectionLevel="signature|system" />
2039
2040    <!-- Private permission, to restrict who can bring up a dialog to add a new
2041         keyguard widget
2042         @hide -->
2043    <permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
2044        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2045        android:protectionLevel="signature|system" />
2046
2047    <!-- Internal permission allowing an application to query/set which
2048         applications can bind AppWidgets.
2049         @hide -->
2050    <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
2051        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2052        android:protectionLevel="signature|system" />
2053
2054    <!-- Allows applications to change the background data setting
2055         @hide pending API council -->
2056    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
2057        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2058        android:protectionLevel="signature"
2059        android:description="@string/permdesc_changeBackgroundDataSetting"
2060        android:label="@string/permlab_changeBackgroundDataSetting" />
2061
2062    <!-- This permission can be used on content providers to allow the global
2063         search system to access their data.  Typically it used when the
2064         provider has some permissions protecting it (which global search
2065         would not be expected to hold), and added as a read-only permission
2066         to the path in the provider where global search queries are
2067         performed.  This permission can not be held by regular applications;
2068         it is used by applications to protect themselves from everyone else
2069         besides global search. -->
2070    <permission android:name="android.permission.GLOBAL_SEARCH"
2071        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2072        android:protectionLevel="signature|system" />
2073
2074    <!-- Internal permission protecting access to the global search
2075         system: ensures that only the system can access the provider
2076         to perform queries (since this otherwise provides unrestricted
2077         access to a variety of content providers), and to write the
2078         search statistics (to keep applications from gaming the source
2079         ranking).
2080         @hide -->
2081    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
2082        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2083        android:protectionLevel="signature" />
2084
2085    <!-- Allows applications to set a live wallpaper.
2086         @hide XXX Change to signature once the picker is moved to its
2087         own apk as Ghod Intended. -->
2088    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
2089        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2090        android:protectionLevel="signature|system" />
2091
2092    <!-- Allows applications to read dream settings and dream state.
2093         @hide -->
2094    <permission android:name="android.permission.READ_DREAM_STATE"
2095        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2096        android:protectionLevel="signature" />
2097
2098    <!-- Allows applications to write dream settings, and start or stop dreaming.
2099         @hide -->
2100    <permission android:name="android.permission.WRITE_DREAM_STATE"
2101        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2102        android:protectionLevel="signature" />
2103
2104    <!-- Allow an application to read and write the cache partition.
2105         @hide -->
2106    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
2107        android:label="@string/permlab_cache_filesystem"
2108        android:description="@string/permdesc_cache_filesystem"
2109        android:protectionLevel="signature|system" />
2110
2111    <!-- Must be required by default container service so that only
2112         the system can bind to it and use it to copy
2113         protected data to secure containers or files
2114         accessible to the system.
2115         @hide -->
2116    <permission android:name="android.permission.COPY_PROTECTED_DATA"
2117        android:label="@string/permlab_copyProtectedData"
2118        android:description="@string/permlab_copyProtectedData"
2119        android:protectionLevel="signature" />
2120
2121    <!-- Internal permission protecting access to the encryption methods
2122        @hide
2123    -->
2124    <permission android:name="android.permission.CRYPT_KEEPER"
2125        android:protectionLevel="signature|system" />
2126
2127    <!-- Allows an application to read historical network usage for
2128         specific networks and applications. @hide -->
2129    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
2130        android:label="@string/permlab_readNetworkUsageHistory"
2131        android:description="@string/permdesc_readNetworkUsageHistory"
2132        android:protectionLevel="signature|system" />
2133
2134    <!-- Allows an application to manage network policies (such as warning and disable
2135         limits) and to define application-specific rules. @hide -->
2136    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
2137        android:label="@string/permlab_manageNetworkPolicy"
2138        android:description="@string/permdesc_manageNetworkPolicy"
2139        android:protectionLevel="signature" />
2140
2141    <!-- Allows an application to account its network traffic against other UIDs. Used
2142         by system services like download manager and media server. Not for use by
2143         third party apps. @hide -->
2144    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
2145        android:label="@string/permlab_modifyNetworkAccounting"
2146        android:description="@string/permdesc_modifyNetworkAccounting"
2147        android:protectionLevel="signature|system" />
2148
2149    <!-- C2DM permission.
2150         @hide Used internally.
2151     -->
2152    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
2153          android:protectionLevel="signature" />
2154    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
2155
2156    <!-- @hide Package verifier needs to have this permission before the PackageManager will
2157         trust it to verify packages.
2158    -->
2159    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
2160        android:label="@string/permlab_packageVerificationAgent"
2161        android:description="@string/permdesc_packageVerificationAgent"
2162        android:protectionLevel="signature|system" />
2163
2164    <!-- Must be required by package verifier receiver, to ensure that only the
2165         system can interact with it.
2166         @hide
2167    -->
2168    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
2169        android:label="@string/permlab_bindPackageVerifier"
2170        android:description="@string/permdesc_bindPackageVerifier"
2171        android:protectionLevel="signature" />
2172
2173    <!-- Allows applications to access serial ports via the SerialManager.
2174         @hide -->
2175    <permission android:name="android.permission.SERIAL_PORT"
2176        android:label="@string/permlab_serialPort"
2177        android:description="@string/permdesc_serialPort"
2178        android:protectionLevel="signature|system" />
2179
2180    <!-- Allows the holder to access content providers from outside an ApplicationThread.
2181         This permission is enforced by the ActivityManagerService on the corresponding APIs,
2182         in particular ActivityManagerService#getContentProviderExternal(String) and
2183         ActivityManagerService#removeContentProviderExternal(String).
2184         @hide
2185    -->
2186    <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
2187        android:label="@string/permlab_accessContentProvidersExternally"
2188        android:description="@string/permdesc_accessContentProvidersExternally"
2189        android:protectionLevel="signature" />
2190    <!-- Allows an application to hold an UpdateLock, recommending that a headless
2191         OTA reboot *not* occur while the lock is held.
2192         @hide -->
2193    <permission android:name="android.permission.UPDATE_LOCK"
2194        android:label="@string/permlab_updateLock"
2195        android:description="@string/permdesc_updateLock"
2196        android:protectionLevel="signatureOrSystem" />
2197
2198    <!-- Allows an application to read the current set of notifications, including
2199         any metadata and intents attached.
2200         @hide -->
2201    <permission android:name="android.permission.ACCESS_NOTIFICATIONS"
2202        android:label="@string/permlab_accessNotifications"
2203        android:description="@string/permdesc_accessNotifications"
2204        android:protectionLevel="signature|system" />
2205
2206    <!-- Must be required by an {@link
2207         android.service.notification.NotificationListenerService},
2208         to ensure that only the system can bind to it. -->
2209    <permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
2210        android:label="@string/permlab_bindNotificationListenerService"
2211        android:description="@string/permdesc_bindNotificationListenerService"
2212        android:protectionLevel="signature" />
2213
2214    <!-- The system process is explicitly the only one allowed to launch the
2215         confirmation UI for full backup/restore -->
2216    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
2217
2218    <application android:process="system"
2219                 android:persistent="true"
2220                 android:hasCode="false"
2221                 android:label="@string/android_system_label"
2222                 android:allowClearUserData="false"
2223                 android:backupAgent="com.android.server.SystemBackupAgent"
2224                 android:killAfterRestore="false"
2225                 android:icon="@drawable/ic_launcher_android"
2226                 android:supportsRtl="true">
2227        <activity android:name="com.android.internal.app.ChooserActivity"
2228                android:theme="@style/Theme.Holo.Dialog.Alert"
2229                android:finishOnCloseSystemDialogs="true"
2230                android:excludeFromRecents="true"
2231                android:multiprocess="true">
2232            <intent-filter>
2233                <action android:name="android.intent.action.CHOOSER" />
2234                <category android:name="android.intent.category.DEFAULT" />
2235            </intent-filter>
2236        </activity>
2237        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
2238                android:theme="@style/Theme.Holo.Dialog"
2239                android:label="@string/heavy_weight_switcher_title"
2240                android:finishOnCloseSystemDialogs="true"
2241                android:excludeFromRecents="true"
2242                android:process=":ui">
2243        </activity>
2244        <activity android:name="com.android.internal.app.PlatLogoActivity"
2245                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
2246                android:process=":ui">
2247        </activity>
2248        <activity android:name="com.android.internal.app.DisableCarModeActivity"
2249                android:theme="@style/Theme.NoDisplay"
2250                android:excludeFromRecents="true"
2251                android:process=":ui">
2252        </activity>
2253
2254        <activity android:name="android.accounts.ChooseAccountActivity"
2255                android:excludeFromRecents="true"
2256                android:exported="true"
2257                android:theme="@android:style/Theme.Holo.Dialog"
2258                android:label="@string/choose_account_label"
2259                android:process=":ui">
2260        </activity>
2261
2262        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
2263                android:excludeFromRecents="true"
2264                android:exported="true"
2265                android:theme="@android:style/Theme.Holo.Dialog"
2266                android:label="@string/choose_account_label"
2267                android:process=":ui">
2268        </activity>
2269
2270        <activity android:name="android.accounts.ChooseAccountTypeActivity"
2271                android:excludeFromRecents="true"
2272                android:theme="@android:style/Theme.Holo.Dialog"
2273                android:label="@string/choose_account_label"
2274                android:process=":ui">
2275        </activity>
2276
2277        <activity android:name="android.accounts.CantAddAccountActivity"
2278                android:excludeFromRecents="true"
2279                android:exported="true"
2280                android:theme="@android:style/Theme.Holo.Dialog"
2281                android:label="@string/error_message_title"
2282                android:process=":ui">
2283        </activity>
2284
2285        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
2286                android:excludeFromRecents="true"
2287                android:exported="true"
2288                android:theme="@android:style/Theme.Holo.DialogWhenLarge"
2289                android:process=":ui">
2290        </activity>
2291
2292        <activity android:name="android.content.SyncActivityTooManyDeletes"
2293               android:theme="@android:style/Theme.Holo.Dialog"
2294               android:label="@string/sync_too_many_deletes"
2295               android:process=":ui">
2296        </activity>
2297
2298        <activity android:name="com.android.server.ShutdownActivity"
2299            android:permission="android.permission.SHUTDOWN"
2300            android:excludeFromRecents="true">
2301            <intent-filter>
2302                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
2303                <category android:name="android.intent.category.DEFAULT" />
2304            </intent-filter>
2305            <intent-filter>
2306                <action android:name="android.intent.action.REBOOT" />
2307                <category android:name="android.intent.category.DEFAULT" />
2308            </intent-filter>
2309        </activity>
2310
2311        <activity android:name="com.android.internal.app.NetInitiatedActivity"
2312                android:theme="@style/Theme.Holo.Dialog.Alert"
2313                android:excludeFromRecents="true"
2314                android:process=":ui">
2315        </activity>
2316
2317        <receiver android:name="com.android.server.BootReceiver"
2318                android:primaryUserOnly="true">
2319            <intent-filter>
2320                <action android:name="android.intent.action.BOOT_COMPLETED" />
2321            </intent-filter>
2322        </receiver>
2323
2324        <receiver android:name="com.android.server.updates.CertPinInstallReceiver" >
2325            <intent-filter>
2326                <action android:name="android.intent.action.UPDATE_PINS" />
2327            </intent-filter>
2328        </receiver>
2329
2330        <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver" >
2331            <intent-filter>
2332                <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
2333            </intent-filter>
2334        </receiver>
2335
2336        <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver" >
2337            <intent-filter>
2338                <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
2339            </intent-filter>
2340        </receiver>
2341
2342        <receiver android:name="com.android.server.updates.TZInfoInstallReceiver" >
2343            <intent-filter>
2344                <action android:name="android.intent.action.UPDATE_TZINFO" />
2345            </intent-filter>
2346        </receiver>
2347
2348        <receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver" >
2349            <intent-filter>
2350                <action android:name="android.intent.action.UPDATE_SEPOLICY" />
2351            </intent-filter>
2352        </receiver>
2353
2354        <receiver android:name="com.android.server.MasterClearReceiver"
2355            android:permission="android.permission.MASTER_CLEAR"
2356            android:priority="100" >
2357            <intent-filter>
2358                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
2359                <action android:name="android.intent.action.MASTER_CLEAR" />
2360
2361                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
2362                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
2363                <category android:name="android.intent.category.MASTER_CLEAR" />
2364            </intent-filter>
2365        </receiver>
2366
2367        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
2368            android:permission="android.permission.MASTER_CLEAR"
2369            android:exported="true" />
2370
2371        <service android:name="android.hardware.location.GeofenceHardwareService"
2372            android:permission="android.permission.LOCATION_HARDWARE"
2373            android:exported="false" />
2374    </application>
2375
2376</manifest>
2377