OSDN Git Service

android-x86/frameworks-base.git
5 years agoMigrate system dialer config to RoleManager
Eugene Susla [Fri, 25 Jan 2019 00:31:15 +0000 (16:31 -0800)]
Migrate system dialer config to RoleManager

Test: adb logcat | grep Telecomm  - to ensure correct default dialer detected
go to settings-default apps and ensure correct dialer selected in UI
Change-Id: Ib34c07b8259875dfb3c8ea848410436cbeec3796

5 years agoMerge "Make getLocalTextClassifier public"
TreeHugger Robot [Thu, 24 Jan 2019 20:24:10 +0000 (20:24 +0000)]
Merge "Make getLocalTextClassifier public"

5 years agoMerge "Merge "ParcelFileDescriptor: fix various ownership mistakes." am: 8d7976a37e...
Android Build Merger (Role) [Thu, 24 Jan 2019 20:21:47 +0000 (20:21 +0000)]
Merge "Merge "ParcelFileDescriptor: fix various ownership mistakes." am: 8d7976a37e am: d152e75a7c am: 55c8e5f019"

5 years agoMerge "ParcelFileDescriptor: fix various ownership mistakes." am: 8d7976a37e am:...
Josh Gao [Thu, 24 Jan 2019 20:20:22 +0000 (12:20 -0800)]
Merge "ParcelFileDescriptor: fix various ownership mistakes." am: 8d7976a37e am: d152e75a7c
am: 55c8e5f019

Change-Id: I3070c16b609bce6489de8ab6a1da2fdc18c54851

5 years agoMerge "Add back @NonNull to DevicePolicyManager.wipeData"
TreeHugger Robot [Thu, 24 Jan 2019 20:19:22 +0000 (20:19 +0000)]
Merge "Add back @NonNull to DevicePolicyManager.wipeData"

5 years agoMerge "Merge "Use delta reads for per uid traffic stats" am: 48f46ac83c am: d5cc53302...
Android Build Merger (Role) [Thu, 24 Jan 2019 19:59:39 +0000 (19:59 +0000)]
Merge "Merge "Use delta reads for per uid traffic stats" am: 48f46ac83c am: d5cc53302f am: 8d027dd829"

5 years agoMerge "Use delta reads for per uid traffic stats" am: 48f46ac83c am: d5cc53302f
Chenbo Feng [Thu, 24 Jan 2019 19:57:26 +0000 (11:57 -0800)]
Merge "Use delta reads for per uid traffic stats" am: 48f46ac83c am: d5cc53302f
am: 8d027dd829

Change-Id: Ia2d3aad715dc1a2ff65ea9ec1a5badeda47c47a6

5 years agoMerge "Whitelist NFC_UID to open activities from background"
TreeHugger Robot [Thu, 24 Jan 2019 19:54:37 +0000 (19:54 +0000)]
Merge "Whitelist NFC_UID to open activities from background"

5 years agoMerge changes from topics "ut_provision_api", "ims_prov_api_defs" am: 3fc958475b...
Brad Ebinger [Thu, 24 Jan 2019 19:45:19 +0000 (11:45 -0800)]
Merge changes from topics "ut_provision_api", "ims_prov_api_defs" am: 3fc958475b am: 1e6ed3c5eb
am: 270fe0a1f9

Change-Id: Id9c04847789ac612b6de7ddea15292936a6f24c8

5 years agoDefine a subset of provisioning integers as public am: ad9aec3522 am: 7b353e207e
Brad Ebinger [Thu, 24 Jan 2019 19:38:35 +0000 (11:38 -0800)]
Define a subset of provisioning integers as public am: ad9aec3522 am: 7b353e207e
am: 3d7a116e85

Change-Id: I93d88ffc45a8edd3abc9a281322eaedab8a86dc1

5 years agoMerge "ParcelFileDescriptor: fix various ownership mistakes." am: 8d7976a37e
Josh Gao [Thu, 24 Jan 2019 19:23:02 +0000 (11:23 -0800)]
Merge "ParcelFileDescriptor: fix various ownership mistakes." am: 8d7976a37e
am: d152e75a7c

Change-Id: I3e20c989ed4ea141c14163421ce02b7d2c4c1470

