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