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