2009-03-03 19:31:44 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/* //device/apps/common/AndroidManifest.xml
|
|
|
|
**
|
|
|
|
** Copyright 2006, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-09-12 12:29:43 -07:00
|
|
|
package="android" coreApp="true" android:sharedUserId="android.uid.system"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:sharedUserLabel="@string/android_system_label">
|
|
|
|
|
2009-07-09 18:14:31 -07:00
|
|
|
<!-- ================================================ -->
|
|
|
|
<!-- Special broadcasts that only the system can send -->
|
|
|
|
<!-- ================================================ -->
|
|
|
|
<eat-comment />
|
2009-07-16 16:36:38 -07:00
|
|
|
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.SCREEN_OFF" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.SCREEN_ON" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_PRESENT" />
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.TIME_SET" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.TIME_TICK" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.DATE_CHANGED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
|
2011-02-24 14:40:20 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
|
2011-08-10 15:00:59 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
|
2011-02-24 14:40:20 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
|
2011-07-27 11:11:19 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_NEEDS_VERIFICATION" />
|
2012-08-29 14:49:51 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_VERIFIED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.UID_REMOVED" />
|
2012-09-21 10:57:45 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.QUERY_PACKAGE_RESTART" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
|
2009-11-11 18:04:39 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
|
2015-04-08 16:55:47 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.CHARGING" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DISCHARGING" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
|
2010-08-23 18:16:48 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.REBOOT" />
|
2010-03-04 18:41:49 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
|
2011-03-14 15:23:31 -05:00
|
|
|
<protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
|
2012-03-22 16:16:17 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_ADDED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_REMOVED" />
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_STARTING" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_STARTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_STOPPING" />
|
2012-08-27 19:18:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_STOPPED" />
|
2012-09-15 19:33:48 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_BACKGROUND" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_FOREGROUND" />
|
2012-03-22 16:16:17 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
|
Add IntentFilter auto verification
The purpose of this feature is to prompt the Disambiguation dialog
to Users as less as possible.
- add the new "autoVerify" property to the IntentFilter class
- add new APIs to PackageManager:
verifyIntentFilter(int, int, List<String>),
getIntentVerificationStatus(String, int),
updateIntentVerificationStatus(String, int, int),
getIntentFilterVerifications(String)
for supporting IntentFilter verification
- add support for multi-user
- update PackageManager for IntentFilter verification:
basically when we are installing a new package, ask for verification
of all domains from the IntentFilters that have the "autoVerify" to true.
This means that the PackageManager will send a well defined protected
broadcast (with a new INTENT_FILTER_NEEDS_VERIFICATION action) to
an IntentFilter verifier to do the real job of verification.
We are passing in the broadcast Intent all the necessary data for
doing the verification. The PackageManager will receive as response
the result code of the domain verifications and, if needed, the list
of domains that have failed the verification.
- add a new INTENT_FILTER_VERIFICATION_AGENT permission that needs to
be set by an intent filter verifier to be considered as a trustable
party by the PackageManager.
- add also a new BIND_INTENT_FILTER_VERIFIER permission for securing
the binding between the PackageManager and a service doing the
intent filter verifications.
- add ResolveInfo filterNeedsVerification which is a boolean
to knows if the IntentFilter is of a type that needs a verification
(action VIEW, category BROWABLE, HTTP/HTTPS data URI)
- add new "domain-preferred-apps" / "d" dump command for listing the
prefered Apps for all domains
- add new "intent-filter-verifiers" / "ivf" command for listing the
IntentFilterVerifier used
- introduce the IntentVerificationService which is a basic service
for verifying IntentFilters. This service will send HTTPS requests
to the domain declared in the IntentFilter(s) for doing the
verification. This service has a low priority level so that it
can be replaced by a more sophisticated one if needed. This service
is updating the PackageManager intent verification states thru
the updateIntentVerificationStatus(...) API.
- update MockPackageManager
Change-Id: I0bfed193d0bf1f7c7ac79f6c1b160b7ab93b5fb5
2014-11-19 17:12:32 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION" />
|
2009-07-16 16:36:38 -07:00
|
|
|
|
2014-06-03 17:48:12 -07:00
|
|
|
<protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGED" />
|
2014-08-02 17:12:43 -04:00
|
|
|
<protected-broadcast android:name="android.os.action.POWER_SAVE_MODE_CHANGING" />
|
2015-04-27 09:47:32 -07:00
|
|
|
<protected-broadcast android:name="android.os.action.DEVICE_IDLE_MODE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.os.action.POWER_SAVE_WHITELIST_CHANGED" />
|
2014-06-03 17:48:12 -07:00
|
|
|
|
2015-03-17 10:43:08 -07:00
|
|
|
<protected-broadcast android:name="android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED" />
|
|
|
|
|
2010-03-04 18:41:49 -08:00
|
|
|
<protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
|
|
|
|
<protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
|
|
|
|
<protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
|
|
|
|
<protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
|
2014-07-07 23:35:53 +02:00
|
|
|
<protected-broadcast android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
|
2015-04-02 13:14:39 -04:00
|
|
|
<protected-broadcast android:name="android.app.action.SEND_DEVICE_INITIALIZER_STATUS" />
|
2011-08-04 14:12:58 +01:00
|
|
|
|
2013-03-25 17:49:36 -07:00
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_UPDATE_OPTIONS" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_DISABLED" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_ENABLED" />
|
App widget backup/restore infrastructure
Backup/restore now supports app widgets.
An application involved with app widgets, either hosting or publishing,
now has associated data in its backup dataset related to the state of
widget instantiation on the ancestral device. That data is processed
by the OS during restore so that the matching widget instances can be
"automatically" regenerated.
To take advantage of this facility, widget-using apps need to do two
things: first, implement a backup agent and store whatever widget
state they need to properly deal with them post-restore (e.g. the
widget instance size & location, for a host); and second, implement
handlers for new AppWidgetManager broadcasts that describe how to
translate ancestral-dataset widget id numbers to the post-restore
world. Note that a host or provider doesn't technically need to
store *any* data on its own via its agent; it just needs to opt in
to the backup/restore process by publishing an agent. The OS will
then store a small amount of data on behalf of each widget-savvy
app within the backup dataset, and act on that data at restore time.
The broadcasts are AppWidgetManager.ACTION_APPWIDGET_RESTORED and
ACTION_APPWIDGET_HOST_RESTORED, and have three associated extras:
EXTRA_APPWIDGET_OLD_IDS
EXTRA_APPWIDGET_IDS
EXTRA_HOST_ID [for the host-side broadcast]
The first two are same-sized arrays of integer widget IDs. The
_OLD_IDS values are the widget IDs as known to the ancestral device.
The _IDS array holds the corresponding widget IDs in the new post-
restore environment. The app should simply update the stored
widget IDs in its bookkeeping to the new values, and things are
off and running. The HOST_ID extra, as one might expect, is the
app-defined host ID value of the particular host instance which
has just been restored.
The broadcasts are sent following the conclusion of the overall
restore pass. This is because the restore might have occurred in a
tightly restricted lifecycle environment without content providers
or the package's custom Application class. The _RESTORED broadcast,
however, is always delivered into a normal application environment,
so that the app can use its content provider etc as expected.
*All* widget instances that were processed over the course of the
system restore are indicated in the _RESTORED broadcast, even if
the backing provider or host is not yet installed. The widget
participant is responsible for understanding that these are
promises that might be fulfilled later rather than necessarily
reflecting the immediate presentable widget state. (Remember
that following a cloud restore, apps may be installed piecemeal
over a lengthy period of time.) Telling the hosts up front
about all intended widget instances allows them to show placeholder
UI or similarly useful information rather than surprising the user
with piecemeal unexpected appearances.
The AppWidgetProvider helper class has been updated to add a new
callback, onRestored(...), invoked when the _RESTORED broadcast
is received. The call to onRestored() is immediately followed by
an invocation of onUpdate() for the affected widgets because
they will need to have their RemoteViews regenerated under the
new ID values.
Bug 10622506
Bug 10707117
Change-Id: Ie0007cdf809600b880d91989c00c3c3b8a4f988b
2014-02-04 16:23:32 -08:00
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_RESTORED" />
|
2013-03-25 17:49:36 -07:00
|
|
|
|
2015-02-17 12:15:25 -08:00
|
|
|
<protected-broadcast android:name="android.os.action.SETTING_RESTORED" />
|
|
|
|
|
2009-09-21 19:36:51 -07:00
|
|
|
<protected-broadcast android:name="android.backup.intent.RUN" />
|
|
|
|
<protected-broadcast android:name="android.backup.intent.CLEAR" />
|
|
|
|
<protected-broadcast android:name="android.backup.intent.INIT" />
|
|
|
|
|
2009-09-15 17:21:10 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.UUID" />
|
2013-08-16 14:57:55 +05:30
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.MAS_INSTANCE" />
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ALIAS_CHANGED" />
|
2009-09-15 17:21:10 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
|
2013-08-20 18:07:25 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.devicepicker.action.LAUNCH" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.devicepicker.action.DEVICE_SELECTED" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
|
2014-06-12 11:23:40 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headsetclient.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headsetclient.profile.action.AUDIO_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headsetclient.profile.action.AG_EVENT" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headsetclient.profile.action.AG_CALL_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headsetclient.profile.action.RESULT" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headsetclient.profile.action.LAST_VTAG" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
|
2014-05-14 09:51:30 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp-sink.profile.action.PLAYING_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp-sink.profile.action.AUDIO_CONFIG_CHANGED" />
|
2014-06-02 16:20:37 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.avrcp-controller.profile.action.CONNECTION_STATE_CHANGED" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
|
2013-08-20 18:07:25 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.input.profile.action.PROTOCOL_MODE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.input.profile.action.VIRTUAL_UNPLUG_STATUS" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
|
2013-08-20 18:07:25 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.pbap.intent.action.PBAP_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.INCOMING_FILE_NOTIFICATION" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.USER_CONFIRMATION_TIMEOUT" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.LIST" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.OPEN_OUTBOUND" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.HIDE_COMPLETE" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.CONFIRM" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.HIDE" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.RETRY" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.OPEN" />
|
|
|
|
<protected-broadcast android:name="android.btopp.intent.action.OPEN_INBOUND" />
|
|
|
|
<protected-broadcast android:name="com.android.bluetooth.pbap.authchall" />
|
|
|
|
<protected-broadcast android:name="com.android.bluetooth.pbap.userconfirmtimeout" />
|
|
|
|
<protected-broadcast android:name="com.android.bluetooth.pbap.authresponse" />
|
|
|
|
<protected-broadcast android:name="com.android.bluetooth.pbap.authcancelled" />
|
2009-09-15 17:21:10 -07:00
|
|
|
|
2012-09-07 20:36:36 -07:00
|
|
|
<protected-broadcast android:name="android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED" />
|
|
|
|
|
2011-03-01 08:04:54 -08:00
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
|
2010-06-23 17:36:36 -04:00
|
|
|
|
2012-04-26 11:23:48 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
|
2014-09-03 14:20:41 -07:00
|
|
|
<protected-broadcast android:name="android.media.action.HDMI_AUDIO_PLUG" />
|
2012-04-26 11:23:48 -07:00
|
|
|
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.media.AUDIO_BECOMING_NOISY" />
|
|
|
|
<protected-broadcast android:name="android.media.RINGER_MODE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.media.VIBRATE_SETTING_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.media.VOLUME_CHANGED_ACTION" />
|
|
|
|
<protected-broadcast android:name="android.media.MASTER_VOLUME_CHANGED_ACTION" />
|
|
|
|
<protected-broadcast android:name="android.media.MASTER_MUTE_CHANGED_ACTION" />
|
|
|
|
<protected-broadcast android:name="android.media.SCO_AUDIO_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.media.ACTION_SCO_AUDIO_STATE_UPDATED" />
|
|
|
|
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_REMOVED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_CHECKING" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_NOFS" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_SHARED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_UNSHARED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_BAD_REMOVAL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_UNMOUNTABLE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.MEDIA_EJECT" />
|
|
|
|
|
2015-02-27 22:55:47 -05:00
|
|
|
<protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL" />
|
2011-08-29 16:02:57 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
2015-04-21 15:20:58 +09:00
|
|
|
<!-- @deprecated. Only {@link android.net.ConnectivityManager.CONNECTIVITY_ACTION} is sent. -->
|
2011-08-29 16:02:57 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
|
2012-06-20 14:29:57 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.DATA_ACTIVITY_CHANGE" />
|
2013-04-18 10:29:29 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" />
|
2013-02-12 10:03:14 -08:00
|
|
|
<protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL_TEST_COMPLETED" />
|
2011-08-29 16:02:57 -07:00
|
|
|
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.net.nsd.STATE_CHANGED" />
|
|
|
|
|
2010-10-14 19:16:35 -07:00
|
|
|
<protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
|
2011-03-08 11:43:30 -08:00
|
|
|
<protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
|
|
|
|
<protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
|
|
|
|
<protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
|
2010-09-23 16:12:11 -07:00
|
|
|
|
2010-10-14 19:16:35 -07:00
|
|
|
<protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
|
2015-04-20 13:44:58 +02:00
|
|
|
|
|
|
|
<protected-broadcast android:name="android.nfc.cardemulation.action.REQUEST_SERVICE_RESOURCES" />
|
2010-11-02 14:08:23 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
|
2010-10-11 16:00:27 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
|
2010-09-23 16:12:11 -07:00
|
|
|
|
2012-02-23 14:59:36 -08:00
|
|
|
<protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
|
2011-03-14 10:28:11 -07:00
|
|
|
|
2012-08-25 12:08:03 -04:00
|
|
|
<protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
|
2012-11-28 16:42:32 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
|
2013-08-29 08:55:16 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN" />
|
2012-11-28 16:42:32 -08:00
|
|
|
|
|
|
|
<protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
|
|
|
|
<protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
|
2014-06-18 12:59:21 -07:00
|
|
|
<protected-broadcast android:name="android.net.wifi.WIFI_CREDENTIAL_CHANGED" />
|
2013-06-25 11:41:53 -07:00
|
|
|
<protected-broadcast android:name="android.net.wifi.WIFI_SCAN_AVAILABLE" />
|
2012-11-28 16:42:32 -08:00
|
|
|
<protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.LINK_CONFIGURATION_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.supplicant.STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.THIS_DEVICE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.PEERS_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.CONNECTION_STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.conn.TETHER_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.conn.INET_CONDITION_ACTION" />
|
2013-07-31 17:07:33 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.NETWORK_CONDITIONS_MEASURED" />
|
2013-10-11 14:25:48 -07:00
|
|
|
<protected-broadcast
|
2013-08-21 13:09:01 -07:00
|
|
|
android:name="android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED" />
|
2014-04-09 12:38:15 -07:00
|
|
|
<protected-broadcast android:name="android.net.scoring.SCORE_NETWORKS" />
|
2014-07-01 12:29:11 -07:00
|
|
|
<protected-broadcast android:name="android.net.scoring.SCORER_CHANGED" />
|
2012-12-06 15:22:11 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.AIRPLANE_MODE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ADVANCED_SETTINGS" />
|
2014-04-09 16:44:21 +01:00
|
|
|
<protected-broadcast android:name="android.intent.action.APPLICATION_RESTRICTIONS_CHANGED" />
|
2013-03-08 16:13:15 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.BUGREPORT_FINISHED" />
|
2012-08-25 12:08:03 -04:00
|
|
|
|
2013-02-13 14:39:30 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_START" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_END" />
|
|
|
|
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.HDMI_PLUGGED" />
|
|
|
|
|
|
|
|
<protected-broadcast android:name="android.intent.action.PHONE_STATE" />
|
|
|
|
|
2014-08-31 19:24:10 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.SUB_DEFAULT_CHANGED" />
|
|
|
|
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.location.GPS_ENABLED_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.location.PROVIDERS_CHANGED" />
|
2013-09-03 18:05:13 -07:00
|
|
|
<protected-broadcast android:name="android.location.MODE_CHANGED" />
|
2013-06-12 18:16:01 -07:00
|
|
|
<protected-broadcast android:name="android.location.GPS_FIX_CHANGE" />
|
2013-08-12 16:42:38 -04:00
|
|
|
<protected-broadcast android:name="android.net.proxy.PAC_REFRESH" />
|
2013-06-12 18:16:01 -07:00
|
|
|
|
2013-08-29 08:55:16 -07:00
|
|
|
<protected-broadcast
|
|
|
|
android:name="com.android.server.connectivityservice.CONNECTED_TO_PROVISIONING_NETWORK_ACTION" />
|
|
|
|
|
2014-05-24 15:34:37 -07:00
|
|
|
<!-- Defined in RestrictionsManager -->
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.intent.action.PERMISSION_RESPONSE_RECEIVED" />
|
|
|
|
<!-- Defined in RestrictionsManager -->
|
2014-02-07 16:57:00 -08:00
|
|
|
|
2014-05-24 15:34:37 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.REQUEST_PERMISSION" />
|
2014-02-07 16:57:00 -08:00
|
|
|
<protected-broadcast android:name="android.nfc.handover.intent.action.HANDOVER_STARTED" />
|
|
|
|
<protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
|
|
|
|
<protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_PROGRESS" />
|
|
|
|
<protected-broadcast android:name="android.nfc.handover.intent.action.TRANSFER_DONE" />
|
|
|
|
|
2014-08-31 19:24:10 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_SUBSCRIPTION_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_SUBINFO_CONTENT_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_SUBINFO_RECORD_UPDATED" />
|
2014-05-24 15:34:37 -07:00
|
|
|
|
2014-10-17 15:03:58 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_SET_RADIO_CAPABILITY_DONE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_SET_RADIO_CAPABILITY_FAILED" />
|
|
|
|
|
2015-02-19 13:05:03 -08:00
|
|
|
<protected-broadcast android:name="android.internal.policy.action.BURN_IN_PROTECTION" />
|
2015-03-27 09:01:43 -04:00
|
|
|
<protected-broadcast android:name="android.service.persistentdata.action.WIPE_IF_ALLOWED" />
|
|
|
|
|
2015-04-20 17:43:48 +01:00
|
|
|
<protected-broadcast android:name="android.app.action.SYSTEM_UPDATE_POLICY_CHANGED" />
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- RUNTIME PERMISSIONS -->
|
|
|
|
<!-- ====================================================================== -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing user's contacts including personal profile -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<eat-comment />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Used for runtime permissions related to user's contacts and profile. -->
|
|
|
|
<permission-group android:name="android.permission-group.CONTACTS"
|
|
|
|
android:icon="@drawable/perm_group_social_info"
|
|
|
|
android:label="@string/permgrouplab_contacts"
|
|
|
|
android:description="@string/permgroupdesc_contacts"
|
|
|
|
android:priority="100" />
|
|
|
|
|
|
|
|
<!-- Allows an application to read the user's contacts data. -->
|
|
|
|
<permission android:name="android.permission.READ_CONTACTS"
|
|
|
|
android:permissionGroup="android.permission-group.CONTACTS"
|
|
|
|
android:label="@string/permlab_readContacts"
|
|
|
|
android:description="@string/permdesc_readContacts"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write the user's contacts data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_CONTACTS"
|
|
|
|
android:permissionGroup="android.permission-group.CONTACTS"
|
|
|
|
android:label="@string/permlab_writeContacts"
|
|
|
|
android:description="@string/permdesc_writeContacts"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to read the user's personal profile data. -->
|
|
|
|
<permission android:name="android.permission.READ_PROFILE"
|
|
|
|
android:permissionGroup="android.permission-group.CONTACTS"
|
|
|
|
android:label="@string/permlab_readProfile"
|
|
|
|
android:description="@string/permdesc_readProfile"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write the user's personal profile data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_PROFILE"
|
|
|
|
android:permissionGroup="android.permission-group.CONTACTS"
|
|
|
|
android:label="@string/permlab_writeProfile"
|
|
|
|
android:description="@string/permdesc_writeProfile"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing user's calendar -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for runtime permissions related to user's calendar. -->
|
|
|
|
<permission-group android:name="android.permission-group.CALENDAR"
|
|
|
|
android:icon="@drawable/perm_group_calendar"
|
|
|
|
android:label="@string/permgrouplab_calendar"
|
|
|
|
android:description="@string/permgroupdesc_calendar"
|
|
|
|
android:priority="200" />
|
|
|
|
|
|
|
|
<!-- Allows an application to read the user's calendar data. -->
|
|
|
|
<permission android:name="android.permission.READ_CALENDAR"
|
|
|
|
android:permissionGroup="android.permission-group.CALENDAR"
|
|
|
|
android:label="@string/permlab_readCalendar"
|
|
|
|
android:description="@string/permdesc_readCalendar"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write the user's calendar data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_CALENDAR"
|
|
|
|
android:permissionGroup="android.permission-group.CALENDAR"
|
|
|
|
android:label="@string/permlab_writeCalendar"
|
|
|
|
android:description="@string/permdesc_writeCalendar"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing and modifying user's SMS messages -->
|
|
|
|
<!-- ====================================================================== -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<eat-comment />
|
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Used for runtime permissions related to user's SMS messages. -->
|
|
|
|
<permission-group android:name="android.permission-group.SMS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_messages"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permgrouplab_sms"
|
|
|
|
android:description="@string/permgroupdesc_sms"
|
|
|
|
android:priority="300" />
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-03-26 09:04:12 -07:00
|
|
|
<!-- Allows an application to send SMS messages. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SEND_SMS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.SMS"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_sendSms"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_sendSms"
|
|
|
|
android:permissionFlags="costsMoney"
|
|
|
|
android:protectionLevel="dangerous" />
|
2011-08-11 14:27:25 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to receive SMS messages. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.RECEIVE_SMS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.SMS"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_receiveSms"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_receiveSms"
|
|
|
|
android:protectionLevel="dangerous"/>
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to read SMS messages. -->
|
|
|
|
<permission android:name="android.permission.READ_SMS"
|
|
|
|
android:permissionGroup="android.permission-group.SMS"
|
|
|
|
android:label="@string/permlab_readSms"
|
|
|
|
android:description="@string/permdesc_readSms"
|
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to receive WAP push messages. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_WAP_PUSH"
|
|
|
|
android:permissionGroup="android.permission-group.SMS"
|
|
|
|
android:label="@string/permlab_receiveWapPush"
|
|
|
|
android:description="@string/permdesc_receiveWapPush"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to monitor incoming MMS messages. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_MMS"
|
|
|
|
android:permissionGroup="android.permission-group.SMS"
|
|
|
|
android:label="@string/permlab_receiveMms"
|
|
|
|
android:description="@string/permdesc_receiveMms"
|
|
|
|
android:protectionLevel="dangerous" />
|
2011-04-26 16:26:46 -07:00
|
|
|
|
2012-04-18 12:32:18 -07:00
|
|
|
<!-- Allows an application to read previously received cell broadcast
|
|
|
|
messages and to register a content observer to get notifications when
|
|
|
|
a cell broadcast has been received and added to the database. For
|
|
|
|
emergency alerts, the database is updated immediately after the
|
|
|
|
alert dialog and notification sound/vibration/speech are presented.
|
|
|
|
The "read" column is then updated after the user dismisses the alert.
|
|
|
|
This enables supplementary emergency assistance apps to start loading
|
|
|
|
additional emergency information (if Internet access is available)
|
|
|
|
when the alert is first received, and to delay presenting the info
|
|
|
|
to the user until after the initial alert dialog is dismissed.
|
|
|
|
@hide Pending API council approval -->
|
|
|
|
<permission android:name="android.permission.READ_CELL_BROADCASTS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.SMS"
|
2012-04-18 12:32:18 -07:00
|
|
|
android:label="@string/permlab_readCellBroadcasts"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_readCellBroadcasts"
|
|
|
|
android:protectionLevel="dangerous" />
|
2013-08-16 14:57:55 +05:30
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- =============================================================== -->
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Permissions for accessing social info -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Used for permissions that provide access to the user's social connections,
|
|
|
|
such as contacts, call logs, social stream, etc. This includes
|
2009-03-03 19:31:44 -08:00
|
|
|
both reading and writing of this data (which should generally be
|
|
|
|
expressed as two distinct permissions). -->
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission-group android:name="android.permission-group.SOCIAL_INFO"
|
|
|
|
android:label="@string/permgrouplab_socialInfo"
|
|
|
|
android:icon="@drawable/perm_group_social_info"
|
|
|
|
android:description="@string/permgroupdesc_socialInfo"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:priority="1200" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to read from the user's social stream.
|
|
|
|
@deprecated This functionality will be unsupported in the future; cursors returned
|
|
|
|
will be empty. Please do not use. -->
|
|
|
|
<permission android:name="android.permission.READ_SOCIAL_STREAM"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_readSocialStream"
|
|
|
|
android:description="@string/permdesc_readSocialStream" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
2015-04-09 10:17:40 -07:00
|
|
|
social stream data.
|
|
|
|
@deprecated This functionality will be unsupported in the future; cursors returned
|
|
|
|
will be empty. Please do not use. -->
|
|
|
|
<permission android:name="android.permission.WRITE_SOCIAL_STREAM"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_writeSocialStream"
|
|
|
|
android:description="@string/permdesc_writeSocialStream" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing the device location -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that allow accessing the device location. -->
|
|
|
|
<permission-group android:name="android.permission-group.LOCATION"
|
|
|
|
android:icon="@drawable/perm_group_location"
|
|
|
|
android:label="@string/permgrouplab_location"
|
|
|
|
android:description="@string/permgroupdesc_location"
|
|
|
|
android:priority="400" />
|
|
|
|
|
|
|
|
<!-- Allows an app to access precise location. -->
|
|
|
|
<permission android:name="android.permission.ACCESS_FINE_LOCATION"
|
|
|
|
android:permissionGroup="android.permission-group.LOCATION"
|
|
|
|
android:label="@string/permlab_accessFineLocation"
|
|
|
|
android:description="@string/permdesc_accessFineLocation"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an app to access approximate location. -->
|
|
|
|
<permission android:name="android.permission.ACCESS_COARSE_LOCATION"
|
|
|
|
android:permissionGroup="android.permission-group.LOCATION"
|
|
|
|
android:label="@string/permlab_accessCoarseLocation"
|
|
|
|
android:description="@string/permdesc_accessCoarseLocation"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing the device telephony -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that are associated telephony features. -->
|
|
|
|
<permission-group android:name="android.permission-group.PHONE"
|
|
|
|
android:icon="@drawable/perm_group_phone_calls"
|
|
|
|
android:label="@string/permgrouplab_phone"
|
|
|
|
android:description="@string/permgroupdesc_phone"
|
|
|
|
android:priority="500" />
|
|
|
|
|
|
|
|
<!-- Allows read only access to phone state.
|
|
|
|
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 4 or higher. -->
|
|
|
|
<permission android:name="android.permission.READ_PHONE_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
|
|
|
android:label="@string/permlab_readPhoneState"
|
|
|
|
android:description="@string/permdesc_readPhoneState"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to initiate a phone call without going through
|
|
|
|
the Dialer user interface for the user to confirm the call. -->
|
|
|
|
<permission android:name="android.permission.CALL_PHONE"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
|
|
|
android:permissionFlags="costsMoney"
|
|
|
|
android:label="@string/permlab_callPhone"
|
|
|
|
android:description="@string/permdesc_callPhone"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-08-06 17:19:22 -07:00
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows an application to read the user's call log.
|
|
|
|
<p class="note"><strong>Note:</strong> If your app uses the
|
|
|
|
{@link #READ_CONTACTS} permission and <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 16 or higher.</p> -->
|
2012-03-12 13:45:19 -07:00
|
|
|
<permission android:name="android.permission.READ_CALL_LOG"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
2012-03-12 13:45:19 -07:00
|
|
|
android:label="@string/permlab_readCallLog"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_readCallLog"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-03-12 13:45:19 -07:00
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
2012-11-01 12:18:31 -07:00
|
|
|
contacts data.
|
|
|
|
<p class="note"><strong>Note:</strong> If your app uses the
|
|
|
|
{@link #WRITE_CONTACTS} permission and <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 16 or higher.</p> -->
|
2012-03-12 13:45:19 -07:00
|
|
|
<permission android:name="android.permission.WRITE_CALL_LOG"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
2012-03-12 13:45:19 -07:00
|
|
|
android:label="@string/permlab_writeCallLog"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_writeCallLog"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-03-12 13:45:19 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to add voicemails into the system. -->
|
|
|
|
<permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
|
|
|
android:label="@string/permlab_addVoicemail"
|
|
|
|
android:description="@string/permdesc_addVoicemail"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to use SIP service. -->
|
|
|
|
<permission android:name="android.permission.USE_SIP"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
|
|
|
android:description="@string/permdesc_use_sip"
|
|
|
|
android:label="@string/permlab_use_sip"
|
|
|
|
android:protectionLevel="dangerous"/>
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to see the number being dialed during an outgoing
|
|
|
|
call with the option to redirect the call to a different number or
|
|
|
|
abort the call altogether. -->
|
|
|
|
<permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE"
|
|
|
|
android:label="@string/permlab_processOutgoingCalls"
|
|
|
|
android:description="@string/permdesc_processOutgoingCalls"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing the device microphone -->
|
|
|
|
<!-- ====================================================================== -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<eat-comment />
|
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Used for permissions that are associated with accessing
|
|
|
|
microphone audio from the device. Note that phone calls also capture audio
|
|
|
|
but are in a separate (more visible) permission group. -->
|
|
|
|
<permission-group android:name="android.permission-group.MICROPHONE"
|
|
|
|
android:icon="@drawable/perm_group_microphone"
|
|
|
|
android:label="@string/permgrouplab_microphone"
|
|
|
|
android:description="@string/permgroupdesc_microphone"
|
|
|
|
android:priority="600" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to record audio. -->
|
|
|
|
<permission android:name="android.permission.RECORD_AUDIO"
|
|
|
|
android:permissionGroup="android.permission-group.MICROPHONE"
|
|
|
|
android:label="@string/permlab_recordAudio"
|
|
|
|
android:description="@string/permdesc_recordAudio"
|
|
|
|
android:protectionLevel="dangerous"/>
|
2011-05-11 11:39:54 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing the device camera -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that are associated with accessing
|
|
|
|
camera or capturing images/video from the device. -->
|
|
|
|
<permission-group android:name="android.permission-group.CAMERA"
|
|
|
|
android:icon="@drawable/perm_group_camera"
|
|
|
|
android:label="@string/permgrouplab_camera"
|
|
|
|
android:description="@string/permgroupdesc_camera"
|
|
|
|
android:priority="700" />
|
|
|
|
|
|
|
|
<!-- Required to be able to access the camera device.
|
|
|
|
<p>This will automatically enforce the <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
|
|
|
|
<uses-feature>}</a> manifest element for <em>all</em> camera features.
|
|
|
|
If you do not require all camera features or can properly operate if a camera
|
|
|
|
is not available, then you must modify your manifest as appropriate in order to
|
|
|
|
install on devices that don't support all camera features.</p> -->
|
|
|
|
<permission android:name="android.permission.CAMERA"
|
|
|
|
android:permissionGroup="android.permission-group.CAMERA"
|
|
|
|
android:label="@string/permlab_camera"
|
|
|
|
android:description="@string/permdesc_camera"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- Permissions for accessing the device sensors -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that are associated with accessing
|
|
|
|
camera or capturing images/video from the device. -->
|
|
|
|
<permission-group android:name="android.permission-group.SENSORS"
|
|
|
|
android:label="@string/permgrouplab_sensors"
|
|
|
|
android:description="@string/permgroupdesc_sensors"
|
|
|
|
android:priority="800" />
|
2011-05-11 11:39:54 -07:00
|
|
|
|
2014-04-07 22:55:21 +00:00
|
|
|
<!-- Allows an application to access data from sensors that the user uses to
|
|
|
|
measure what is happening inside his/her body, such as heart rate. -->
|
|
|
|
<permission android:name="android.permission.BODY_SENSORS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.SENSORS"
|
2014-04-07 22:55:21 +00:00
|
|
|
android:label="@string/permlab_bodySensors"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_bodySensors"
|
|
|
|
android:protectionLevel="dangerous" />
|
2014-04-07 22:55:21 +00:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an app to use fingerprint hardware. -->
|
|
|
|
<permission android:name="android.permission.USE_FINGERPRINT"
|
|
|
|
android:label="@string/permlab_useFingerprint"
|
|
|
|
android:description="@string/permdesc_useFingerprint"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
<!-- INSTALLTIME PERMISSIONS -->
|
|
|
|
<!-- ====================================================================== -->
|
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for accessing messages -->
|
|
|
|
<!-- ================================== -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<eat-comment />
|
2011-10-03 18:25:26 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- @SystemApi Allows an application (Phone) to send a request to other applications
|
|
|
|
to handle the respond-via-message action during incoming calls.
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE"
|
|
|
|
android:protectionLevel="signature|system" />
|
2011-10-03 18:25:26 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to filter carrier specific sms.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CARRIER_FILTER_SMS"
|
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- @SystemApi Allows an application to receive emergency cell broadcast messages,
|
|
|
|
to record or display them to the user.
|
|
|
|
<p>Not for use by third-party applications.
|
|
|
|
@hide Pending API council approval -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
|
|
|
<!-- Allows an application to monitor incoming Bluetooth MAP messages, to record
|
|
|
|
or perform processing on them. -->
|
|
|
|
<!-- @hide -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_BLUETOOTH_MAP"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
|
|
|
<!-- @SystemApi @hide Allows an application to execute contacts directory search.
|
|
|
|
This should only be used by ContactsProvider.
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.BIND_DIRECTORY_SEARCH"
|
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the user dictionary-->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to the user
|
|
|
|
calendar to create / view events.-->
|
|
|
|
<permission-group android:name="android.permission-group.USER_DICTIONARY"
|
|
|
|
android:label="@string/permgrouplab_dictionary"
|
|
|
|
android:icon="@drawable/perm_group_user_dictionary"
|
|
|
|
android:description="@string/permgroupdesc_dictionary"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:priority="1100" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to read the user dictionary. This should
|
2009-03-24 22:48:12 -07:00
|
|
|
really only be required by an IME, or a dictionary editor like
|
2012-04-30 16:33:56 -07:00
|
|
|
the Settings app. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.READ_USER_DICTIONARY"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.USER_DICTIONARY"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_readDictionary"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_readDictionary"
|
|
|
|
android:protectionLevel="dangerous"/>
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2012-04-30 16:33:56 -07:00
|
|
|
<!-- Allows an application to write to the user dictionary. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.WRITE_USER_DICTIONARY"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:permissionGroup="android.permission-group.USER_DICTIONARY"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_writeDictionary"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_writeDictionary"
|
|
|
|
android:protectionLevel="normal"/>
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the user bookmarks -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to the user
|
|
|
|
bookmarks and browser history.-->
|
|
|
|
<permission-group android:name="android.permission-group.BOOKMARKS"
|
|
|
|
android:label="@string/permgrouplab_bookmarks"
|
|
|
|
android:icon="@drawable/perm_group_bookmarks"
|
|
|
|
android:description="@string/permgroupdesc_bookmarks"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:priority="1200" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2009-06-19 14:13:08 -04:00
|
|
|
<!-- Allows an application to read (but not write) the user's
|
|
|
|
browsing history and bookmarks. -->
|
2009-07-27 11:10:28 -04:00
|
|
|
<permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.BOOKMARKS"
|
2009-06-19 14:13:08 -04:00
|
|
|
android:label="@string/permlab_readHistoryBookmarks"
|
|
|
|
android:description="@string/permdesc_readHistoryBookmarks"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
|
|
|
browsing history and bookmarks. -->
|
2009-07-27 11:10:28 -04:00
|
|
|
<permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.BOOKMARKS"
|
2009-06-19 14:13:08 -04:00
|
|
|
android:label="@string/permlab_writeHistoryBookmarks"
|
|
|
|
android:description="@string/permdesc_writeHistoryBookmarks"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for setting the device alarm -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to broadcast an Intent to set an alarm for the user. -->
|
2010-09-22 08:16:53 -04:00
|
|
|
<permission android:name="com.android.alarm.permission.SET_ALARM"
|
|
|
|
android:label="@string/permlab_setAlarm"
|
|
|
|
android:description="@string/permdesc_setAlarm"
|
|
|
|
android:protectionLevel="normal" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the user voicemail -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to modify and remove existing voicemails in the system -->
|
|
|
|
<permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"
|
|
|
|
android:protectionLevel="system|signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to read voicemails in the system. -->
|
|
|
|
<permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"
|
|
|
|
android:protectionLevel="system|signature" />
|
|
|
|
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<!-- Permissions for accessing location info -->
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<eat-comment />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to access extra location provider commands -->
|
|
|
|
<permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
|
|
|
|
android:label="@string/permlab_accessLocationExtraCommands"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_accessLocationExtraCommands"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to install a location provider into the Location Manager.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-05-01 11:30:34 -04:00
|
|
|
<permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-01 11:30:34 -04:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Allows HDMI-CEC service to access device and configuration files.
|
|
|
|
This should only be used by HDMI-CEC service.
|
2014-02-28 17:41:17 +09:00
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.HDMI_CEC"
|
|
|
|
android:protectionLevel="signatureOrSystem" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to use location features in hardware,
|
2013-06-10 11:05:55 -07:00
|
|
|
such as the geofencing api.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2013-04-03 12:22:18 -07:00
|
|
|
<permission android:name="android.permission.LOCATION_HARDWARE"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
<uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
|
|
|
|
|
2015-04-14 14:44:11 -07:00
|
|
|
<!-- Allows an application to create mock location providers for testing. -->
|
|
|
|
<permission android:name="android.permission.ACCESS_MOCK_LOCATION"
|
|
|
|
android:label="@string/permlab_accessMockLocation"
|
|
|
|
android:description="@string/permdesc_accessMockLocation"
|
|
|
|
android:protectionLevel="normal" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ======================================= -->
|
|
|
|
<!-- Permissions for accessing networks -->
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows applications to open network sockets. -->
|
|
|
|
<permission android:name="android.permission.INTERNET"
|
|
|
|
android:description="@string/permdesc_createNetworkSockets"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_createNetworkSockets"
|
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows applications to access information about networks -->
|
|
|
|
<permission android:name="android.permission.ACCESS_NETWORK_STATE"
|
|
|
|
android:description="@string/permdesc_accessNetworkState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_accessNetworkState"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows applications to access information about Wi-Fi networks -->
|
|
|
|
<permission android:name="android.permission.ACCESS_WIFI_STATE"
|
|
|
|
android:description="@string/permdesc_accessWifiState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_accessWifiState"
|
|
|
|
android:protectionLevel="normal" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to change Wi-Fi connectivity state -->
|
|
|
|
<permission android:name="android.permission.CHANGE_WIFI_STATE"
|
|
|
|
android:description="@string/permdesc_changeWifiState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_changeWifiState"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-06-01 19:57:57 -07:00
|
|
|
|
2014-06-18 12:59:21 -07:00
|
|
|
<!-- @SystemApi @hide Allows applications to read Wi-Fi credential.
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.READ_WIFI_CREDENTIAL"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
|
|
|
<!-- @SystemApi @hide Allow system apps to receive broadcast
|
|
|
|
when a wifi network credential is changed.
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-09-22 13:54:18 -07:00
|
|
|
<!-- @SystemApi @hide Allows an application to modify any wifi configuration, even if created
|
2015-04-09 10:17:40 -07:00
|
|
|
by another application. Once reconfigured the original creator cannot make any further
|
|
|
|
modifications.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2014-09-22 13:54:18 -07:00
|
|
|
<permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-09-22 13:54:18 -07:00
|
|
|
|
2011-11-08 10:12:25 -08:00
|
|
|
<!-- @hide -->
|
2011-10-13 22:51:57 +09:00
|
|
|
<permission android:name="android.permission.ACCESS_WIMAX_STATE"
|
|
|
|
android:description="@string/permdesc_accessWimaxState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_accessWimaxState"
|
|
|
|
android:protectionLevel="normal" />
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- @hide -->
|
|
|
|
<permission android:name="android.permission.CHANGE_WIMAX_STATE"
|
|
|
|
android:description="@string/permdesc_changeWimaxState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_changeWimaxState"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2014-07-16 17:24:46 -07:00
|
|
|
<!-- Allows applications to act as network scorers. @hide @SystemApi-->
|
2014-04-09 12:38:15 -07:00
|
|
|
<permission android:name="android.permission.SCORE_NETWORKS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-04-09 12:38:15 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ======================================= -->
|
|
|
|
<!-- Permissions for short range, peripheral networks -->
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Allows applications to connect to paired bluetooth devices -->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:description="@string/permdesc_bluetooth"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_bluetooth"
|
|
|
|
android:protectionLevel="dangerous" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to discover and pair bluetooth devices -->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH_ADMIN"
|
|
|
|
android:description="@string/permdesc_bluetoothAdmin"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_bluetoothAdmin"
|
|
|
|
android:protectionLevel="dangerous" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2014-09-05 00:29:14 -07:00
|
|
|
<!-- @SystemApi Allows applications to pair bluetooth devices without user interaction, and to
|
|
|
|
allow or disallow phonebook access or message access.
|
2013-10-09 17:36:57 -07:00
|
|
|
This is not available to third party applications. -->
|
2013-09-23 23:23:13 -07:00
|
|
|
<permission android:name="android.permission.BLUETOOTH_PRIVILEGED"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2013-09-23 23:23:13 -07:00
|
|
|
|
2014-07-24 14:54:04 +02:00
|
|
|
<!-- Control access to email providers exclusively for Bluetooth
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH_MAP"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2014-07-24 14:54:04 +02:00
|
|
|
|
2012-10-04 12:25:28 -07:00
|
|
|
<!-- Allows bluetooth stack to access files
|
|
|
|
@hide This should only be used by Bluetooth apk.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH_STACK"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-02-15 13:34:38 -08:00
|
|
|
<!-- Allows applications to perform I/O operations over NFC -->
|
2010-10-17 19:05:47 -07:00
|
|
|
<permission android:name="android.permission.NFC"
|
|
|
|
android:description="@string/permdesc_nfc"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_nfc"
|
|
|
|
android:protectionLevel="dangerous" />
|
2010-09-23 16:12:11 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an internal user to use privileged ConnectivityManager APIs.
|
2014-06-09 20:02:15 -07:00
|
|
|
@hide -->
|
2010-06-15 12:19:37 -07:00
|
|
|
<permission android:name="android.permission.CONNECTIVITY_INTERNAL"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-06-15 12:19:37 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- @SystemApi
|
|
|
|
@hide -->
|
2012-06-20 14:29:57 -07:00
|
|
|
<permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows access to the loop radio (Android@Home mesh network) device.
|
2014-06-09 20:02:15 -07:00
|
|
|
@hide -->
|
2013-01-29 09:05:21 -08:00
|
|
|
<permission android:name="android.permission.LOOP_RADIO"
|
2014-06-09 20:02:15 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2014-02-07 16:57:00 -08:00
|
|
|
<!-- Allows sending and receiving handover transfer status from Wifi and Bluetooth
|
2015-04-09 10:17:40 -07:00
|
|
|
@hide -->
|
2014-02-07 16:57:00 -08:00
|
|
|
<permission android:name="android.permission.NFC_HANDOVER_STATUS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-02-07 16:57:00 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for accessing accounts -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-09-29 17:57:25 -07:00
|
|
|
<!-- Permissions for direct access to the accounts managed
|
|
|
|
by the Account Manager. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission-group android:name="android.permission-group.ACCOUNTS"
|
|
|
|
android:label="@string/permgrouplab_accounts"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_accounts"
|
|
|
|
android:description="@string/permgroupdesc_accounts"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:priority="1000" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows access to the list of accounts in the Accounts Service -->
|
|
|
|
<permission android:name="android.permission.GET_ACCOUNTS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_getAccounts"
|
|
|
|
android:label="@string/permlab_getAccounts" />
|
|
|
|
|
2009-07-16 16:36:38 -07:00
|
|
|
<!-- Allows an application to act as an AccountAuthenticator for
|
|
|
|
the AccountManager -->
|
|
|
|
<permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_authenticateAccounts"
|
|
|
|
android:description="@string/permdesc_authenticateAccounts" />
|
|
|
|
|
|
|
|
<!-- Allows an application to request authtokens from the AccountManager -->
|
|
|
|
<permission android:name="android.permission.USE_CREDENTIALS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_useCredentials"
|
|
|
|
android:description="@string/permdesc_useCredentials" />
|
|
|
|
|
|
|
|
<!-- Allows an application to manage the list of accounts in the AccountManager -->
|
|
|
|
<permission android:name="android.permission.MANAGE_ACCOUNTS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_manageAccounts"
|
|
|
|
android:description="@string/permdesc_manageAccounts" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to call into AccountAuthenticators.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission android:name="android.permission.ACCOUNT_MANAGER"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ================================== -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Permissions for accessing hardware that may effect battery life-->
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to enter Wi-Fi Multicast mode -->
|
|
|
|
<permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
|
|
|
|
android:description="@string/permdesc_changeWifiMulticastState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_changeWifiMulticastState"
|
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows access to the vibrator -->
|
|
|
|
<permission android:name="android.permission.VIBRATE"
|
|
|
|
android:label="@string/permlab_vibrate"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_vibrate"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows access to the flashlight -->
|
|
|
|
<permission android:name="android.permission.FLASHLIGHT"
|
|
|
|
android:label="@string/permlab_flashlight"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_flashlight"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
|
|
|
|
from dimming -->
|
|
|
|
<permission android:name="android.permission.WAKE_LOCK"
|
|
|
|
android:label="@string/permlab_wakeLock"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_wakeLock"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2013-06-26 11:06:51 -07:00
|
|
|
<!-- Allows using the device's IR transmitter, if available -->
|
|
|
|
<permission android:name="android.permission.TRANSMIT_IR"
|
|
|
|
android:label="@string/permlab_transmitIr"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_transmitIr"
|
|
|
|
android:protectionLevel="normal" />
|
2013-06-26 11:06:51 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ==================================================== -->
|
|
|
|
<!-- Permissions related to changing audio settings -->
|
|
|
|
<!-- ==================================================== -->
|
2013-04-18 16:38:01 -07:00
|
|
|
<eat-comment />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows an application to modify global audio settings -->
|
|
|
|
<permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
|
|
|
|
android:label="@string/permlab_modifyAudioSettings"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_modifyAudioSettings"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for accessing hardware -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to manage preferences and permissions for USB devices
|
2011-02-27 09:10:37 -08:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MANAGE_USB"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-05-10 18:26:40 -04:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to access the MTP USB kernel driver.
|
2011-01-10 08:24:08 -05:00
|
|
|
For use only by the device side MTP implementation.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_MTP"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-01-10 08:24:08 -05:00
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows access to hardware peripherals. Intended only for hardware testing.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.HARDWARE_TEST"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-09-23 10:57:40 +08:00
|
|
|
<!-- @SystemApi Allows access to FM
|
|
|
|
@hide This is not a third-party API (intended for system apps).-->
|
|
|
|
<permission android:name="android.permission.ACCESS_FM_RADIO"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-09-23 10:57:40 +08:00
|
|
|
|
2011-03-28 09:18:31 -05:00
|
|
|
<!-- Allows access to configure network interfaces, configure/use IPSec, etc.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.NET_ADMIN"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-04-26 17:30:34 -07:00
|
|
|
<!-- Allows registration for remote audio playback. @hide -->
|
|
|
|
<permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows TvInputService to access underlying TV input hardware such as
|
2014-05-26 02:26:04 +00:00
|
|
|
built-in tuners and HDMI-in's.
|
|
|
|
@hide This should only be used by OEM's TvInputService's.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.TV_INPUT_HARDWARE"
|
|
|
|
android:protectionLevel="signatureOrSystem" />
|
|
|
|
|
2014-06-18 14:26:44 +09:00
|
|
|
<!-- @SystemApi Allows to capture a frame of TV input hardware such as
|
|
|
|
built-in tuners and HDMI-in's.
|
|
|
|
@hide <p>Not for use by third-party applications.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.CAPTURE_TV_INPUT"
|
|
|
|
android:protectionLevel="signatureOrSystem" />
|
|
|
|
|
2014-07-01 19:40:41 -07:00
|
|
|
<!-- @hide Allows enabling/disabling OEM unlock
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.OEM_UNLOCK_STATE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2014-07-01 19:40:41 -07:00
|
|
|
|
2014-11-24 14:14:54 -08:00
|
|
|
<!-- @hide Allows querying state of PersistentDataBlock
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.ACCESS_PDB_STATE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2015-04-14 23:38:01 +01:00
|
|
|
<!-- @hide Allows system update service to notify device owner about pending updates.
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"
|
|
|
|
android:protectionLevel="signatureOrSystem" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =========================================== -->
|
|
|
|
<!-- Permissions associated with camera and image capture -->
|
|
|
|
<!-- =========================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows disabling the transmit-indicator LED that is normally on when
|
2013-04-23 14:32:19 -07:00
|
|
|
a camera is in use by an application.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CAMERA_DISABLE_TRANSMIT_LED"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2013-04-23 14:32:19 -07:00
|
|
|
|
2015-03-20 22:18:55 -07:00
|
|
|
<!-- Allows sending the camera service notifications about system-wide events.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CAMERA_SEND_SYSTEM_EVENTS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2015-03-20 22:18:55 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- =========================================== -->
|
|
|
|
<!-- Permissions associated with telephony state -->
|
|
|
|
<!-- =========================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows modification of the telephony state - power on, mmi, etc.
|
2013-06-10 11:05:55 -07:00
|
|
|
Does not include placing calls.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.MODIFY_PHONE_STATE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
Telephony API extension v2
Added new AndroidManifest permission:
android.permission.READ_PRECISE_PHONE_STATE
Added the following PhoneStateListeners and corresponding broadcast intents:
onPreciseCallStateChanged(PreciseCallState callState);
onPreciseDataConnectionStateChanged(PreciseDataConnectionState dataConnectionState);
broadcastPreciseCallStateChanged(int ringingCallState, int foregroundCallState, int backgroundCallState,
int disconnectCause, int preciseDisconnectCause)
broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn,
String reason, LinkProperties linkProperties, String failCause)
Added TelephonyManager intent actions with their extras and constants:
public static final String ACTION_PRECISE_CALL_STATE_CHANGED = "android.intent.action.PRECISE_CALL_STATE";
public static final String ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED = "android.intent.action.PRECISE_DATA_CONNECTION_STATE_CHANGED";
public static final int PRECISE_CALL_STATE_*
Moved public static final int DISCONNECT_CAUSE_* from PreciseCallState.java to a new class DisconnectCause.java
Moved public static final int PRECISE_DISCONNECT_CAUSE_* from PreciseCallState.java to a new class PreciseDisconnectCause.java
Change-Id: If3b88c679507c529b746046c4a17cf6d9974bd09
2013-05-27 11:36:36 +02:00
|
|
|
<!-- Allows read only access to precise phone state.
|
|
|
|
@hide Pending API council approval -->
|
|
|
|
<permission android:name="android.permission.READ_PRECISE_PHONE_STATE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
Telephony API extension v2
Added new AndroidManifest permission:
android.permission.READ_PRECISE_PHONE_STATE
Added the following PhoneStateListeners and corresponding broadcast intents:
onPreciseCallStateChanged(PreciseCallState callState);
onPreciseDataConnectionStateChanged(PreciseDataConnectionState dataConnectionState);
broadcastPreciseCallStateChanged(int ringingCallState, int foregroundCallState, int backgroundCallState,
int disconnectCause, int preciseDisconnectCause)
broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn,
String reason, LinkProperties linkProperties, String failCause)
Added TelephonyManager intent actions with their extras and constants:
public static final String ACTION_PRECISE_CALL_STATE_CHANGED = "android.intent.action.PRECISE_CALL_STATE";
public static final String ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED = "android.intent.action.PRECISE_DATA_CONNECTION_STATE_CHANGED";
public static final int PRECISE_CALL_STATE_*
Moved public static final int DISCONNECT_CAUSE_* from PreciseCallState.java to a new class DisconnectCause.java
Moved public static final int PRECISE_DISCONNECT_CAUSE_* from PreciseCallState.java to a new class PreciseDisconnectCause.java
Change-Id: If3b88c679507c529b746046c4a17cf6d9974bd09
2013-05-27 11:36:36 +02:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows read access to privileged phone state.
|
2011-07-21 17:55:53 -07:00
|
|
|
@hide Used internally. -->
|
|
|
|
<permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-07-21 17:55:53 -07:00
|
|
|
|
2014-11-08 15:49:16 -08:00
|
|
|
<!-- @SystemApi Protects the ability to register any PhoneAccount with
|
2014-10-31 12:39:44 -07:00
|
|
|
PhoneAccount#CAPABILITY_SIM_SUBSCRIPTION. This capability indicates that the PhoneAccount
|
2014-11-08 15:49:16 -08:00
|
|
|
corresponds to a device SIM.
|
|
|
|
@hide -->
|
2014-10-31 12:39:44 -07:00
|
|
|
<permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2014-10-31 12:39:44 -07:00
|
|
|
|
2014-11-08 15:49:16 -08:00
|
|
|
<!-- @SystemApi Protects the ability to register any PhoneAccount with
|
|
|
|
PhoneAccount#CAPABILITY_CALL_PROVIDER.
|
|
|
|
@hide -->
|
2014-10-31 12:39:44 -07:00
|
|
|
<permission android:name="android.permission.REGISTER_CALL_PROVIDER"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2014-10-24 15:09:00 -07:00
|
|
|
|
2014-11-08 15:49:16 -08:00
|
|
|
<!-- @SystemApi Protects the ability to register any PhoneAccount with
|
|
|
|
PhoneAccount#CAPABILITY_CONNECTION_MANAGER
|
|
|
|
@hide -->
|
2014-10-24 15:09:00 -07:00
|
|
|
<permission android:name="android.permission.REGISTER_CONNECTION_MANAGER"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2014-10-24 15:09:00 -07:00
|
|
|
|
2015-04-28 16:08:25 -07:00
|
|
|
<!-- Must be required by a {@link android.telecom.InCallService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
2014-08-18 16:23:10 -07:00
|
|
|
<permission android:name="android.permission.BIND_INCALL_SERVICE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2013-08-13 14:29:47 -07:00
|
|
|
|
2015-04-28 16:08:25 -07:00
|
|
|
<!-- Must be required by a {@link android.telecom.ConnectionService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
2014-08-15 15:55:20 -07:00
|
|
|
<permission android:name="android.permission.BIND_CONNECTION_SERVICE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2014-08-15 15:55:20 -07:00
|
|
|
|
2014-08-18 16:23:10 -07:00
|
|
|
<!-- @SystemApi Allows an application to control the in-call experience.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2014-08-18 16:23:10 -07:00
|
|
|
|
2009-04-23 09:18:32 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for sdcard interaction -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows an application to read from external storage.
|
|
|
|
<p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
|
|
|
|
granted this permission.</p>
|
2013-08-12 20:31:36 -07:00
|
|
|
<p>This permission is enforced starting in API level 19. Before API level 19, this
|
|
|
|
permission is not enforced and all apps still have access to read from external storage.
|
|
|
|
You can test your app with the permission enforced by enabling <em>Protect USB
|
2012-11-01 12:18:31 -07:00
|
|
|
storage</em> under Developer options in the Settings app on a device running Android 4.1 or
|
|
|
|
higher.</p>
|
2013-08-12 20:31:36 -07:00
|
|
|
<p>Also starting in API level 19, this permission is <em>not</em> required to
|
|
|
|
read/write files in your application-specific directories returned by
|
|
|
|
{@link android.content.Context#getExternalFilesDir} and
|
|
|
|
{@link android.content.Context#getExternalCacheDir}.
|
2012-11-01 12:18:31 -07:00
|
|
|
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 4 or higher.-->
|
2012-03-12 10:51:26 -07:00
|
|
|
<permission android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
|
|
android:label="@string/permlab_sdcardRead"
|
|
|
|
android:description="@string/permdesc_sdcardRead"
|
2012-06-01 19:57:57 -07:00
|
|
|
android:protectionLevel="normal" />
|
2012-03-12 10:51:26 -07:00
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows an application to write to external storage.
|
|
|
|
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
2013-08-12 20:31:36 -07:00
|
|
|
targetSdkVersion}</a> is 4 or higher.
|
|
|
|
<p>Starting in API level 19, this permission is <em>not</em> required to
|
|
|
|
read/write files in your application-specific directories returned by
|
|
|
|
{@link android.content.Context#getExternalFilesDir} and
|
|
|
|
{@link android.content.Context#getExternalCacheDir}. -->
|
2009-06-01 09:25:28 -07:00
|
|
|
<permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
2009-04-23 09:18:32 -07:00
|
|
|
android:label="@string/permlab_sdcardWrite"
|
|
|
|
android:description="@string/permdesc_sdcardWrite"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="normal" />
|
2009-04-23 09:18:32 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to write to internal media storage
|
2011-04-22 07:05:21 -07:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.WRITE_MEDIA_STORAGE"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-04-22 07:05:21 -07:00
|
|
|
|
2013-04-19 14:05:03 -07:00
|
|
|
<!-- Allows an application to manage access to documents, usually as part
|
|
|
|
of a document picker. -->
|
|
|
|
<permission android:name="android.permission.MANAGE_DOCUMENTS"
|
2014-02-18 14:25:47 -08:00
|
|
|
android:protectionLevel="signature" />
|
2013-04-19 14:05:03 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for screenlock -->
|
|
|
|
<!-- ================================== -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows applications to disable the keyguard if it is not secure. -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission android:name="android.permission.DISABLE_KEYGUARD"
|
|
|
|
android:description="@string/permdesc_disableKeyguard"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_disableKeyguard"
|
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions to access other installed applications -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-10-03 16:26:04 -07:00
|
|
|
<!-- @deprecated No longer enforced. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.GET_TASKS"
|
2014-10-03 16:26:04 -07:00
|
|
|
android:label="@string/permlab_getTasks"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_getTasks"
|
|
|
|
android:protectionLevel="normal" />
|
2014-10-03 16:26:04 -07:00
|
|
|
|
|
|
|
<!-- New version of GET_TASKS that apps can request, since GET_TASKS doesn't really
|
|
|
|
give access to task information. We need this new one because there are
|
|
|
|
many existing apps that use add libraries and such that have validation
|
|
|
|
code to ensure the app has requested the GET_TASKS permission by seeing
|
|
|
|
if it has been granted the permission... if it hasn't, it kills the app
|
|
|
|
with a message about being upset. So we need to have it continue to look
|
|
|
|
like the app is getting that permission, even though it will never be
|
|
|
|
checked, and new privileged apps can now request this one for real access.
|
|
|
|
@hide
|
|
|
|
@SystemApi -->
|
|
|
|
<permission android:name="android.permission.REAL_GET_TASKS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-06-06 19:46:26 -07:00
|
|
|
|
2014-07-20 17:48:47 -07:00
|
|
|
<!-- Allows an application to start a task from a ActivityManager#RecentTaskInfo.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.START_TASKS_FROM_RECENTS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-07-20 17:48:47 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Allows an application to call APIs that allow it to do interactions
|
2012-08-02 18:31:26 -07:00
|
|
|
across the users on the device, using singleton services and
|
|
|
|
user-targeted broadcasts. This permission is not available to
|
|
|
|
third party applications. -->
|
|
|
|
<permission android:name="android.permission.INTERACT_ACROSS_USERS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2012-08-02 18:31:26 -07:00
|
|
|
|
|
|
|
<!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
|
|
|
|
that removes restrictions on where broadcasts can be sent and allows other
|
|
|
|
types of interactions. -->
|
|
|
|
<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2012-08-02 18:31:26 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Allows an application to call APIs that allow it to query and manage
|
2012-08-14 18:25:45 -07:00
|
|
|
users on the device. This permission is not available to
|
|
|
|
third party applications. -->
|
|
|
|
<permission android:name="android.permission.MANAGE_USERS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2015-01-08 15:37:12 +00:00
|
|
|
<!-- @hide Allows an application to set the profile owners and the device owner.
|
|
|
|
This permission is not available to third party applications.-->
|
|
|
|
<permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_manageProfileAndDeviceOwners"
|
|
|
|
android:description="@string/permdesc_manageProfileAndDeviceOwners" />
|
|
|
|
|
2012-04-24 11:15:40 -07:00
|
|
|
<!-- Allows an application to get full detailed information about
|
|
|
|
recently running tasks, with full fidelity to the real state.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.GET_DETAILED_TASKS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2012-04-24 11:15:40 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to change the Z-order of tasks -->
|
|
|
|
<permission android:name="android.permission.REORDER_TASKS"
|
|
|
|
android:label="@string/permlab_reorderTasks"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_reorderTasks"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2011-07-29 15:52:05 -07:00
|
|
|
<!-- @hide Allows an application to change to remove/kill tasks -->
|
2011-04-12 18:16:08 -07:00
|
|
|
<permission android:name="android.permission.REMOVE_TASKS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2011-04-12 18:16:08 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Allows an application to create/manage/remove stacks -->
|
2013-06-26 18:07:43 -07:00
|
|
|
<permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2013-06-26 18:07:43 -07:00
|
|
|
|
2012-04-18 19:16:15 -07:00
|
|
|
<!-- Allows an application to start any activity, regardless of permission
|
2015-04-09 10:17:40 -07:00
|
|
|
protection or exported state.
|
|
|
|
@hide -->
|
2012-04-18 19:16:15 -07:00
|
|
|
<permission android:name="android.permission.START_ANY_ACTIVITY"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2012-04-18 19:16:15 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
|
|
|
|
API is no longer supported. -->
|
|
|
|
<permission android:name="android.permission.RESTART_PACKAGES"
|
|
|
|
android:label="@string/permlab_killBackgroundProcesses"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_killBackgroundProcesses"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows an application to call
|
|
|
|
{@link android.app.ActivityManager#killBackgroundProcesses}. -->
|
|
|
|
<permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
|
|
|
|
android:label="@string/permlab_killBackgroundProcesses"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_killBackgroundProcesses"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions affecting the display of other applications -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Allows an application to open windows using the type
|
|
|
|
{@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
|
|
|
|
shown on top of all other applications. Very few applications
|
|
|
|
should use this permission; these windows are intended for
|
|
|
|
system-level interaction with the user. -->
|
|
|
|
<permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
|
|
|
|
android:label="@string/permlab_systemAlertWindow"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_systemAlertWindow"
|
|
|
|
android:protectionLevel="dangerous" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions affecting the system wallpaper -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Allows applications to set the wallpaper -->
|
|
|
|
<permission android:name="android.permission.SET_WALLPAPER"
|
|
|
|
android:label="@string/permlab_setWallpaper"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_setWallpaper"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows applications to set the wallpaper hints -->
|
|
|
|
<permission android:name="android.permission.SET_WALLPAPER_HINTS"
|
|
|
|
android:label="@string/permlab_setWallpaperHints"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_setWallpaperHints"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Permissions for changing the system clock -->
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to set the system time.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission android:name="android.permission.SET_TIME"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows applications to set the system time zone -->
|
|
|
|
<permission android:name="android.permission.SET_TIME_ZONE"
|
|
|
|
android:label="@string/permlab_setTimeZone"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_setTimeZone"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
<!-- Permissions related to changing status bar -->
|
|
|
|
<!-- ==================================================== -->
|
2013-04-18 16:38:01 -07:00
|
|
|
<eat-comment />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows an application to expand or collapse the status bar. -->
|
|
|
|
<permission android:name="android.permission.EXPAND_STATUS_BAR"
|
|
|
|
android:label="@string/permlab_expandStatusBar"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_expandStatusBar"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2013-09-25 15:17:40 -07:00
|
|
|
<!-- ============================================================== -->
|
|
|
|
<!-- Permissions related to adding/removing shortcuts from Launcher -->
|
|
|
|
<!-- ============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Allows an application to install a shortcut in Launcher -->
|
2015-04-09 10:17:40 -07:00
|
|
|
<permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
|
2013-09-25 15:17:40 -07:00
|
|
|
android:label="@string/permlab_install_shortcut"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_install_shortcut"
|
|
|
|
android:protectionLevel="dangerous"/>
|
2013-09-25 15:17:40 -07:00
|
|
|
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Allows an application to uninstall a shortcut in Launcher -->
|
|
|
|
<permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
|
2013-09-25 15:17:40 -07:00
|
|
|
android:label="@string/permlab_uninstall_shortcut"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_uninstall_shortcut"
|
|
|
|
android:protectionLevel="dangerous"/>
|
2013-09-25 15:17:40 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ==================================================== -->
|
|
|
|
<!-- Permissions related to accessing sync settings -->
|
|
|
|
<!-- ==================================================== -->
|
2013-04-18 16:38:01 -07:00
|
|
|
<eat-comment />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows applications to read the sync settings -->
|
|
|
|
<permission android:name="android.permission.READ_SYNC_SETTINGS"
|
|
|
|
android:description="@string/permdesc_readSyncSettings"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_readSyncSettings"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows applications to write the sync settings -->
|
|
|
|
<permission android:name="android.permission.WRITE_SYNC_SETTINGS"
|
|
|
|
android:description="@string/permdesc_writeSyncSettings"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_writeSyncSettings"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
<!-- Allows applications to read the sync stats -->
|
|
|
|
<permission android:name="android.permission.READ_SYNC_STATS"
|
|
|
|
android:description="@string/permdesc_readSyncStats"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_readSyncStats"
|
|
|
|
android:protectionLevel="normal" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Permissions for low-level system interaction -->
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Change the screen compatibility mode of applications -->
|
2012-02-09 16:12:18 -08:00
|
|
|
<permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2012-02-09 16:12:18 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to access all multi-user external storage @hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to modify the current configuration, such
|
2009-03-03 19:31:44 -08:00
|
|
|
as locale. -->
|
|
|
|
<permission android:name="android.permission.CHANGE_CONFIGURATION"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to read or write the system settings. -->
|
|
|
|
<permission android:name="android.permission.WRITE_SETTINGS"
|
|
|
|
android:label="@string/permlab_writeSettings"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_writeSettings"
|
|
|
|
android:protectionLevel="normal" />
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to modify the Google service map.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission android:name="android.permission.WRITE_GSERVICES"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2012-09-13 00:24:38 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to call
|
2010-01-04 18:43:19 -08:00
|
|
|
{@link android.app.ActivityManager#forceStopPackage}.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.FORCE_STOP_PACKAGES"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Allows an application to retrieve the content of the active window
|
2011-04-20 12:12:33 -07:00
|
|
|
An active window is the window that has fired an accessibility event. -->
|
|
|
|
<permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-04-20 12:12:33 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Modify the global animation scaling factor.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_ANIMATION_SCALE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-09-01 17:34:12 -07:00
|
|
|
<!-- @deprecated This functionality will be removed in the future; please do
|
2012-04-13 13:51:48 -07:00
|
|
|
not use. Allow an application to make its activities persistent. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.PERSISTENT_ACTIVITY"
|
|
|
|
android:label="@string/permlab_persistentActivity"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_persistentActivity"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to find out the space used by any package. -->
|
|
|
|
<permission android:name="android.permission.GET_PACKAGE_SIZE"
|
|
|
|
android:label="@string/permlab_getPackageSize"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_getPackageSize"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-12-01 14:31:55 -08:00
|
|
|
<!-- @deprecated No longer useful, see
|
|
|
|
{@link android.content.pm.PackageManager#addPackageToPreferred}
|
|
|
|
for details. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to receive the
|
|
|
|
{@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
|
|
|
|
broadcast after the system finishes booting. If you don't
|
|
|
|
request this permission, you will not receive the broadcast at
|
|
|
|
that time. Though holding this permission does not have any
|
|
|
|
security implications, it can have a negative impact on the
|
|
|
|
user experience by increasing the amount of time it takes the
|
|
|
|
system to start and allowing applications to have themselves
|
|
|
|
running without the user being aware of them. As such, you must
|
|
|
|
explicitly declare your use of this facility to make that visible
|
|
|
|
to the user. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
|
|
|
|
android:label="@string/permlab_receiveBootCompleted"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_receiveBootCompleted"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to broadcast sticky intents. These are
|
|
|
|
broadcasts whose data is held by the system after being finished,
|
|
|
|
so that clients can quickly retrieve that data without having
|
|
|
|
to wait for the next broadcast. -->
|
|
|
|
<permission android:name="android.permission.BROADCAST_STICKY"
|
|
|
|
android:label="@string/permlab_broadcastSticky"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_broadcastSticky"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows mounting and unmounting file systems for removable storage.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications.-->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows formatting file systems for removable storage.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="system|signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-01-26 15:18:08 -08:00
|
|
|
<!-- Allows access to ASEC non-destructive API calls
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_ACCESS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2010-01-26 15:18:08 -08:00
|
|
|
|
|
|
|
<!-- Allows creation of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_CREATE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2010-01-26 15:18:08 -08:00
|
|
|
|
|
|
|
<!-- Allows destruction of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_DESTROY"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2010-01-26 15:18:08 -08:00
|
|
|
|
|
|
|
<!-- Allows mount / unmount of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2010-01-26 15:18:08 -08:00
|
|
|
|
|
|
|
<!-- Allows rename of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_RENAME"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2010-01-26 15:18:08 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to write the apn settings.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.WRITE_APN_SETTINGS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2015-04-14 12:32:47 -07:00
|
|
|
<!-- Allows an application to allow access the subscribed feeds ContentProvider.
|
|
|
|
@hide
|
|
|
|
@removed
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
|
|
|
|
android:label="@string/permlab_subscribedFeedsRead"
|
|
|
|
android:description="@string/permdesc_subscribedFeedsRead"
|
|
|
|
android:protectionLevel="normal" />
|
|
|
|
|
|
|
|
<!--
|
|
|
|
@hide
|
|
|
|
@removed
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
|
|
|
|
android:label="@string/permlab_subscribedFeedsWrite"
|
|
|
|
android:description="@string/permdesc_subscribedFeedsWrite"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows applications to change network connectivity state -->
|
|
|
|
<permission android:name="android.permission.CHANGE_NETWORK_STATE"
|
|
|
|
android:description="@string/permdesc_changeNetworkState"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:label="@string/permlab_changeNetworkState"
|
|
|
|
android:protectionLevel="normal" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to clear the caches of all installed
|
|
|
|
applications on the device. -->
|
|
|
|
<permission android:name="android.permission.CLEAR_APP_CACHE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to use any media decoder when decoding for playback
|
2011-11-07 14:35:20 -08:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-11-07 14:35:20 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to install and/or uninstall CA certificates on
|
2013-08-08 22:35:44 -04:00
|
|
|
behalf of the user.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MANAGE_CA_CERTIFICATES"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2013-08-08 22:35:44 -04:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to do certain operations needed for
|
2014-08-12 10:18:40 -07:00
|
|
|
interacting with the recovery (system update) system.
|
|
|
|
@hide -->
|
2014-01-14 12:29:06 -08:00
|
|
|
<permission android:name="android.permission.RECOVERY"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-01-14 12:29:06 -08:00
|
|
|
|
2014-06-06 19:06:26 -07:00
|
|
|
<!-- Allows the system to bind to an application's task services
|
Introduce "IdleService" API to expose idle-time maintenance to apps
When an application wishes to do low-priority background work when the
device is otherwise idle (e.g. in a desk dock overnight), it declares
a service in its manifest that requires this permission:
android:permission="android.permission.BIND_IDLE_SERVICE
to launch, and which publishes this intent filter:
<intent-filter>
<action android:name="android.service.idle.IdleService" />
</intent-filter>
This string is declared in the API as IdleService.SERVICE_INTERFACE.
The service must be implemented by extending the new "IdleService"
class, which provides the API through which the system will communicate
with the app.
IdleService declares three methods, two of which are lifecycle callbacks
to the service, and the third of which is for the service itself to
invoke when appropriate. The lifecycle callbacks are
public abstract boolean onIdleStart();
public abstract void onIdleStop();
The first of these is a notification to the service that an idle
maintenance interval has begun. The service can then spin off
whatever non-UI work it wishes. When the interval is over, or if
the OS determines that idle services should be shut down immediately,
the onIdleStop() method will be invoked. The service must shut down
any background processing immediately when this method is called.
Both of these methods must return immediately. However, the OS
holds a wakelock on the application's behalf for the entire period
between the onIdleStart() and onIdleStop() callbacks. This means
that for system-arbitrated idle-time operation, the application does
not need to do any of its own wakelock management, and does not need
to hold any wakelock permissions.
The third method in IdleService is
public final void finishIdle();
Calling this method notifies the OS that the application has finished
whatever idle-time operation it needed to perform, and the OS is thus
free to release the wakelock and return to normal operation (or to
allow other apps to run their own idle services).
Currently the idle window granted to each idle service is ten minutes.
The OS is rather conservative about when these services are run; low
battery or any user activity will suppress them, and the OS will not
choose to run them particularly often.
Idle services are granted their execution windows in round-robin
fashion.
Bug 9680213
Change-Id: Idd6f35940c938c31b94aa4269a67870abf7125b6
2013-08-19 16:14:25 -07:00
|
|
|
@hide -->
|
2014-06-09 19:50:00 -07:00
|
|
|
<permission android:name="android.permission.BIND_JOB_SERVICE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2014-06-09 19:50:00 -07:00
|
|
|
<uses-permission android:name="android.permission.BIND_JOB_SERVICE"/>
|
Introduce "IdleService" API to expose idle-time maintenance to apps
When an application wishes to do low-priority background work when the
device is otherwise idle (e.g. in a desk dock overnight), it declares
a service in its manifest that requires this permission:
android:permission="android.permission.BIND_IDLE_SERVICE
to launch, and which publishes this intent filter:
<intent-filter>
<action android:name="android.service.idle.IdleService" />
</intent-filter>
This string is declared in the API as IdleService.SERVICE_INTERFACE.
The service must be implemented by extending the new "IdleService"
class, which provides the API through which the system will communicate
with the app.
IdleService declares three methods, two of which are lifecycle callbacks
to the service, and the third of which is for the service itself to
invoke when appropriate. The lifecycle callbacks are
public abstract boolean onIdleStart();
public abstract void onIdleStop();
The first of these is a notification to the service that an idle
maintenance interval has begun. The service can then spin off
whatever non-UI work it wishes. When the interval is over, or if
the OS determines that idle services should be shut down immediately,
the onIdleStop() method will be invoked. The service must shut down
any background processing immediately when this method is called.
Both of these methods must return immediately. However, the OS
holds a wakelock on the application's behalf for the entire period
between the onIdleStart() and onIdleStop() callbacks. This means
that for system-arbitrated idle-time operation, the application does
not need to do any of its own wakelock management, and does not need
to hold any wakelock permissions.
The third method in IdleService is
public final void finishIdle();
Calling this method notifies the OS that the application has finished
whatever idle-time operation it needed to perform, and the OS is thus
free to release the wakelock and return to normal operation (or to
allow other apps to run their own idle services).
Currently the idle window granted to each idle service is ten minutes.
The OS is rather conservative about when these services are run; low
battery or any user activity will suppress them, and the OS will not
choose to run them particularly often.
Idle services are granted their execution windows in round-robin
fashion.
Bug 9680213
Change-Id: Idd6f35940c938c31b94aa4269a67870abf7125b6
2013-08-19 16:14:25 -07:00
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<!-- Allows an application to initiate configuration updates
|
|
|
|
<p>An application requesting this permission is responsible for
|
|
|
|
verifying the source and integrity of any update before passing
|
|
|
|
it off to the various individual installer components
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.UPDATE_CONFIG"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ========================================= -->
|
|
|
|
<!-- Permissions for special development tools -->
|
|
|
|
<!-- ========================================= -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to read or write the secure system settings.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2012-02-21 15:11:13 -08:00
|
|
|
<permission android:name="android.permission.WRITE_SECURE_SETTINGS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2012-02-21 15:11:13 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to retrieve state dump information from system services.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2012-02-21 15:11:13 -08:00
|
|
|
<permission android:name="android.permission.DUMP"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2012-02-21 15:11:13 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to read the low-level system log files.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications, because
|
|
|
|
Log entries can contain the user's private information. -->
|
2012-03-23 10:06:06 -07:00
|
|
|
<permission android:name="android.permission.READ_LOGS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2012-03-23 10:06:06 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Configure an application for debugging.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_DEBUG_APP"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to set the maximum number of (not needed)
|
2013-06-10 11:05:55 -07:00
|
|
|
application processes that can be running.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_PROCESS_LIMIT"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to control whether activities are immediately
|
2013-06-10 11:05:55 -07:00
|
|
|
finished when put in the background.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_ALWAYS_FINISH"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allow an application to request that a signal be sent to all persistent processes.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- ==================================== -->
|
2015-04-09 10:17:40 -07:00
|
|
|
<!-- Private permissions -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ==================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to RW to diagnostic resources.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.DIAGNOSTIC"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to open, close, or disable the status bar
|
2013-06-10 11:05:55 -07:00
|
|
|
and its icons.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.STATUS_BAR"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-06-04 16:21:12 -04:00
|
|
|
<!-- Allows an application to be the status bar. Currently used only by SystemUI.apk
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.STATUS_BAR_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to force a BACK operation on whatever is the
|
2013-06-10 11:05:55 -07:00
|
|
|
top activity.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.FORCE_BACK"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to update device statistics.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.UPDATE_DEVICE_STATS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Allows an application to collect battery statistics -->
|
2013-01-14 17:38:02 -08:00
|
|
|
<permission android:name="android.permission.GET_APP_OPS_STATS"
|
|
|
|
android:protectionLevel="signature|system|development" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to update application operation statistics. Not for
|
2012-12-11 16:34:47 -08:00
|
|
|
use by third party apps. @hide -->
|
|
|
|
<permission android:name="android.permission.UPDATE_APP_OPS_STATS"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to open windows that are for use by parts
|
2013-06-10 11:05:55 -07:00
|
|
|
of the system user interface.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to manage (create, destroy,
|
2013-06-10 11:05:55 -07:00
|
|
|
Z-order) application tokens in the window manager.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.MANAGE_APP_TOKENS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-10 15:33:52 -07:00
|
|
|
<!-- @hide Allows the application to temporarily freeze the screen for a
|
|
|
|
full-screen transition. -->
|
|
|
|
<permission android:name="android.permission.FREEZE_SCREEN"
|
|
|
|
android:protectionLevel="signature" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to inject user events (keys, touch, trackball)
|
|
|
|
into the event stream and deliver them to ANY window. Without this
|
|
|
|
permission, you can only deliver events to windows in your own process.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.INJECT_EVENTS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-07-16 08:46:07 -07:00
|
|
|
<!-- @hide Allows an application to register an input filter which filters the stream
|
|
|
|
of user events (keys, touch, trackball) before they are dispatched to any window. -->
|
|
|
|
<permission android:name="android.permission.FILTER_EVENTS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-03-13 11:17:26 -07:00
|
|
|
<!-- @hide Allows an application to retrieve the window token from the accessibility manager. -->
|
|
|
|
<permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- @hide Allows an application to collect frame statistics -->
|
|
|
|
<permission android:name="android.permission.FRAME_STATS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-27 16:49:23 -07:00
|
|
|
<!-- @hide Allows an application to temporary enable accessibility on the device. -->
|
|
|
|
<permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to watch and control how activities are
|
|
|
|
started globally in the system. Only for is in debugging
|
2013-06-10 11:05:55 -07:00
|
|
|
(usually the monkey command).
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_ACTIVITY_WATCHER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to call the activity manager shutdown() API
|
2009-07-28 00:13:47 -07:00
|
|
|
to put the higher-level system there into a shutdown state.
|
|
|
|
@hide -->
|
2009-05-07 15:53:46 -07:00
|
|
|
<permission android:name="android.permission.SHUTDOWN"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-07 15:53:46 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to tell the activity manager to temporarily
|
2009-05-19 18:37:45 -07:00
|
|
|
stop application switches, putting it into a special mode that
|
|
|
|
prevents applications from immediately switching away from some
|
2009-07-28 00:13:47 -07:00
|
|
|
critical UI such as the home screen.
|
|
|
|
@hide -->
|
2009-05-19 18:37:45 -07:00
|
|
|
<permission android:name="android.permission.STOP_APP_SWITCHES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-19 18:37:45 -07:00
|
|
|
|
2013-01-23 14:39:13 -08:00
|
|
|
<!-- Allows an application to retrieve private information about
|
2013-06-10 11:05:55 -07:00
|
|
|
the current top activity, such as any assist context it can provide.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2013-01-23 14:39:13 -08:00
|
|
|
<permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to retrieve the current state of keys and
|
2013-06-10 11:05:55 -07:00
|
|
|
switches.
|
|
|
|
<p>Not for use by third-party applications.
|
2012-04-05 18:57:33 -07:00
|
|
|
@deprecated The API that used this permission has been removed. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.READ_INPUT_STATE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2010-01-12 18:14:19 -08:00
|
|
|
<!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BIND_INPUT_METHOD"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
Remove "enhance web scripts" from settings and make it requested by plug-ins.
Currently we have an "enhance web accessibility" setting that has to be
enabled to make sure web content is accessible. We added the setting to
get user consent because we are injecting JavaScript-based screen-reader
pulled from the Google infrastructure. However, many users do not know
that and (as expected) do not read the user documentation, resulting in
critique for lacking accessibility support in WebViews with JavaScript
enabled (Browser, Gmail, etc).
To smoothen the user experience now "enhance web accessibility" is a
feature an accessibility plug-in can request, similarly to explore by
touch. Now a user does not need to know that she has to explicitly
enable the setting and web accessibility will work out-of-the-box.
Before we were showing a dialog when a plug-in tries to put the device
in a touch exploration mode. However, now that we have one more feature
a plug-in can request, showing two dialogs (assume a plug-in wants both
features) will mean that a user should potentially deal with three
dialogs, one for enabling the service, and one for each feature. We
could merge the dialogs but still the user has to poke two dialogs.
It seems that the permission mechanism is a perfect fit for getting
user permission for an app to do something, in this case to enable
an accessibility feature. We need a separate permission for explore
by touch and enhance web accessibility since the former changes the
interaction model and the latter injects JavaScript in web pages. It
is critical to get user consent for the script injection part so we
need a well-documented permission rather a vague umbrella permission
for poking accessibility features. To allow better grouping of the
accessibility permissions this patch adds a permission group as well.
bug:8089372
Change-Id: Ic125514c34f191aea0416a469e4b3481ab3200b9
2013-01-29 01:04:35 -08:00
|
|
|
<!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
|
2012-06-05 17:38:50 -07:00
|
|
|
to ensure that only the system can bind to it. -->
|
2012-05-16 18:27:34 -07:00
|
|
|
<permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-08-23 17:43:37 -07:00
|
|
|
<!-- Must be required by a {@link android.printservice.PrintService},
|
2013-06-11 15:20:06 -07:00
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_PRINT_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-08-23 17:43:37 -07:00
|
|
|
<!-- Must be required by a {@link android.nfc.cardemulation.HostApduService}
|
2013-07-30 20:07:47 -07:00
|
|
|
or {@link android.nfc.cardemulation.OffHostApduService} to ensure that only
|
2013-10-23 10:43:16 -07:00
|
|
|
the system can bind to it. -->
|
2013-07-30 20:07:47 -07:00
|
|
|
<permission android:name="android.permission.BIND_NFC_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-10-09 17:36:57 -07:00
|
|
|
<!-- Must be required by the PrintSpooler to ensure that only the system can bind to it.
|
|
|
|
@hide -->
|
2013-08-28 14:37:54 -07:00
|
|
|
<permission android:name="android.permission.BIND_PRINT_SPOOLER_SERVICE"
|
2013-06-11 15:20:06 -07:00
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-06-22 16:38:13 +09:00
|
|
|
<!-- Must be required by a TextService (e.g. SpellCheckerService)
|
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_TEXT_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-08-23 17:43:37 -07:00
|
|
|
<!-- Must be required by a {@link android.net.VpnService},
|
2011-08-08 18:26:28 -07:00
|
|
|
to ensure that only the system can bind to it. -->
|
2011-08-03 17:38:49 -07:00
|
|
|
<permission android:name="android.permission.BIND_VPN_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2010-01-12 18:14:19 -08:00
|
|
|
<!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
2009-08-08 20:40:27 -07:00
|
|
|
<permission android:name="android.permission.BIND_WALLPAPER"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-08-08 20:40:27 -07:00
|
|
|
|
2014-04-04 18:02:06 -07:00
|
|
|
<!-- Must be required by a {@link android.service.voice.VoiceInteractionService},
|
2014-05-21 14:16:46 -07:00
|
|
|
to ensure that only the system can bind to it. -->
|
2014-04-04 18:02:06 -07:00
|
|
|
<permission android:name="android.permission.BIND_VOICE_INTERACTION"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-05-29 17:54:06 -07:00
|
|
|
<!-- Must be required by hotword enrollment application,
|
|
|
|
to ensure that only the system can interact with it.
|
|
|
|
@hide <p>Not for use by third-party applications.</p> -->
|
|
|
|
<permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2013-11-05 16:29:21 -08:00
|
|
|
<!-- Must be required by a {@link com.android.media.remotedisplay.RemoteDisplayProvider},
|
|
|
|
to ensure that only the system can bind to it.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.BIND_REMOTE_DISPLAY"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-05-30 16:57:43 -07:00
|
|
|
<!-- Must be required by a {@link android.media.tv.TvInputService}
|
2014-02-20 18:23:25 -08:00
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_TV_INPUT"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-07-28 17:30:50 +09:00
|
|
|
<!-- @SystemApi Allows an application to modify parental controls
|
|
|
|
<p>Not for use by third-party applications.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MODIFY_PARENTAL_CONTROLS"
|
2014-08-26 13:56:42 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-07-28 17:30:50 +09:00
|
|
|
|
2014-07-10 22:50:50 -07:00
|
|
|
<!-- Must be required by a {@link android.media.routing.MediaRouteService}
|
2014-03-20 13:33:52 -07:00
|
|
|
to ensure that only the system can interact with it.
|
2014-05-16 16:27:35 -07:00
|
|
|
@hide -->
|
2014-03-20 13:33:52 -07:00
|
|
|
<permission android:name="android.permission.BIND_ROUTE_PROVIDER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2010-01-12 18:14:19 -08:00
|
|
|
<!-- Must be required by device administration receiver, to ensure that only the
|
|
|
|
system can interact with it. -->
|
|
|
|
<permission android:name="android.permission.BIND_DEVICE_ADMIN"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Required to add or remove another application as a device admin.
|
2013-10-09 17:36:57 -07:00
|
|
|
<p>Not for use by third-party applications.
|
|
|
|
@hide -->
|
2013-07-19 12:39:17 -07:00
|
|
|
<permission android:name="android.permission.MANAGE_DEVICE_ADMINS"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows low-level access to setting the orientation (actually
|
2013-06-10 11:05:55 -07:00
|
|
|
rotation) of the screen.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_ORIENTATION"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-06-02 01:26:32 -07:00
|
|
|
<!-- Allows low-level access to setting the pointer speed.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2011-06-02 01:26:32 -07:00
|
|
|
<permission android:name="android.permission.SET_POINTER_SPEED"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-01-27 18:30:37 -08:00
|
|
|
<!-- Allows low-level access to setting input device calibration.
|
|
|
|
<p>Not for use by normal applications.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.SET_INPUT_CALIBRATION"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-04-10 14:30:49 -07:00
|
|
|
<!-- Allows low-level access to setting the keyboard layout.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications.
|
2012-05-07 19:06:06 -07:00
|
|
|
@hide -->
|
2012-04-10 14:30:49 -07:00
|
|
|
<permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to install packages.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.INSTALL_PACKAGES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows an application to clear user data.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.CLEAR_APP_USER_DATA"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to delete cache files.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.DELETE_CACHE_FILES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to delete packages.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.DELETE_PACKAGES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to move location of installed package.
|
2010-03-30 23:37:25 -07:00
|
|
|
@hide -->
|
2010-02-19 09:19:34 -08:00
|
|
|
<permission android:name="android.permission.MOVE_PACKAGE"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-02-19 09:19:34 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to change whether an application component (other than its own) is
|
2013-06-10 11:05:55 -07:00
|
|
|
enabled or not.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
|
|
|
<!-- @hide Allows an application to grant or revoke specific permissions. -->
|
|
|
|
<permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
|
|
|
|
android:protectionLevel="signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows an application to use SurfaceFlinger's low level features.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to take screen shots and more generally
|
2013-06-10 11:05:55 -07:00
|
|
|
get access to the frame buffer data.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.READ_FRAME_BUFFER"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2013-07-12 16:56:34 -07:00
|
|
|
<!-- Allows an application to use InputFlinger's low level features.
|
2014-06-09 18:34:20 -07:00
|
|
|
@hide -->
|
2013-07-12 16:56:34 -07:00
|
|
|
<permission android:name="android.permission.ACCESS_INPUT_FLINGER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-07 17:41:02 -07:00
|
|
|
<!-- Allows an application to configure and connect to Wifi displays
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to control low-level features of Wifi displays
|
|
|
|
such as opening an RTSP socket. This permission should only be used
|
|
|
|
by the display manager.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-11-11 13:20:01 -08:00
|
|
|
<!-- @SystemApi Allows an application to control VPN.
|
|
|
|
<p>Not for use by third-party applications.</p>
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONTROL_VPN"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
<uses-permission android:name="android.permission.CONTROL_VPN" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to capture audio output.
|
2013-08-02 19:03:49 -07:00
|
|
|
<p>Not for use by third-party applications.</p> -->
|
|
|
|
<permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to capture audio for hotword detection.
|
2013-09-09 10:31:59 -07:00
|
|
|
<p>Not for use by third-party applications.</p>
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to modify audio routing and override policy decisions.
|
2014-05-29 14:42:54 -07:00
|
|
|
<p>Not for use by third-party applications.</p>
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
|
|
|
|
android:protectionLevel="signature|system" />
|
2013-09-09 10:31:59 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to capture video output.
|
2013-08-02 19:03:49 -07:00
|
|
|
<p>Not for use by third-party applications.</p> -->
|
|
|
|
<permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to capture secure video output.
|
2013-08-02 19:03:49 -07:00
|
|
|
<p>Not for use by third-party applications.</p> -->
|
|
|
|
<permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to know what content is playing and control its playback.
|
2013-09-01 18:06:45 -07:00
|
|
|
<p>Not for use by third-party applications due to privacy of media consumption</p> -->
|
|
|
|
<permission android:name="android.permission.MEDIA_CONTENT_CONTROL"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Required to be able to disable the device (very dangerous!).
|
|
|
|
<p>Not for use by third-party applications.. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BRICK"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Required to be able to reboot the device.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.REBOOT"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows low-level access to power management.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.DEVICE_POWER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-08-21 21:50:43 -07:00
|
|
|
<!-- Allows access to the PowerManager.userActivity function.
|
|
|
|
<p>Not for use by third-party applications. @hide @SystemApi -->
|
|
|
|
<permission android:name="android.permission.USER_ACTIVITY"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2012-09-17 17:20:24 -07:00
|
|
|
<!-- @hide Allows low-level access to tun tap driver -->
|
2012-04-12 00:02:00 -07:00
|
|
|
<permission android:name="android.permission.NET_TUNNELING"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Run as a manufacturer test application, running as the root user.
|
2013-06-10 11:05:55 -07:00
|
|
|
Only available when the device is running in manufacturer test mode.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.FACTORY_TEST"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to broadcast a notification that an application
|
2013-06-10 11:05:55 -07:00
|
|
|
package has been removed.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows an application to broadcast an SMS receipt notification.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BROADCAST_SMS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows an application to broadcast a WAP PUSH receipt notification.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BROADCAST_WAP_PUSH"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-11-03 17:39:54 -08:00
|
|
|
<!-- @SystemApi Allows an application to broadcast privileged networking requests.
|
2014-04-09 12:38:15 -07:00
|
|
|
<p>Not for use by third-party applications. @hide -->
|
2014-11-03 17:39:54 -08:00
|
|
|
<permission android:name="android.permission.BROADCAST_NETWORK_PRIVILEGED"
|
2014-04-09 12:38:15 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.MASTER_CLEAR"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to call any phone number, including emergency
|
2009-03-03 19:31:44 -08:00
|
|
|
numbers, without going through the Dialer user interface for the user
|
2013-06-10 11:05:55 -07:00
|
|
|
to confirm the call being placed.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.CALL_PRIVILEGED"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to perform CDMA OTA provisioning @hide -->
|
2009-08-25 19:33:57 -07:00
|
|
|
<permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-08-25 19:33:57 -07:00
|
|
|
|
2015-03-31 18:32:31 -07:00
|
|
|
<!-- @SystemApi Allows an application to perform SIM Activation @hide -->
|
|
|
|
<permission android:name="android.permission.PERFORM_SIM_ACTIVATION"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows enabling/disabling location update notifications from
|
2013-06-10 11:05:55 -07:00
|
|
|
the radio.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows read/write access to the "properties" table in the checkin
|
2013-06-10 11:05:55 -07:00
|
|
|
database, to change values that get uploaded.
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to collect component usage
|
2015-02-23 17:20:20 +00:00
|
|
|
statistics
|
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.PACKAGE_USAGE_STATS"
|
2014-09-08 18:31:21 -07:00
|
|
|
android:protectionLevel="signature|development|appop" />
|
2014-07-20 16:23:14 -07:00
|
|
|
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2015-04-23 20:36:41 -07:00
|
|
|
<!-- @hide Allows an application to change the app idle state of an app.
|
|
|
|
<p>Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.CHANGE_APP_IDLE_STATE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to collect battery statistics -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BATTERY_STATS"
|
2014-07-21 15:35:45 -07:00
|
|
|
android:protectionLevel="signature|system|development" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to control the backup and restore process.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications.
|
2009-05-14 11:12:14 -07:00
|
|
|
@hide pending API council -->
|
|
|
|
<permission android:name="android.permission.BACKUP"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-14 11:12:14 -07:00
|
|
|
|
Full local backup infrastructure
This is the basic infrastructure for pulling a full(*) backup of the
device's data over an adb(**) connection to the local device. The
basic process consists of these interacting pieces:
1. The framework's BackupManagerService, which coordinates the
collection of app data and routing to the destination.
2. A new framework-provided BackupAgent implementation called
FullBackupAgent, which is instantiated in the target applications'
processes in turn, and knows how to emit a datastream that contains
all of the app's saved data files.
3. A new shell-level program called "bu" that is used to bridge from
adb to the framework's Backup Manager.
4. adb itself, which now knows how to use 'bu' to kick off a backup
operation and pull the resulting data stream to the desktop host.
5. A system-provided application that verifies with the user that
an attempted backup/restore operation is in fact expected and to
be allowed.
The full agent implementation is not used during normal operation of
the delta-based app-customized remote backup process. Instead it's
used during user-confirmed *full* backup of applications and all their
data to a local destination, e.g. via the adb connection.
The output format is 'tar'. This makes it very easy for the end
user to examine the resulting dataset, e.g. for purpose of extracting
files for debug purposes; as well as making it easy to contemplate
adding things like a direct gzip stage to the data pipeline during
backup/restore. It also makes it convenient to construct and maintain
synthetic backup datasets for testing purposes.
Within the tar format, certain artificial conventions are used.
All files are stored within top-level directories according to
their semantic origin:
apps/pkgname/a/ : Application .apk file itself
apps/pkgname/obb/: The application's associated .obb containers
apps/pkgname/f/ : The subtree rooted at the getFilesDir() location
apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent
apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent
apps/pkgname/r/ : Files stored relative to the root of the app's file tree
apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored.
For each package, the first entry in the tar stream is a file called
"_manifest", nominally rooted at apps/pkgname. This file contains some
metadata about the package whose data is stored in the archive.
The contents of shared storage can optionally be included in the tar
stream. It is placed in the synthetic location:
shared/...
uid/gid are ignored; app uids are assigned at install time, and the
app's data is handled from within its own execution environment, so
will automatically have the app's correct uid.
Forward-locked .apk files are never backed up. System-partition
.apk files are not backed up unless they have been overridden by a
post-factory upgrade, in which case the current .apk *is* backed up --
i.e. the .apk that matches the on-disk data. The manifest preceding
each application's portion of the tar stream provides version numbers
and signature blocks for version checking, as well as an indication
of whether the restore logic should expect to install the .apk before
extracting the data.
System packages can designate their own full backup agents. This is
to manage things like the settings provider which (a) cannot be shut
down on the fly in order to do a clean snapshot of their file trees,
and (b) manage data that is not only irrelevant but actively hostile
to non-identical devices -- CDMA telephony settings would seriously
mess up a GSM device if emplaced there blind, for example.
When a full backup or restore is initiated from adb, the system will
present a confirmation UI that the user must explicitly respond to
within a short [~ 30 seconds] timeout. This is to avoid the
possibility of malicious desktop-side software secretly grabbing a copy
of all the user's data for nefarious purposes.
(*) The backup is not strictly a full mirror. In particular, the
settings database is not cloned; it is handled the same way that
it is in cloud backup/restore. This is because some settings
are actively destructive if cloned onto a different (or
especially a different-model) device: telephony settings and
AndroidID are good examples of this.
(**) On the framework side it doesn't care that it's adb; it just
sends the tar stream to a file descriptor. This can easily be
retargeted around whatever transport we might decide to use
in the future.
KNOWN ISSUES:
* the security UI is desperately ugly; no proper designs have yet
been done for it
* restore is not yet implemented
* shared storage backup is not yet implemented
* symlinks aren't yet handled, though some infrastructure for
dealing with them has been put in place.
Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
2011-04-01 14:43:32 -07:00
|
|
|
<!-- Allows a package to launch the secure full-backup confirmation UI.
|
|
|
|
ONLY the system process may hold this permission.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONFIRM_FULL_BACKUP"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Must be required by a {@link android.widget.RemoteViewsService},
|
2011-01-11 18:05:01 -08:00
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_REMOTEVIEWS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-01-11 18:05:01 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to tell the AppWidget service which application
|
2009-03-11 12:11:56 -07:00
|
|
|
can access AppWidget's data. The normal user flow is that a user
|
|
|
|
picks an AppWidget to go into a particular host, thereby giving that
|
|
|
|
host application access to the private data from the AppWidget app.
|
2009-03-03 19:31:44 -08:00
|
|
|
An application that has this permission should honor that contract.
|
2013-06-10 11:05:55 -07:00
|
|
|
<p>Not for use by third-party applications. -->
|
2009-03-11 12:11:56 -07:00
|
|
|
<permission android:name="android.permission.BIND_APPWIDGET"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Private permission, to restrict who can bring up a dialog to add a new
|
2012-10-30 18:30:52 -07:00
|
|
|
keyguard widget
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Internal permission allowing an application to query/set which
|
2012-04-13 10:39:45 -07:00
|
|
|
applications can bind AppWidgets.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2013-06-10 11:05:55 -07:00
|
|
|
<!-- Allows applications to change the background data setting.
|
|
|
|
<p>Not for use by third-party applications.
|
2009-03-03 19:31:44 -08:00
|
|
|
@hide pending API council -->
|
|
|
|
<permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi This permission can be used on content providers to allow the global
|
2009-07-08 14:56:37 -07:00
|
|
|
search system to access their data. Typically it used when the
|
|
|
|
provider has some permissions protecting it (which global search
|
|
|
|
would not be expected to hold), and added as a read-only permission
|
|
|
|
to the path in the provider where global search queries are
|
|
|
|
performed. This permission can not be held by regular applications;
|
|
|
|
it is used by applications to protect themselves from everyone else
|
|
|
|
besides global search. -->
|
|
|
|
<permission android:name="android.permission.GLOBAL_SEARCH"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-07-08 14:56:37 -07:00
|
|
|
|
|
|
|
<!-- Internal permission protecting access to the global search
|
|
|
|
system: ensures that only the system can access the provider
|
|
|
|
to perform queries (since this otherwise provides unrestricted
|
|
|
|
access to a variety of content providers), and to write the
|
|
|
|
search statistics (to keep applications from gaming the source
|
|
|
|
ranking).
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Internal permission to allows an application to read indexable data.
|
2014-03-14 19:06:20 -07:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.READ_SEARCH_INDEXABLES"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to set a live wallpaper.
|
2009-09-27 17:05:46 -07:00
|
|
|
@hide XXX Change to signature once the picker is moved to its
|
|
|
|
own apk as Ghod Intended. -->
|
2009-08-08 20:40:27 -07:00
|
|
|
<permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-08-08 20:40:27 -07:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to read dream settings and dream state.
|
2012-08-25 12:08:03 -04:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.READ_DREAM_STATE"
|
2014-01-31 14:14:19 -05:00
|
|
|
android:protectionLevel="signature|system" />
|
2012-08-25 12:08:03 -04:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to write dream settings, and start or stop dreaming.
|
2012-08-25 12:08:03 -04:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.WRITE_DREAM_STATE"
|
2014-01-31 14:14:19 -05:00
|
|
|
android:protectionLevel="signature|system" />
|
2012-08-25 12:08:03 -04:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allow an application to read and write the cache partition.
|
2010-03-30 23:37:25 -07:00
|
|
|
@hide -->
|
2010-01-06 15:02:52 -08:00
|
|
|
<permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-01-06 15:02:52 -08:00
|
|
|
|
2010-01-25 12:19:12 -08:00
|
|
|
<!-- Must be required by default container service so that only
|
|
|
|
the system can bind to it and use it to copy
|
|
|
|
protected data to secure containers or files
|
|
|
|
accessible to the system.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.COPY_PROTECTED_DATA"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Internal permission protecting access to the encryption methods
|
2011-01-20 22:46:41 -06:00
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.CRYPT_KEEPER"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-01-20 22:46:41 -06:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to read historical network usage for
|
2011-06-07 12:26:43 -07:00
|
|
|
specific networks and applications. @hide -->
|
|
|
|
<permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-06-07 12:26:43 -07:00
|
|
|
|
|
|
|
<!-- Allows an application to manage network policies (such as warning and disable
|
|
|
|
limits) and to define application-specific rules. @hide -->
|
|
|
|
<permission android:name="android.permission.MANAGE_NETWORK_POLICY"
|
|
|
|
android:protectionLevel="signature" />
|
2011-01-20 22:46:41 -06:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to account its network traffic against other UIDs. Used
|
2011-05-02 17:51:29 -07:00
|
|
|
by system services like download manager and media server. Not for use by
|
|
|
|
third party apps. @hide -->
|
|
|
|
<permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-05-02 17:51:29 -07:00
|
|
|
|
2011-08-11 14:27:25 -07:00
|
|
|
<!-- C2DM permission.
|
2010-02-04 16:52:34 -08:00
|
|
|
@hide Used internally.
|
|
|
|
-->
|
2010-05-12 16:04:10 -07:00
|
|
|
<permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
|
2010-02-04 16:52:34 -08:00
|
|
|
android:protectionLevel="signature" />
|
2010-05-12 16:04:10 -07:00
|
|
|
<uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
|
2010-02-04 16:52:34 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi @hide Package verifier needs to have this permission before the PackageManager will
|
2011-07-27 11:11:19 -07:00
|
|
|
trust it to verify packages.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-07-27 11:11:19 -07:00
|
|
|
|
|
|
|
<!-- Must be required by package verifier receiver, to ensure that only the
|
|
|
|
system can interact with it.
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
Add IntentFilter auto verification
The purpose of this feature is to prompt the Disambiguation dialog
to Users as less as possible.
- add the new "autoVerify" property to the IntentFilter class
- add new APIs to PackageManager:
verifyIntentFilter(int, int, List<String>),
getIntentVerificationStatus(String, int),
updateIntentVerificationStatus(String, int, int),
getIntentFilterVerifications(String)
for supporting IntentFilter verification
- add support for multi-user
- update PackageManager for IntentFilter verification:
basically when we are installing a new package, ask for verification
of all domains from the IntentFilters that have the "autoVerify" to true.
This means that the PackageManager will send a well defined protected
broadcast (with a new INTENT_FILTER_NEEDS_VERIFICATION action) to
an IntentFilter verifier to do the real job of verification.
We are passing in the broadcast Intent all the necessary data for
doing the verification. The PackageManager will receive as response
the result code of the domain verifications and, if needed, the list
of domains that have failed the verification.
- add a new INTENT_FILTER_VERIFICATION_AGENT permission that needs to
be set by an intent filter verifier to be considered as a trustable
party by the PackageManager.
- add also a new BIND_INTENT_FILTER_VERIFIER permission for securing
the binding between the PackageManager and a service doing the
intent filter verifications.
- add ResolveInfo filterNeedsVerification which is a boolean
to knows if the IntentFilter is of a type that needs a verification
(action VIEW, category BROWABLE, HTTP/HTTPS data URI)
- add new "domain-preferred-apps" / "d" dump command for listing the
prefered Apps for all domains
- add new "intent-filter-verifiers" / "ivf" command for listing the
IntentFilterVerifier used
- introduce the IntentVerificationService which is a basic service
for verifying IntentFilters. This service will send HTTPS requests
to the domain declared in the IntentFilter(s) for doing the
verification. This service has a low priority level so that it
can be replaced by a more sophisticated one if needed. This service
is updating the PackageManager intent verification states thru
the updateIntentVerificationStatus(...) API.
- update MockPackageManager
Change-Id: I0bfed193d0bf1f7c7ac79f6c1b160b7ab93b5fb5
2014-11-19 17:12:32 -08:00
|
|
|
<!-- @SystemApi @hide Intent filter verifier needs to have this permission before the
|
|
|
|
PackageManager will trust it to verify intent filters.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
|
|
|
<!-- Must be required by intent filter verifier receiver, to ensure that only the
|
|
|
|
system can interact with it.
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.BIND_INTENT_FILTER_VERIFIER"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows applications to access serial ports via the SerialManager.
|
2011-08-29 20:11:07 -04:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.SERIAL_PORT"
|
2012-10-17 14:06:31 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-08-29 20:11:07 -04:00
|
|
|
|
2012-02-03 19:19:09 -08:00
|
|
|
<!-- Allows the holder to access content providers from outside an ApplicationThread.
|
|
|
|
This permission is enforced by the ActivityManagerService on the corresponding APIs,
|
|
|
|
in particular ActivityManagerService#getContentProviderExternal(String) and
|
|
|
|
ActivityManagerService#removeContentProviderExternal(String).
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
|
|
|
|
android:protectionLevel="signature" />
|
2014-06-06 19:46:26 -07:00
|
|
|
|
|
|
|
<!-- @SystemApi Allows an application to hold an UpdateLock, recommending that a headless
|
2012-02-23 14:59:36 -08:00
|
|
|
OTA reboot *not* occur while the lock is held.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.UPDATE_LOCK"
|
|
|
|
android:protectionLevel="signatureOrSystem" />
|
2012-02-03 19:19:09 -08:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to read the current set of notifications, including
|
2013-01-17 00:21:05 -05:00
|
|
|
any metadata and intents attached.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_NOTIFICATIONS"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2013-01-09 18:50:26 -08:00
|
|
|
<!-- Allows access to keyguard secure storage. Only allowed for system processes.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2013-01-09 18:50:26 -08:00
|
|
|
|
2015-02-20 16:21:26 -08:00
|
|
|
<!-- Allows managing (adding, removing) fingerprint templates. Reserved for the system. @hide -->
|
|
|
|
<permission android:name="android.permission.MANAGE_FINGERPRINT"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2015-02-20 16:21:26 -08:00
|
|
|
|
2013-03-22 16:11:08 -07:00
|
|
|
<!-- Allows an application to control keyguard. Only allowed for system processes.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONTROL_KEYGUARD"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2013-03-22 16:11:08 -07:00
|
|
|
|
2014-03-27 14:56:59 +01:00
|
|
|
<!-- Allows an application to listen to trust changes. Only allowed for system processes.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.TRUST_LISTENER"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2014-03-27 14:56:59 +01:00
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to provide a trust agent.
|
2014-05-28 14:53:06 +02:00
|
|
|
@hide For security reasons, this is a platform-only permission. -->
|
|
|
|
<permission android:name="android.permission.PROVIDE_TRUST_AGENT"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signatureOrSystem" />
|
2014-05-28 14:53:06 +02:00
|
|
|
|
2014-06-04 10:52:44 -07:00
|
|
|
<!-- Allows an application to launch the trust agent settings activity.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.LAUNCH_TRUST_AGENT_SETTINGS"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signatureOrSystem" />
|
2014-06-04 10:52:44 -07:00
|
|
|
|
2014-07-28 15:14:21 +02:00
|
|
|
<!-- @SystemApi Must be required by an {@link
|
|
|
|
android.service.trust.TrustAgentService},
|
|
|
|
to ensure that only the system can bind to it.
|
|
|
|
@hide -->
|
2014-05-16 16:06:28 +02:00
|
|
|
<permission android:name="android.permission.BIND_TRUST_AGENT"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2014-03-28 13:02:19 +01:00
|
|
|
|
2013-03-22 18:29:23 -07:00
|
|
|
<!-- Must be required by an {@link
|
|
|
|
android.service.notification.NotificationListenerService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
2014-04-24 18:50:12 -04:00
|
|
|
|
2015-02-27 15:51:11 -08:00
|
|
|
<!-- Must be required by a {@link
|
|
|
|
android.service.chooser.ChooserTargetService}, to ensure that
|
|
|
|
only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_CHOOSER_TARGET_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-09-10 09:10:00 -04:00
|
|
|
<!-- @SystemApi Must be required by a {@link
|
2014-04-24 18:50:12 -04:00
|
|
|
android.service.notification.ConditionProviderService},
|
|
|
|
to ensure that only the system can bind to it.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.BIND_CONDITION_PROVIDER_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
2013-03-22 18:29:23 -07:00
|
|
|
|
2014-07-01 22:13:04 -07:00
|
|
|
<!-- Must be required by a {@link android.media.routing.MediaRouteService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_MEDIA_ROUTE_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-25 17:46:15 -04:00
|
|
|
<!-- Must be required by an {@link android.service.dreams.DreamService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_DREAM_SERVICE"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to call into a carrier setup flow. It is up to the
|
2013-05-13 10:35:33 -07:00
|
|
|
carrier setup application to enforce that this permission is required
|
|
|
|
@hide This is not a third-party API (intended for OEMs and system apps). -->
|
|
|
|
<permission android:name="android.permission.INVOKE_CARRIER_SETUP"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to listen for network condition observations.
|
2013-07-31 17:07:33 -07:00
|
|
|
@hide This is not a third-party API (intended for system apps). -->
|
|
|
|
<permission android:name="android.permission.ACCESS_NETWORK_CONDITIONS"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-06-06 19:46:26 -07:00
|
|
|
<!-- @SystemApi Allows an application to provision and access DRM certificates
|
2014-04-03 11:51:37 -07:00
|
|
|
@hide This is not a third-party API (intended for system apps). -->
|
|
|
|
<permission android:name="android.permission.ACCESS_DRM_CERTIFICATES"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-08-12 19:27:54 -07:00
|
|
|
<!-- Api Allows an application to manage media projection sessions.
|
2014-07-08 18:07:36 -07:00
|
|
|
@hide This is not a third-party API (intended for system apps). -->
|
2014-08-12 19:27:54 -07:00
|
|
|
<permission android:name="android.permission.MANAGE_MEDIA_PROJECTION"
|
2014-07-08 18:07:36 -07:00
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2014-07-24 17:08:17 -07:00
|
|
|
<!-- @SystemApi Allows an application to read install sessions
|
|
|
|
@hide This is not a third-party API (intended for system apps). -->
|
|
|
|
<permission android:name="android.permission.READ_INSTALL_SESSIONS"
|
|
|
|
android:label="@string/permlab_readInstallSessions"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:description="@string/permdesc_readInstallSessions"
|
|
|
|
android:protectionLevel="normal"/>
|
2014-04-30 10:02:39 -07:00
|
|
|
|
|
|
|
<!-- @SystemApi Allows an application to remove DRM certificates
|
|
|
|
@hide This is not a third-party API (intended for system apps). -->
|
|
|
|
<permission android:name="android.permission.REMOVE_DRM_CERTIFICATES"
|
2014-07-24 17:08:17 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2014-11-21 16:54:02 -08:00
|
|
|
<!-- Must be required by a {@link android.service.carrier.CarrierMessagingService}.
|
2014-10-21 15:58:23 -07:00
|
|
|
Any service that filters for this intent must be a carrier privileged app. -->
|
|
|
|
<permission android:name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"
|
2014-12-05 10:44:43 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2014-10-21 15:58:23 -07:00
|
|
|
|
2015-04-02 11:46:28 -07:00
|
|
|
<!-- Allows an application to interact with the currently active
|
|
|
|
{@link android.service.voice.VoiceInteractionService}.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE"
|
2015-04-09 10:17:40 -07:00
|
|
|
android:protectionLevel="signature" />
|
2015-04-02 11:46:28 -07:00
|
|
|
|
2015-04-09 17:28:54 -07:00
|
|
|
<!-- Allows an app that has this permission and a permissions to install packages
|
|
|
|
to request all runtime permissions to be granted at installation.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2015-04-02 13:14:39 -04:00
|
|
|
<!-- Allows receiving status updates from a device initializer.
|
|
|
|
@hide Not for use by third-party applications. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_DEVICE_INITIALIZER_STATUS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2015-02-25 13:01:52 -08:00
|
|
|
<!-- The system process that pulls carrier configuration from carrier apps will
|
|
|
|
have this permission. Carrier apps that provide
|
|
|
|
{@link android.service.carrier.CarrierConfigService} should require this
|
|
|
|
permission for clients binding to their service. -->
|
|
|
|
<permission android:name="android.permission.BIND_CARRIER_CONFIG_SERVICE"
|
|
|
|
android:label="@string/permlab_bindCarrierConfigService"
|
|
|
|
android:description="@string/permdesc_bindCarrierConfigService"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2015-04-02 15:21:20 -04:00
|
|
|
<!-- Allows an application to query whether DO_NOT_ASK_CREDENTIALS_ON_BOOT
|
|
|
|
flag is set.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.QUERY_DO_NOT_ASK_CREDENTIALS_ON_BOOT"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2015-05-04 11:07:38 -07:00
|
|
|
<!-- @SystemApi Allows applications to kill UIDs.
|
|
|
|
<p>Not for use by third-party applications.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.KILL_UID"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
Full local backup infrastructure
This is the basic infrastructure for pulling a full(*) backup of the
device's data over an adb(**) connection to the local device. The
basic process consists of these interacting pieces:
1. The framework's BackupManagerService, which coordinates the
collection of app data and routing to the destination.
2. A new framework-provided BackupAgent implementation called
FullBackupAgent, which is instantiated in the target applications'
processes in turn, and knows how to emit a datastream that contains
all of the app's saved data files.
3. A new shell-level program called "bu" that is used to bridge from
adb to the framework's Backup Manager.
4. adb itself, which now knows how to use 'bu' to kick off a backup
operation and pull the resulting data stream to the desktop host.
5. A system-provided application that verifies with the user that
an attempted backup/restore operation is in fact expected and to
be allowed.
The full agent implementation is not used during normal operation of
the delta-based app-customized remote backup process. Instead it's
used during user-confirmed *full* backup of applications and all their
data to a local destination, e.g. via the adb connection.
The output format is 'tar'. This makes it very easy for the end
user to examine the resulting dataset, e.g. for purpose of extracting
files for debug purposes; as well as making it easy to contemplate
adding things like a direct gzip stage to the data pipeline during
backup/restore. It also makes it convenient to construct and maintain
synthetic backup datasets for testing purposes.
Within the tar format, certain artificial conventions are used.
All files are stored within top-level directories according to
their semantic origin:
apps/pkgname/a/ : Application .apk file itself
apps/pkgname/obb/: The application's associated .obb containers
apps/pkgname/f/ : The subtree rooted at the getFilesDir() location
apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent
apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent
apps/pkgname/r/ : Files stored relative to the root of the app's file tree
apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored.
For each package, the first entry in the tar stream is a file called
"_manifest", nominally rooted at apps/pkgname. This file contains some
metadata about the package whose data is stored in the archive.
The contents of shared storage can optionally be included in the tar
stream. It is placed in the synthetic location:
shared/...
uid/gid are ignored; app uids are assigned at install time, and the
app's data is handled from within its own execution environment, so
will automatically have the app's correct uid.
Forward-locked .apk files are never backed up. System-partition
.apk files are not backed up unless they have been overridden by a
post-factory upgrade, in which case the current .apk *is* backed up --
i.e. the .apk that matches the on-disk data. The manifest preceding
each application's portion of the tar stream provides version numbers
and signature blocks for version checking, as well as an indication
of whether the restore logic should expect to install the .apk before
extracting the data.
System packages can designate their own full backup agents. This is
to manage things like the settings provider which (a) cannot be shut
down on the fly in order to do a clean snapshot of their file trees,
and (b) manage data that is not only irrelevant but actively hostile
to non-identical devices -- CDMA telephony settings would seriously
mess up a GSM device if emplaced there blind, for example.
When a full backup or restore is initiated from adb, the system will
present a confirmation UI that the user must explicitly respond to
within a short [~ 30 seconds] timeout. This is to avoid the
possibility of malicious desktop-side software secretly grabbing a copy
of all the user's data for nefarious purposes.
(*) The backup is not strictly a full mirror. In particular, the
settings database is not cloned; it is handled the same way that
it is in cloud backup/restore. This is because some settings
are actively destructive if cloned onto a different (or
especially a different-model) device: telephony settings and
AndroidID are good examples of this.
(**) On the framework side it doesn't care that it's adb; it just
sends the tar stream to a file descriptor. This can easily be
retargeted around whatever transport we might decide to use
in the future.
KNOWN ISSUES:
* the security UI is desperately ugly; no proper designs have yet
been done for it
* restore is not yet implemented
* shared storage backup is not yet implemented
* symlinks aren't yet handled, though some infrastructure for
dealing with them has been put in place.
Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
2011-04-01 14:43:32 -07:00
|
|
|
<!-- The system process is explicitly the only one allowed to launch the
|
|
|
|
confirmation UI for full backup/restore -->
|
|
|
|
<uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<application android:process="system"
|
|
|
|
android:persistent="true"
|
|
|
|
android:hasCode="false"
|
|
|
|
android:label="@string/android_system_label"
|
|
|
|
android:allowClearUserData="false"
|
2013-11-06 14:54:50 -08:00
|
|
|
android:backupAgent="com.android.server.backup.SystemBackupAgent"
|
2009-09-01 20:32:49 -07:00
|
|
|
android:killAfterRestore="false"
|
2012-09-10 20:46:33 -07:00
|
|
|
android:icon="@drawable/ic_launcher_android"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:supportsRtl="true"
|
|
|
|
android:theme="@style/Theme.Material.DayNight.DarkActionBar">
|
2009-03-03 19:31:44 -08:00
|
|
|
<activity android:name="com.android.internal.app.ChooserActivity"
|
2014-07-20 16:23:14 -07:00
|
|
|
android:theme="@style/Theme.DeviceDefault.Resolver"
|
2009-09-23 22:20:11 -07:00
|
|
|
android:finishOnCloseSystemDialogs="true"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:excludeFromRecents="true"
|
2014-06-18 18:34:56 -07:00
|
|
|
android:documentLaunchMode="never"
|
2014-07-20 16:23:14 -07:00
|
|
|
android:relinquishTaskIdentity="true"
|
|
|
|
android:process=":ui">
|
2009-03-03 19:31:44 -08:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.CHOOSER" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2014-03-24 13:44:38 +00:00
|
|
|
<activity android:name="com.android.internal.app.IntentForwarderActivity"
|
|
|
|
android:finishOnCloseSystemDialogs="true"
|
|
|
|
android:theme="@style/Theme.NoDisplay"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:label="@string/user_owner_label"
|
|
|
|
android:exported="true"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity-alias android:name="com.android.internal.app.ForwardIntentToUserOwner"
|
|
|
|
android:targetActivity="com.android.internal.app.IntentForwarderActivity"
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/user_owner_label">
|
|
|
|
</activity-alias>
|
|
|
|
<activity-alias android:name="com.android.internal.app.ForwardIntentToManagedProfile"
|
|
|
|
android:targetActivity="com.android.internal.app.IntentForwarderActivity"
|
2014-07-25 21:32:18 +01:00
|
|
|
android:icon="@drawable/ic_corp_icon"
|
2014-03-24 13:44:38 +00:00
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/managed_profile_label">
|
|
|
|
</activity-alias>
|
2010-06-03 18:47:52 -07:00
|
|
|
<activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog"
|
2010-06-03 18:47:52 -07:00
|
|
|
android:label="@string/heavy_weight_switcher_title"
|
|
|
|
android:finishOnCloseSystemDialogs="true"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
2010-06-03 18:47:52 -07:00
|
|
|
</activity>
|
2010-08-04 11:12:40 -07:00
|
|
|
<activity android:name="com.android.internal.app.PlatLogoActivity"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
|
2014-10-06 01:04:47 -04:00
|
|
|
android:configChanges="orientation|keyboardHidden"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:process=":ui">
|
2010-08-04 11:12:40 -07:00
|
|
|
</activity>
|
2010-02-17 11:56:39 -08:00
|
|
|
<activity android:name="com.android.internal.app.DisableCarModeActivity"
|
|
|
|
android:theme="@style/Theme.NoDisplay"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
2010-02-17 11:56:39 -08:00
|
|
|
</activity>
|
2015-03-03 17:04:12 -08:00
|
|
|
<activity android:name="com.android.internal.app.DumpHeapActivity"
|
|
|
|
android:theme="@style/Theme.Translucent.NoTitleBar"
|
|
|
|
android:label="@string/dump_heap_title"
|
|
|
|
android:finishOnCloseSystemDialogs="true"
|
|
|
|
android:noHistory="true"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
|
|
|
</activity>
|
|
|
|
<provider android:name="com.android.server.am.DumpHeapProvider"
|
|
|
|
android:authorities="com.android.server.heapdump"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:multiprocess="false"
|
|
|
|
android:singleUser="true" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-04-20 16:05:10 -07:00
|
|
|
<activity android:name="android.accounts.ChooseAccountActivity"
|
|
|
|
android:excludeFromRecents="true"
|
2011-01-20 16:12:36 -08:00
|
|
|
android:exported="true"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:label="@string/choose_account_label"
|
|
|
|
android:process=":ui">
|
2009-04-20 16:05:10 -07:00
|
|
|
</activity>
|
|
|
|
|
2011-09-14 23:19:35 -07:00
|
|
|
<activity android:name="android.accounts.ChooseTypeAndAccountActivity"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:exported="true"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog"
|
2011-09-14 23:19:35 -07:00
|
|
|
android:label="@string/choose_account_label"
|
|
|
|
android:process=":ui">
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity android:name="android.accounts.ChooseAccountTypeActivity"
|
|
|
|
android:excludeFromRecents="true"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog"
|
2011-09-14 23:19:35 -07:00
|
|
|
android:label="@string/choose_account_label"
|
|
|
|
android:process=":ui">
|
|
|
|
</activity>
|
|
|
|
|
2013-04-10 13:37:18 -07:00
|
|
|
<activity android:name="android.accounts.CantAddAccountActivity"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:exported="true"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog.NoActionBar"
|
2013-04-10 13:37:18 -07:00
|
|
|
android:process=":ui">
|
|
|
|
</activity>
|
|
|
|
|
2009-07-16 16:36:38 -07:00
|
|
|
<activity android:name="android.accounts.GrantCredentialsPermissionActivity"
|
|
|
|
android:excludeFromRecents="true"
|
2011-01-22 14:34:13 -08:00
|
|
|
android:exported="true"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.DialogWhenLarge"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:process=":ui">
|
2009-07-16 16:36:38 -07:00
|
|
|
</activity>
|
|
|
|
|
2010-12-16 13:54:43 -08:00
|
|
|
<activity android:name="android.content.SyncActivityTooManyDeletes"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:label="@string/sync_too_many_deletes"
|
|
|
|
android:process=":ui">
|
2010-12-16 13:54:43 -08:00
|
|
|
</activity>
|
|
|
|
|
2015-01-05 14:40:24 -08:00
|
|
|
<activity android:name="com.android.internal.app.ShutdownActivity"
|
2009-07-30 01:21:08 -07:00
|
|
|
android:permission="android.permission.SHUTDOWN"
|
2015-01-05 14:40:24 -08:00
|
|
|
android:theme="@style/Theme.NoDisplay"
|
2009-07-30 15:27:00 -07:00
|
|
|
android:excludeFromRecents="true">
|
2009-07-30 01:21:08 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2010-09-08 07:21:07 -04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.REBOOT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2009-07-30 01:21:08 -07:00
|
|
|
</activity>
|
2011-02-27 09:10:37 -08:00
|
|
|
|
2009-08-18 18:28:45 -04:00
|
|
|
<activity android:name="com.android.internal.app.NetInitiatedActivity"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog.Alert"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
2009-08-18 18:28:45 -04:00
|
|
|
</activity>
|
2009-07-30 01:21:08 -07:00
|
|
|
|
2013-06-12 14:19:10 -07:00
|
|
|
<activity android:name="com.android.internal.app.RestrictionsPinActivity"
|
2015-05-05 14:09:21 -07:00
|
|
|
android:theme="@style/Theme.Material.DayNight.Dialog.Alert"
|
2013-06-12 14:19:10 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:windowSoftInputMode="adjustPan"
|
|
|
|
android:process=":ui">
|
|
|
|
<intent-filter android:priority="100">
|
2013-09-05 09:30:23 -07:00
|
|
|
<action android:name="android.intent.action.RESTRICTIONS_CHALLENGE" />
|
2013-06-12 14:19:10 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2012-09-27 23:20:10 -07:00
|
|
|
<receiver android:name="com.android.server.BootReceiver"
|
|
|
|
android:primaryUserOnly="true">
|
2014-05-02 16:28:33 -07:00
|
|
|
<intent-filter android:priority="1000">
|
2009-03-03 19:31:44 -08:00
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<receiver android:name="com.android.server.updates.CertPinInstallReceiver"
|
|
|
|
android:permission="android.permission.UPDATE_CONFIG">
|
2012-08-23 22:00:15 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_PINS" />
|
2014-06-28 12:18:03 -07:00
|
|
|
<data android:scheme="content" android:host="*" android:mimeType="*/*" />
|
2012-08-23 22:00:15 -07:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver"
|
|
|
|
android:permission="android.permission.UPDATE_CONFIG">
|
2013-04-04 12:05:49 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" />
|
2014-06-28 12:18:03 -07:00
|
|
|
<data android:scheme="content" android:host="*" android:mimeType="*/*" />
|
2013-04-04 12:05:49 -07:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver"
|
|
|
|
android:permission="android.permission.UPDATE_CONFIG">
|
2012-09-24 13:57:16 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
|
2014-06-28 12:18:03 -07:00
|
|
|
<data android:scheme="content" android:host="*" android:mimeType="*/*" />
|
2012-09-24 13:57:16 -07:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<receiver android:name="com.android.server.updates.CarrierProvisioningUrlsInstallReceiver"
|
|
|
|
android:permission="android.permission.UPDATE_CONFIG">
|
2013-07-16 12:06:09 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS" />
|
2014-06-28 12:18:03 -07:00
|
|
|
<data android:scheme="content" android:host="*" android:mimeType="*/*" />
|
2013-07-16 12:06:09 -07:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<receiver android:name="com.android.server.updates.TzDataInstallReceiver"
|
|
|
|
android:permission="android.permission.UPDATE_CONFIG">
|
2013-01-30 11:20:26 -08:00
|
|
|
<intent-filter>
|
2015-03-13 14:27:34 +00:00
|
|
|
<action android:name="android.intent.action.UPDATE_TZDATA" />
|
2014-06-28 12:18:03 -07:00
|
|
|
<data android:scheme="content" android:host="*" android:mimeType="*/*" />
|
2013-01-30 11:20:26 -08:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2015-04-06 10:55:08 -07:00
|
|
|
<receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver"
|
|
|
|
android:permission="android.permission.UPDATE_CONFIG">
|
2013-03-26 21:09:01 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_SEPOLICY" />
|
2014-06-28 12:18:03 -07:00
|
|
|
<data android:scheme="content" android:host="*" android:mimeType="*/*" />
|
2013-03-26 21:09:01 -07:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<receiver android:name="com.android.server.MasterClearReceiver"
|
2013-06-12 14:19:10 -07:00
|
|
|
android:permission="android.permission.MASTER_CLEAR">
|
|
|
|
<intent-filter
|
|
|
|
android:priority="100" >
|
2010-02-10 19:27:58 -08:00
|
|
|
<!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
|
|
|
|
<action android:name="android.intent.action.MASTER_CLEAR" />
|
|
|
|
|
|
|
|
<!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
|
2010-05-12 16:04:10 -07:00
|
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
2009-03-03 19:31:44 -08:00
|
|
|
<category android:name="android.intent.category.MASTER_CLEAR" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2010-10-15 18:45:07 -07:00
|
|
|
<service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
|
|
|
|
android:permission="android.permission.MASTER_CLEAR"
|
|
|
|
android:exported="true" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2013-04-03 12:22:18 -07:00
|
|
|
<service android:name="android.hardware.location.GeofenceHardwareService"
|
|
|
|
android:permission="android.permission.LOCATION_HARDWARE"
|
|
|
|
android:exported="false" />
|
2013-11-14 18:10:35 -08:00
|
|
|
|
|
|
|
<service android:name="com.android.internal.backup.LocalTransportService"
|
|
|
|
android:permission="android.permission.CONFIRM_FULL_BACKUP"
|
|
|
|
android:exported="false">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.backup.TRANSPORT_HOST" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
Introduce "IdleService" API to expose idle-time maintenance to apps
When an application wishes to do low-priority background work when the
device is otherwise idle (e.g. in a desk dock overnight), it declares
a service in its manifest that requires this permission:
android:permission="android.permission.BIND_IDLE_SERVICE
to launch, and which publishes this intent filter:
<intent-filter>
<action android:name="android.service.idle.IdleService" />
</intent-filter>
This string is declared in the API as IdleService.SERVICE_INTERFACE.
The service must be implemented by extending the new "IdleService"
class, which provides the API through which the system will communicate
with the app.
IdleService declares three methods, two of which are lifecycle callbacks
to the service, and the third of which is for the service itself to
invoke when appropriate. The lifecycle callbacks are
public abstract boolean onIdleStart();
public abstract void onIdleStop();
The first of these is a notification to the service that an idle
maintenance interval has begun. The service can then spin off
whatever non-UI work it wishes. When the interval is over, or if
the OS determines that idle services should be shut down immediately,
the onIdleStop() method will be invoked. The service must shut down
any background processing immediately when this method is called.
Both of these methods must return immediately. However, the OS
holds a wakelock on the application's behalf for the entire period
between the onIdleStart() and onIdleStop() callbacks. This means
that for system-arbitrated idle-time operation, the application does
not need to do any of its own wakelock management, and does not need
to hold any wakelock permissions.
The third method in IdleService is
public final void finishIdle();
Calling this method notifies the OS that the application has finished
whatever idle-time operation it needed to perform, and the OS is thus
free to release the wakelock and return to normal operation (or to
allow other apps to run their own idle services).
Currently the idle window granted to each idle service is ten minutes.
The OS is rather conservative about when these services are run; low
battery or any user activity will suppress them, and the OS will not
choose to run them particularly often.
Idle services are granted their execution windows in round-robin
fashion.
Bug 9680213
Change-Id: Idd6f35940c938c31b94aa4269a67870abf7125b6
2013-08-19 16:14:25 -07:00
|
|
|
<service android:name="com.android.server.MountServiceIdler"
|
2014-06-09 19:50:00 -07:00
|
|
|
android:exported="true"
|
|
|
|
android:permission="android.permission.BIND_JOB_SERVICE" >
|
Introduce "IdleService" API to expose idle-time maintenance to apps
When an application wishes to do low-priority background work when the
device is otherwise idle (e.g. in a desk dock overnight), it declares
a service in its manifest that requires this permission:
android:permission="android.permission.BIND_IDLE_SERVICE
to launch, and which publishes this intent filter:
<intent-filter>
<action android:name="android.service.idle.IdleService" />
</intent-filter>
This string is declared in the API as IdleService.SERVICE_INTERFACE.
The service must be implemented by extending the new "IdleService"
class, which provides the API through which the system will communicate
with the app.
IdleService declares three methods, two of which are lifecycle callbacks
to the service, and the third of which is for the service itself to
invoke when appropriate. The lifecycle callbacks are
public abstract boolean onIdleStart();
public abstract void onIdleStop();
The first of these is a notification to the service that an idle
maintenance interval has begun. The service can then spin off
whatever non-UI work it wishes. When the interval is over, or if
the OS determines that idle services should be shut down immediately,
the onIdleStop() method will be invoked. The service must shut down
any background processing immediately when this method is called.
Both of these methods must return immediately. However, the OS
holds a wakelock on the application's behalf for the entire period
between the onIdleStart() and onIdleStop() callbacks. This means
that for system-arbitrated idle-time operation, the application does
not need to do any of its own wakelock management, and does not need
to hold any wakelock permissions.
The third method in IdleService is
public final void finishIdle();
Calling this method notifies the OS that the application has finished
whatever idle-time operation it needed to perform, and the OS is thus
free to release the wakelock and return to normal operation (or to
allow other apps to run their own idle services).
Currently the idle window granted to each idle service is ten minutes.
The OS is rather conservative about when these services are run; low
battery or any user activity will suppress them, and the OS will not
choose to run them particularly often.
Idle services are granted their execution windows in round-robin
fashion.
Bug 9680213
Change-Id: Idd6f35940c938c31b94aa4269a67870abf7125b6
2013-08-19 16:14:25 -07:00
|
|
|
</service>
|
|
|
|
|
2014-07-22 10:50:22 -07:00
|
|
|
<service android:name="com.android.server.backup.FullBackupJob"
|
|
|
|
android:exported="true"
|
|
|
|
android:permission="android.permission.BIND_JOB_SERVICE" >
|
|
|
|
</service>
|
|
|
|
|
2015-02-26 19:32:55 -08:00
|
|
|
<service android:name="com.android.server.backup.KeyValueBackupJob"
|
|
|
|
android:permission="android.permission.BIND_JOB_SERVICE" >
|
|
|
|
</service>
|
|
|
|
|
2014-06-16 15:51:39 -07:00
|
|
|
<service
|
|
|
|
android:name="com.android.server.pm.BackgroundDexOptService"
|
|
|
|
android:exported="true"
|
|
|
|
android:permission="android.permission.BIND_JOB_SERVICE">
|
|
|
|
</service>
|
|
|
|
|
2010-10-15 18:45:07 -07:00
|
|
|
</application>
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-10-15 18:45:07 -07:00
|
|
|
</manifest>
|