AndroidManifest.xml revision 8ca4886e439685fdcb1eff4c3552a62522ebeeb0
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="signature|system"
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    <!-- @SystemApi Allows access to FM
1092         @hide This is not a third-party API (intended for system apps).-->
1093    <permission android:name="android.permission.ACCESS_FM_RADIO"
1094        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
1095        android:protectionLevel="signature|system"
1096        android:label="@string/permlab_fm"
1097        android:description="@string/permdesc_fm" />
1098
1099    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
1100         @hide -->
1101    <permission android:name="android.permission.NET_ADMIN"
1102        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1103        android:protectionLevel="signature" />
1104
1105    <!-- Allows registration for remote audio playback. @hide -->
1106    <permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
1107        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1108        android:protectionLevel="signature" />
1109
1110    <!-- @SystemApi Allows TvInputService to access underlying TV input hardware such as
1111         built-in tuners and HDMI-in's.
1112         @hide This should only be used by OEM's TvInputService's.
1113    -->
1114    <permission android:name="android.permission.TV_INPUT_HARDWARE"
1115        android:protectionLevel="signatureOrSystem" />
1116
1117    <!-- @SystemApi Allows to capture a frame of TV input hardware such as
1118         built-in tuners and HDMI-in's.
1119         @hide <p>Not for use by third-party applications.
1120    -->
1121    <permission android:name="android.permission.CAPTURE_TV_INPUT"
1122        android:protectionLevel="signatureOrSystem" />
1123
1124    <!-- @hide Allows enabling/disabling OEM unlock
1125   <p>Not for use by third-party applications. -->
1126    <permission android:name="android.permission.OEM_UNLOCK_STATE"
1127                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1128                android:protectionLevel="signature" />
1129
1130
1131    <!-- =========================================== -->
1132    <!-- Permissions associated with audio capture -->
1133    <!-- =========================================== -->
1134    <eat-comment />
1135
1136    <!-- Used for permissions that are associated with accessing
1137         microphone audio from the device. Note that phone calls also capture audio
1138         but are in a separate (more visible) permission group. -->
1139    <permission-group android:name="android.permission-group.MICROPHONE"
1140        android:label="@string/permgrouplab_microphone"
1141        android:icon="@drawable/perm_group_microphone"
1142        android:description="@string/permgroupdesc_microphone"
1143        android:permissionGroupFlags="personalInfo"
1144        android:priority="340" />
1145
1146    <!-- Allows an application to record audio -->
1147    <permission android:name="android.permission.RECORD_AUDIO"
1148        android:permissionGroup="android.permission-group.MICROPHONE"
1149        android:protectionLevel="dangerous"
1150        android:label="@string/permlab_recordAudio"
1151        android:description="@string/permdesc_recordAudio" />
1152
1153
1154    <!-- =========================================== -->
1155    <!-- Permissions associated with camera and image capture -->
1156    <!-- =========================================== -->
1157    <eat-comment />
1158
1159    <!-- Used for permissions that are associated with accessing
1160         camera or capturing images/video from the device. -->
1161    <permission-group android:name="android.permission-group.CAMERA"
1162        android:label="@string/permgrouplab_camera"
1163        android:icon="@drawable/perm_group_camera"
1164        android:description="@string/permgroupdesc_camera"
1165        android:permissionGroupFlags="personalInfo"
1166        android:priority="350" />
1167
1168    <!-- Required to be able to access the camera device.
1169         <p>This will automatically enforce the <a
1170         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
1171         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
1172         If you do not require all camera features or can properly operate if a camera
1173         is not available, then you must modify your manifest as appropriate in order to
1174         install on devices that don't support all camera features.</p> -->
1175    <permission android:name="android.permission.CAMERA"
1176        android:permissionGroup="android.permission-group.CAMERA"
1177        android:protectionLevel="dangerous"
1178        android:label="@string/permlab_camera"
1179        android:description="@string/permdesc_camera" />
1180
1181    <!-- @SystemApi Allows disabling the transmit-indicator LED that is normally on when
1182         a camera is in use by an application.
1183         @hide -->
1184    <permission android:name="android.permission.CAMERA_DISABLE_TRANSMIT_LED"
1185        android:permissionGroup="android.permission-group.CAMERA"
1186        android:protectionLevel="signature|system"
1187        android:label="@string/permlab_cameraDisableTransmitLed"
1188        android:description="@string/permdesc_cameraDisableTransmitLed" />
1189
1190    <!-- =========================================== -->
1191    <!-- Permissions associated with telephony state -->
1192    <!-- =========================================== -->
1193    <eat-comment />
1194
1195    <!-- Used for permissions that are associated with accessing and modifying
1196         telephony state: placing calls, intercepting outgoing calls, reading
1197         and modifying the phone state. -->
1198    <permission-group android:name="android.permission-group.PHONE_CALLS"
1199        android:label="@string/permgrouplab_phoneCalls"
1200        android:icon="@drawable/perm_group_phone_calls"
1201        android:description="@string/permgroupdesc_phoneCalls"
1202        android:permissionGroupFlags="personalInfo"
1203        android:priority="370" />
1204
1205    <!-- Allows an application to see the number being dialed during an outgoing
1206         call with the option to redirect the call to a different number or
1207         abort the call altogether. -->
1208    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
1209        android:permissionGroup="android.permission-group.PHONE_CALLS"
1210        android:protectionLevel="dangerous"
1211        android:label="@string/permlab_processOutgoingCalls"
1212        android:description="@string/permdesc_processOutgoingCalls" />
1213
1214    <!-- @SystemApi Allows modification of the telephony state - power on, mmi, etc.
1215         Does not include placing calls.
1216         <p>Not for use by third-party applications. -->
1217    <permission android:name="android.permission.MODIFY_PHONE_STATE"
1218        android:permissionGroup="android.permission-group.PHONE_CALLS"
1219        android:protectionLevel="signature|system"
1220        android:label="@string/permlab_modifyPhoneState"
1221        android:description="@string/permdesc_modifyPhoneState" />
1222
1223    <!-- Allows read only access to phone state.
1224         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1225         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1226         minSdkVersion}</a> and <a
1227         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1228         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1229         grants your app this permission. If you don't need this permission, be sure your <a
1230         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1231         targetSdkVersion}</a> is 4 or higher. -->
1232    <permission android:name="android.permission.READ_PHONE_STATE"
1233        android:permissionGroup="android.permission-group.PHONE_CALLS"
1234        android:protectionLevel="dangerous"
1235        android:label="@string/permlab_readPhoneState"
1236        android:description="@string/permdesc_readPhoneState" />
1237
1238    <!-- Allows read only access to precise phone state.
1239         @hide Pending API council approval -->
1240    <permission android:name="android.permission.READ_PRECISE_PHONE_STATE"
1241        android:permissionGroup="android.permission-group.PHONE_CALLS"
1242        android:protectionLevel="dangerous"
1243        android:label="@string/permlab_readPrecisePhoneState"
1244        android:description="@string/permdesc_readPrecisePhoneState" />
1245
1246    <!-- @SystemApi Allows read access to privileged phone state.
1247         @hide Used internally. -->
1248    <permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
1249        android:permissionGroup="android.permission-group.PHONE_CALLS"
1250        android:protectionLevel="signature|system" />
1251
1252     <!-- Allows an application to initiate a phone call without going through
1253         the Dialer user interface for the user to confirm the call
1254         being placed. -->
1255    <permission android:name="android.permission.CALL_PHONE"
1256        android:permissionGroup="android.permission-group.PHONE_CALLS"
1257        android:protectionLevel="dangerous"
1258        android:permissionFlags="costsMoney"
1259        android:label="@string/permlab_callPhone"
1260        android:description="@string/permdesc_callPhone" />
1261
1262    <!-- Allows an application to use SIP service -->
1263    <permission android:name="android.permission.USE_SIP"
1264        android:permissionGroup="android.permission-group.PHONE_CALLS"
1265        android:protectionLevel="dangerous"
1266        android:description="@string/permdesc_use_sip"
1267        android:label="@string/permlab_use_sip" />
1268
1269    <!-- @SystemApi Allows an application to bind to InCallService implementations.
1270         @hide -->
1271    <permission android:name="android.permission.BIND_INCALL_SERVICE"
1272        android:permissionGroup="android.permission-group.PHONE_CALLS"
1273        android:protectionLevel="system|signature"
1274        android:description="@string/permdesc_bind_incall_service"
1275        android:label="@string/permlab_bind_incall_service" />
1276
1277    <!-- @SystemApi Allows an application to bind to ConnectionService implementations.
1278         @hide -->
1279    <permission android:name="android.permission.BIND_CONNECTION_SERVICE"
1280                android:permissionGroup="android.permission-group.PHONE_CALLS"
1281                android:protectionLevel="system|signature"
1282                android:description="@string/permdesc_bind_connection_service"
1283                android:label="@string/permlab_bind_connection_service" />
1284
1285    <!-- @SystemApi Allows an application to control the in-call experience.
1286         @hide -->
1287    <permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"
1288                android:permissionGroup="android.permission-group.PHONE_CALLS"
1289                android:protectionLevel="system|signature"
1290                android:description="@string/permdesc_control_incall_experience"
1291                android:label="@string/permlab_control_incall_experience" />
1292
1293    <!-- ================================== -->
1294    <!-- Permissions for sdcard interaction -->
1295    <!-- ================================== -->
1296    <eat-comment />
1297
1298    <!-- Group of permissions that are related to SD card access. -->
1299    <permission-group android:name="android.permission-group.STORAGE"
1300        android:label="@string/permgrouplab_storage"
1301        android:icon="@drawable/perm_group_storage"
1302        android:description="@string/permgroupdesc_storage"
1303        android:permissionGroupFlags="personalInfo"
1304        android:priority="240" />
1305
1306    <!-- Allows an application to read from external storage.
1307         <p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
1308         granted this permission.</p>
1309         <p>This permission is enforced starting in API level 19.  Before API level 19, this
1310         permission is not enforced and all apps still have access to read from external storage.
1311         You can test your app with the permission enforced by enabling <em>Protect USB
1312         storage</em> under Developer options in the Settings app on a device running Android 4.1 or
1313         higher.</p>
1314         <p>Also starting in API level 19, this permission is <em>not</em> required to
1315         read/write files in your application-specific directories returned by
1316         {@link android.content.Context#getExternalFilesDir} and
1317         {@link android.content.Context#getExternalCacheDir}.
1318         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1319         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1320         minSdkVersion}</a> and <a
1321         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1322         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1323         grants your app this permission. If you don't need this permission, be sure your <a
1324         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1325         targetSdkVersion}</a> is 4 or higher.-->
1326    <permission android:name="android.permission.READ_EXTERNAL_STORAGE"
1327        android:permissionGroup="android.permission-group.STORAGE"
1328        android:label="@string/permlab_sdcardRead"
1329        android:description="@string/permdesc_sdcardRead"
1330        android:protectionLevel="normal" />
1331
1332    <!-- Allows an application to write to external storage.
1333         <p class="note"><strong>Note:</strong> If <em>both</em> your <a
1334         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
1335         minSdkVersion}</a> and <a
1336         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1337         targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
1338         grants your app this permission. If you don't need this permission, be sure your <a
1339         href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
1340         targetSdkVersion}</a> is 4 or higher.
1341         <p>Starting in API level 19, this permission is <em>not</em> required to
1342         read/write files in your application-specific directories returned by
1343         {@link android.content.Context#getExternalFilesDir} and
1344         {@link android.content.Context#getExternalCacheDir}. -->
1345    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
1346        android:permissionGroup="android.permission-group.STORAGE"
1347        android:label="@string/permlab_sdcardWrite"
1348        android:description="@string/permdesc_sdcardWrite"
1349        android:protectionLevel="dangerous" />
1350
1351    <!-- @SystemApi Allows an application to write to internal media storage
1352         @hide  -->
1353    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
1354        android:permissionGroup="android.permission-group.STORAGE"
1355        android:label="@string/permlab_mediaStorageWrite"
1356        android:description="@string/permdesc_mediaStorageWrite"
1357        android:protectionLevel="signature|system" />
1358
1359    <!-- Allows an application to manage access to documents, usually as part
1360         of a document picker. -->
1361    <permission android:name="android.permission.MANAGE_DOCUMENTS"
1362        android:permissionGroup="android.permission-group.STORAGE"
1363        android:label="@string/permlab_manageDocs"
1364        android:description="@string/permdesc_manageDocs"
1365        android:protectionLevel="signature" />
1366
1367    <!-- ================================== -->
1368    <!-- Permissions for screenlock         -->
1369    <!-- ================================== -->
1370    <eat-comment />
1371
1372    <!-- Group of permissions that are related to the screenlock. -->
1373    <permission-group android:name="android.permission-group.SCREENLOCK"
1374        android:label="@string/permgrouplab_screenlock"
1375        android:icon="@drawable/perm_group_screenlock"
1376        android:permissionGroupFlags="personalInfo"
1377        android:description="@string/permgroupdesc_screenlock"
1378        android:priority="230" />
1379
1380    <!-- Allows applications to disable the keyguard -->
1381    <permission android:name="android.permission.DISABLE_KEYGUARD"
1382        android:permissionGroup="android.permission-group.SCREENLOCK"
1383        android:protectionLevel="dangerous"
1384        android:description="@string/permdesc_disableKeyguard"
1385        android:label="@string/permlab_disableKeyguard" />
1386
1387    <!-- ================================== -->
1388    <!-- Permissions to access other installed applications  -->
1389    <!-- ================================== -->
1390    <eat-comment />
1391
1392    <!-- Group of permissions that are related to the other applications
1393         installed on the system.  Examples include such as listing
1394         running apps, or killing background processes. -->
1395    <permission-group android:name="android.permission-group.APP_INFO"
1396        android:label="@string/permgrouplab_appInfo"
1397        android:icon="@drawable/perm_group_app_info"
1398        android:description="@string/permgroupdesc_appInfo"
1399        android:priority="220" />
1400
1401    <!-- @deprecated No longer enforced. -->
1402    <permission android:name="android.permission.GET_TASKS"
1403        android:permissionGroup="android.permission-group.APP_INFO"
1404        android:protectionLevel="normal"
1405        android:label="@string/permlab_getTasks"
1406        android:description="@string/permdesc_getTasks" />
1407
1408    <!-- New version of GET_TASKS that apps can request, since GET_TASKS doesn't really
1409         give access to task information.  We need this new one because there are
1410         many existing apps that use add libraries and such that have validation
1411         code to ensure the app has requested the GET_TASKS permission by seeing
1412         if it has been granted the permission...  if it hasn't, it kills the app
1413         with a message about being upset.  So we need to have it continue to look
1414         like the app is getting that permission, even though it will never be
1415         checked, and new privileged apps can now request this one for real access.
1416         @hide
1417         @SystemApi -->
1418    <permission android:name="android.permission.REAL_GET_TASKS"
1419        android:permissionGroup="android.permission-group.APP_INFO"
1420        android:protectionLevel="signature|system"
1421        android:label="@string/permlab_getTasks"
1422        android:description="@string/permdesc_getTasks" />
1423
1424    <!-- Allows an application to start a task from a ActivityManager#RecentTaskInfo.
1425         @hide -->
1426    <permission android:name="android.permission.START_TASKS_FROM_RECENTS"
1427        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1428        android:protectionLevel="signature|system"
1429        android:label="@string/permlab_startTasksFromRecents"
1430        android:description="@string/permdesc_startTasksFromRecents" />
1431
1432    <!-- @SystemApi @hide Allows an application to call APIs that allow it to do interactions
1433         across the users on the device, using singleton services and
1434         user-targeted broadcasts.  This permission is not available to
1435         third party applications. -->
1436    <permission android:name="android.permission.INTERACT_ACROSS_USERS"
1437        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1438        android:protectionLevel="signature|system|development"
1439        android:label="@string/permlab_interactAcrossUsers"
1440        android:description="@string/permdesc_interactAcrossUsers" />
1441
1442    <!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
1443         that removes restrictions on where broadcasts can be sent and allows other
1444         types of interactions. -->
1445    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
1446        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1447        android:protectionLevel="signature"
1448        android:label="@string/permlab_interactAcrossUsersFull"
1449        android:description="@string/permdesc_interactAcrossUsersFull" />
1450
1451    <!-- @SystemApi @hide Allows an application to call APIs that allow it to query and manage
1452         users on the device. This permission is not available to
1453         third party applications. -->
1454    <permission android:name="android.permission.MANAGE_USERS"
1455        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1456        android:protectionLevel="signature|system"
1457        android:label="@string/permlab_manageUsers"
1458        android:description="@string/permdesc_manageUsers" />
1459
1460    <!-- Allows an application to get full detailed information about
1461         recently running tasks, with full fidelity to the real state.
1462         @hide -->
1463    <permission android:name="android.permission.GET_DETAILED_TASKS"
1464        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1465        android:protectionLevel="signature"
1466        android:label="@string/permlab_getDetailedTasks"
1467        android:description="@string/permdesc_getDetailedTasks" />
1468
1469    <!-- Allows an application to change the Z-order of tasks -->
1470    <permission android:name="android.permission.REORDER_TASKS"
1471        android:permissionGroup="android.permission-group.APP_INFO"
1472        android:protectionLevel="normal"
1473        android:label="@string/permlab_reorderTasks"
1474        android:description="@string/permdesc_reorderTasks" />
1475
1476    <!-- @hide Allows an application to change to remove/kill tasks -->
1477    <permission android:name="android.permission.REMOVE_TASKS"
1478        android:permissionGroup="android.permission-group.APP_INFO"
1479        android:protectionLevel="signature"
1480        android:label="@string/permlab_removeTasks"
1481        android:description="@string/permdesc_removeTasks" />
1482
1483    <!-- @SystemApi @hide Allows an application to create/manage/remove stacks -->
1484    <permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"
1485        android:permissionGroup="android.permission-group.APP_INFO"
1486        android:protectionLevel="signature|system"
1487        android:label="@string/permlab_manageActivityStacks"
1488        android:description="@string/permdesc_manageActivityStacks" />
1489
1490    <!-- Allows an application to start any activity, regardless of permission
1491         protection or exported state. @hide -->
1492    <permission android:name="android.permission.START_ANY_ACTIVITY"
1493        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1494        android:protectionLevel="signature"
1495        android:label="@string/permlab_startAnyActivity"
1496        android:description="@string/permdesc_startAnyActivity" />
1497
1498    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
1499        API is no longer supported. -->
1500    <permission android:name="android.permission.RESTART_PACKAGES"
1501        android:permissionGroup="android.permission-group.APP_INFO"
1502        android:protectionLevel="normal"
1503        android:label="@string/permlab_killBackgroundProcesses"
1504        android:description="@string/permdesc_killBackgroundProcesses" />
1505
1506    <!-- Allows an application to call
1507        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
1508    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
1509        android:permissionGroup="android.permission-group.APP_INFO"
1510        android:protectionLevel="normal"
1511        android:label="@string/permlab_killBackgroundProcesses"
1512        android:description="@string/permdesc_killBackgroundProcesses" />
1513
1514    <!-- ================================== -->
1515    <!-- Permissions affecting the display of other applications  -->
1516    <!-- ================================== -->
1517    <eat-comment />
1518
1519    <!-- Group of permissions that allow manipulation of how
1520         another application displays UI to the user. -->
1521    <permission-group android:name="android.permission-group.DISPLAY"
1522        android:label="@string/permgrouplab_display"
1523        android:icon="@drawable/perm_group_display"
1524        android:description="@string/permgroupdesc_display"
1525        android:priority="190"/>
1526
1527    <!-- Allows an application to open windows using the type
1528         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
1529         shown on top of all other applications.  Very few applications
1530         should use this permission; these windows are intended for
1531         system-level interaction with the user. -->
1532    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
1533        android:permissionGroup="android.permission-group.DISPLAY"
1534        android:protectionLevel="dangerous"
1535        android:label="@string/permlab_systemAlertWindow"
1536        android:description="@string/permdesc_systemAlertWindow" />
1537
1538    <!-- ================================== -->
1539    <!-- Permissions affecting the system wallpaper -->
1540    <!-- ================================== -->
1541    <eat-comment />
1542
1543    <!-- Group of permissions that allow manipulation of how
1544         another application displays UI to the user. -->
1545    <permission-group android:name="android.permission-group.WALLPAPER"
1546        android:label="@string/permgrouplab_wallpaper"
1547        android:icon="@drawable/perm_group_wallpaper"
1548        android:description="@string/permgroupdesc_wallpaper"
1549        android:priority="150" />
1550
1551    <!-- Allows applications to set the wallpaper -->
1552    <permission android:name="android.permission.SET_WALLPAPER"
1553        android:permissionGroup="android.permission-group.WALLPAPER"
1554        android:protectionLevel="normal"
1555        android:label="@string/permlab_setWallpaper"
1556        android:description="@string/permdesc_setWallpaper" />
1557
1558    <!-- Allows applications to set the wallpaper hints -->
1559    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
1560        android:permissionGroup="android.permission-group.WALLPAPER"
1561        android:protectionLevel="normal"
1562        android:label="@string/permlab_setWallpaperHints"
1563        android:description="@string/permdesc_setWallpaperHints" />
1564
1565    <!-- ============================================ -->
1566    <!-- Permissions for changing the system clock -->
1567    <!-- ============================================ -->
1568    <eat-comment />
1569
1570    <!-- Group of permissions that are related to system clock. -->
1571    <permission-group android:name="android.permission-group.SYSTEM_CLOCK"
1572        android:label="@string/permgrouplab_systemClock"
1573        android:icon="@drawable/perm_group_system_clock"
1574        android:description="@string/permgroupdesc_systemClock"
1575        android:priority="140" />
1576
1577    <!-- @SystemApi Allows applications to set the system time.
1578    <p>Not for use by third-party applications. -->
1579    <permission android:name="android.permission.SET_TIME"
1580        android:protectionLevel="signature|system"
1581        android:label="@string/permlab_setTime"
1582        android:description="@string/permdesc_setTime" />
1583
1584    <!-- Allows applications to set the system time zone -->
1585    <permission android:name="android.permission.SET_TIME_ZONE"
1586        android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
1587        android:protectionLevel="normal"
1588        android:label="@string/permlab_setTimeZone"
1589        android:description="@string/permdesc_setTimeZone" />
1590
1591    <!-- ==================================================== -->
1592    <!-- Permissions related to changing status bar   -->
1593    <!-- ==================================================== -->
1594    <eat-comment />
1595
1596    <!-- Used for permissions that change the status bar -->
1597    <permission-group android:name="android.permission-group.STATUS_BAR"
1598        android:label="@string/permgrouplab_statusBar"
1599        android:icon="@drawable/perm_group_status_bar"
1600        android:description="@string/permgroupdesc_statusBar"
1601        android:priority="110" />
1602
1603    <!-- Allows an application to expand or collapse the status bar. -->
1604    <permission android:name="android.permission.EXPAND_STATUS_BAR"
1605        android:permissionGroup="android.permission-group.STATUS_BAR"
1606        android:protectionLevel="normal"
1607        android:label="@string/permlab_expandStatusBar"
1608        android:description="@string/permdesc_expandStatusBar" />
1609
1610    <!-- ============================================================== -->
1611    <!-- Permissions related to adding/removing shortcuts from Launcher -->
1612    <!-- ============================================================== -->
1613    <eat-comment />
1614
1615    <!-- Allows an application to install a shortcut in Launcher -->
1616    <permission
1617        android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
1618        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1619        android:protectionLevel="dangerous"
1620        android:label="@string/permlab_install_shortcut"
1621        android:description="@string/permdesc_install_shortcut" />
1622
1623        <!-- Allows an application to uninstall a shortcut in Launcher -->
1624    <permission
1625        android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
1626        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1627        android:protectionLevel="dangerous"
1628        android:label="@string/permlab_uninstall_shortcut"
1629        android:description="@string/permdesc_uninstall_shortcut"/>
1630
1631    <!-- ==================================================== -->
1632    <!-- Permissions related to accessing sync settings   -->
1633    <!-- ==================================================== -->
1634    <eat-comment />
1635
1636    <!-- Used for permissions that access the sync settings or sync
1637         related information. -->
1638    <permission-group android:name="android.permission-group.SYNC_SETTINGS"
1639        android:label="@string/permgrouplab_syncSettings"
1640        android:icon="@drawable/perm_group_sync_settings"
1641        android:description="@string/permgroupdesc_syncSettings"
1642        android:priority="120" />
1643
1644    <!-- Allows applications to read the sync settings -->
1645    <permission android:name="android.permission.READ_SYNC_SETTINGS"
1646        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1647        android:protectionLevel="normal"
1648        android:description="@string/permdesc_readSyncSettings"
1649        android:label="@string/permlab_readSyncSettings" />
1650
1651    <!-- Allows applications to write the sync settings -->
1652    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
1653        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1654        android:protectionLevel="normal"
1655        android:description="@string/permdesc_writeSyncSettings"
1656        android:label="@string/permlab_writeSyncSettings" />
1657
1658    <!-- Allows applications to read the sync stats -->
1659    <permission android:name="android.permission.READ_SYNC_STATS"
1660        android:permissionGroup="android.permission-group.SYNC_SETTINGS"
1661        android:protectionLevel="normal"
1662        android:description="@string/permdesc_readSyncStats"
1663        android:label="@string/permlab_readSyncStats" />
1664
1665
1666    <!-- ============================================ -->
1667    <!-- Permissions for low-level system interaction -->
1668    <!-- ============================================ -->
1669    <eat-comment />
1670
1671    <!-- Group of permissions that are related to system APIs.  Many
1672         of these are not permissions the user will be expected to understand,
1673         and such permissions should generally be marked as "normal" protection
1674         level so they don't get displayed.  This can also, however, be used
1675         for miscellaneous features that provide access to the operating system,
1676         such as writing the global system settings. -->
1677    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
1678        android:label="@string/permgrouplab_systemTools"
1679        android:icon="@drawable/perm_group_system_tools"
1680        android:description="@string/permgroupdesc_systemTools"
1681        android:priority="100" />
1682
1683    <!-- @SystemApi @hide Change the screen compatibility mode of applications -->
1684    <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
1685        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1686        android:protectionLevel="signature"
1687        android:label="@string/permlab_setScreenCompatibility"
1688        android:description="@string/permdesc_setScreenCompatibility" />
1689
1690    <!-- Allows an application to access all multi-user external storage @hide -->
1691    <permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"
1692        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1693        android:label="@string/permlab_sdcardAccessAll"
1694        android:description="@string/permdesc_sdcardAccessAll"
1695        android:protectionLevel="signature" />
1696
1697    <!-- @SystemApi Allows an application to modify the current configuration, such
1698         as locale. -->
1699    <permission android:name="android.permission.CHANGE_CONFIGURATION"
1700        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1701        android:protectionLevel="signature|system|development"
1702        android:label="@string/permlab_changeConfiguration"
1703        android:description="@string/permdesc_changeConfiguration" />
1704
1705    <!-- Allows an application to read or write the system settings. -->
1706    <permission android:name="android.permission.WRITE_SETTINGS"
1707        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1708        android:protectionLevel="normal"
1709        android:label="@string/permlab_writeSettings"
1710        android:description="@string/permdesc_writeSettings" />
1711
1712    <!-- @SystemApi Allows an application to modify the Google service map.
1713    <p>Not for use by third-party applications. -->
1714    <permission android:name="android.permission.WRITE_GSERVICES"
1715        android:protectionLevel="signature|system"
1716        android:label="@string/permlab_writeGservices"
1717        android:description="@string/permdesc_writeGservices" />
1718
1719    <!-- @SystemApi Allows an application to call
1720        {@link android.app.ActivityManager#forceStopPackage}.
1721        @hide -->
1722    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
1723        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1724        android:protectionLevel="signature|system"
1725        android:label="@string/permlab_forceStopPackages"
1726        android:description="@string/permdesc_forceStopPackages" />
1727
1728    <!-- @SystemApi @hide Allows an application to retrieve the content of the active window
1729         An active window is the window that has fired an accessibility event. -->
1730    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
1731        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1732        android:protectionLevel="signature|system"
1733        android:label="@string/permlab_retrieve_window_content"
1734        android:description="@string/permdesc_retrieve_window_content" />
1735
1736    <!-- @SystemApi Modify the global animation scaling factor.
1737    <p>Not for use by third-party applications. -->
1738    <permission android:name="android.permission.SET_ANIMATION_SCALE"
1739        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1740        android:protectionLevel="signature|system|development"
1741        android:label="@string/permlab_setAnimationScale"
1742        android:description="@string/permdesc_setAnimationScale" />
1743
1744    <!-- @deprecated This functionality will be removed in the future; please do
1745         not use. Allow an application to make its activities persistent. -->
1746    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
1747        android:permissionGroup="android.permission-group.APP_INFO"
1748        android:protectionLevel="normal"
1749        android:label="@string/permlab_persistentActivity"
1750        android:description="@string/permdesc_persistentActivity" />
1751
1752    <!-- Allows an application to find out the space used by any package. -->
1753    <permission android:name="android.permission.GET_PACKAGE_SIZE"
1754        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1755        android:protectionLevel="normal"
1756        android:label="@string/permlab_getPackageSize"
1757        android:description="@string/permdesc_getPackageSize" />
1758
1759    <!-- @deprecated No longer useful, see
1760         {@link android.content.pm.PackageManager#addPackageToPreferred}
1761         for details. -->
1762    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
1763        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1764        android:protectionLevel="signature"
1765        android:label="@string/permlab_setPreferredApplications"
1766        android:description="@string/permdesc_setPreferredApplications" />
1767
1768    <!-- Allows an application to receive the
1769         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
1770         broadcast after the system finishes booting.  If you don't
1771         request this permission, you will not receive the broadcast at
1772         that time.  Though holding this permission does not have any
1773         security implications, it can have a negative impact on the
1774         user experience by increasing the amount of time it takes the
1775         system to start and allowing applications to have themselves
1776         running without the user being aware of them.  As such, you must
1777         explicitly declare your use of this facility to make that visible
1778         to the user. -->
1779    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
1780        android:permissionGroup="android.permission-group.APP_INFO"
1781        android:protectionLevel="normal"
1782        android:label="@string/permlab_receiveBootCompleted"
1783        android:description="@string/permdesc_receiveBootCompleted" />
1784
1785    <!-- Allows an application to broadcast sticky intents.  These are
1786         broadcasts whose data is held by the system after being finished,
1787         so that clients can quickly retrieve that data without having
1788         to wait for the next broadcast. -->
1789    <permission android:name="android.permission.BROADCAST_STICKY"
1790        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1791        android:protectionLevel="normal"
1792        android:label="@string/permlab_broadcastSticky"
1793        android:description="@string/permdesc_broadcastSticky" />
1794
1795    <!-- @SystemApi Allows mounting and unmounting file systems for removable storage.
1796    <p>Not for use by third-party applications.-->
1797    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
1798        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1799        android:protectionLevel="system|signature"
1800        android:label="@string/permlab_mount_unmount_filesystems"
1801        android:description="@string/permdesc_mount_unmount_filesystems" />
1802
1803    <!-- @SystemApi Allows formatting file systems for removable storage.
1804    <p>Not for use by third-party applications. -->
1805    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
1806        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1807        android:protectionLevel="system|signature"
1808        android:label="@string/permlab_mount_format_filesystems"
1809        android:description="@string/permdesc_mount_format_filesystems" />
1810
1811    <!-- Allows access to ASEC non-destructive API calls
1812         @hide  -->
1813    <permission android:name="android.permission.ASEC_ACCESS"
1814        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1815        android:protectionLevel="signature"
1816        android:label="@string/permlab_asec_access"
1817        android:description="@string/permdesc_asec_access" />
1818
1819    <!-- Allows creation of ASEC volumes
1820         @hide  -->
1821    <permission android:name="android.permission.ASEC_CREATE"
1822        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1823        android:protectionLevel="signature"
1824        android:label="@string/permlab_asec_create"
1825        android:description="@string/permdesc_asec_create" />
1826
1827    <!-- Allows destruction of ASEC volumes
1828         @hide  -->
1829    <permission android:name="android.permission.ASEC_DESTROY"
1830        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1831        android:protectionLevel="signature"
1832        android:label="@string/permlab_asec_destroy"
1833        android:description="@string/permdesc_asec_destroy" />
1834
1835    <!-- Allows mount / unmount of ASEC volumes
1836         @hide  -->
1837    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
1838        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1839        android:protectionLevel="signature"
1840        android:label="@string/permlab_asec_mount_unmount"
1841        android:description="@string/permdesc_asec_mount_unmount" />
1842
1843    <!-- Allows rename of ASEC volumes
1844         @hide  -->
1845    <permission android:name="android.permission.ASEC_RENAME"
1846        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1847        android:protectionLevel="signature"
1848        android:label="@string/permlab_asec_rename"
1849        android:description="@string/permdesc_asec_rename" />
1850
1851    <!-- @SystemApi Allows applications to write the apn settings.
1852    <p>Not for use by third-party applications. -->
1853    <permission android:name="android.permission.WRITE_APN_SETTINGS"
1854                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1855                android:protectionLevel="signature|system"
1856                android:description="@string/permdesc_writeApnSettings"
1857                android:label="@string/permlab_writeApnSettings" />
1858
1859    <!-- Allows an application to allow access the subscribed feeds
1860         ContentProvider. -->
1861    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
1862        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1863        android:label="@string/permlab_subscribedFeedsRead"
1864        android:description="@string/permdesc_subscribedFeedsRead"
1865        android:protectionLevel="normal" />
1866    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
1867        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1868        android:label="@string/permlab_subscribedFeedsWrite"
1869        android:description="@string/permdesc_subscribedFeedsWrite"
1870        android:protectionLevel="dangerous" />
1871
1872    <!-- Allows applications to change network connectivity state -->
1873    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
1874        android:permissionGroup="android.permission-group.NETWORK"
1875        android:protectionLevel="normal"
1876        android:description="@string/permdesc_changeNetworkState"
1877        android:label="@string/permlab_changeNetworkState" />
1878
1879    <!-- Allows an application to clear the caches of all installed
1880         applications on the device.  -->
1881    <permission android:name="android.permission.CLEAR_APP_CACHE"
1882        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1883        android:protectionLevel="dangerous"
1884        android:label="@string/permlab_clearAppCache"
1885        android:description="@string/permdesc_clearAppCache" />
1886
1887    <!-- @SystemApi Allows an application to use any media decoder when decoding for playback
1888         @hide -->
1889    <permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
1890        android:protectionLevel="signature|system"
1891        android:label="@string/permlab_anyCodecForPlayback"
1892        android:description="@string/permdesc_anyCodecForPlayback" />
1893
1894    <!-- @SystemApi Allows an application to install and/or uninstall CA certificates on
1895         behalf of the user.
1896         @hide -->
1897    <permission android:name="android.permission.MANAGE_CA_CERTIFICATES"
1898        android:protectionLevel="signature|system"
1899        android:label="@string/permlab_manageCaCertificates"
1900        android:description="@string/permdesc_manageCaCertificates" />
1901
1902    <!-- @SystemApi Allows an application to do certain operations needed for
1903         interacting with the recovery (system update) system.
1904         @hide -->
1905    <permission android:name="android.permission.RECOVERY"
1906        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1907        android:protectionLevel="signature|system"
1908        android:label="@string/permlab_recovery"
1909        android:description="@string/permdesc_recovery" />
1910
1911    <!-- Allows the system to bind to an application's task services
1912         @hide -->
1913    <permission android:name="android.permission.BIND_JOB_SERVICE"
1914        android:protectionLevel="signature"
1915        android:label="@string/permlab_bindJobService"
1916        android:description="@string/permdesc_bindJobService" />
1917    <uses-permission android:name="android.permission.BIND_JOB_SERVICE"/>
1918
1919    <!-- ========================================= -->
1920    <!-- Permissions for special development tools -->
1921    <!-- ========================================= -->
1922    <eat-comment />
1923
1924    <!-- Group of permissions that are related to development features.  These
1925         are not permissions that should appear in third-party applications; they
1926         protect APIs that are intended only to be used for development
1927         purposes. -->
1928    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
1929        android:label="@string/permgrouplab_developmentTools"
1930        android:description="@string/permgroupdesc_developmentTools"
1931        android:priority="310" />
1932
1933    <!-- @SystemApi Allows an application to read or write the secure system settings.
1934    <p>Not for use by third-party applications. -->
1935    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
1936        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1937        android:protectionLevel="signature|system|development"
1938        android:label="@string/permlab_writeSecureSettings"
1939        android:description="@string/permdesc_writeSecureSettings" />
1940
1941    <!-- @SystemApi Allows an application to retrieve state dump information from system services.
1942    <p>Not for use by third-party applications. -->
1943    <permission android:name="android.permission.DUMP"
1944        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1945        android:protectionLevel="signature|system|development"
1946        android:label="@string/permlab_dump"
1947        android:description="@string/permdesc_dump" />
1948
1949    <!-- @SystemApi Allows an application to read the low-level system log files.
1950    <p>Not for use by third-party applications, because
1951    Log entries can contain the user's private information. -->
1952    <permission android:name="android.permission.READ_LOGS"
1953        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1954        android:protectionLevel="signature|system|development"
1955        android:label="@string/permlab_readLogs"
1956        android:description="@string/permdesc_readLogs" />
1957
1958    <!-- @SystemApi Configure an application for debugging.
1959    <p>Not for use by third-party applications. -->
1960    <permission android:name="android.permission.SET_DEBUG_APP"
1961        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1962        android:protectionLevel="signature|system|development"
1963        android:label="@string/permlab_setDebugApp"
1964        android:description="@string/permdesc_setDebugApp" />
1965
1966    <!-- @SystemApi Allows an application to set the maximum number of (not needed)
1967         application processes that can be running.
1968         <p>Not for use by third-party applications. -->
1969    <permission android:name="android.permission.SET_PROCESS_LIMIT"
1970        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1971        android:protectionLevel="signature|system|development"
1972        android:label="@string/permlab_setProcessLimit"
1973        android:description="@string/permdesc_setProcessLimit" />
1974
1975    <!-- @SystemApi Allows an application to control whether activities are immediately
1976         finished when put in the background.
1977         <p>Not for use by third-party applications. -->
1978    <permission android:name="android.permission.SET_ALWAYS_FINISH"
1979        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1980        android:protectionLevel="signature|system|development"
1981        android:label="@string/permlab_setAlwaysFinish"
1982        android:description="@string/permdesc_setAlwaysFinish" />
1983
1984    <!-- @SystemApi Allow an application to request that a signal be sent to all persistent processes.
1985    <p>Not for use by third-party applications. -->
1986    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1987        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1988        android:protectionLevel="signature|system|development"
1989        android:label="@string/permlab_signalPersistentProcesses"
1990        android:description="@string/permdesc_signalPersistentProcesses" />
1991
1992    <!-- ==================================== -->
1993    <!-- Private (signature-only) permissions -->
1994    <!-- ==================================== -->
1995    <eat-comment />
1996
1997    <!-- @SystemApi Allows applications to RW to diagnostic resources.
1998    <p>Not for use by third-party applications. -->
1999    <permission android:name="android.permission.DIAGNOSTIC"
2000        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2001        android:protectionLevel="signature"
2002        android:description="@string/permdesc_diagnostic"
2003        android:label="@string/permlab_diagnostic" />
2004
2005    <!-- @SystemApi Allows an application to open, close, or disable the status bar
2006         and its icons.
2007         <p>Not for use by third-party applications. -->
2008    <permission android:name="android.permission.STATUS_BAR"
2009        android:label="@string/permlab_statusBar"
2010        android:description="@string/permdesc_statusBar"
2011        android:protectionLevel="signature|system" />
2012
2013    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
2014    @hide -->
2015    <permission android:name="android.permission.STATUS_BAR_SERVICE"
2016        android:label="@string/permlab_statusBarService"
2017        android:description="@string/permdesc_statusBarService"
2018        android:protectionLevel="signature" />
2019
2020    <!-- Allows an application to force a BACK operation on whatever is the
2021         top activity.
2022         <p>Not for use by third-party applications. -->
2023    <permission android:name="android.permission.FORCE_BACK"
2024        android:label="@string/permlab_forceBack"
2025        android:description="@string/permdesc_forceBack"
2026        android:protectionLevel="signature" />
2027
2028    <!-- @SystemApi Allows an application to update device statistics.
2029    <p>Not for use by third-party applications. -->
2030    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
2031        android:label="@string/permlab_updateBatteryStats"
2032        android:description="@string/permdesc_updateBatteryStats"
2033        android:protectionLevel="signature|system" />
2034
2035    <!-- @SystemApi @hide Allows an application to collect battery statistics -->
2036    <permission android:name="android.permission.GET_APP_OPS_STATS"
2037        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2038        android:label="@string/permlab_getAppOpsStats"
2039        android:description="@string/permdesc_getAppOpsStats"
2040        android:protectionLevel="signature|system|development" />
2041
2042    <!-- @SystemApi Allows an application to update application operation statistics. Not for
2043         use by third party apps. @hide -->
2044    <permission android:name="android.permission.UPDATE_APP_OPS_STATS"
2045        android:label="@string/permlab_updateAppOpsStats"
2046        android:description="@string/permdesc_updateAppOpsStats"
2047        android:protectionLevel="signature|system" />
2048
2049    <!-- Allows an application to open windows that are for use by parts
2050         of the system user interface.
2051         <p>Not for use by third-party applications. -->
2052    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
2053        android:label="@string/permlab_internalSystemWindow"
2054        android:description="@string/permdesc_internalSystemWindow"
2055        android:protectionLevel="signature" />
2056
2057    <!-- Allows an application to manage (create, destroy,
2058         Z-order) application tokens in the window manager.
2059         <p>Not for use by third-party applications. -->
2060    <permission android:name="android.permission.MANAGE_APP_TOKENS"
2061        android:label="@string/permlab_manageAppTokens"
2062        android:description="@string/permdesc_manageAppTokens"
2063        android:protectionLevel="signature" />
2064
2065    <!-- @hide Allows the application to temporarily freeze the screen for a
2066         full-screen transition. -->
2067    <permission android:name="android.permission.FREEZE_SCREEN"
2068        android:label="@string/permlab_freezeScreen"
2069        android:description="@string/permdesc_freezeScreen"
2070        android:protectionLevel="signature" />
2071
2072    <!-- Allows an application to inject user events (keys, touch, trackball)
2073         into the event stream and deliver them to ANY window.  Without this
2074         permission, you can only deliver events to windows in your own process.
2075         <p>Not for use by third-party applications. -->
2076    <permission android:name="android.permission.INJECT_EVENTS"
2077        android:label="@string/permlab_injectEvents"
2078        android:description="@string/permdesc_injectEvents"
2079        android:protectionLevel="signature" />
2080
2081    <!-- @hide Allows an application to register an input filter which filters the stream
2082         of user events (keys, touch, trackball) before they are dispatched to any window. -->
2083    <permission android:name="android.permission.FILTER_EVENTS"
2084        android:label="@string/permlab_filter_events"
2085        android:description="@string/permdesc_filter_events"
2086        android:protectionLevel="signature" />
2087
2088    <!-- @hide Allows an application to retrieve the window token from the accessibility manager. -->
2089    <permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN"
2090        android:label="@string/permlab_retrieveWindowToken"
2091        android:description="@string/permdesc_retrieveWindowToken"
2092        android:protectionLevel="signature" />
2093
2094    <!-- @hide Allows an application to collect frame statistics -->
2095    <permission android:name="android.permission.FRAME_STATS"
2096         android:label="@string/permlab_frameStats"
2097         android:description="@string/permdesc_frameStats"
2098         android:protectionLevel="signature" />
2099
2100    <!-- @hide Allows an application to temporary enable accessibility on the device. -->
2101    <permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
2102        android:label="@string/permlab_temporary_enable_accessibility"
2103        android:description="@string/permdesc_temporary_enable_accessibility"
2104        android:protectionLevel="signature" />
2105
2106    <!-- Allows an application to watch and control how activities are
2107         started globally in the system.  Only for is in debugging
2108         (usually the monkey command).
2109         <p>Not for use by third-party applications. -->
2110    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
2111        android:label="@string/permlab_runSetActivityWatcher"
2112        android:description="@string/permdesc_runSetActivityWatcher"
2113        android:protectionLevel="signature" />
2114
2115    <!-- @SystemApi Allows an application to call the activity manager shutdown() API
2116         to put the higher-level system there into a shutdown state.
2117         @hide -->
2118    <permission android:name="android.permission.SHUTDOWN"
2119        android:label="@string/permlab_shutdown"
2120        android:description="@string/permdesc_shutdown"
2121        android:protectionLevel="signature|system" />
2122
2123    <!-- @SystemApi Allows an application to tell the activity manager to temporarily
2124         stop application switches, putting it into a special mode that
2125         prevents applications from immediately switching away from some
2126         critical UI such as the home screen.
2127         @hide -->
2128    <permission android:name="android.permission.STOP_APP_SWITCHES"
2129        android:label="@string/permlab_stopAppSwitches"
2130        android:description="@string/permdesc_stopAppSwitches"
2131        android:protectionLevel="signature|system" />
2132
2133    <!-- Allows an application to retrieve private information about
2134         the current top activity, such as any assist context it can provide.
2135         <p>Not for use by third-party applications. -->
2136    <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
2137        android:label="@string/permlab_getTopActivityInfo"
2138        android:description="@string/permdesc_getTopActivityInfo"
2139        android:protectionLevel="signature" />
2140
2141    <!-- Allows an application to retrieve the current state of keys and
2142         switches.
2143         <p>Not for use by third-party applications.
2144         @deprecated The API that used this permission has been removed. -->
2145    <permission android:name="android.permission.READ_INPUT_STATE"
2146        android:label="@string/permlab_readInputState"
2147        android:description="@string/permdesc_readInputState"
2148        android:protectionLevel="signature" />
2149
2150    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
2151         to ensure that only the system can bind to it. -->
2152    <permission android:name="android.permission.BIND_INPUT_METHOD"
2153        android:label="@string/permlab_bindInputMethod"
2154        android:description="@string/permdesc_bindInputMethod"
2155        android:protectionLevel="signature" />
2156
2157    <!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
2158         to ensure that only the system can bind to it. -->
2159    <permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
2160        android:label="@string/permlab_bindAccessibilityService"
2161        android:description="@string/permdesc_bindAccessibilityService"
2162        android:protectionLevel="signature" />
2163
2164    <!-- Must be required by a {@link android.printservice.PrintService},
2165         to ensure that only the system can bind to it. -->
2166    <permission android:name="android.permission.BIND_PRINT_SERVICE"
2167        android:label="@string/permlab_bindPrintService"
2168        android:description="@string/permdesc_bindPrintService"
2169        android:protectionLevel="signature" />
2170
2171    <!-- Must be required by a {@link android.nfc.cardemulation.HostApduService}
2172         or {@link android.nfc.cardemulation.OffHostApduService} to ensure that only
2173         the system can bind to it. -->
2174    <permission android:name="android.permission.BIND_NFC_SERVICE"
2175        android:label="@string/permlab_bindNfcService"
2176        android:description="@string/permdesc_bindNfcService"
2177        android:protectionLevel="signature" />
2178
2179    <!-- Must be required by the PrintSpooler to ensure that only the system can bind to it.
2180         @hide -->
2181    <permission android:name="android.permission.BIND_PRINT_SPOOLER_SERVICE"
2182        android:label="@string/permlab_bindPrintSpoolerService"
2183        android:description="@string/permdesc_bindPrintSpoolerService"
2184        android:protectionLevel="signature" />
2185
2186    <!-- Must be required by a TextService (e.g. SpellCheckerService)
2187         to ensure that only the system can bind to it. -->
2188    <permission android:name="android.permission.BIND_TEXT_SERVICE"
2189        android:label="@string/permlab_bindTextService"
2190        android:description="@string/permdesc_bindTextService"
2191        android:protectionLevel="signature" />
2192
2193    <!-- Must be required by a {@link android.net.VpnService},
2194         to ensure that only the system can bind to it. -->
2195    <permission android:name="android.permission.BIND_VPN_SERVICE"
2196        android:label="@string/permlab_bindVpnService"
2197        android:description="@string/permdesc_bindVpnService"
2198        android:protectionLevel="signature" />
2199
2200    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
2201         to ensure that only the system can bind to it. -->
2202    <permission android:name="android.permission.BIND_WALLPAPER"
2203        android:label="@string/permlab_bindWallpaper"
2204        android:description="@string/permdesc_bindWallpaper"
2205        android:protectionLevel="signature|system" />
2206
2207    <!-- Must be required by a {@link android.service.voice.VoiceInteractionService},
2208         to ensure that only the system can bind to it. -->
2209    <permission android:name="android.permission.BIND_VOICE_INTERACTION"
2210        android:label="@string/permlab_bindVoiceInteraction"
2211        android:description="@string/permdesc_bindVoiceInteraction"
2212        android:protectionLevel="signature" />
2213
2214    <!-- Must be required by hotword enrollment application,
2215         to ensure that only the system can interact with it.
2216         @hide <p>Not for use by third-party applications.</p> -->
2217    <permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES"
2218        android:label="@string/permlab_manageVoiceKeyphrases"
2219        android:description="@string/permdesc_manageVoiceKeyphrases"
2220        android:protectionLevel="signature|system" />
2221
2222    <!-- Must be required by a {@link com.android.media.remotedisplay.RemoteDisplayProvider},
2223         to ensure that only the system can bind to it.
2224         @hide -->
2225    <permission android:name="android.permission.BIND_REMOTE_DISPLAY"
2226        android:label="@string/permlab_bindRemoteDisplay"
2227        android:description="@string/permdesc_bindRemoteDisplay"
2228        android:protectionLevel="signature" />
2229
2230    <!-- Must be required by a {@link android.media.tv.TvInputService}
2231         to ensure that only the system can bind to it. -->
2232    <permission android:name="android.permission.BIND_TV_INPUT"
2233        android:label="@string/permlab_bindTvInput"
2234        android:description="@string/permdesc_bindTvInput"
2235        android:protectionLevel="signature|system" />
2236
2237    <!-- @SystemApi Allows an application to modify parental controls
2238         <p>Not for use by third-party applications.
2239         @hide -->
2240    <permission android:name="android.permission.MODIFY_PARENTAL_CONTROLS"
2241        android:label="@string/permlab_modifyParentalControls"
2242        android:description="@string/permdesc_modifyParentalControls"
2243        android:protectionLevel="signature|system" />
2244
2245    <!-- Must be required by device administration receiver, to ensure that only the
2246         system can interact with it. -->
2247    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
2248        android:label="@string/permlab_bindDeviceAdmin"
2249        android:description="@string/permdesc_bindDeviceAdmin"
2250        android:protectionLevel="signature" />
2251
2252    <!-- @SystemApi Required to add or remove another application as a device admin.
2253         <p>Not for use by third-party applications.
2254         @hide -->
2255    <permission android:name="android.permission.MANAGE_DEVICE_ADMINS"
2256        android:label="@string/permlab_manageDeviceAdmins"
2257        android:description="@string/permdesc_manageDeviceAdmins"
2258        android:protectionLevel="signature|system" />
2259
2260    <!-- Allows low-level access to setting the orientation (actually
2261         rotation) of the screen.
2262         <p>Not for use by third-party applications. -->
2263    <permission android:name="android.permission.SET_ORIENTATION"
2264        android:label="@string/permlab_setOrientation"
2265        android:description="@string/permdesc_setOrientation"
2266        android:protectionLevel="signature" />
2267
2268    <!-- Allows low-level access to setting the pointer speed.
2269         <p>Not for use by third-party applications. -->
2270    <permission android:name="android.permission.SET_POINTER_SPEED"
2271        android:label="@string/permlab_setPointerSpeed"
2272        android:description="@string/permdesc_setPointerSpeed"
2273        android:protectionLevel="signature" />
2274
2275    <!-- Allows low-level access to setting input device calibration.
2276         <p>Not for use by normal applications.
2277         @hide -->
2278    <permission android:name="android.permission.SET_INPUT_CALIBRATION"
2279        android:label="@string/permlab_setInputCalibration"
2280        android:description="@string/permdesc_setInputCalibration"
2281        android:protectionLevel="signature" />
2282
2283    <!-- Allows low-level access to setting the keyboard layout.
2284         <p>Not for use by third-party applications.
2285         @hide -->
2286    <permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
2287        android:label="@string/permlab_setKeyboardLayout"
2288        android:description="@string/permdesc_setKeyboardLayout"
2289        android:protectionLevel="signature" />
2290
2291    <!-- @SystemApi Allows an application to install packages.
2292    <p>Not for use by third-party applications. -->
2293    <permission android:name="android.permission.INSTALL_PACKAGES"
2294        android:label="@string/permlab_installPackages"
2295        android:description="@string/permdesc_installPackages"
2296        android:protectionLevel="signature|system" />
2297
2298    <!-- Allows an application to clear user data.
2299    <p>Not for use by third-party applications. -->
2300    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
2301        android:label="@string/permlab_clearAppUserData"
2302        android:description="@string/permdesc_clearAppUserData"
2303        android:protectionLevel="signature" />
2304
2305    <!-- @SystemApi Allows an application to delete cache files.
2306    <p>Not for use by third-party applications. -->
2307    <permission android:name="android.permission.DELETE_CACHE_FILES"
2308        android:label="@string/permlab_deleteCacheFiles"
2309        android:description="@string/permdesc_deleteCacheFiles"
2310        android:protectionLevel="signature|system" />
2311
2312    <!-- @SystemApi Allows an application to delete packages.
2313    <p>Not for use by third-party applications. -->
2314    <permission android:name="android.permission.DELETE_PACKAGES"
2315        android:label="@string/permlab_deletePackages"
2316        android:description="@string/permdesc_deletePackages"
2317        android:protectionLevel="signature|system" />
2318
2319    <!-- @SystemApi Allows an application to move location of installed package.
2320         @hide -->
2321    <permission android:name="android.permission.MOVE_PACKAGE"
2322        android:label="@string/permlab_movePackage"
2323        android:description="@string/permdesc_movePackage"
2324        android:protectionLevel="signature|system" />
2325
2326    <!-- @SystemApi Allows an application to change whether an application component (other than its own) is
2327         enabled or not.
2328         <p>Not for use by third-party applications. -->
2329    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
2330        android:label="@string/permlab_changeComponentState"
2331        android:description="@string/permdesc_changeComponentState"
2332        android:protectionLevel="signature|system" />
2333
2334    <!-- @hide Allows an application to grant or revoke specific permissions. -->
2335    <permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
2336        android:label="@string/permlab_grantRevokePermissions"
2337        android:description="@string/permdesc_grantRevokePermissions"
2338        android:protectionLevel="signature" />
2339
2340    <!-- Allows an application to use SurfaceFlinger's low level features.
2341    <p>Not for use by third-party applications. -->
2342    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
2343        android:label="@string/permlab_accessSurfaceFlinger"
2344        android:description="@string/permdesc_accessSurfaceFlinger"
2345        android:protectionLevel="signature" />
2346
2347    <!-- @SystemApi Allows an application to take screen shots and more generally
2348         get access to the frame buffer data.
2349         <p>Not for use by third-party applications. -->
2350    <permission android:name="android.permission.READ_FRAME_BUFFER"
2351        android:label="@string/permlab_readFrameBuffer"
2352        android:description="@string/permdesc_readFrameBuffer"
2353        android:protectionLevel="signature|system" />
2354
2355    <!-- Allows an application to use InputFlinger's low level features.
2356         @hide -->
2357    <permission android:name="android.permission.ACCESS_INPUT_FLINGER"
2358        android:label="@string/permlab_accessInputFlinger"
2359        android:description="@string/permdesc_accessInputFlinger"
2360        android:protectionLevel="signature" />
2361
2362    <!-- Allows an application to configure and connect to Wifi displays
2363         @hide -->
2364    <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
2365        android:label="@string/permlab_configureWifiDisplay"
2366        android:description="@string/permdesc_configureWifiDisplay"
2367        android:protectionLevel="signature" />
2368
2369    <!-- Allows an application to control low-level features of Wifi displays
2370         such as opening an RTSP socket.  This permission should only be used
2371         by the display manager.
2372         @hide -->
2373    <permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
2374        android:label="@string/permlab_controlWifiDisplay"
2375        android:description="@string/permdesc_controlWifiDisplay"
2376        android:protectionLevel="signature" />
2377
2378    <!-- @SystemApi Allows an application to capture audio output.
2379         <p>Not for use by third-party applications.</p> -->
2380    <permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT"
2381        android:label="@string/permlab_captureAudioOutput"
2382        android:description="@string/permdesc_captureAudioOutput"
2383        android:protectionLevel="signature|system" />
2384
2385    <!-- @SystemApi Allows an application to capture audio for hotword detection.
2386         <p>Not for use by third-party applications.</p>
2387         @hide -->
2388    <permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD"
2389        android:label="@string/permlab_captureAudioHotword"
2390        android:description="@string/permdesc_captureAudioHotword"
2391        android:protectionLevel="signature|system" />
2392
2393    <!-- @SystemApi Allows an application to modify audio routing and override policy decisions.
2394         <p>Not for use by third-party applications.</p>
2395         @hide -->
2396    <permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
2397        android:label="@string/permlab_modifyAudioRouting"
2398        android:description="@string/permdesc_modifyAudioRouting"
2399        android:protectionLevel="signature|system" />
2400
2401    <!-- @SystemApi Allows an application to capture video output.
2402         <p>Not for use by third-party applications.</p> -->
2403    <permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
2404        android:label="@string/permlab_captureVideoOutput"
2405        android:description="@string/permdesc_captureVideoOutput"
2406        android:protectionLevel="signature|system" />
2407
2408    <!-- @SystemApi Allows an application to capture secure video output.
2409         <p>Not for use by third-party applications.</p> -->
2410    <permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
2411        android:label="@string/permlab_captureSecureVideoOutput"
2412        android:description="@string/permdesc_captureSecureVideoOutput"
2413        android:protectionLevel="signature|system" />
2414
2415    <!-- @SystemApi Allows an application to know what content is playing and control its playback.
2416         <p>Not for use by third-party applications due to privacy of media consumption</p>  -->
2417    <permission android:name="android.permission.MEDIA_CONTENT_CONTROL"
2418        android:label="@string/permlab_mediaContentControl"
2419        android:description="@string/permdesc_mediaContentControl"
2420        android:protectionLevel="signature|system" />
2421
2422    <!-- Required to be able to disable the device (very dangerous!).
2423    <p>Not for use by third-party applications.. -->
2424    <permission android:name="android.permission.BRICK"
2425        android:label="@string/permlab_brick"
2426        android:description="@string/permdesc_brick"
2427        android:protectionLevel="signature" />
2428
2429    <!-- @SystemApi Required to be able to reboot the device.
2430    <p>Not for use by third-party applications. -->
2431    <permission android:name="android.permission.REBOOT"
2432        android:label="@string/permlab_reboot"
2433        android:description="@string/permdesc_reboot"
2434        android:protectionLevel="signature|system" />
2435
2436   <!-- Allows low-level access to power management.
2437   <p>Not for use by third-party applications. -->
2438    <permission android:name="android.permission.DEVICE_POWER"
2439        android:label="@string/permlab_devicePower"
2440        android:description="@string/permdesc_devicePower"
2441        android:protectionLevel="signature" />
2442
2443   <!-- Allows access to the PowerManager.userActivity function.
2444   <p>Not for use by third-party applications. @hide @SystemApi -->
2445    <permission android:name="android.permission.USER_ACTIVITY"
2446        android:label="@string/permlab_userActivity"
2447        android:description="@string/permdesc_userActivity"
2448        android:protectionLevel="signature|system" />
2449
2450   <!-- @hide Allows low-level access to tun tap driver -->
2451    <permission android:name="android.permission.NET_TUNNELING"
2452        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2453        android:protectionLevel="signature" />
2454
2455    <!-- Run as a manufacturer test application, running as the root user.
2456         Only available when the device is running in manufacturer test mode.
2457         <p>Not for use by third-party applications. -->
2458    <permission android:name="android.permission.FACTORY_TEST"
2459        android:label="@string/permlab_factoryTest"
2460        android:description="@string/permdesc_factoryTest"
2461        android:protectionLevel="signature" />
2462
2463    <!-- Allows an application to broadcast a notification that an application
2464         package has been removed.
2465         <p>Not for use by third-party applications. -->
2466    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
2467        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2468        android:label="@string/permlab_broadcastPackageRemoved"
2469        android:description="@string/permdesc_broadcastPackageRemoved"
2470        android:protectionLevel="signature" />
2471
2472    <!-- Allows an application to broadcast an SMS receipt notification.
2473    <p>Not for use by third-party applications. -->
2474    <permission android:name="android.permission.BROADCAST_SMS"
2475        android:permissionGroup="android.permission-group.MESSAGES"
2476        android:label="@string/permlab_broadcastSmsReceived"
2477        android:description="@string/permdesc_broadcastSmsReceived"
2478        android:protectionLevel="signature" />
2479
2480    <!-- Allows an application to broadcast a WAP PUSH receipt notification.
2481    <p>Not for use by third-party applications. -->
2482    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
2483        android:permissionGroup="android.permission-group.MESSAGES"
2484        android:label="@string/permlab_broadcastWapPush"
2485        android:description="@string/permdesc_broadcastWapPush"
2486        android:protectionLevel="signature" />
2487
2488    <!-- @SystemApi Allows an application to broadcast a SCORE_NETWORKS request.
2489         <p>Not for use by third-party applications. @hide -->
2490    <permission android:name="android.permission.BROADCAST_SCORE_NETWORKS"
2491        android:label="@string/permlab_broadcastScoreNetworks"
2492        android:description="@string/permdesc_broadcastScoreNetworks"
2493        android:protectionLevel="signature|system" />
2494
2495    <!-- @SystemApi Not for use by third-party applications. -->
2496    <permission android:name="android.permission.MASTER_CLEAR"
2497        android:label="@string/permlab_masterClear"
2498        android:description="@string/permdesc_masterClear"
2499        android:protectionLevel="signature|system" />
2500
2501    <!-- @SystemApi Allows an application to call any phone number, including emergency
2502         numbers, without going through the Dialer user interface for the user
2503         to confirm the call being placed.
2504         <p>Not for use by third-party applications. -->
2505    <permission android:name="android.permission.CALL_PRIVILEGED"
2506        android:label="@string/permlab_callPrivileged"
2507        android:description="@string/permdesc_callPrivileged"
2508        android:protectionLevel="signature|system" />
2509
2510    <!-- @SystemApi Allows an application to perform CDMA OTA provisioning @hide -->
2511    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
2512        android:label="@string/permlab_performCdmaProvisioning"
2513        android:description="@string/permdesc_performCdmaProvisioning"
2514        android:protectionLevel="signature|system" />
2515
2516    <!-- @SystemApi Allows enabling/disabling location update notifications from
2517         the radio.
2518         <p>Not for use by third-party applications. -->
2519    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
2520        android:label="@string/permlab_locationUpdates"
2521        android:description="@string/permdesc_locationUpdates"
2522        android:protectionLevel="signature|system" />
2523
2524    <!-- @SystemApi Allows read/write access to the "properties" table in the checkin
2525         database, to change values that get uploaded.
2526         <p>Not for use by third-party applications. -->
2527    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
2528        android:label="@string/permlab_checkinProperties"
2529        android:description="@string/permdesc_checkinProperties"
2530        android:protectionLevel="signature|system" />
2531
2532    <!-- @SystemApi Allows an application to collect component usage
2533         statistics @hide -->
2534    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
2535        android:label="@string/permlab_pkgUsageStats"
2536        android:description="@string/permdesc_pkgUsageStats"
2537        android:protectionLevel="signature|development|appop" />
2538    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
2539
2540    <!-- @SystemApi Allows an application to collect battery statistics -->
2541    <permission android:name="android.permission.BATTERY_STATS"
2542        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2543        android:label="@string/permlab_batteryStats"
2544        android:description="@string/permdesc_batteryStats"
2545        android:protectionLevel="signature|system|development" />
2546
2547    <!-- @SystemApi Allows an application to control the backup and restore process.
2548    <p>Not for use by third-party applications.
2549         @hide pending API council -->
2550    <permission android:name="android.permission.BACKUP"
2551        android:label="@string/permlab_backup"
2552        android:description="@string/permdesc_backup"
2553        android:protectionLevel="signature|system" />
2554
2555    <!-- Allows a package to launch the secure full-backup confirmation UI.
2556         ONLY the system process may hold this permission.
2557         @hide -->
2558    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
2559        android:label="@string/permlab_confirm_full_backup"
2560        android:description="@string/permdesc_confirm_full_backup"
2561        android:protectionLevel="signature" />
2562
2563    <!-- @SystemApi Must be required by a {@link android.widget.RemoteViewsService},
2564         to ensure that only the system can bind to it. -->
2565    <permission android:name="android.permission.BIND_REMOTEVIEWS"
2566        android:label="@string/permlab_bindRemoteViews"
2567        android:description="@string/permdesc_bindRemoteViews"
2568        android:protectionLevel="signature|system" />
2569
2570    <!-- @SystemApi Allows an application to tell the AppWidget service which application
2571         can access AppWidget's data.  The normal user flow is that a user
2572         picks an AppWidget to go into a particular host, thereby giving that
2573         host application access to the private data from the AppWidget app.
2574         An application that has this permission should honor that contract.
2575         <p>Not for use by third-party applications. -->
2576    <permission android:name="android.permission.BIND_APPWIDGET"
2577        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2578        android:label="@string/permlab_bindGadget"
2579        android:description="@string/permdesc_bindGadget"
2580        android:protectionLevel="signature|system" />
2581
2582    <!-- @SystemApi Private permission, to restrict who can bring up a dialog to add a new
2583         keyguard widget
2584         @hide -->
2585    <permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
2586        android:permissionGroup="android.permission-group.PERSONAL_INFO"
2587        android:protectionLevel="signature|system" />
2588
2589    <!-- @SystemApi Internal permission allowing an application to query/set which
2590         applications can bind AppWidgets.
2591         @hide -->
2592    <permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
2593        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2594        android:protectionLevel="signature|system" />
2595
2596    <!-- Allows applications to change the background data setting.
2597    <p>Not for use by third-party applications.
2598         @hide pending API council -->
2599    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
2600        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2601        android:protectionLevel="signature"
2602        android:description="@string/permdesc_changeBackgroundDataSetting"
2603        android:label="@string/permlab_changeBackgroundDataSetting" />
2604
2605    <!-- @SystemApi This permission can be used on content providers to allow the global
2606         search system to access their data.  Typically it used when the
2607         provider has some permissions protecting it (which global search
2608         would not be expected to hold), and added as a read-only permission
2609         to the path in the provider where global search queries are
2610         performed.  This permission can not be held by regular applications;
2611         it is used by applications to protect themselves from everyone else
2612         besides global search. -->
2613    <permission android:name="android.permission.GLOBAL_SEARCH"
2614        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2615        android:protectionLevel="signature|system" />
2616
2617    <!-- Internal permission protecting access to the global search
2618         system: ensures that only the system can access the provider
2619         to perform queries (since this otherwise provides unrestricted
2620         access to a variety of content providers), and to write the
2621         search statistics (to keep applications from gaming the source
2622         ranking).
2623         @hide -->
2624    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
2625        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2626        android:protectionLevel="signature" />
2627
2628    <!-- @SystemApi Internal permission to allows an application to read indexable data.
2629        @hide -->
2630    <permission android:name="android.permission.READ_SEARCH_INDEXABLES"
2631        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2632        android:protectionLevel="signature|system" />
2633
2634    <!-- @SystemApi Allows applications to set a live wallpaper.
2635         @hide XXX Change to signature once the picker is moved to its
2636         own apk as Ghod Intended. -->
2637    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
2638        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2639        android:protectionLevel="signature|system" />
2640
2641    <!-- @SystemApi Allows applications to read dream settings and dream state.
2642         @hide -->
2643    <permission android:name="android.permission.READ_DREAM_STATE"
2644        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2645        android:protectionLevel="signature|system" />
2646
2647    <!-- @SystemApi Allows applications to write dream settings, and start or stop dreaming.
2648         @hide -->
2649    <permission android:name="android.permission.WRITE_DREAM_STATE"
2650        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
2651        android:protectionLevel="signature|system" />
2652
2653    <!-- @SystemApi Allow an application to read and write the cache partition.
2654         @hide -->
2655    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
2656        android:label="@string/permlab_cache_filesystem"
2657        android:description="@string/permdesc_cache_filesystem"
2658        android:protectionLevel="signature|system" />
2659
2660    <!-- Must be required by default container service so that only
2661         the system can bind to it and use it to copy
2662         protected data to secure containers or files
2663         accessible to the system.
2664         @hide -->
2665    <permission android:name="android.permission.COPY_PROTECTED_DATA"
2666        android:label="@string/permlab_copyProtectedData"
2667        android:description="@string/permlab_copyProtectedData"
2668        android:protectionLevel="signature" />
2669
2670    <!-- @SystemApi Internal permission protecting access to the encryption methods
2671        @hide
2672    -->
2673    <permission android:name="android.permission.CRYPT_KEEPER"
2674        android:protectionLevel="signature|system" />
2675
2676    <!-- @SystemApi Allows an application to read historical network usage for
2677         specific networks and applications. @hide -->
2678    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
2679        android:label="@string/permlab_readNetworkUsageHistory"
2680        android:description="@string/permdesc_readNetworkUsageHistory"
2681        android:protectionLevel="signature|system" />
2682
2683    <!-- Allows an application to manage network policies (such as warning and disable
2684         limits) and to define application-specific rules. @hide -->
2685    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
2686        android:label="@string/permlab_manageNetworkPolicy"
2687        android:description="@string/permdesc_manageNetworkPolicy"
2688        android:protectionLevel="signature" />
2689
2690    <!-- @SystemApi Allows an application to account its network traffic against other UIDs. Used
2691         by system services like download manager and media server. Not for use by
2692         third party apps. @hide -->
2693    <permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
2694        android:label="@string/permlab_modifyNetworkAccounting"
2695        android:description="@string/permdesc_modifyNetworkAccounting"
2696        android:protectionLevel="signature|system" />
2697
2698    <!-- C2DM permission.
2699         @hide Used internally.
2700     -->
2701    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
2702          android:protectionLevel="signature" />
2703    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
2704
2705    <!-- @SystemApi @hide Package verifier needs to have this permission before the PackageManager will
2706         trust it to verify packages.
2707    -->
2708    <permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
2709        android:label="@string/permlab_packageVerificationAgent"
2710        android:description="@string/permdesc_packageVerificationAgent"
2711        android:protectionLevel="signature|system" />
2712
2713    <!-- Must be required by package verifier receiver, to ensure that only the
2714         system can interact with it.
2715         @hide
2716    -->
2717    <permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
2718        android:label="@string/permlab_bindPackageVerifier"
2719        android:description="@string/permdesc_bindPackageVerifier"
2720        android:protectionLevel="signature" />
2721
2722    <!-- @SystemApi Allows applications to access serial ports via the SerialManager.
2723         @hide -->
2724    <permission android:name="android.permission.SERIAL_PORT"
2725        android:label="@string/permlab_serialPort"
2726        android:description="@string/permdesc_serialPort"
2727        android:protectionLevel="signature|system" />
2728
2729    <!-- Allows the holder to access content providers from outside an ApplicationThread.
2730         This permission is enforced by the ActivityManagerService on the corresponding APIs,
2731         in particular ActivityManagerService#getContentProviderExternal(String) and
2732         ActivityManagerService#removeContentProviderExternal(String).
2733         @hide
2734    -->
2735    <permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
2736        android:label="@string/permlab_accessContentProvidersExternally"
2737        android:description="@string/permdesc_accessContentProvidersExternally"
2738        android:protectionLevel="signature" />
2739
2740    <!-- @SystemApi Allows an application to hold an UpdateLock, recommending that a headless
2741         OTA reboot *not* occur while the lock is held.
2742         @hide -->
2743    <permission android:name="android.permission.UPDATE_LOCK"
2744        android:label="@string/permlab_updateLock"
2745        android:description="@string/permdesc_updateLock"
2746        android:protectionLevel="signatureOrSystem" />
2747
2748    <!-- @SystemApi Allows an application to read the current set of notifications, including
2749         any metadata and intents attached.
2750         @hide -->
2751    <permission android:name="android.permission.ACCESS_NOTIFICATIONS"
2752        android:label="@string/permlab_accessNotifications"
2753        android:description="@string/permdesc_accessNotifications"
2754        android:protectionLevel="signature|system" />
2755
2756    <!-- Allows access to keyguard secure storage.  Only allowed for system processes.
2757        @hide -->
2758    <permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"
2759        android:protectionLevel="signature"
2760        android:label="@string/permlab_access_keyguard_secure_storage"
2761        android:description="@string/permdesc_access_keyguard_secure_storage" />
2762
2763    <!-- Allows an application to control keyguard.  Only allowed for system processes.
2764        @hide -->
2765    <permission android:name="android.permission.CONTROL_KEYGUARD"
2766        android:protectionLevel="signature"
2767        android:label="@string/permlab_control_keyguard"
2768        android:description="@string/permdesc_control_keyguard" />
2769
2770    <!-- Allows an application to listen to trust changes.  Only allowed for system processes.
2771        @hide -->
2772    <permission android:name="android.permission.TRUST_LISTENER"
2773                android:protectionLevel="signature"
2774                android:label="@string/permlab_trust_listener"
2775                android:description="@string/permdesc_trust_listener" />
2776
2777    <!-- @SystemApi Allows an application to provide a trust agent.
2778         @hide For security reasons, this is a platform-only permission. -->
2779    <permission android:name="android.permission.PROVIDE_TRUST_AGENT"
2780                android:protectionLevel="signatureOrSystem"
2781                android:label="@string/permlab_provide_trust_agent"
2782                android:description="@string/permdesc_provide_trust_agent" />
2783
2784    <!-- Allows an application to launch the trust agent settings activity.
2785        @hide -->
2786    <permission android:name="android.permission.LAUNCH_TRUST_AGENT_SETTINGS"
2787        android:protectionLevel="signatureOrSystem"
2788        android:label="@string/permlab_launch_trust_agent_settings"
2789        android:description="@string/permdesc_launch_trust_agent_settings" />
2790
2791    <!-- @SystemApi Must be required by an {@link
2792        android.service.trust.TrustAgentService},
2793        to ensure that only the system can bind to it.
2794        @hide -->
2795    <permission android:name="android.permission.BIND_TRUST_AGENT"
2796                android:protectionLevel="signature"
2797                android:label="@string/permlab_bind_trust_agent_service"
2798                android:description="@string/permdesc_bind_trust_agent_service" />
2799
2800    <!-- Must be required by an {@link
2801         android.service.notification.NotificationListenerService},
2802         to ensure that only the system can bind to it. -->
2803    <permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
2804        android:label="@string/permlab_bindNotificationListenerService"
2805        android:description="@string/permdesc_bindNotificationListenerService"
2806        android:protectionLevel="signature" />
2807
2808    <!-- @SystemApi Must be required by a {@link
2809         android.service.notification.ConditionProviderService},
2810         to ensure that only the system can bind to it.
2811         @hide -->
2812    <permission android:name="android.permission.BIND_CONDITION_PROVIDER_SERVICE"
2813        android:label="@string/permlab_bindConditionProviderService"
2814        android:description="@string/permdesc_bindConditionProviderService"
2815        android:protectionLevel="signature" />
2816
2817    <!-- Must be required by an {@link android.service.dreams.DreamService},
2818         to ensure that only the system can bind to it. -->
2819    <permission android:name="android.permission.BIND_DREAM_SERVICE"
2820        android:label="@string/permlab_bindDreamService"
2821        android:description="@string/permdesc_bindDreamService"
2822        android:protectionLevel="signature" />
2823
2824    <!-- @SystemApi Allows an application to call into a carrier setup flow. It is up to the
2825         carrier setup application to enforce that this permission is required
2826         @hide This is not a third-party API (intended for OEMs and system apps). -->
2827    <permission android:name="android.permission.INVOKE_CARRIER_SETUP"
2828        android:label="@string/permlab_invokeCarrierSetup"
2829        android:description="@string/permdesc_invokeCarrierSetup"
2830        android:protectionLevel="signature|system" />
2831
2832    <!-- @SystemApi Allows an application to listen for network condition observations.
2833         @hide This is not a third-party API (intended for system apps). -->
2834    <permission android:name="android.permission.ACCESS_NETWORK_CONDITIONS"
2835        android:label="@string/permlab_accessNetworkConditions"
2836        android:description="@string/permdesc_accessNetworkConditions"
2837        android:protectionLevel="signature|system" />
2838
2839    <!-- @SystemApi Allows an application to provision and access DRM certificates
2840         @hide This is not a third-party API (intended for system apps). -->
2841    <permission android:name="android.permission.ACCESS_DRM_CERTIFICATES"
2842        android:label="@string/permlab_accessDrmCertificates"
2843        android:description="@string/permdesc_accessDrmCertificates"
2844        android:protectionLevel="signature|system" />
2845
2846    <!-- Api Allows an application to manage media projection sessions.
2847         @hide This is not a third-party API (intended for system apps). -->
2848    <permission android:name="android.permission.MANAGE_MEDIA_PROJECTION"
2849        android:label="@string/permlab_manageMediaProjection"
2850        android:description="@string/permdesc_manageMediaProjection"
2851        android:protectionLevel="signature" />
2852
2853    <!-- @SystemApi Allows an application to read install sessions
2854         @hide This is not a third-party API (intended for system apps). -->
2855    <permission android:name="android.permission.READ_INSTALL_SESSIONS"
2856        android:label="@string/permlab_readInstallSessions"
2857        android:description="@string/permdesc_readInstallSessions" />
2858
2859    <!-- @SystemApi Allows an application to remove DRM certificates
2860         @hide This is not a third-party API (intended for system apps). -->
2861    <permission android:name="android.permission.REMOVE_DRM_CERTIFICATES"
2862        android:label="@string/permlab_removeDrmCertificates"
2863        android:description="@string/permdesc_removeDrmCertificates"
2864        android:protectionLevel="signature|system" />
2865
2866    <!-- The system process is explicitly the only one allowed to launch the
2867         confirmation UI for full backup/restore -->
2868    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
2869
2870    <application android:process="system"
2871                 android:persistent="true"
2872                 android:hasCode="false"
2873                 android:label="@string/android_system_label"
2874                 android:allowClearUserData="false"
2875                 android:backupAgent="com.android.server.backup.SystemBackupAgent"
2876                 android:killAfterRestore="false"
2877                 android:icon="@drawable/ic_launcher_android"
2878                 android:supportsRtl="true">
2879        <activity android:name="com.android.internal.app.ChooserActivity"
2880                android:theme="@style/Theme.DeviceDefault.Resolver"
2881                android:finishOnCloseSystemDialogs="true"
2882                android:excludeFromRecents="true"
2883                android:documentLaunchMode="never"
2884                android:relinquishTaskIdentity="true"
2885                android:process=":ui">
2886            <intent-filter>
2887                <action android:name="android.intent.action.CHOOSER" />
2888                <category android:name="android.intent.category.DEFAULT" />
2889            </intent-filter>
2890        </activity>
2891        <activity android:name="com.android.internal.app.IntentForwarderActivity"
2892                android:finishOnCloseSystemDialogs="true"
2893                android:theme="@style/Theme.NoDisplay"
2894                android:excludeFromRecents="true"
2895                android:label="@string/user_owner_label"
2896                android:exported="true"
2897                >
2898        </activity>
2899        <activity-alias android:name="com.android.internal.app.ForwardIntentToUserOwner"
2900                android:targetActivity="com.android.internal.app.IntentForwarderActivity"
2901                android:exported="true"
2902                android:label="@string/user_owner_label">
2903        </activity-alias>
2904        <activity-alias android:name="com.android.internal.app.ForwardIntentToManagedProfile"
2905                android:targetActivity="com.android.internal.app.IntentForwarderActivity"
2906                android:icon="@drawable/ic_corp_icon"
2907                android:exported="true"
2908                android:label="@string/managed_profile_label">
2909        </activity-alias>
2910        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
2911                android:theme="@style/Theme.Material.Dialog"
2912                android:label="@string/heavy_weight_switcher_title"
2913                android:finishOnCloseSystemDialogs="true"
2914                android:excludeFromRecents="true"
2915                android:process=":ui">
2916        </activity>
2917        <activity android:name="com.android.internal.app.PlatLogoActivity"
2918                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
2919                android:configChanges="orientation|keyboardHidden"
2920                android:process=":ui">
2921        </activity>
2922        <activity android:name="com.android.internal.app.DisableCarModeActivity"
2923                android:theme="@style/Theme.NoDisplay"
2924                android:excludeFromRecents="true"
2925                android:process=":ui">
2926        </activity>
2927
2928        <activity android:name="android.accounts.ChooseAccountActivity"
2929                android:excludeFromRecents="true"
2930                android:exported="true"
2931                android:theme="@android:style/Theme.Material.Dialog"
2932                android:label="@string/choose_account_label"
2933                android:process=":ui">
2934        </activity>
2935
2936        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
2937                android:excludeFromRecents="true"
2938                android:exported="true"
2939                android:theme="@android:style/Theme.Material.Dialog"
2940                android:label="@string/choose_account_label"
2941                android:process=":ui">
2942        </activity>
2943
2944        <activity android:name="android.accounts.ChooseAccountTypeActivity"
2945                android:excludeFromRecents="true"
2946                android:theme="@android:style/Theme.Material.Dialog"
2947                android:label="@string/choose_account_label"
2948                android:process=":ui">
2949        </activity>
2950
2951        <activity android:name="android.accounts.CantAddAccountActivity"
2952                android:excludeFromRecents="true"
2953                android:exported="true"
2954                android:theme="@android:style/Theme.Material.Dialog.NoActionBar"
2955                android:process=":ui">
2956        </activity>
2957
2958        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
2959                android:excludeFromRecents="true"
2960                android:exported="true"
2961                android:theme="@android:style/Theme.Material.DialogWhenLarge"
2962                android:process=":ui">
2963        </activity>
2964
2965        <activity android:name="android.content.SyncActivityTooManyDeletes"
2966               android:theme="@android:style/Theme.Holo.Dialog"
2967               android:label="@string/sync_too_many_deletes"
2968               android:process=":ui">
2969        </activity>
2970
2971        <activity android:name="com.android.server.ShutdownActivity"
2972            android:permission="android.permission.SHUTDOWN"
2973            android:excludeFromRecents="true">
2974            <intent-filter>
2975                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
2976                <category android:name="android.intent.category.DEFAULT" />
2977            </intent-filter>
2978            <intent-filter>
2979                <action android:name="android.intent.action.REBOOT" />
2980                <category android:name="android.intent.category.DEFAULT" />
2981            </intent-filter>
2982        </activity>
2983
2984        <activity android:name="com.android.internal.app.NetInitiatedActivity"
2985                android:theme="@style/Theme.Holo.Dialog.Alert"
2986                android:excludeFromRecents="true"
2987                android:process=":ui">
2988        </activity>
2989
2990        <activity android:name="com.android.internal.app.RestrictionsPinActivity"
2991                android:theme="@style/Theme.Material.Light.Dialog.Alert"
2992                android:excludeFromRecents="true"
2993                android:windowSoftInputMode="adjustPan"
2994                android:process=":ui">
2995            <intent-filter android:priority="100">
2996                <action android:name="android.intent.action.RESTRICTIONS_CHALLENGE" />
2997                <category android:name="android.intent.category.DEFAULT" />
2998            </intent-filter>
2999        </activity>
3000
3001        <receiver android:name="com.android.server.BootReceiver"
3002                android:primaryUserOnly="true">
3003            <intent-filter android:priority="1000">
3004                <action android:name="android.intent.action.BOOT_COMPLETED" />
3005            </intent-filter>
3006        </receiver>
3007
3008        <receiver android:name="com.android.server.updates.CertPinInstallReceiver" >
3009            <intent-filter>
3010                <action android:name="android.intent.action.UPDATE_PINS" />
3011                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3012            </intent-filter>
3013        </receiver>
3014
3015        <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver" >
3016            <intent-filter>
3017                <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
3018                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3019            </intent-filter>
3020        </receiver>
3021
3022        <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver" >
3023            <intent-filter>
3024                <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
3025                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3026            </intent-filter>
3027        </receiver>
3028
3029        <receiver android:name="com.android.server.updates.CarrierProvisioningUrlsInstallReceiver" >
3030            <intent-filter>
3031                <action android:name="android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS" />
3032                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3033            </intent-filter>
3034        </receiver>
3035
3036        <receiver android:name="com.android.server.updates.TZInfoInstallReceiver" >
3037            <intent-filter>
3038                <action android:name="android.intent.action.UPDATE_TZINFO" />
3039                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3040            </intent-filter>
3041        </receiver>
3042
3043        <receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver" >
3044            <intent-filter>
3045                <action android:name="android.intent.action.UPDATE_SEPOLICY" />
3046                <data android:scheme="content" android:host="*" android:mimeType="*/*" />
3047            </intent-filter>
3048        </receiver>
3049
3050        <receiver android:name="com.android.server.MasterClearReceiver"
3051            android:permission="android.permission.MASTER_CLEAR">
3052            <intent-filter
3053                    android:priority="100" >
3054                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
3055                <action android:name="android.intent.action.MASTER_CLEAR" />
3056
3057                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
3058                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
3059                <category android:name="android.intent.category.MASTER_CLEAR" />
3060            </intent-filter>
3061        </receiver>
3062
3063        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
3064            android:permission="android.permission.MASTER_CLEAR"
3065            android:exported="true" />
3066
3067        <service android:name="android.hardware.location.GeofenceHardwareService"
3068            android:permission="android.permission.LOCATION_HARDWARE"
3069            android:exported="false" />
3070
3071        <service android:name="com.android.internal.backup.LocalTransportService"
3072                android:permission="android.permission.CONFIRM_FULL_BACKUP"
3073                android:exported="false">
3074            <intent-filter>
3075                <action android:name="android.backup.TRANSPORT_HOST" />
3076            </intent-filter>
3077        </service>
3078
3079        <service android:name="com.android.server.MountServiceIdler"
3080                 android:exported="true"
3081                 android:permission="android.permission.BIND_JOB_SERVICE" >
3082        </service>
3083
3084        <service android:name="com.android.server.backup.FullBackupJob"
3085                 android:exported="true"
3086                 android:permission="android.permission.BIND_JOB_SERVICE" >
3087        </service>
3088
3089        <service
3090            android:name="com.android.server.pm.BackgroundDexOptService"
3091            android:exported="true"
3092            android:permission="android.permission.BIND_JOB_SERVICE">
3093        </service>
3094
3095    </application>
3096
3097</manifest>
3098