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