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