Commit Graph

305395 Commits

Author SHA1 Message Date
Bryan Mawhinney
24a2ae5fae Blacklist some new settings from backup
Also mark with @SmallTest in the hope that this will enable the test to run!

Test: run FrameworksCoreTests
Change-Id: If332dca6c1393a77208b21d20f98760cb126085b
2017-01-31 18:27:50 +00:00
TreeHugger Robot
a3c064d104 Merge "Migrate Tron logs for power to multimetric format." 2017-01-31 15:56:15 +00:00
Yura
e2896febe4 Merge "Fix for endless loop in RelativeLayout." 2017-01-31 15:18:13 +00:00
Julia Reynolds
e73724c4f9 Merge "Use TVExtender channel on tv platforms." 2017-01-31 14:06:06 +00:00
Bill Yi
27e634eed1 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 21e0ccb1a6 -s ours
am: eccb4c5045  -s ours

Change-Id: I1132a94369c09f75e1f961ffe9ee90a71996c013
2017-01-31 08:42:40 +00:00
Bill Yi
4302cc60e7 Import translations. DO NOT MERGE am: 652182376c -s ours
am: 1b49042a6a  -s ours

Change-Id: I511fbfdc62022fd75a5690e789c8e19c51ad5ced
2017-01-31 08:41:41 +00:00
Bill Yi
eccb4c5045 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 21e0ccb1a6  -s ours

Change-Id: I12a3340aaa49277aba78c7dcc51b063458113262
2017-01-31 08:37:44 +00:00
Bill Yi
1b49042a6a Import translations. DO NOT MERGE
am: 652182376c  -s ours

Change-Id: I45c84e6031609830111e915ab692906fc48ff0d6
2017-01-31 08:37:39 +00:00
TreeHugger Robot
21e0ccb1a6 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-31 08:31:13 +00:00
TreeHugger Robot
8a0f9dd59a Merge "Import translations. DO NOT MERGE" 2017-01-31 08:02:43 +00:00
Bill Yi
958679c4a5 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: f3db881c0c -s ours
am: b02ba73c7d  -s ours

Change-Id: Id437d7da4c74788afe857ea09ae9974cf77c8132
2017-01-31 07:39:56 +00:00
Bill Yi
b6f0934504 Import translations. DO NOT MERGE am: 85f7e3989c -s ours
am: c90971e335  -s ours

Change-Id: I5dd2cda575ce68aaf7a188a1b75f02191a40fefd
2017-01-31 07:39:01 +00:00
Bill Yi
2d081e964c Import translations. DO NOT MERGE am: e924e16c3d -s ours
am: c207d2686e  -s ours

Change-Id: I76243ce4d943a2e01740260d84c1c0b04a415b4a
2017-01-31 07:38:09 +00:00
Bill Yi
b02ba73c7d Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: f3db881c0c  -s ours

Change-Id: I86910f68247dbb886e7f3b4b646cf0d8fd8e686a
2017-01-31 07:34:40 +00:00
Bill Yi
c90971e335 Import translations. DO NOT MERGE
am: 85f7e3989c  -s ours

Change-Id: Ibcafecde0ae6b531d5e6c1f379372ad8c73e41fa
2017-01-31 07:34:33 +00:00
Bill Yi
c207d2686e Import translations. DO NOT MERGE
am: e924e16c3d  -s ours

Change-Id: I90ef4192992b588b600f76c90b8744fc52eeb9e8
2017-01-31 07:33:35 +00:00
TreeHugger Robot
8b60f499bf Merge "Import translations. DO NOT MERGE" 2017-01-31 07:30:46 +00:00
TreeHugger Robot
0470d5002e Merge "Import translations. DO NOT MERGE" 2017-01-31 07:30:08 +00:00
TreeHugger Robot
cf000871ad Merge "Import translations. DO NOT MERGE" 2017-01-31 07:29:30 +00:00
TreeHugger Robot
f3db881c0c Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-31 07:28:44 +00:00
Bill Yi
652182376c Import translations. DO NOT MERGE
Change-Id: I0ef2e2fb59b03df8ce1c4ebb29154ef815b6154b
Auto-generated-cl: translation import
2017-01-30 22:39:49 -08:00
Bill Yi
6e75a35fff Import translations. DO NOT MERGE
Change-Id: I0f109486ea3b8c2c2fb21d796aa1d546e8fc3f68
Auto-generated-cl: translation import
2017-01-30 22:29:14 -08:00
Hugo Benichi
db11740a01 Merge "ApfTest: fix flaky testApfFilterRa." am: c2e8588396 am: 60e1375f79 am: 811f6c86da
am: 488ffdc784