5 years agoMerge "Introduce system APIs for Bluetooth silence mode." am: d17b284bdb am: 5a5217d2b8
Ugo Yu [Thu, 24 Jan 2019 19:21:36 +0000 (11:21 -0800)]
Merge "Introduce system APIs for Bluetooth silence mode." am: d17b284bdb am: 5a5217d2b8
am: 26b4283a13

Change-Id: I07f8019e748495b05ea09bab69ec72c0ab9f271b

5 years agoMerge "Extend temporary whitelisting mechanism to support trampolines from PendingInt...
Michal Karpinski [Thu, 24 Jan 2019 19:14:59 +0000 (19:14 +0000)]
Merge "Extend temporary whitelisting mechanism to support trampolines from PendingIntents for broadcasts and services if PI.send() caller is in the foreground"

5 years ago[automerger skipped] Merge "Add API for proxy configuration over VPN." am: 8b5917965d...
Irina Dumitrescu [Thu, 24 Jan 2019 19:14:25 +0000 (11:14 -0800)]
[automerger skipped] Merge "Add API for proxy configuration over VPN." am: 8b5917965d am: ac77629a1e
am: b866a5b6e6 -s ours
am skip reason: change_id Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a with SHA1 18622d3d35 is in history

Change-Id: I1b5f49892d2ff473b5fe7d3d1e71e3cd3ffaca26

5 years agoMerge "Use delta reads for per uid traffic stats" am: 48f46ac83c
Chenbo Feng [Thu, 24 Jan 2019 19:12:54 +0000 (11:12 -0800)]
Merge "Use delta reads for per uid traffic stats" am: 48f46ac83c
am: d5cc53302f

Change-Id: Ibc1e7d1b6be2915d4000cda2b7a9141ac387f7f0

5 years agoMerge "ParcelFileDescriptor: fix various ownership mistakes."
Josh Gao [Thu, 24 Jan 2019 19:02:17 +0000 (11:02 -0800)]
Merge "ParcelFileDescriptor: fix various ownership mistakes."
am: 8d7976a37e

Change-Id: I4a6b274fcbb09ab52242f00a85630e91c1d87a5a

5 years ago[automerger skipped] Merge "Whitelist packages from VPN lockdown." am: efc773525c...
Pavel Grafov [Thu, 24 Jan 2019 19:00:58 +0000 (11:00 -0800)]
[automerger skipped] Merge "Whitelist packages from VPN lockdown." am: efc773525c am: 295016b22b
am: 52e0e403d2 -s ours
am skip reason: change_id I7f6c5b9172063b588feacd6b9930a6cb88f764ab with SHA1 1d58621a1f is in history

Change-Id: I56f2eadd2e95a74897d7e17cb21d672e747b8261

5 years agoMerge changes from topics "ut_provision_api", "ims_prov_api_defs" am: 3fc958475b
Brad Ebinger [Thu, 24 Jan 2019 18:58:53 +0000 (10:58 -0800)]
Merge changes from topics "ut_provision_api", "ims_prov_api_defs" am: 3fc958475b
am: 1e6ed3c5eb

Change-Id: Ib16f22466459b5a294cfab5d020f64aad11cecfc

5 years agoMerge "Use delta reads for per uid traffic stats"
Chenbo Feng [Thu, 24 Jan 2019 18:55:09 +0000 (10:55 -0800)]
Merge "Use delta reads for per uid traffic stats"
am: 48f46ac83c

Change-Id: I17faec2cc2a73e56d0f19abad32154b378857fc4

5 years agoDefine a subset of provisioning integers as public am: ad9aec3522
Brad Ebinger [Thu, 24 Jan 2019 18:53:29 +0000 (10:53 -0800)]
Define a subset of provisioning integers as public am: ad9aec3522
am: 7b353e207e

Change-Id: I55969aca6c0f948dc911eac8c587e322f8da6901

5 years agoMerge "ParcelFileDescriptor: fix various ownership mistakes."
Josh Gao [Thu, 24 Jan 2019 18:49:03 +0000 (18:49 +0000)]
Merge "ParcelFileDescriptor: fix various ownership mistakes."

5 years agoMerge changes from topics "ut_provision_api", "ims_prov_api_defs"
Brad Ebinger [Thu, 24 Jan 2019 18:42:58 +0000 (10:42 -0800)]
Merge changes from topics "ut_provision_api", "ims_prov_api_defs"
am: 3fc958475b

