AndroidManifest.xml revision 7299c41630935a2b106e73e5603579a7747f7535
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" 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.PACKAGE_REMOVED" />
39    <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
40    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
41    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
42    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
43    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
44    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
45    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
46    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
47    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
48    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
49    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
50    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
51    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
52    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
53    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
54    <protected-broadcast android:name="android.intent.action.REBOOT" />
55    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
56
57    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
58    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
59    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
60    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
61    
62    <protected-broadcast android:name="android.backup.intent.RUN" />
63    <protected-broadcast android:name="android.backup.intent.CLEAR" />
64    <protected-broadcast android:name="android.backup.intent.INIT" />
65
66    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
67    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
68    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
69    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
70    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
71    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
72    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
73    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
74    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
75    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
76    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
77    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
78    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
79    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
80    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
81    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
82
83    <!-- ====================================== -->
84    <!-- Permissions for things that cost money -->
85    <!-- ====================================== -->
86    <eat-comment />
87
88    <!-- Used for permissions that can be used to make the user spend money
89         without their direct involvement.  For example, this is the group
90         for permissions that allow you to directly place phone calls,
91         directly send SMS messages, etc. -->
92    <permission-group android:name="android.permission-group.COST_MONEY"
93        android:label="@string/permgrouplab_costMoney"
94        android:description="@string/permgroupdesc_costMoney" />
95
96    <!-- Allows an application to send SMS messages. -->
97    <permission android:name="android.permission.SEND_SMS"
98        android:permissionGroup="android.permission-group.COST_MONEY"
99        android:protectionLevel="dangerous"
100        android:label="@string/permlab_sendSms"
101        android:description="@string/permdesc_sendSms" />
102
103    <!-- Allows an application to initiate a phone call without going through
104         the Dialer user interface for the user to confirm the call
105         being placed. -->
106    <permission android:name="android.permission.CALL_PHONE"
107        android:permissionGroup="android.permission-group.COST_MONEY"
108        android:protectionLevel="dangerous"
109        android:label="@string/permlab_callPhone"
110        android:description="@string/permdesc_callPhone" />
111
112    <!-- ================================== -->
113    <!-- Permissions for accessing messages -->
114    <!-- ================================== -->
115    <eat-comment />
116
117    <!-- Used for permissions that allow an application to send messages
118         on behalf of the user or intercept messages being received by the
119         user.  This is primarily intended for SMS/MMS messaging, such as
120         receiving or reading an MMS. -->
121    <permission-group android:name="android.permission-group.MESSAGES"
122        android:label="@string/permgrouplab_messages"
123        android:description="@string/permgroupdesc_messages" />
124
125    <!-- Allows an application to monitor incoming SMS messages, to record
126         or perform processing on them. -->
127    <permission android:name="android.permission.RECEIVE_SMS"
128        android:permissionGroup="android.permission-group.MESSAGES"
129        android:protectionLevel="dangerous"
130        android:label="@string/permlab_receiveSms"
131        android:description="@string/permdesc_receiveSms" />
132
133    <!-- Allows an application to monitor incoming MMS messages, to record
134         or perform processing on them. -->
135    <permission android:name="android.permission.RECEIVE_MMS"
136        android:permissionGroup="android.permission-group.MESSAGES"
137        android:protectionLevel="dangerous"
138        android:label="@string/permlab_receiveMms"
139        android:description="@string/permdesc_receiveMms" />
140
141    <!-- Allows an application to read SMS messages. -->
142    <permission android:name="android.permission.READ_SMS"
143        android:permissionGroup="android.permission-group.MESSAGES"
144        android:protectionLevel="dangerous"
145        android:label="@string/permlab_readSms"
146        android:description="@string/permdesc_readSms" />
147
148    <!-- Allows an application to write SMS messages. -->
149    <permission android:name="android.permission.WRITE_SMS"
150        android:permissionGroup="android.permission-group.MESSAGES"
151        android:protectionLevel="dangerous"
152        android:label="@string/permlab_writeSms"
153        android:description="@string/permdesc_writeSms" />
154
155    <!-- Allows an application to monitor incoming WAP push messages. -->
156    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
157        android:permissionGroup="android.permission-group.MESSAGES"
158        android:protectionLevel="dangerous"
159        android:label="@string/permlab_receiveWapPush"
160        android:description="@string/permdesc_receiveWapPush" />
161
162    <!-- =============================================================== -->
163    <!-- Permissions for accessing personal info (contacts and calendar) -->
164    <!-- =============================================================== -->
165    <eat-comment />
166
167    <!-- Used for permissions that provide access to the user's private data,
168         such as contacts, calendar events, e-mail messages, etc.  This includes
169         both reading and writing of this data (which should generally be
170         expressed as two distinct permissions). -->
171    <permission-group android:name="android.permission-group.PERSONAL_INFO"
172        android:label="@string/permgrouplab_personalInfo"
173        android:description="@string/permgroupdesc_personalInfo" />
174
175    <!-- Allows an application to read the user's contacts data. -->
176    <permission android:name="android.permission.READ_CONTACTS"
177        android:permissionGroup="android.permission-group.PERSONAL_INFO"
178        android:protectionLevel="dangerous"
179        android:label="@string/permlab_readContacts"
180        android:description="@string/permdesc_readContacts" />
181
182    <!-- Allows an application to write (but not read) the user's
183         contacts data. -->
184    <permission android:name="android.permission.WRITE_CONTACTS"
185        android:permissionGroup="android.permission-group.PERSONAL_INFO"
186        android:protectionLevel="dangerous"
187        android:label="@string/permlab_writeContacts"
188        android:description="@string/permdesc_writeContacts" />
189
190    <!-- Allows an application to read the owner's data. -->
191    <permission android:name="android.permission.READ_OWNER_DATA"
192        android:permissionGroup="android.permission-group.PERSONAL_INFO"
193        android:protectionLevel="dangerous"
194        android:label="@string/permlab_readOwnerData"
195        android:description="@string/permdesc_readOwnerData" />
196
197    <!-- Allows an application to write (but not read) the owner's data. -->
198    <permission android:name="android.permission.WRITE_OWNER_DATA"
199        android:permissionGroup="android.permission-group.PERSONAL_INFO"
200        android:protectionLevel="dangerous"
201        android:label="@string/permlab_writeOwnerData"
202        android:description="@string/permdesc_writeOwnerData" />
203
204    <!-- Allows an application to read the user's calendar data. -->
205    <permission android:name="android.permission.READ_CALENDAR"
206        android:permissionGroup="android.permission-group.PERSONAL_INFO"
207        android:protectionLevel="dangerous"
208        android:label="@string/permlab_readCalendar"
209        android:description="@string/permdesc_readCalendar" />
210
211    <!-- Allows an application to write (but not read) the user's
212         calendar data. -->
213    <permission android:name="android.permission.WRITE_CALENDAR"
214        android:permissionGroup="android.permission-group.PERSONAL_INFO"
215        android:protectionLevel="dangerous"
216        android:label="@string/permlab_writeCalendar"
217        android:description="@string/permdesc_writeCalendar" />
218
219    <!-- Allows an application to read the user dictionary. This should
220         really only be required by an IME, or a dictionary editor like
221         the Settings app.
222         @hide Pending API council approval -->
223    <permission android:name="android.permission.READ_USER_DICTIONARY"
224        android:permissionGroup="android.permission-group.PERSONAL_INFO"
225        android:protectionLevel="dangerous"
226        android:label="@string/permlab_readDictionary"
227        android:description="@string/permdesc_readDictionary" />
228
229    <!-- Allows an application to write to the user dictionary.
230         @hide Pending API council approval -->
231    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
232        android:permissionGroup="android.permission-group.PERSONAL_INFO"
233        android:protectionLevel="normal"
234        android:label="@string/permlab_writeDictionary"
235        android:description="@string/permdesc_writeDictionary" />
236
237    <!-- Allows an application to read (but not write) the user's
238        browsing history and bookmarks. -->
239    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
240        android:permissionGroup="android.permission-group.PERSONAL_INFO"
241        android:label="@string/permlab_readHistoryBookmarks"
242        android:description="@string/permdesc_readHistoryBookmarks"
243        android:protectionLevel="dangerous" />
244
245    <!-- Allows an application to write (but not read) the user's
246        browsing history and bookmarks. -->
247    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
248        android:permissionGroup="android.permission-group.PERSONAL_INFO"
249        android:label="@string/permlab_writeHistoryBookmarks"
250        android:description="@string/permdesc_writeHistoryBookmarks"
251        android:protectionLevel="dangerous" />
252
253    <!-- Allows an application to write to (but not read) the user's
254         geolocation permissions.. -->
255    <permission android:name="com.android.browser.permission.WRITE_GEOLOCATION_PERMISSIONS"
256        android:permissionGroup="android.permission-group.LOCATION"
257        android:label="@string/permlab_writeGeolocationPermissions"
258        android:description="@string/permdesc_writeGeolocationPermissions"
259        android:protectionLevel="signatureOrSystem" />
260
261    <!-- ======================================= -->
262    <!-- Permissions for accessing location info -->
263    <!-- ======================================= -->
264    <eat-comment />
265
266    <!-- Used for permissions that allow access to the user's current
267         location. -->
268    <permission-group android:name="android.permission-group.LOCATION"
269        android:label="@string/permgrouplab_location"
270        android:description="@string/permgroupdesc_location" />
271
272    <!-- Allows an application to access fine (e.g., GPS) location -->
273    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
274        android:permissionGroup="android.permission-group.LOCATION"
275        android:protectionLevel="dangerous"
276        android:label="@string/permlab_accessFineLocation"
277        android:description="@string/permdesc_accessFineLocation" />
278
279    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
280    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
281        android:permissionGroup="android.permission-group.LOCATION"
282        android:protectionLevel="dangerous"
283        android:label="@string/permlab_accessCoarseLocation"
284        android:description="@string/permdesc_accessCoarseLocation" />
285
286    <!-- Allows an application to create mock location providers for testing -->
287    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
288        android:permissionGroup="android.permission-group.LOCATION"
289        android:protectionLevel="dangerous"
290        android:label="@string/permlab_accessMockLocation"
291        android:description="@string/permdesc_accessMockLocation" />
292
293    <!-- Allows an application to access extra location provider commands -->
294    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
295        android:permissionGroup="android.permission-group.LOCATION"
296        android:protectionLevel="normal"
297        android:label="@string/permlab_accessLocationExtraCommands"
298        android:description="@string/permdesc_accessLocationExtraCommands" />
299
300    <!-- Allows an application to install a location provider into the Location Manager -->
301    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
302        android:protectionLevel="signatureOrSystem"
303        android:label="@string/permlab_installLocationProvider"
304        android:description="@string/permdesc_installLocationProvider" />
305
306    <!-- ======================================= -->
307    <!-- Permissions for accessing networks -->
308    <!-- ======================================= -->
309    <eat-comment />
310
311    <!-- Used for permissions that provide access to networking services.  The
312         main permission here is internet access, but this is also an
313         appropriate group for accessing or modifying any network configuration
314         or other related network operations. -->
315    <permission-group android:name="android.permission-group.NETWORK"
316        android:label="@string/permgrouplab_network"
317        android:description="@string/permgroupdesc_network" />
318
319    <!-- Allows applications to open network sockets. -->
320    <permission android:name="android.permission.INTERNET"
321        android:permissionGroup="android.permission-group.NETWORK"
322        android:protectionLevel="dangerous"
323        android:description="@string/permdesc_createNetworkSockets"
324        android:label="@string/permlab_createNetworkSockets" />
325
326    <!-- Allows applications to access information about networks -->
327    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
328        android:permissionGroup="android.permission-group.NETWORK"
329        android:protectionLevel="normal"
330        android:description="@string/permdesc_accessNetworkState"
331        android:label="@string/permlab_accessNetworkState" />
332
333    <!-- Allows applications to access information about Wi-Fi networks -->
334    <permission android:name="android.permission.ACCESS_WIFI_STATE"
335        android:permissionGroup="android.permission-group.NETWORK"
336        android:protectionLevel="normal"
337        android:description="@string/permdesc_accessWifiState"
338        android:label="@string/permlab_accessWifiState" />
339
340    <!-- Allows applications to connect to paired bluetooth devices -->
341    <permission android:name="android.permission.BLUETOOTH"
342        android:permissionGroup="android.permission-group.NETWORK"
343        android:protectionLevel="dangerous"
344        android:description="@string/permdesc_bluetooth"
345        android:label="@string/permlab_bluetooth" />
346
347    <!-- Allows applications to call into AccountAuthenticators. Only
348    the system can get this permission. -->
349    <permission android:name="android.permission.ACCOUNT_MANAGER"
350        android:permissionGroup="android.permission-group.ACCOUNTS"
351        android:protectionLevel="signature"
352        android:description="@string/permdesc_accountManagerService"
353        android:label="@string/permlab_accountManagerService" />
354
355    <!-- ================================== -->
356    <!-- Permissions for accessing accounts -->
357    <!-- ================================== -->
358    <eat-comment />
359
360    <!-- Permissions for direct access to the accounts managed
361         by the Account Manager. -->
362    <permission-group android:name="android.permission-group.ACCOUNTS"
363        android:label="@string/permgrouplab_accounts"
364        android:description="@string/permgroupdesc_accounts" />
365
366    <!-- Allows access to the list of accounts in the Accounts Service -->
367    <permission android:name="android.permission.GET_ACCOUNTS"
368        android:permissionGroup="android.permission-group.ACCOUNTS"
369        android:protectionLevel="normal"
370        android:description="@string/permdesc_getAccounts"
371        android:label="@string/permlab_getAccounts" />
372
373    <!-- Allows an application to act as an AccountAuthenticator for
374         the AccountManager -->
375    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
376        android:permissionGroup="android.permission-group.ACCOUNTS"
377        android:protectionLevel="dangerous"
378        android:label="@string/permlab_authenticateAccounts"
379        android:description="@string/permdesc_authenticateAccounts" />
380
381    <!-- Allows an application to request authtokens from the AccountManager -->
382    <permission android:name="android.permission.USE_CREDENTIALS"
383        android:permissionGroup="android.permission-group.ACCOUNTS"
384        android:protectionLevel="dangerous"
385        android:label="@string/permlab_useCredentials"
386        android:description="@string/permdesc_useCredentials" />
387
388    <!-- Allows an application to manage the list of accounts in the AccountManager -->
389    <permission android:name="android.permission.MANAGE_ACCOUNTS"
390        android:permissionGroup="android.permission-group.ACCOUNTS"
391        android:protectionLevel="dangerous"
392        android:label="@string/permlab_manageAccounts"
393        android:description="@string/permdesc_manageAccounts" />
394
395    <!-- ================================== -->
396    <!-- Permissions for accessing hardware -->
397    <!-- ================================== -->
398    <eat-comment />
399
400    <!-- Used for permissions that provide direct access to the hardware on
401         the device.  This includes audio, the camera, vibrator, etc. -->
402    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
403        android:label="@string/permgrouplab_hardwareControls"
404        android:description="@string/permgroupdesc_hardwareControls" />
405
406    <!-- Allows an application to modify global audio settings -->
407    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
408        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
409        android:protectionLevel="dangerous"
410        android:label="@string/permlab_modifyAudioSettings"
411        android:description="@string/permdesc_modifyAudioSettings" />
412
413    <!-- Allows an application to record audio -->
414    <permission android:name="android.permission.RECORD_AUDIO"
415        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
416        android:protectionLevel="dangerous"
417        android:label="@string/permlab_recordAudio"
418        android:description="@string/permdesc_recordAudio" />
419
420    <!-- Required to be able to access the camera device.
421         <p>This will automatically enforce the <a
422         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
423         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
424         If you do not require all camera features or can properly operate if a camera
425         is not available, then you must modify your manifest as appropriate in order to
426         install on devices that don't support all camera features.</p> -->
427    <permission android:name="android.permission.CAMERA"
428        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
429        android:protectionLevel="dangerous"
430        android:label="@string/permlab_camera"
431        android:description="@string/permdesc_camera" />
432
433    <!-- Allows access to the vibrator -->
434    <permission android:name="android.permission.VIBRATE"
435        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
436        android:protectionLevel="normal"
437        android:label="@string/permlab_vibrate"
438        android:description="@string/permdesc_vibrate" />
439
440    <!-- Allows access to the flashlight -->
441    <permission android:name="android.permission.FLASHLIGHT"
442        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
443        android:protectionLevel="normal"
444        android:label="@string/permlab_flashlight"
445        android:description="@string/permdesc_flashlight" />
446
447    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
448    <permission android:name="android.permission.HARDWARE_TEST"
449        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
450        android:protectionLevel="signature"
451        android:label="@string/permlab_hardware_test"
452        android:description="@string/permdesc_hardware_test" />
453
454    <!-- =========================================== -->
455    <!-- Permissions associated with telephony state -->
456    <!-- =========================================== -->
457    <eat-comment />
458
459    <!-- Used for permissions that are associated with accessing and modifyign
460         telephony state: intercepting outgoing calls, reading
461         and modifying the phone state.  Note that
462         placing phone calls is not in this group, since that is in the
463         more important "takin' yer moneys" group. -->
464    <permission-group android:name="android.permission-group.PHONE_CALLS"
465        android:label="@string/permgrouplab_phoneCalls"
466        android:description="@string/permgroupdesc_phoneCalls" />
467
468    <!-- Allows an application to monitor, modify, or abort outgoing
469         calls. -->
470    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
471        android:permissionGroup="android.permission-group.PHONE_CALLS"
472        android:protectionLevel="dangerous"
473        android:label="@string/permlab_processOutgoingCalls"
474        android:description="@string/permdesc_processOutgoingCalls" />
475
476    <!-- Allows modification of the telephony state - power on, mmi, etc.
477         Does not include placing calls. -->
478    <permission android:name="android.permission.MODIFY_PHONE_STATE"
479        android:permissionGroup="android.permission-group.PHONE_CALLS"
480        android:protectionLevel="dangerous"
481        android:label="@string/permlab_modifyPhoneState"
482        android:description="@string/permdesc_modifyPhoneState" />
483
484    <!-- Allows read only access to phone state. -->
485    <permission android:name="android.permission.READ_PHONE_STATE"
486        android:permissionGroup="android.permission-group.PHONE_CALLS"
487        android:protectionLevel="dangerous"
488        android:label="@string/permlab_readPhoneState"
489        android:description="@string/permdesc_readPhoneState" />
490
491    <!-- ================================== -->
492    <!-- Permissions for sdcard interaction -->
493    <!-- ================================== -->
494    <eat-comment />
495
496    <!-- Group of permissions that are related to SD card access. -->
497    <permission-group android:name="android.permission-group.STORAGE"
498        android:label="@string/permgrouplab_storage"
499        android:description="@string/permgroupdesc_storage" />
500
501    <!-- Allows an application to write to external storage -->
502    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
503        android:permissionGroup="android.permission-group.STORAGE"
504        android:label="@string/permlab_sdcardWrite"
505        android:description="@string/permdesc_sdcardWrite"
506        android:protectionLevel="dangerous" />
507
508    <!-- ============================================ -->
509    <!-- Permissions for low-level system interaction -->
510    <!-- ============================================ -->
511    <eat-comment />
512
513    <!-- Group of permissions that are related to system APIs.  Many
514         of these are not permissions the user will be expected to understand,
515         and such permissions should generally be marked as "normal" protection
516         level so they don't get displayed.  This can also, however, be used
517         for miscellaneous features that provide access to the operating system,
518         such as writing the global system settings. -->
519    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
520        android:label="@string/permgrouplab_systemTools"
521        android:description="@string/permgroupdesc_systemTools" />
522
523    <!-- Allows an application to read or write the system settings. -->
524    <permission android:name="android.permission.WRITE_SETTINGS"
525        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
526        android:protectionLevel="dangerous"
527        android:label="@string/permlab_writeSettings"
528        android:description="@string/permdesc_writeSettings" />
529
530    <!-- Allows an application to read or write the secure system settings. -->
531    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
532        android:protectionLevel="signatureOrSystem"
533        android:label="@string/permlab_writeSecureSettings"
534        android:description="@string/permdesc_writeSecureSettings" />
535
536    <!-- Allows an application to modify the Google service map. -->
537    <permission android:name="android.permission.WRITE_GSERVICES"
538        android:protectionLevel="signatureOrSystem"
539        android:label="@string/permlab_writeGservices"
540        android:description="@string/permdesc_writeGservices" />
541
542    <!-- Allows an application to expand or collapse the status bar. -->
543    <permission android:name="android.permission.EXPAND_STATUS_BAR"
544        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
545        android:protectionLevel="normal"
546        android:label="@string/permlab_expandStatusBar"
547        android:description="@string/permdesc_expandStatusBar" />
548
549    <!-- Allows an application to get information about the currently
550         or recently running tasks: a thumbnail representation of the tasks,
551         what activities are running in it, etc. -->
552    <permission android:name="android.permission.GET_TASKS"
553        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
554        android:protectionLevel="dangerous"
555        android:label="@string/permlab_getTasks"
556        android:description="@string/permdesc_getTasks" />
557
558    <!-- Allows an application to change the Z-order of tasks -->
559    <permission android:name="android.permission.REORDER_TASKS"
560        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
561        android:protectionLevel="dangerous"
562        android:label="@string/permlab_reorderTasks"
563        android:description="@string/permdesc_reorderTasks" />
564
565    <!-- Allows an application to modify the current configuration, such
566         as locale. -->
567    <permission android:name="android.permission.CHANGE_CONFIGURATION"
568        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
569        android:protectionLevel="dangerous"
570        android:label="@string/permlab_changeConfiguration"
571        android:description="@string/permdesc_changeConfiguration" />
572
573    <!-- Allows an application to enable the car mode.
574         @hide -->
575    <permission android:name="android.permission.ENABLE_CAR_MODE"
576        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
577        android:protectionLevel="signature"
578        android:label="@string/permlab_enableCarMode"
579        android:description="@string/permdesc_enableCarMode" />
580
581    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
582        API is no longer supported. -->
583    <permission android:name="android.permission.RESTART_PACKAGES"
584        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
585        android:protectionLevel="normal"
586        android:label="@string/permlab_killBackgroundProcesses"
587        android:description="@string/permdesc_killBackgroundProcesses" />
588
589    <!-- Allows an application to call
590        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
591    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
592        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
593        android:protectionLevel="normal"
594        android:label="@string/permlab_killBackgroundProcesses"
595        android:description="@string/permdesc_killBackgroundProcesses" />
596
597    <!-- Allows an application to call
598        {@link android.app.ActivityManager#forceStopPackage}.
599        @hide -->
600    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
601        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
602        android:protectionLevel="signature"
603        android:label="@string/permlab_forceStopPackages"
604        android:description="@string/permdesc_forceStopPackages" />
605
606    <!-- Allows an application to retrieve state dump information from system
607         services. -->
608    <permission android:name="android.permission.DUMP"
609        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
610        android:protectionLevel="dangerous"
611        android:label="@string/permlab_dump"
612        android:description="@string/permdesc_dump" />
613
614    <!-- Allows an application to open windows using the type
615         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
616         shown on top of all other applications.  Very few applications
617         should use this permission; these windows are intended for
618         system-level interaction with the user. -->
619    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
620        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
621        android:protectionLevel="dangerous"
622        android:label="@string/permlab_systemAlertWindow"
623        android:description="@string/permdesc_systemAlertWindow" />
624
625    <!-- Modify the global animation scaling factor. -->
626    <permission android:name="android.permission.SET_ANIMATION_SCALE"
627        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
628        android:protectionLevel="dangerous"
629        android:label="@string/permlab_setAnimationScale"
630        android:description="@string/permdesc_setAnimationScale" />
631
632    <!-- Allow an application to make its activities persistent. -->
633    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
634        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
635        android:protectionLevel="dangerous"
636        android:label="@string/permlab_persistentActivity"
637        android:description="@string/permdesc_persistentActivity" />
638
639    <!-- Allows an application to find out the space used by any package. -->
640    <permission android:name="android.permission.GET_PACKAGE_SIZE"
641        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
642        android:protectionLevel="normal"
643        android:label="@string/permlab_getPackageSize"
644        android:description="@string/permdesc_getPackageSize" />
645
646    <!-- @deprecated No longer useful, see
647         {@link android.content.pm.PackageManager#addPackageToPreferred}
648         for details. -->
649    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
650        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
651        android:protectionLevel="dangerous"
652        android:label="@string/permlab_setPreferredApplications"
653        android:description="@string/permdesc_setPreferredApplications" />
654
655    <!-- Allows an application to receive the
656         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
657         broadcast after the system finishes booting.  If you don't
658         request this permission, you will not receive the broadcast at
659         that time.  Though holding this permission does not have any
660         security implications, it can have a negative impact on the
661         user experience by increasing the amount of time it takes the
662         system to start and allowing applications to have themselves
663         running without the user being aware of them.  As such, you must
664         explicitly declare your use of this facility to make that visible
665         to the user. -->
666    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
667        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
668        android:protectionLevel="normal"
669        android:label="@string/permlab_receiveBootCompleted"
670        android:description="@string/permdesc_receiveBootCompleted" />
671
672    <!-- Allows an application to broadcast sticky intents.  These are
673         broadcasts whose data is held by the system after being finished,
674         so that clients can quickly retrieve that data without having
675         to wait for the next broadcast. -->
676    <permission android:name="android.permission.BROADCAST_STICKY"
677        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
678        android:protectionLevel="normal"
679        android:label="@string/permlab_broadcastSticky"
680        android:description="@string/permdesc_broadcastSticky" />
681
682    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
683         from dimming -->
684    <permission android:name="android.permission.WAKE_LOCK"
685        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
686        android:protectionLevel="dangerous"
687        android:label="@string/permlab_wakeLock"
688        android:description="@string/permdesc_wakeLock" />
689
690    <!-- Allows applications to set the wallpaper -->
691    <permission android:name="android.permission.SET_WALLPAPER"
692        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
693        android:protectionLevel="normal"
694        android:label="@string/permlab_setWallpaper"
695        android:description="@string/permdesc_setWallpaper" />
696
697    <!-- Allows applications to set the wallpaper hints -->
698    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
699        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
700        android:protectionLevel="normal"
701        android:label="@string/permlab_setWallpaperHints"
702        android:description="@string/permdesc_setWallpaperHints" />
703
704    <!-- Allows applications to set the system time -->
705    <permission android:name="android.permission.SET_TIME"
706        android:protectionLevel="signatureOrSystem"
707        android:label="@string/permlab_setTime"
708        android:description="@string/permdesc_setTime" />
709
710    <!-- Allows applications to set the system time zone -->
711    <permission android:name="android.permission.SET_TIME_ZONE"
712        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
713        android:protectionLevel="dangerous"
714        android:label="@string/permlab_setTimeZone"
715        android:description="@string/permdesc_setTimeZone" />
716
717    <!-- Allows mounting and unmounting file systems for removable storage. -->
718    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
719        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
720        android:protectionLevel="dangerous"
721        android:label="@string/permlab_mount_unmount_filesystems"
722        android:description="@string/permdesc_mount_unmount_filesystems" />
723
724    <!-- Allows formatting file systems for removable storage. -->
725    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
726        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
727        android:protectionLevel="dangerous"
728        android:label="@string/permlab_mount_format_filesystems"
729        android:description="@string/permdesc_mount_format_filesystems" />
730
731    <!-- Allows access to ASEC non-destructive API calls
732         @hide  -->
733    <permission android:name="android.permission.ASEC_ACCESS"
734        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
735        android:protectionLevel="dangerous"
736        android:label="@string/permlab_asec_access"
737        android:description="@string/permdesc_asec_access" />
738
739    <!-- Allows creation of ASEC volumes
740         @hide  -->
741    <permission android:name="android.permission.ASEC_CREATE"
742        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
743        android:protectionLevel="dangerous"
744        android:label="@string/permlab_asec_create"
745        android:description="@string/permdesc_asec_create" />
746
747    <!-- Allows destruction of ASEC volumes
748         @hide  -->
749    <permission android:name="android.permission.ASEC_DESTROY"
750        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
751        android:protectionLevel="dangerous"
752        android:label="@string/permlab_asec_destroy"
753        android:description="@string/permdesc_asec_destroy" />
754
755    <!-- Allows mount / unmount of ASEC volumes
756         @hide  -->
757    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
758        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
759        android:protectionLevel="dangerous"
760        android:label="@string/permlab_asec_mount_unmount"
761        android:description="@string/permdesc_asec_mount_unmount" />
762
763    <!-- Allows rename of ASEC volumes
764         @hide  -->
765    <permission android:name="android.permission.ASEC_RENAME"
766        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
767        android:protectionLevel="dangerous"
768        android:label="@string/permlab_asec_rename"
769        android:description="@string/permdesc_asec_rename" />
770
771    <!-- Allows applications to disable the keyguard -->
772    <permission android:name="android.permission.DISABLE_KEYGUARD"
773        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
774        android:protectionLevel="normal"
775        android:description="@string/permdesc_disableKeyguard"
776        android:label="@string/permlab_disableKeyguard" />
777
778    <!-- Allows applications to read the sync settings -->
779    <permission android:name="android.permission.READ_SYNC_SETTINGS"
780        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
781        android:protectionLevel="normal"
782        android:description="@string/permdesc_readSyncSettings"
783        android:label="@string/permlab_readSyncSettings" />
784
785    <!-- Allows applications to write the sync settings -->
786    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
787        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
788        android:protectionLevel="dangerous"
789        android:description="@string/permdesc_writeSyncSettings"
790        android:label="@string/permlab_writeSyncSettings" />
791
792    <!-- Allows applications to read the sync stats -->
793    <permission android:name="android.permission.READ_SYNC_STATS"
794        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
795        android:protectionLevel="normal"
796        android:description="@string/permdesc_readSyncStats"
797        android:label="@string/permlab_readSyncStats" />
798
799    <!-- Allows applications to write the apn settings -->
800    <permission android:name="android.permission.WRITE_APN_SETTINGS"
801                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
802                android:protectionLevel="dangerous"
803                android:description="@string/permdesc_writeApnSettings"
804                android:label="@string/permlab_writeApnSettings" />
805
806    <!-- Allows an application to allow access the subscribed feeds
807         ContentProvider. -->
808    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
809        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
810        android:label="@string/permlab_subscribedFeedsRead"
811        android:description="@string/permdesc_subscribedFeedsRead"
812        android:protectionLevel="normal" />
813    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
814        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
815        android:label="@string/permlab_subscribedFeedsWrite"
816        android:description="@string/permdesc_subscribedFeedsWrite"
817        android:protectionLevel="dangerous" />
818
819    <!-- Allows applications to change network connectivity state -->
820    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
821        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
822        android:protectionLevel="dangerous"
823        android:description="@string/permdesc_changeNetworkState"
824        android:label="@string/permlab_changeNetworkState" />
825
826    <!-- Allows applications to change Wi-Fi connectivity state -->
827    <permission android:name="android.permission.CHANGE_WIFI_STATE"
828        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
829        android:protectionLevel="dangerous"
830        android:description="@string/permdesc_changeWifiState"
831        android:label="@string/permlab_changeWifiState" />
832
833    <!-- Allows applications to enter Wi-Fi Multicast mode -->
834    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
835        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
836        android:protectionLevel="dangerous"
837        android:description="@string/permdesc_changeWifiMulticastState"
838        android:label="@string/permlab_changeWifiMulticastState" />
839
840    <!-- Allows applications to discover and pair bluetooth devices -->
841    <permission android:name="android.permission.BLUETOOTH_ADMIN"
842        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
843        android:protectionLevel="dangerous"
844        android:description="@string/permdesc_bluetoothAdmin"
845        android:label="@string/permlab_bluetoothAdmin" />
846
847    <!-- Allows an application to clear the caches of all installed
848         applications on the device.  -->
849    <permission android:name="android.permission.CLEAR_APP_CACHE"
850        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
851        android:protectionLevel="dangerous"
852        android:label="@string/permlab_clearAppCache"
853        android:description="@string/permdesc_clearAppCache" />
854
855    <!-- Allows an application to read the low-level system log files.
856         These can contain slightly private information about what is
857         happening on the device, but should never contain the user's
858         private information. -->
859    <permission android:name="android.permission.READ_LOGS"
860        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
861        android:protectionLevel="dangerous"
862        android:label="@string/permlab_readLogs"
863        android:description="@string/permdesc_readLogs" />
864
865    <!-- ========================================= -->
866    <!-- Permissions for special development tools -->
867    <!-- ========================================= -->
868    <eat-comment />
869
870    <!-- Group of permissions that are related to development features.  These
871         are not permissions that should appear in normal applications; they
872         protect APIs that are intended only to be used for development
873         purposes. -->
874    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
875        android:label="@string/permgrouplab_developmentTools"
876        android:description="@string/permgroupdesc_developmentTools" />
877
878    <!-- Configure an application for debugging. -->
879    <permission android:name="android.permission.SET_DEBUG_APP"
880        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
881        android:protectionLevel="dangerous"
882        android:label="@string/permlab_setDebugApp"
883        android:description="@string/permdesc_setDebugApp" />
884
885    <!-- Allows an application to set the maximum number of (not needed)
886         application processes that can be running. -->
887    <permission android:name="android.permission.SET_PROCESS_LIMIT"
888        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
889        android:protectionLevel="dangerous"
890        android:label="@string/permlab_setProcessLimit"
891        android:description="@string/permdesc_setProcessLimit" />
892
893    <!-- Allows an application to control whether activities are immediately
894         finished when put in the background. -->
895    <permission android:name="android.permission.SET_ALWAYS_FINISH"
896        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
897        android:protectionLevel="dangerous"
898        android:label="@string/permlab_setAlwaysFinish"
899        android:description="@string/permdesc_setAlwaysFinish" />
900
901    <!-- Allow an application to request that a signal be sent to all persistent processes -->
902    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
903        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
904        android:protectionLevel="dangerous"
905        android:label="@string/permlab_signalPersistentProcesses"
906        android:description="@string/permdesc_signalPersistentProcesses" />
907
908    <!-- ==================================== -->
909    <!-- Private (signature-only) permissions -->
910    <!-- ==================================== -->
911    <eat-comment />
912
913    <!-- Allows applications to RW to diagnostic resources. -->
914    <permission android:name="android.permission.DIAGNOSTIC"
915        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
916        android:protectionLevel="signature"
917        android:description="@string/permdesc_diagnostic"
918        android:label="@string/permlab_diagnostic" />
919
920    <!-- Allows an application to open, close, or disable the status bar
921         and its icons. -->
922    <permission android:name="android.permission.STATUS_BAR"
923        android:label="@string/permlab_statusBar"
924        android:description="@string/permdesc_statusBar"
925        android:protectionLevel="signatureOrSystem" />
926
927    <!-- Allows an application to force a BACK operation on whatever is the
928         top activity. -->
929    <permission android:name="android.permission.FORCE_BACK"
930        android:label="@string/permlab_forceBack"
931        android:description="@string/permdesc_forceBack"
932        android:protectionLevel="signature" />
933
934    <!-- Allows an application to update device statistics. Not for
935         use by third party apps. -->
936    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
937        android:label="@string/permlab_batteryStats"
938        android:description="@string/permdesc_batteryStats"
939        android:protectionLevel="signature" />
940
941    <!-- Allows an application to open windows that are for use by parts
942         of the system user interface.  Not for use by third party apps. -->
943    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
944        android:label="@string/permlab_internalSystemWindow"
945        android:description="@string/permdesc_internalSystemWindow"
946        android:protectionLevel="signature" />
947
948    <!-- Allows an application to manage (create, destroy,
949         Z-order) application tokens in the window manager.  This is only
950         for use by the system. -->
951    <permission android:name="android.permission.MANAGE_APP_TOKENS"
952        android:label="@string/permlab_manageAppTokens"
953        android:description="@string/permdesc_manageAppTokens"
954        android:protectionLevel="signature" />
955
956    <!-- Allows an application to inject user events (keys, touch, trackball)
957         into the event stream and deliver them to ANY window.  Without this
958         permission, you can only deliver events to windows in your own process.
959         Very few applications should need to use this permission. -->
960    <permission android:name="android.permission.INJECT_EVENTS"
961        android:label="@string/permlab_injectEvents"
962        android:description="@string/permdesc_injectEvents"
963        android:protectionLevel="signature" />
964
965    <!-- Allows an application to watch and control how activities are
966         started globally in the system.  Only for is in debugging
967         (usually the monkey command). -->
968    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
969        android:label="@string/permlab_runSetActivityWatcher"
970        android:description="@string/permdesc_runSetActivityWatcher"
971        android:protectionLevel="signature" />
972
973    <!-- Allows an application to call the activity manager shutdown() API
974         to put the higher-level system there into a shutdown state.
975         @hide -->
976    <permission android:name="android.permission.SHUTDOWN"
977        android:label="@string/permlab_shutdown"
978        android:description="@string/permdesc_shutdown"
979        android:protectionLevel="signature" />
980
981    <!-- Allows an application to tell the activity manager to temporarily
982         stop application switches, putting it into a special mode that
983         prevents applications from immediately switching away from some
984         critical UI such as the home screen.
985         @hide -->
986    <permission android:name="android.permission.STOP_APP_SWITCHES"
987        android:label="@string/permlab_stopAppSwitches"
988        android:description="@string/permdesc_stopAppSwitches"
989        android:protectionLevel="signature" />
990
991    <!-- Allows an application to retrieve the current state of keys and
992         switches.  This is only for use by the system.-->
993    <permission android:name="android.permission.READ_INPUT_STATE"
994        android:label="@string/permlab_readInputState"
995        android:description="@string/permdesc_readInputState"
996        android:protectionLevel="signature" />
997
998    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
999         to ensure that only the system can bind to it. -->
1000    <permission android:name="android.permission.BIND_INPUT_METHOD"
1001        android:label="@string/permlab_bindInputMethod"
1002        android:description="@string/permdesc_bindInputMethod"
1003        android:protectionLevel="signature" />
1004
1005    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1006         to ensure that only the system can bind to it. -->
1007    <permission android:name="android.permission.BIND_WALLPAPER"
1008        android:label="@string/permlab_bindWallpaper"
1009        android:description="@string/permdesc_bindWallpaper"
1010        android:protectionLevel="signatureOrSystem" />
1011
1012    <!-- Must be required by device administration receiver, to ensure that only the
1013         system can interact with it. -->
1014    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1015        android:label="@string/permlab_bindDeviceAdmin"
1016        android:description="@string/permdesc_bindDeviceAdmin"
1017        android:protectionLevel="signature" />
1018
1019    <!-- Allows low-level access to setting the orientation (actually
1020         rotation) of the screen.  Not for use by normal applications. -->
1021    <permission android:name="android.permission.SET_ORIENTATION"
1022        android:label="@string/permlab_setOrientation"
1023        android:description="@string/permdesc_setOrientation"
1024        android:protectionLevel="signature" />
1025
1026    <!-- Allows an application to install packages. -->
1027    <permission android:name="android.permission.INSTALL_PACKAGES"
1028        android:label="@string/permlab_installPackages"
1029        android:description="@string/permdesc_installPackages"
1030        android:protectionLevel="signatureOrSystem" />
1031
1032    <!-- Allows an application to clear user data -->
1033    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1034        android:label="@string/permlab_clearAppUserData"
1035        android:description="@string/permdesc_clearAppUserData"
1036        android:protectionLevel="signature" />
1037
1038    <!-- Allows an application to delete cache files. -->
1039    <permission android:name="android.permission.DELETE_CACHE_FILES"
1040        android:label="@string/permlab_deleteCacheFiles"
1041        android:description="@string/permdesc_deleteCacheFiles"
1042        android:protectionLevel="signatureOrSystem" />
1043
1044    <!-- Allows an application to delete packages. -->
1045    <permission android:name="android.permission.DELETE_PACKAGES"
1046        android:label="@string/permlab_deletePackages"
1047        android:description="@string/permdesc_deletePackages"
1048        android:protectionLevel="signatureOrSystem" />
1049
1050    <!-- Allows an application to move location of installed package. -->
1051    <permission android:name="android.permission.MOVE_PACKAGE"
1052        android:label="@string/permlab_movePackage"
1053        android:description="@string/permdesc_movePackage"
1054        android:protectionLevel="signatureOrSystem" />
1055
1056    <!-- Allows an application to change whether an application component (other than its own) is
1057         enabled or not. -->
1058    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1059        android:label="@string/permlab_changeComponentState"
1060        android:description="@string/permdesc_changeComponentState"
1061        android:protectionLevel="signature" />
1062
1063    <!-- Allows an application to use SurfaceFlinger's low level features -->
1064    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1065        android:label="@string/permlab_accessSurfaceFlinger"
1066        android:description="@string/permdesc_accessSurfaceFlinger"
1067        android:protectionLevel="signature" />
1068
1069    <!-- Allows an application to take screen shots and more generally
1070         get access to the frame buffer data -->
1071    <permission android:name="android.permission.READ_FRAME_BUFFER"
1072        android:label="@string/permlab_readFrameBuffer"
1073        android:description="@string/permdesc_readFrameBuffer"
1074        android:protectionLevel="signature" />
1075
1076    <!-- Required to be able to disable the device (very dangerous!). -->
1077    <permission android:name="android.permission.BRICK"
1078        android:label="@string/permlab_brick"
1079        android:description="@string/permdesc_brick"
1080        android:protectionLevel="signature" />
1081
1082    <!-- Required to be able to reboot the device. -->
1083    <permission android:name="android.permission.REBOOT"
1084        android:label="@string/permlab_reboot"
1085        android:description="@string/permdesc_reboot"
1086        android:protectionLevel="signatureOrSystem" />
1087
1088   <!-- Allows low-level access to power management -->
1089    <permission android:name="android.permission.DEVICE_POWER"
1090        android:label="@string/permlab_devicePower"
1091        android:description="@string/permdesc_devicePower"
1092        android:protectionLevel="signature" />
1093
1094    <!-- Run as a manufacturer test application, running as the root user.
1095         Only available when the device is running in manufacturer test mode. -->
1096    <permission android:name="android.permission.FACTORY_TEST"
1097        android:label="@string/permlab_factoryTest"
1098        android:description="@string/permdesc_factoryTest"
1099        android:protectionLevel="signature" />
1100
1101    <!-- Allows an application to broadcast a notification that an application
1102         package has been removed. -->
1103    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1104        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1105        android:label="@string/permlab_broadcastPackageRemoved"
1106        android:description="@string/permdesc_broadcastPackageRemoved"
1107        android:protectionLevel="signature" />
1108
1109    <!-- Allows an application to broadcast an SMS receipt notification -->
1110    <permission android:name="android.permission.BROADCAST_SMS"
1111        android:permissionGroup="android.permission-group.MESSAGES"
1112        android:label="@string/permlab_broadcastSmsReceived"
1113        android:description="@string/permdesc_broadcastSmsReceived"
1114        android:protectionLevel="signature" />
1115
1116    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1117    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1118        android:permissionGroup="android.permission-group.MESSAGES"
1119        android:label="@string/permlab_broadcastWapPush"
1120        android:description="@string/permdesc_broadcastWapPush"
1121        android:protectionLevel="signature" />
1122
1123    <permission android:name="android.permission.MASTER_CLEAR"
1124        android:label="@string/permlab_masterClear"
1125        android:description="@string/permdesc_masterClear"
1126        android:protectionLevel="signatureOrSystem" />
1127
1128    <!-- Allows an application to call any phone number, including emergency
1129         numbers, without going through the Dialer user interface for the user
1130         to confirm the call being placed. -->
1131    <permission android:name="android.permission.CALL_PRIVILEGED"
1132        android:label="@string/permlab_callPrivileged"
1133        android:description="@string/permdesc_callPrivileged"
1134        android:protectionLevel="signatureOrSystem" />
1135
1136    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1137    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1138        android:label="@string/permlab_performCdmaProvisioning"
1139        android:description="@string/permdesc_performCdmaProvisioning"
1140        android:protectionLevel="signatureOrSystem" />
1141
1142    <!-- Allows enabling/disabling location update notifications from
1143         the radio. Not for use by normal applications. -->
1144    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1145        android:label="@string/permlab_locationUpdates"
1146        android:description="@string/permdesc_locationUpdates"
1147        android:protectionLevel="signatureOrSystem" />
1148
1149    <!-- Allows read/write access to the "properties" table in the checkin
1150         database, to change values that get uploaded. -->
1151    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1152        android:label="@string/permlab_checkinProperties"
1153        android:description="@string/permdesc_checkinProperties"
1154        android:protectionLevel="signatureOrSystem" />
1155
1156    <!-- Allows an application to collect component usage
1157         statistics @hide -->
1158    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1159        android:label="@string/permlab_pkgUsageStats"
1160        android:description="@string/permdesc_pkgUsageStats"
1161        android:protectionLevel="signature" />
1162
1163    <!-- Allows an application to collect battery statistics -->
1164    <permission android:name="android.permission.BATTERY_STATS"
1165        android:label="@string/permlab_batteryStats"
1166        android:description="@string/permdesc_batteryStats"
1167        android:protectionLevel="normal" />
1168
1169    <!-- Allows an application to control the backup and restore process
1170         @hide pending API council -->
1171    <permission android:name="android.permission.BACKUP"
1172        android:label="@string/permlab_backup"
1173        android:description="@string/permdesc_backup"
1174        android:protectionLevel="signatureOrSystem" />
1175
1176    <!-- Allows an application to tell the AppWidget service which application
1177         can access AppWidget's data.  The normal user flow is that a user
1178         picks an AppWidget to go into a particular host, thereby giving that
1179         host application access to the private data from the AppWidget app.
1180         An application that has this permission should honor that contract.
1181         Very few applications should need to use this permission. -->
1182    <permission android:name="android.permission.BIND_APPWIDGET"
1183        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1184        android:label="@string/permlab_bindGadget"
1185        android:description="@string/permdesc_bindGadget"
1186        android:protectionLevel="signatureOrSystem" />
1187
1188    <!-- Allows applications to change the background data setting
1189         @hide pending API council -->
1190    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1191        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1192        android:protectionLevel="signature"
1193        android:description="@string/permdesc_changeBackgroundDataSetting"
1194        android:label="@string/permlab_changeBackgroundDataSetting" />
1195
1196    <!-- This permission can be used on content providers to allow the global
1197         search system to access their data.  Typically it used when the
1198         provider has some permissions protecting it (which global search
1199         would not be expected to hold), and added as a read-only permission
1200         to the path in the provider where global search queries are
1201         performed.  This permission can not be held by regular applications;
1202         it is used by applications to protect themselves from everyone else
1203         besides global search. -->
1204    <permission android:name="android.permission.GLOBAL_SEARCH"
1205        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1206        android:protectionLevel="signatureOrSystem" />
1207
1208    <!-- Internal permission protecting access to the global search
1209         system: ensures that only the system can access the provider
1210         to perform queries (since this otherwise provides unrestricted
1211         access to a variety of content providers), and to write the
1212         search statistics (to keep applications from gaming the source
1213         ranking).
1214         @hide -->
1215    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1216        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1217        android:protectionLevel="signature" />
1218
1219    <!-- Allows applications to set a live wallpaper.
1220         @hide XXX Change to signature once the picker is moved to its
1221         own apk as Ghod Intended. -->
1222    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1223        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1224        android:protectionLevel="signatureOrSystem" />
1225
1226    <!-- Allow an application to read and write the cache partition. -->
1227    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1228        android:label="@string/permlab_cache_filesystem"
1229        android:description="@string/permdesc_cache_filesystem"
1230        android:protectionLevel="signatureOrSystem" />
1231
1232    <!-- Must be required by default container service so that only
1233         the system can bind to it and use it to copy
1234         protected data to secure containers or files
1235         accessible to the system.
1236         @hide -->
1237    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1238        android:label="@string/permlab_copyProtectedData"
1239        android:description="@string/permlab_copyProtectedData"
1240        android:protectionLevel="signature" />
1241
1242    <!-- Push messaging permission. 
1243         @hide Used internally.
1244     -->
1245    <permission android:name="android.intent.category.MASTER_CLEAR.permission.PUSH_MESSAGE"
1246          android:protectionLevel="signature" />
1247    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.PUSH_MESSAGE"/>
1248
1249    <application android:process="system"
1250                 android:persistent="true"
1251                 android:hasCode="false"
1252                 android:label="@string/android_system_label"
1253                 android:allowClearUserData="false"
1254                 android:backupAgent="com.android.server.SystemBackupAgent"
1255                 android:killAfterRestore="false"
1256                 android:icon="@drawable/ic_launcher_android">
1257        <activity android:name="com.android.internal.app.ChooserActivity"
1258                android:theme="@style/Theme.Dialog.Alert"
1259                android:finishOnCloseSystemDialogs="true"
1260                android:excludeFromRecents="true"
1261                android:multiprocess="true">
1262            <intent-filter>
1263                <action android:name="android.intent.action.CHOOSER" />
1264                <category android:name="android.intent.category.DEFAULT" />
1265            </intent-filter>
1266        </activity>
1267        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1268                android:theme="@style/Theme.NoDisplay"
1269                android:excludeFromRecents="true">
1270        </activity>
1271        <activity android:name="com.android.internal.app.RingtonePickerActivity"
1272                android:theme="@style/Theme.Dialog.Alert"
1273                android:excludeFromRecents="true"
1274                android:multiprocess="true">
1275            <intent-filter>
1276                <action android:name="android.intent.action.RINGTONE_PICKER" />
1277                <category android:name="android.intent.category.DEFAULT" />
1278            </intent-filter>
1279        </activity>
1280        <activity android:name="com.android.server.status.UsbStorageActivity"
1281                android:excludeFromRecents="true">
1282        </activity>
1283        <activity android:name="com.android.internal.app.ExternalMediaFormatActivity"
1284                android:theme="@style/Theme.Dialog.Alert"
1285                android:excludeFromRecents="true">
1286        </activity>
1287
1288        <activity android:name="android.accounts.ChooseAccountActivity"
1289                android:excludeFromRecents="true"
1290                android:exported="true">
1291        </activity>
1292
1293        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1294                android:excludeFromRecents="true"
1295                android:exported="true">
1296        </activity>
1297
1298        <activity android:name="com.android.server.ShutdownActivity"
1299            android:permission="android.permission.SHUTDOWN"
1300            android:excludeFromRecents="true">
1301            <intent-filter>
1302                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1303                <category android:name="android.intent.category.DEFAULT" />
1304            </intent-filter>
1305        </activity>
1306        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1307                android:theme="@style/Theme.Dialog.Alert"
1308                android:excludeFromRecents="true">
1309        </activity>
1310
1311        <service android:name="com.android.server.LoadAverageService"
1312                android:exported="true" />
1313
1314        <service android:name="com.android.internal.service.wallpaper.ImageWallpaper"
1315                android:permission="android.permission.BIND_WALLPAPER">
1316        </service>
1317
1318        <receiver android:name="com.android.server.BootReceiver" >
1319            <intent-filter>
1320                <action android:name="android.intent.action.BOOT_COMPLETED" />
1321            </intent-filter>
1322        </receiver>
1323
1324        <receiver android:name="com.android.server.MasterClearReceiver"
1325            android:permission="android.permission.MASTER_CLEAR" >
1326            <intent-filter>
1327                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1328                <action android:name="android.intent.action.MASTER_CLEAR" />
1329
1330                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1331                <action android:name="com.google.android.pushmessaging.intent.RECEIVE" />
1332                <category android:name="android.intent.category.MASTER_CLEAR" />
1333            </intent-filter>
1334        </receiver>
1335    </application>
1336
1337</manifest>
1338
1339
1340