Change-Id: Ib4223b548b434211dda4e750f660eb68a30a9d96
2017-01-31 06:16:43 +00:00
Hugo Benichi
488ffdc784 Merge "ApfTest: fix flaky testApfFilterRa." am: c2e8588396 am: 60e1375f79
am: 811f6c86da

Change-Id: Idd738e1a4c9f0a865f5b84270535a94c492341ce
2017-01-31 06:11:35 +00:00
Hugo Benichi
811f6c86da Merge "ApfTest: fix flaky testApfFilterRa." am: c2e8588396
am: 60e1375f79

Change-Id: Ied249e20ffc80728d20ac1e5442d45f5cb767776
2017-01-31 06:07:08 +00:00
Hugo Benichi
60e1375f79 Merge "ApfTest: fix flaky testApfFilterRa."
am: c2e8588396

Change-Id: I79c3ec0ba35973cc0dd32709447b2cc30e790d08
2017-01-31 06:01:58 +00:00
Hugo Benichi
c2e8588396 Merge "ApfTest: fix flaky testApfFilterRa." 2017-01-31 05:53:52 +00:00
TreeHugger Robot
cf45c85297 Merge "Introduce set/getFontVariationSettings." 2017-01-31 05:46:27 +00:00
Edwin Wong
e9b8348027 Merge "Pass application packagename to drm plugin." 2017-01-31 05:03:44 +00:00
Bill Yi
e924e16c3d Import translations. DO NOT MERGE
Change-Id: Icf17a6fb6b941caea8a843c0cac96f0b1883d4f3
Auto-generated-cl: translation import
2017-01-30 20:45:03 -08:00
Bill Yi
85f7e3989c Import translations. DO NOT MERGE
Change-Id: Ifb3e58e4528c1d7ea44bac121b7e210672aa6a7f
Auto-generated-cl: translation import
2017-01-30 20:36:40 -08:00
Bill Yi
b3f5822ac7 Import translations. DO NOT MERGE
Change-Id: I8898f88d0454aa0065faa8e0cbc737a5dc2cc055
Auto-generated-cl: translation import
2017-01-30 19:41:51 -08:00
Bill Yi
493f9c4893 Import translations. DO NOT MERGE
Change-Id: I51010554d0b8e46a3b4541bdce9323cfb01e107d
Auto-generated-cl: translation import
2017-01-30 19:21:33 -08:00
TreeHugger Robot
c869ebff63 Merge "Add instant cookie APIs" 2017-01-31 03:17:49 +00:00
Bill Yi
1727bacc3f Import translations. DO NOT MERGE
Change-Id: If8563cdf20d35e212c7c1a25636973b1da634e12
Auto-generated-cl: translation import
2017-01-30 19:13:28 -08:00
TreeHugger Robot
541af7f696 Merge "Add new api ClipDescription.getTimestamp." 2017-01-31 02:54:38 +00:00
TreeHugger Robot
cf7d35e1fd Merge "Add user picker for anchored window. Test: CtsAutoFillServiceTestCases" 2017-01-31 02:47:28 +00:00
Hugo Benichi
4456f33a95 ApfTest: fix flaky testApfFilterRa.
testApfFilterRa is failing with probabiliy 1/10 ~ 1/15 on the following
assert: assertDrop(program, packet, lifetime/6), for lifetime values
that are multiple of 6, where 6 is the hardcoded fraction of RA lifetime
to filter in ApfFilter.java.

When the lifetime is not a multiple of 6, the remainder of 1 to 5
seconds gives enough margin so that when the APF program is simulated
the faked lifetime of the program is less than lifetime/6 away and the
packet is dropped.

However for lifetimes which are exact multiples of 6, this margin is
always 0s and that result in nondeterminism in the result. This is
consistent with the obervation that the only failed assert was for a
lifetime of 300s, the only multiple of 6.

