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