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