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