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