Change-Id: I5d3132d6b8c2ae69bb808350dc81786774bdc3ea

5 years agoMerge "Introduce system APIs for Bluetooth silence mode." am: d17b284bdb
Ugo Yu [Thu, 24 Jan 2019 18:37:47 +0000 (10:37 -0800)]
Merge "Introduce system APIs for Bluetooth silence mode." am: d17b284bdb
am: 5a5217d2b8

Change-Id: Icdc5720da633f3cba7e1acb730b4ca21475d6f4b

5 years agoDefine a subset of provisioning integers as public
Brad Ebinger [Thu, 24 Jan 2019 18:35:59 +0000 (10:35 -0800)]
Define a subset of provisioning integers as public
am: ad9aec3522

Change-Id: I89c0b4242b68f545cce6043341150d45d4e22643

5 years agoMerge "WifiConfiguration: App attribution for suggestion/request"
TreeHugger Robot [Thu, 24 Jan 2019 18:31:42 +0000 (18:31 +0000)]
Merge "WifiConfiguration: App attribution for suggestion/request"

5 years agoMerge "Introduce system APIs for Bluetooth silence mode."
Ugo Yu [Thu, 24 Jan 2019 18:28:07 +0000 (10:28 -0800)]
Merge "Introduce system APIs for Bluetooth silence mode."
am: d17b284bdb

Change-Id: Ie772b9b3aa4ac4e4592f20323a0a627c24410dd6

5 years agoMerge changes from topic "angle_rules_fast_path"
TreeHugger Robot [Thu, 24 Jan 2019 18:22:01 +0000 (18:22 +0000)]
Merge changes from topic "angle_rules_fast_path"

* changes:
  Guard ANGLE rules checking with a whitelist
  Revert "Revert "Enable ANGLE-for-Android rule processing again""

5 years agoMerge "Add API for proxy configuration over VPN." am: 8b5917965d
Irina Dumitrescu [Thu, 24 Jan 2019 18:20:32 +0000 (10:20 -0800)]
Merge "Add API for proxy configuration over VPN." am: 8b5917965d
am: ac77629a1e

Change-Id: I51930e4ed99cc3df10db2c8bbef27989f0a06a46

5 years agoMerge "Use delta reads for per uid traffic stats"
Chenbo Feng [Thu, 24 Jan 2019 18:16:25 +0000 (18:16 +0000)]
Merge "Use delta reads for per uid traffic stats"

5 years agoMerge "New media backdrop style"
Lucas Dupin [Thu, 24 Jan 2019 18:09:49 +0000 (18:09 +0000)]
Merge "New media backdrop style"

5 years agoMerge changes from topics "ut_provision_api", "ims_prov_api_defs"
Brad Ebinger [Thu, 24 Jan 2019 18:09:14 +0000 (18:09 +0000)]
Merge changes from topics "ut_provision_api", "ims_prov_api_defs"

* changes:
  Add new UT provisioning CarrierConfig options
  Define a subset of provisioning integers as public

5 years agoMerge "Add API for proxy configuration over VPN."
Irina Dumitrescu [Thu, 24 Jan 2019 18:08:07 +0000 (10:08 -0800)]
Merge "Add API for proxy configuration over VPN."
am: 8b5917965d

Change-Id: I647aec5f7678668b8ef7d616150adac1086dbbdd

5 years agoMerge "Introduce system APIs for Bluetooth silence mode."
Treehugger Robot [Thu, 24 Jan 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Introduce system APIs for Bluetooth silence mode."

5 years agoMerge "Whitelist packages from VPN lockdown." am: efc773525c
Pavel Grafov [Thu, 24 Jan 2019 18:06:37 +0000 (10:06 -0800)]
Merge "Whitelist packages from VPN lockdown." am: efc773525c
am: 295016b22b

Change-Id: I643fc2603f7cd2b928fe517eb473048004273835

5 years agoMerge "Add the APP_MUSIC category to the media center facet button"
TreeHugger Robot [Thu, 24 Jan 2019 17:58:11 +0000 (17:58 +0000)]
Merge "Add the APP_MUSIC category to the media center facet button"

5 years agoMerge "Use an implicit intent to launch the Media Center"
TreeHugger Robot [Thu, 24 Jan 2019 17:57:34 +0000 (17:57 +0000)]
Merge "Use an implicit intent to launch the Media Center"

5 years agoMerge "Replace annotation_processors with plugins"
Colin Cross [Thu, 24 Jan 2019 17:57:17 +0000 (17:57 +0000)]
Merge "Replace annotation_processors with plugins"

5 years agoMerge "Add API for proxy configuration over VPN."
Treehugger Robot [Thu, 24 Jan 2019 17:52:22 +0000 (17:52 +0000)]
Merge "Add API for proxy configuration over VPN."

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Thu, 24 Jan 2019 17:49:42 +0000 (09:49 -0800)]
Merge "Whitelist packages from VPN lockdown."
am: efc773525c

