Commit Graph

418064 Commits

Author SHA1 Message Date
Bill Yi
d91593a6d3 Import translations. DO NOT MERGE
Change-Id: Ie54a5be95a7b72f1a75e43d63874684e709dbb1f
Auto-generated-cl: translation import
2019-04-27 14:54:36 -07:00
Jordan Liu
c598e0247e Merge "Update getUiccCardsInfo doc" 2019-04-26 22:35:12 +00:00
TreeHugger Robot
d4f347f616 Merge "Correct visibility for LOCATION_MODE_ON" 2019-04-26 20:35:27 +00:00
TreeHugger Robot
7e9c5f3d0e Merge "Remove SkCanvas::filterBitmap declaration." 2019-04-26 20:14:38 +00:00
TreeHugger Robot
06aae3df08 Merge "Fix bug where path shortening breaks ColorStateLists" 2019-04-26 16:40:24 +00:00
Mohamed Heikal
7c7573040a Fix bug where path shortening breaks ColorStateLists
Android resource loader uses the file path to check if a resource is a
ColorStateList. Path shortening removed that part of the path and thus
broke the resource loader of APKs optimized with path shortening. This
cl skips path shortening for resources under "res/color/"

Test: make aapt2_tests
Bug: b/75965637

Change-Id: If94dfa398efd81522d4faed157afd35f6dabe856
2019-04-26 10:48:54 -04:00
Ben Wagner
5a31997b0e Remove SkCanvas::filterBitmap declaration.
It doesn't look like this even has an implementation anymore.

Test: This just removes dead code.
Change-Id: I126ad7f653e80973e0d79966a5885f486e2aa9f2
2019-04-26 10:39:37 -04:00
Sasha Smundak
5bad6247c3 Merge "Convert misc tests Android.mk files to Android.bp" am: ce22e11274 am: 86e0168d99
am: 734f295485

Change-Id: I57addbba602f513a726be956ed027535a16458f8
2019-04-26 06:45:34 -07:00
Sasha Smundak
734f295485 Merge "Convert misc tests Android.mk files to Android.bp" am: ce22e11274
am: 86e0168d99

Change-Id: I4a803f390f332d0c018cda1f0085a5da5201641d
2019-04-26 06:36:00 -07:00
Sasha Smundak
86e0168d99 Merge "Convert misc tests Android.mk files to Android.bp"
am: ce22e11274

Change-Id: I5389c6ba0e11204676c6a13175be781e26bb8905
2019-04-26 06:26:28 -07:00
Treehugger Robot
ce22e11274 Merge "Convert misc tests Android.mk files to Android.bp" 2019-04-26 13:10:24 +00:00
Lorenzo Colitti
9ee316aebd Merge "Add validation type definition to support multiple probe result" am: 3bdd969ff7 am: 4547d8f2db
am: 4932896e24

Change-Id: I546b36cdbc1c805a6ea4b7d1d909daa865472cae
2019-04-26 04:11:54 -07:00
Lorenzo Colitti
4932896e24 Merge "Add validation type definition to support multiple probe result" am: 3bdd969ff7
am: 4547d8f2db

Change-Id: I743028abffb4fb62fb7c4bfaf74ef864a052fdd7
2019-04-26 04:00:48 -07:00
Lorenzo Colitti
4547d8f2db Merge "Add validation type definition to support multiple probe result"
am: 3bdd969ff7

Change-Id: Iad7e1577483bde7e7525943849ec2f91d4d1bfd7
2019-04-26 03:49:26 -07:00
Lorenzo Colitti
3bdd969ff7 Merge "Add validation type definition to support multiple probe result" 2019-04-26 10:32:19 +00:00
Lorenzo Colitti
204ca13e63 Merge "Make DNS cache lifecycle management explicit" am: a6d5664819 am: 57646109fd
am: 30d7a16ddb

Change-Id: I388e208143c38b89bcbb0589de393250024d59aa
2019-04-25 18:06:28 -07:00
Svetoslav Ganov
0ccfb5f726 Merge "Adding API for defining and invoking DirectActions" into qt-dev-plus-aosp
am: 8ebf5c5b6e

Change-Id: I9dc4c34448bd3c01a435d7ef42f9791aa0f4a885
2019-04-25 17:50:29 -07:00
Lorenzo Colitti
30d7a16ddb Merge "Make DNS cache lifecycle management explicit" am: a6d5664819
am: 57646109fd

Change-Id: I51cf1b7cfd49d4731d922578e8512a1326ebec63
2019-04-25 17:50:05 -07:00
Svetoslav Ganov
8ebf5c5b6e Merge "Adding API for defining and invoking DirectActions" into qt-dev-plus-aosp 2019-04-26 00:40:31 +00:00
Sunny Goyal
70db79ab0f Adding API for defining and invoking DirectActions
DirectActions are abstract actions defined by an Activtiy. The
actual definition of these actions will be available through
the support lib.

This API provides a secure channel for system or assistant to
interact with a running app using these Actions.

