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