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