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