Change-Id: I329e24f1359a11a72ae9d0a23d2dc5b5de5aa8a7

5 years agoMerge "idmap2: lock down write access to /data/resouce-cache"
TreeHugger Robot [Thu, 24 Jan 2019 17:49:20 +0000 (17:49 +0000)]
Merge "idmap2: lock down write access to /data/resouce-cache"

5 years agoMerge "Enable device identifier check for priv apps"
Michael Groover [Thu, 24 Jan 2019 17:46:01 +0000 (17:46 +0000)]
Merge "Enable device identifier check for priv apps"

5 years agoMerge "Accelerate long press in View.java"
TreeHugger Robot [Thu, 24 Jan 2019 17:37:49 +0000 (17:37 +0000)]
Merge "Accelerate long press in View.java"

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Thu, 24 Jan 2019 17:34:55 +0000 (17:34 +0000)]
Merge "Whitelist packages from VPN lockdown."

5 years agoMerge "Add RollbackPackageHealthObserver"
TreeHugger Robot [Thu, 24 Jan 2019 17:31:54 +0000 (17:31 +0000)]
Merge "Add RollbackPackageHealthObserver"

5 years agoMerge "Fix a copy-paste typo."
TreeHugger Robot [Thu, 24 Jan 2019 17:11:27 +0000 (17:11 +0000)]
Merge "Fix a copy-paste typo."

5 years agoExpose new methods targeted to IME only
Jorim Jaggi [Thu, 24 Jan 2019 12:02:50 +0000 (13:02 +0100)]
Expose new methods targeted to IME only

Since we are not going to allow multiple types, it makes sense to
create a specialized method instead of exposing the general ones.

Test: CTS will be added once API is properly exposed
Bug: 111084606
Change-Id: Idcd3b17f46fbc05c9ac60fa2bba7dd6305d0529e

5 years agoMerge "Move Night Display methods to ColorDisplayManager"
Christine Franks [Thu, 24 Jan 2019 17:05:39 +0000 (17:05 +0000)]
Merge "Move Night Display methods to ColorDisplayManager"

5 years agoMerge "Treat getModelState recognition events the same as regular recognition events."
Michael Dooley [Thu, 24 Jan 2019 16:57:45 +0000 (16:57 +0000)]
Merge "Treat getModelState recognition events the same as regular recognition events."

5 years agoMerge "Use new app preload path for WebView zygote."
TreeHugger Robot [Thu, 24 Jan 2019 16:35:51 +0000 (16:35 +0000)]
Merge "Use new app preload path for WebView zygote."

5 years agoMerge changes from topic "wifi_api_to_receive_score"
Mingguang Xu [Thu, 24 Jan 2019 16:33:49 +0000 (16:33 +0000)]
Merge changes from topic "wifi_api_to_receive_score"

* changes:
  Wifi usability: Add new entry into wifi.proto for metrics collection
  Wifi usability: Add @SystemApi to receive Wifi usability score

5 years agoMerge "Don't assume all FP16 bitmaps are linearly encoded."
Derek Sollenberger [Thu, 24 Jan 2019 16:32:31 +0000 (16:32 +0000)]
Merge "Don't assume all FP16 bitmaps are linearly encoded."

5 years agoMerge "Migrate CTS to separate broadcast to scan volume."
Jeff Sharkey [Thu, 24 Jan 2019 16:25:57 +0000 (16:25 +0000)]
Merge "Migrate CTS to separate broadcast to scan volume."

5 years agoMerge "Parse missing mount option."
Jeff Sharkey [Thu, 24 Jan 2019 16:24:45 +0000 (16:24 +0000)]
Merge "Parse missing mount option."