This can be observed by detecting the age limit at which the filter
stops dropping packet oscillating between lifetime/6 and lifetime/6 + 1
for lifetimes which are multiple of 6.

This patch fixes the flakyness by freezing the flow of time in tests so
that the expected filter age threshold is consistent and stable.

Test: no failure observed in 1000 runs.
Bug: 32561414
Change-Id: I5251d047039f34b82ce8a5d20ae46563e1e0cce8
2017-01-31 11:13:44 +09:00
Dianne Hackborn
a09a31f99f Merge "Remove some unused code around process state reporting." 2017-01-31 01:55:58 +00:00
TreeHugger Robot
02f3a5f0e7 Merge "Minor updates to reflect libbinder changes." 2017-01-31 01:53:15 +00:00
Svetoslav Ganov
096d304ae3 Add instant cookie APIs
This change adds APIs for instant apps to store cookie data
that is presisted across instant installs and across the
upgrade from an instant to a standard app. Standard apps
can use the cookie APIs but when they are uninstalled the
cookie is also deleted. The cookies are kept longer than
the instant apps as they are much smaller - 16KB by default.
We can change the cookie size via a system setting i.e.
after we ship we can increase size if needed.

We also add internal APIs to surface information about
installed and uninstalled instant apps which should be
used for showing them in the UI. For this puporse we store
the icon, permissions, and label of uninstalled apps. If
the app is re-installed we drop this meta-data but keep
the cookie around. If we have cookie data stored and the
signing cert of the app changes when it gets re-intalled
we wipe the cookie.

Test: CTS tests pass; hiddent APIs tested manually

Change-Id: If145c0440cc61a5303e2cbb70228d235d36037a5
2017-01-30 17:52:14 -08:00
Etan Cohen
9b07338cb2 Merge "[AWARE] Minor hardening of manager." am: d0f1c9d1d3 am: 155d9ba6fc am: 3e8f90a62b
am: 4717b99a9d

Change-Id: Ia87571d271f0dd271b40445b14bba9d05f5b34f1
2017-01-31 01:45:23 +00:00
Etan Cohen
4717b99a9d Merge "[AWARE] Minor hardening of manager." am: d0f1c9d1d3 am: 155d9ba6fc
am: 3e8f90a62b

Change-Id: Ia909905095094f33c536774235d49060ca2d63c3
2017-01-31 01:40:49 +00:00
Etan Cohen
3e8f90a62b Merge "[AWARE] Minor hardening of manager." am: d0f1c9d1d3
am: 155d9ba6fc

Change-Id: I222a30730ec6199a53c91fb6c3fd4b96846ac7d3
2017-01-31 01:36:18 +00:00
Etan Cohen
155d9ba6fc Merge "[AWARE] Minor hardening of manager."
am: d0f1c9d1d3

Change-Id: I182e8c10eea318cf1fd3d3fe4da3275df01f851d
2017-01-31 01:30:24 +00:00
Fyodor Kupolov
669b1d6bfe Merge "Read SystemConfig on a worker thread" 2017-01-31 01:19:54 +00:00
Etan Cohen
d0f1c9d1d3 Merge "[AWARE] Minor hardening of manager." 2017-01-31 01:19:49 +00:00
Sudheer Shanka
09971befd7 Add new api ClipDescription.getTimestamp.
ClipDescription.getTimestamp can be used to know the time
at which the associated ClipData is copied to global clipboard.

Bug: 30873580
Test: cts-tradefed run singleCommand cts-dev --module CtsContentTestCases -t \
      android.content.cts.ClipDescriptionTest
Change-Id: I9486ab3fe0696959d42f6b4c98e40f5becee3019
2017-01-30 17:19:49 -08:00
Jason Long
3922e6a8aa Add user picker for anchored window.
Test: CtsAutoFillServiceTestCases

Bug: 34633695
Change-Id: I274264846358941983183a32f07cade3b26c8c05
2017-01-30 17:17:35 -08:00
Android Build Merger (Role)
895fc78ada Merge "Merge changes I8eca5f24,I9d79c67c am: 54604d9143 am: 276672d192 am: 5445bdda28 am: b67f853f6f" 2017-01-31 01:16:35 +00:00