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