5 years agoMerge "Migrate AppCompaction settings to DeviceConfig APIs."
Ben Murdoch [Thu, 24 Jan 2019 16:19:13 +0000 (16:19 +0000)]
Merge "Migrate AppCompaction settings to DeviceConfig APIs."

5 years agoMerge "Add proto dumpsys for JobConcurrencyManager"
Makoto Onuki [Thu, 24 Jan 2019 16:19:06 +0000 (16:19 +0000)]
Merge "Add proto dumpsys for JobConcurrencyManager"

5 years agoExtend temporary whitelisting mechanism to support trampolines
Michal Karpinski [Thu, 24 Jan 2019 15:32:12 +0000 (15:32 +0000)]
Extend temporary whitelisting mechanism to support trampolines
from PendingIntents for broadcasts and services if PI.send()
caller is in the foreground

Bug: 122886181
Bug: 110956953
Test: atest WmTests:ActivityStarterTests
Test: manual, with Chrome custom tabs
Change-Id: I5f9ee41a6fdbca51ad356825c3ede151b98c77e8

5 years agoWhitelist packages from VPN lockdown.
Pavel Grafov [Wed, 5 Dec 2018 10:40:23 +0000 (10:40 +0000)]
Whitelist packages from VPN lockdown.

Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
Merged-In: I7f6c5b9172063b588feacd6b9930a6cb88f764ab

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Thu, 24 Jan 2019 16:15:08 +0000 (16:15 +0000)]
Merge "Whitelist packages from VPN lockdown."

5 years agoAdd API for proxy configuration over VPN.
Irina Dumitrescu [Wed, 5 Dec 2018 16:19:47 +0000 (16:19 +0000)]
Add API for proxy configuration over VPN.

Test: runtest -x
frameworks/base/tests/net/java/com/android/server/ConnectivityServiceTest.java
&& atest HostsideVpnTests
Bug: 76001058
Change-Id: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
Merged-In: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a

5 years agoRemove use of SkColorSpace::Gamut enum
Brian Osman [Wed, 23 Jan 2019 15:41:20 +0000 (10:41 -0500)]
Remove use of SkColorSpace::Gamut enum

Get the gamut matrix from the color space, compare against sRGB/P3.

Test: Refactoring CL.
Change-Id: I9f5bcae8c1f637919ee9da892266ea882f16208c

5 years agoMerge "Merge "Allow light HAL to exit if it's a lazy HAL" am: 1146f76c55 am: a1fc94c6...
Android Build Merger (Role) [Thu, 24 Jan 2019 15:53:15 +0000 (15:53 +0000)]
Merge "Merge "Allow light HAL to exit if it's a lazy HAL" am: 1146f76c55 am: a1fc94c6ba am: c2c7bc03c7"

5 years agoMerge "Enable binder calls stats."
Olivier Gaillard [Thu, 24 Jan 2019 15:52:53 +0000 (15:52 +0000)]
Merge "Enable binder calls stats."

5 years agoMerge "Allow light HAL to exit if it's a lazy HAL" am: 1146f76c55 am: a1fc94c6ba
Peter Kalauskas [Thu, 24 Jan 2019 15:51:28 +0000 (07:51 -0800)]
Merge "Allow light HAL to exit if it's a lazy HAL" am: 1146f76c55 am: a1fc94c6ba
am: c2c7bc03c7

Change-Id: I62b9e4208b570fcb692fed698ee250165454e4ca

5 years agoMerge "Show a toast for background activity starts but only abort the start if the...
Michal Karpinski [Thu, 24 Jan 2019 15:45:56 +0000 (15:45 +0000)]
Merge "Show a toast for background activity starts but only abort the start if the feature is enabled (it's disabled by default)"

5 years agoMerge "Allow light HAL to exit if it's a lazy HAL" am: 1146f76c55
Peter Kalauskas [Thu, 24 Jan 2019 15:37:35 +0000 (07:37 -0800)]
Merge "Allow light HAL to exit if it's a lazy HAL" am: 1146f76c55
am: a1fc94c6ba

Change-Id: Ie897ae2603736c6ddb9043a844239eec57b41471

5 years agoMerge "Allow light HAL to exit if it's a lazy HAL"
Peter Kalauskas [Thu, 24 Jan 2019 15:26:40 +0000 (07:26 -0800)]
Merge "Allow light HAL to exit if it's a lazy HAL"
am: 1146f76c55

