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