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