Change-Id: Iaaa50c53383eae94bf07eda443589e647301f248

5 years agoMerge "Log USB contaminant status"
Badhri Jagan Sridharan [Thu, 24 Jan 2019 15:21:49 +0000 (15:21 +0000)]
Merge "Log USB contaminant status"

5 years agoMerge "Add jar files from the runtime APEX in the whitelist." am: 4d3a2f95c6 am:...
Nicolas Geoffray [Thu, 24 Jan 2019 15:18:08 +0000 (07:18 -0800)]
Merge "Add jar files from the runtime APEX in the whitelist." am: 4d3a2f95c6 am: b5a3c59d3a
am: 319db3e9f7

Change-Id: I08b7c53b7676966fa2f4cb6cea03b8f6dc7d9c4a

5 years agoMerge "Allow light HAL to exit if it's a lazy HAL"
Peter Kalauskas [Thu, 24 Jan 2019 15:11:02 +0000 (15:11 +0000)]
Merge "Allow light HAL to exit if it's a lazy HAL"

5 years agoMerge "Add API for proxy configuration over VPN."
TreeHugger Robot [Thu, 24 Jan 2019 15:09:18 +0000 (15:09 +0000)]
Merge "Add API for proxy configuration over VPN."

5 years agoAdd RollbackPackageHealthObserver
Zimuzo [Fri, 18 Jan 2019 18:39:18 +0000 (18:39 +0000)]
Add RollbackPackageHealthObserver

With the help of PackageWatchdog, RollbackPackageHealthObserver will
monitor packages after enabling rollbacks and will execute the rollback
automatically if it detects frequent crashes.

Test: atest RollbackTest
Bug: 112431924
Change-Id: Ic85464583f7c6b0778d853a87670d250a42c33de

5 years agoMerge "Add jar files from the runtime APEX in the whitelist." am: 4d3a2f95c6
Nicolas Geoffray [Thu, 24 Jan 2019 15:03:32 +0000 (07:03 -0800)]
Merge "Add jar files from the runtime APEX in the whitelist." am: 4d3a2f95c6
am: b5a3c59d3a

Change-Id: Iec1e66f533063cde4529a0f4d874418b4f01e0d6

5 years agoMerge "Surface HAL constants"
TreeHugger Robot [Thu, 24 Jan 2019 14:59:57 +0000 (14:59 +0000)]
Merge "Surface HAL constants"

5 years agoMerge "Add jar files from the runtime APEX in the whitelist."
Nicolas Geoffray [Thu, 24 Jan 2019 14:54:57 +0000 (06:54 -0800)]
Merge "Add jar files from the runtime APEX in the whitelist."
am: 4d3a2f95c6

Change-Id: I78c60b3a378298531a7ef219ae0930965ddfb64d

5 years agoFix a copy-paste typo.
Lenka Trochtova [Thu, 24 Jan 2019 14:45:10 +0000 (15:45 +0100)]
Fix a copy-paste typo.

Bug: 111072170
Bug: 111071972
Test: make

Change-Id: I65d329792a5d8d6146711125ad54815c6411b693

5 years agoMerge "Add jar files from the runtime APEX in the whitelist."
Nicolas Geoffray [Thu, 24 Jan 2019 14:38:17 +0000 (14:38 +0000)]
Merge "Add jar files from the runtime APEX in the whitelist."

5 years agoWhitelist NFC_UID to open activities from background
Michal Karpinski [Thu, 24 Jan 2019 14:34:28 +0000 (14:34 +0000)]
Whitelist NFC_UID to open activities from background

Bug: 123331369
Bug: 110956953
Test: atest WmTests:ActivityStarterTests
Test: manual
Change-Id: I517a3b33bcc1dfdc8e8769385a76d2f7912fda9a

5 years agoMerge "Add packageName to ApplicationInfo for APEX."
TreeHugger Robot [Thu, 24 Jan 2019 14:30:41 +0000 (14:30 +0000)]
Merge "Add packageName to ApplicationInfo for APEX."

5 years agoMerge changes from topic "calendar-package"
TreeHugger Robot [Thu, 24 Jan 2019 14:25:45 +0000 (14:25 +0000)]
Merge changes from topic "calendar-package"

* changes:
  Handle null for the return of getCrossProfileCalendarPackages.
  API change for cross profile calendar feature.

