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