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