5 years agoMerge "Decouple downgrade and optimization processes."
Felix Lopez Luis [Thu, 24 Jan 2019 14:12:13 +0000 (14:12 +0000)]
Merge "Decouple downgrade and optimization processes."

5 years agoGuard ANGLE rules checking with a whitelist
Cody Northrop [Tue, 15 Jan 2019 21:06:36 +0000 (14:06 -0700)]
Guard ANGLE rules checking with a whitelist

In order to reduce the startup impact to near zero, we are
creating a whitelist to be checked before parsing rules.

The whitelist will be generated by the APK based on apps
mentioned in the rules files. At app launch, only those in
the whitelist will do full rules checking.

The whitelist will be checked via Global Settings, which will
be populated by the ANGLE APK when intents are received. The
APK will listen for intents at boot (LOCKED_BOOT_COMPLETED)
and when ANGLE itself is updated (MY_PACKAGE_REPLACED).

The whitelist can also be populated by hand:

  adb shell settings put global angle_whitelist app1,app2,appN

We plan to further mitigate the ANGLE-enabled app impact
by parsing the full rules when creating the whitelist, off of
the critical path.

Note: Developer Options will continue to work, regardless of
whitelist. But temp rules will not be loaded if the app is
not whitelisted.

Test: atest CtsAngleIntegrationHostTestCases
Test: atest google/perf/app-startup/hermetic-apps/cold-dropcache-test -v
Bug: 80239516
Bug: 122528316
Change-Id: I96e5b4d5b4774f59aadbd1e52295437a395cab6b

5 years agoRevert "Revert "Enable ANGLE-for-Android rule processing again""
Cody Northrop [Thu, 17 Jan 2019 17:26:18 +0000 (10:26 -0700)]
Revert "Revert "Enable ANGLE-for-Android rule processing again""

This reverts commit c3174593a2fd649ebe9e054f9df0996e2f801c27.

Bug: 80239516
Bug: 122528316
Test: atest CtsAngleIntegrationHostTestCases
Test: atest google/perf/app-startup/hermetic-apps/cold-dropcache-test -v
Change-Id: I4fe650a9dd6c5c1b3c01cb089b6d19c5013fc156

5 years agoMigrate AppCompaction settings to DeviceConfig APIs.
Ben Murdoch [Wed, 16 Jan 2019 10:05:58 +0000 (10:05 +0000)]
Migrate AppCompaction settings to DeviceConfig APIs.

To support app compaction P/H experiments, migrate it's
settings away from using the key/value pair string the
rest of ActivityManagerConstants uses, and use the
DeviceConfig APIs instead.

Test: boots, works, atest FrameworksServicesTests:AppCompactorTest

Bug: 122879579

Change-Id: I9d1ae17d9671d0443b728ecdeca7102ba34d9c2f

5 years agoMerge "Remove @SystemAPI from NotificationAssistantService"
Fabian Kozynski [Thu, 24 Jan 2019 13:55:30 +0000 (13:55 +0000)]
Merge "Remove @SystemAPI from NotificationAssistantService"

5 years agoMerge "Replace debug key."
TreeHugger Robot [Thu, 24 Jan 2019 13:47:11 +0000 (13:47 +0000)]
Merge "Replace debug key."

5 years agoMerge "Added APIs for App Usage Limits."
Varun Shah [Thu, 24 Jan 2019 13:35:28 +0000 (13:35 +0000)]
Merge "Added APIs for App Usage Limits."

5 years agoAdd API for proxy configuration over VPN.
Irina Dumitrescu [Wed, 5 Dec 2018 16:19:47 +0000 (16:19 +0000)]
Add API for proxy configuration over VPN.

Test: runtest -x
frameworks/base/tests/net/java/com/android/server/ConnectivityServiceTest.java
&& atest HostsideVpnTests
Bug: 76001058
Change-Id: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a

5 years agoMerge "Put the TextClassification action's intent in the extra."
TreeHugger Robot [Thu, 24 Jan 2019 12:41:47 +0000 (12:41 +0000)]
Merge "Put the TextClassification action's intent in the extra."

5 years agoMerge "RollbackManager: Keep track of "in progress" rollbacks."
Narayan Kamath [Thu, 24 Jan 2019 12:31:13 +0000 (12:31 +0000)]
Merge "RollbackManager: Keep track of "in progress" rollbacks."