Test: atest CtsVoiceInteractionTestCases
Test: added android.voiceinteraction.cts.DirectActionsTest

Bug: 129705716

Exempt-From-Owner-Approval: Resolving merge conflict

Change-Id: I0ce568e0d8f41e0fe46306052016a74c7b394efa
(cherry picked from commit d40c345536)
2019-04-26 00:39:53 +00:00
Lorenzo Colitti
57646109fd Merge "Make DNS cache lifecycle management explicit"
am: a6d5664819

Change-Id: Ie97fe453c89476915f3b362b6486c7d4608da2a9
2019-04-25 17:38:23 -07:00
Lorenzo Colitti
a6d5664819 Merge "Make DNS cache lifecycle management explicit" 2019-04-26 00:23:22 +00:00
TreeHugger Robot
1f391e7fcb Merge "Update boot image and system server profiles" 2019-04-26 00:05:25 +00:00
Soonil Nagarkar
7449108978 Correct visibility for LOCATION_MODE_ON
As per API feedback in b/126727563, move LOCATION_MODE_ON to SystemApi
instead of deprecated. This is safe as this constant is not used
anywhere yet.

Test: manual
Bug: 126727563
Change-Id: Iddbea546d1585cb8677c4adb97e465d5ac7a76a4
2019-04-25 15:50:04 -07:00
Pengquan Meng
afbdf26a19 Merge "Fixed the comment of carrier config for CDNR" am: e994a0d66a am: 6f7ccba005
am: bf53e7f496

Change-Id: I882168f8448f4b709c4a22b68391e31af6eb69f1
2019-04-25 15:40:38 -07:00
Pengquan Meng
bf53e7f496 Merge "Fixed the comment of carrier config for CDNR" am: e994a0d66a
am: 6f7ccba005

Change-Id: I603d8168f425a419d8af261df9b4f732d49459a0
2019-04-25 15:29:32 -07:00
Pengquan Meng
6f7ccba005 Merge "Fixed the comment of carrier config for CDNR"
am: e994a0d66a

Change-Id: I33dddc12e64b681e23e5600ab4a1c9cf560f795b
2019-04-25 15:18:45 -07:00
Calin Juravle
439305cadd Update boot image and system server profiles
This is a conservative tuning for the last profile update (commit
5b70220fb5) which regressed a few metrics
(b/130553966). The numbers below are quoated relative to the sate before
that update.

=Perf numbers=

The boot image compilation artifacts are 17MiB smaller (art/vdex/oat for
arm and arm64).
System server .art file is 100KiB smaller.

Startup and memory number are within the noise. Startup shows 0.72%
improvement. However that's most likely noise. The tests were run with:

- atest google/perf/app-startup/hermetic-apps/cold-dropcache-lock-test
- atest google/perf/app-startup/non-hermetic-apps/cold-dropcache-lock-test
- atest google/perf/memory/memory-test
- atest
google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-lock-test
- atest
google/perf/app-startup/third-party-apps/cold-dropcache-stable-test

=Profile metrics=

Boot:
- methods and classes used by at least 9% of the sampled (non unique)
applications (see below for more explanations)
- 1.13% of hot methods added, 33.77% removed
- 0.65% of classes added, 21.61% removed
- 29256 hot methods in the profile (vs 43429 in the old one)
- 8681 classes in the profile (vs 10985 in the old one)

Preloaded clases:
- classes used by at least 20% of sampled applications during startup
- 1.5% added, 0.3% removed
- 7601 classes in the profile (vs 7516 in the old one)

System server:
- methods and classes used on at least 5% of sampled devices
- system server is speed compile and the image classes are the most
relevant
- 4% classes added, 23% of classes removed
- 2819 classes in the profile (vs 3418 in the old one)

=Data sample=
- 35000+ (non unique) applications contributed to the final profile
- these were spread across 4000+ (non unique) devices
- 'non unique' means that the same app or the same device (or a
combination of both) could have contributed to the final profile multiple
times

Bug: 122068885
Bug: 130553966
Test: m, build, boot, atest startup-tests
Change-Id: Ic61ed2784af034ed4ae4bc8346ed67c6bed04152
2019-04-25 15:14:40 -07:00
Pengquan Meng
e994a0d66a Merge "Fixed the comment of carrier config for CDNR" 2019-04-25 22:07:25 +00:00
Eugene Susla
5d21de6918 Merge "ServiceConnector impl + migration of RemoteFillService" 2019-04-25 21:22:25 +00:00
Christian Wailes
8645b7d3db Merge "Adds additional sanitization for Zygote command arguments." 2019-04-25 21:02:49 +00:00
Chris Wailes
c99198249f Adds additional sanitization for Zygote command arguments.
Previously we were only insuring that the arguments provided to the
Zygote didn't contain any newlines.  This adds additional checks for
carriage returns and standalone integer arguments to protect against
malicious argument and packet injection respectively.

Bug: 130164289
Test: m & flash & boot & check logs
Change-Id: I4055c50d52db0047c02c11096710fd07b429660c
2019-04-25 21:02:15 +00:00
Jordan Liu
6c8e0f3f53 Update getUiccCardsInfo doc
This method will return info for inactive eUICCs, filtered by carrier
privilege. (Since we can't read carrier privilege on an inactive eUICC,
we always assume that the caller does not have carrier privilege).

Bug: 130826215
Test: manual
Change-Id: Id89fa48f119004b6c18bd21791396bc6c3df2c95
2019-04-25 13:32:21 -07:00
Christian Wailes
c2a1b3f4bc Merge "Change USAP name to application name as soon as possible." 2019-04-25 18:32:10 +00:00
Pengquan Meng
b4a53fdb9e Fixed the comment of carrier config for CDNR
Bug: 122921456
Test: build
Merged-In: If5cc8d37ba1e66d59e5bfe9444fe4108f2263be9
Change-Id: If5cc8d37ba1e66d59e5bfe9444fe4108f2263be9
(cherry picked from commit 7ac9a8f314)
2019-04-25 11:23:27 -07:00
Chiachang Wang
f914b77414 Add validation type definition to support multiple probe result
In order to allow NetworkMonitor to tell ConnectivityService
if the network is either parital, validated or both.
NetworkMonitor could update the probe result by passing the
bitmask to ConnectivityService.

Bug: 130078798
Bug: 130683832
Test: build
Change-Id: I429ccbd9b9afae3eafaf73b3c9eb835213c1f64d
2019-04-25 16:03:43 +00:00
Beth Thibodeau
a8cb6e110c Merge "Fix null pointer exceptions" 2019-04-25 14:11:41 +00:00
Al Sutton
9b6ae901eb Re-add the logging to track when a backup transport is used which hasn't been initialised.
Test: atest RunBackupFrameworksServicesRoboTests
Fixes: 110781477
Change-Id: I8645fb4eab24dc531b93e865003d894dc1877d99
2019-04-25 13:25:31 +01:00
Arthur Hung
b7380d16a1 Merge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev am: 031ec27e64
am: 1e05f06908

Change-Id: I935898913dbb031b50230a1e83ca0ac17064d29a
2019-04-25 01:40:00 -07:00
Jorim Jaggi
cacc9f90a5 Merge "Assign layer to bounds animation layer" into qt-dev am: bf8aec37d4
am: 104c86afab

Change-Id: I8abf01a65af8b79e6629d2df5397ebc4b73493f9
2019-04-25 01:25:54 -07:00
Arthur Hung
1e05f06908 Merge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev
am: 031ec27e64

Change-Id: I2f231fd2be31bf72b9d317da39d017e42798cd56
2019-04-25 01:23:27 -07:00
Jorim Jaggi
104c86afab Merge "Assign layer to bounds animation layer" into qt-dev
am: bf8aec37d4

Change-Id: Id3618ed5eb1fa78595c87ae0560f88d51427cb12
2019-04-25 01:16:07 -07:00
Winson Chung
a32aaf794b Merge "Ensure we get the right nav bar mode for the current user in sysui" into qt-dev am: 05500a3651
am: 458bccbda3

Change-Id: Icabe683a3220bb94d0e74b0632392b87f4ade3c6
2019-04-25 01:11:50 -07:00
Winson Chung
458bccbda3 Merge "Ensure we get the right nav bar mode for the current user in sysui" into qt-dev
am: 05500a3651

Change-Id: Id98dba16b731eb62ee5b6e85075733a98092bc85
2019-04-25 00:59:23 -07:00
Winson Chung
f6395e07d3 Merge "Manual revert of ag/6502936" into qt-dev am: 671a62fffb
am: 5378135a40

Change-Id: Id4ce3977f0e48e7d9692afd21c8563f93106a2e8
2019-04-25 00:51:01 -07:00
Winson Chung
5378135a40 Merge "Manual revert of ag/6502936" into qt-dev
am: 671a62fffb

Change-Id: I04476647c7b16b61d83ed98b0cbc56b8b7fe7f4b
2019-04-25 00:39:50 -07:00
Linda Tseng
13d4f1430f Merge "Add night variant of Theme.DeviceDefault.Settings.Dialog" into qt-dev am: 4d304d67b8
am: 4dd4a639c0

Change-Id: I65f40ef698802b212900ac7797df9ab0437bbdfd
2019-04-25 00:29:57 -07:00
TreeHugger Robot
031ec27e64 Merge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev 2019-04-25 07:25:13 +00:00
Linda Tseng
4dd4a639c0 Merge "Add night variant of Theme.DeviceDefault.Settings.Dialog" into qt-dev
am: 4d304d67b8

Change-Id: I53dabe19a330e6f0bdd23e1873a5a2f0afcc8fa4
2019-04-25 00:06:58 -07:00
Jack He
6615d306ba Merge "Bluetooth: Remove safetynet logging for 120574260" into qt-dev am: 4ab647f501
am: 2c16f7e759

Change-Id: I85c853bc590dfdc6d8f3093231a9258199f4b4d7
2019-04-24 23:42:36 -07:00