5 years agoMerge "Include OrgApacheHttpLegacyUpdater unconditionally" am: 87c1081c42 am: 34269e4b74
Paul Duffin [Thu, 24 Jan 2019 12:12:06 +0000 (04:12 -0800)]
Merge "Include OrgApacheHttpLegacyUpdater unconditionally" am: 87c1081c42 am: 34269e4b74
am: 455d2a92da

Change-Id: Id265410009bce1d9b2210aab39d84abe0eda9067

5 years agoAdd back @NonNull to DevicePolicyManager.wipeData
Alex Chau [Wed, 23 Jan 2019 13:39:37 +0000 (13:39 +0000)]
Add back @NonNull to DevicePolicyManager.wipeData

- Added WIPE_SILENTLY to skip notifying user

Bug: 114711242
Test: cts-tradefed run singleCommand cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.ManagedProfileTest#testWipeDataWithoutReason
Change-Id: I163e0f3e1ab1e6feef668070a73b1f86db9691b3

5 years agoMerge "Expose an API to mark a session as APEX."
TreeHugger Robot [Thu, 24 Jan 2019 12:01:41 +0000 (12:01 +0000)]
Merge "Expose an API to mark a session as APEX."

5 years agoMerge "Popup a notification after logging in the captive portal network" am: 6fa3d391...
Lucas Lin [Thu, 24 Jan 2019 11:56:21 +0000 (03:56 -0800)]
Merge "Popup a notification after logging in the captive portal network" am: 6fa3d391b8 am: ff4106fc42
am: 5b8b54cdcd

Change-Id: I62b9ef24f3a7f9fe75450a05d19dffda3b84d4b5

5 years agoAdd packageName to ApplicationInfo for APEX.
Dario Freni [Thu, 24 Jan 2019 11:53:59 +0000 (11:53 +0000)]
Add packageName to ApplicationInfo for APEX.

Bug: 123311165
Change-Id: I6bab5d06c7fd0b2d7e49c60cb793a4b621dfeff2
Fix: 123311165
Test: m; tested with custom app; atest PackageParserTest

5 years agoMerge "Include OrgApacheHttpLegacyUpdater unconditionally" am: 87c1081c42
Paul Duffin [Thu, 24 Jan 2019 11:46:43 +0000 (03:46 -0800)]
Merge "Include OrgApacheHttpLegacyUpdater unconditionally" am: 87c1081c42
am: 34269e4b74

Change-Id: I19a0c5d9d9a2c2c0e5cf482a5a574f304a8ce765

5 years agoMerge "Popup a notification after logging in the captive portal network" am: 6fa3d391b8
Lucas Lin [Thu, 24 Jan 2019 11:41:40 +0000 (03:41 -0800)]
Merge "Popup a notification after logging in the captive portal network" am: 6fa3d391b8
am: ff4106fc42

Change-Id: I46598799c8a21d986d1790afc5c4b01726081e97

5 years agoWhitelist packages from VPN lockdown.
Pavel Grafov [Wed, 5 Dec 2018 10:40:23 +0000 (10:40 +0000)]
Whitelist packages from VPN lockdown.

Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab

5 years agoMerge "Include OrgApacheHttpLegacyUpdater unconditionally"
Paul Duffin [Thu, 24 Jan 2019 11:32:25 +0000 (03:32 -0800)]
Merge "Include OrgApacheHttpLegacyUpdater unconditionally"
am: 87c1081c42

Change-Id: I724fa0b8b997aa58ce444aa8a929f47af665abed

5 years agoDecouple downgrade and optimization processes.
Felix Lopez Luis [Tue, 11 Dec 2018 14:07:24 +0000 (14:07 +0000)]
Decouple downgrade and optimization processes.

Extract the logic to downgrade apps from the logic to
optimize apps. This will make easier to add more logic for downgrade
applications as required for b/112144519

Bug: 112144519
Test: This change is cover by the integration tests in
BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java

Change-Id: Ia3ec6198bd8bac9871372ae87994ca0c596e36d7

5 years agoMerge "Popup a notification after logging in the captive portal network"
Lucas Lin [Thu, 24 Jan 2019 11:27:36 +0000 (03:27 -0800)]
Merge "Popup a notification after logging in the captive portal network"
am: 6fa3d391b8

Change-Id: I78321e10014525dfb02da29ee2f3cd4487bf30db