Commit Graph

79803 Commits

Author SHA1 Message Date
Jan Althaus
eaff57ebfe Fixing URL encoding of geo intent links
Bug: 73106770
Test: Added test and manually verified
Change-Id: Ia86450e1f6721cd50567628e4dcdcc34bca0bdf7
2018-02-19 13:39:42 +01:00
Bernardo Rufino
b331d1f1ef Merge "Add local transport parameters for transport flags GTS test" 2018-02-18 18:00:22 +00:00
TreeHugger Robot
d64db3a88b Merge "Add OWNERS for AccountManager." 2018-02-17 13:55:37 +00:00
TreeHugger Robot
0c200baed4 Merge "Minor autofill changes to support compat mode CTS tests." 2018-02-17 11:17:05 +00:00
Scott Kennedy
9c356d7590 Merge "Add @Nullable to return values in Uri" am: cfc6897a39 am: a03c35d74a
am: 68636f2e8a

Change-Id: Iac3c67b843418ca3529be782667c02f4a35fee9c
2018-02-17 08:08:30 +00:00
Scott Kennedy
68636f2e8a Merge "Add @Nullable to return values in Uri" am: cfc6897a39
am: a03c35d74a

Change-Id: Ia145a065eabe75e72051287005cd5ab341fe2824
2018-02-17 07:58:31 +00:00
Scott Kennedy
a03c35d74a Merge "Add @Nullable to return values in Uri"
am: cfc6897a39

Change-Id: I109bd5952643598c5306ab27debb4dd2b30fffed
2018-02-17 07:45:37 +00:00
Treehugger Robot
cfc6897a39 Merge "Add @Nullable to return values in Uri" 2018-02-17 04:49:23 +00:00
Robert Sesek
c0276a54ec Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote." am: 554cfd1f1d am: 5b9410c74b
am: 4523bf284a

Change-Id: Ib714e447f06323d38c98de683f5547e66749856e
2018-02-17 04:08:15 +00:00
Robert Sesek
4523bf284a Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote." am: 554cfd1f1d
am: 5b9410c74b

Change-Id: I5e9d5c960b9f78cfa7ca7ab88e9d2075f97daca8
2018-02-17 03:51:28 +00:00
Robert Sesek
5b9410c74b Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
am: 554cfd1f1d

Change-Id: I723f75be6488390932a60b411ac04660c16d93d1
2018-02-17 03:41:55 +00:00
Svet Ganov
47b37aa034 Minor autofill changes to support compat mode CTS tests.
Bug: 72811561
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest

Change-Id: I6ec2563cea75afc77a1598805988d8e6c433c574
2018-02-16 18:01:17 -08:00
TreeHugger Robot
3d9ae24567 Merge "Add feature annotation to UsbManager" 2018-02-17 01:56:06 +00:00
Treehugger Robot
554cfd1f1d Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote." 2018-02-17 01:39:54 +00:00
Hans Boehm
81e7e3c908 Merge "Avoid BinderProxy duplicate native registration" 2018-02-17 01:28:49 +00:00
Sandra Kwan
e1395b42ef Add OWNERS for AccountManager.
Test: no code change.

Change-Id: I6dabe8ff503a68d0ac2082a9149c23e0d4fd46ea
2018-02-16 15:40:27 -08:00
Sudheer Shanka
ac417a56af Merge "Read per-uid cpu times less often." 2018-02-16 23:37:45 +00:00
TreeHugger Robot
243239504a Merge "Always remeasure weighted children, even if there's no excess space" 2018-02-16 22:53:42 +00:00
Adrian Roos
1d96275756 Merge "OverlayManager: Add categories" 2018-02-16 22:47:11 +00:00
Jeff Sharkey
5e4bebb891 Merge "Better handling of NTP-based clocks." 2018-02-16 22:13:01 +00:00
Jeff Sharkey
9911a28adb Better handling of NTP-based clocks.
Now that we have a nice Clock abstraction, we can use it to represent
a clock backed by an NTP fix.  (This makes testing logic much easier
to write.)

We now rely completely on NetworkTimeUpdateService to keep our NTP
fix up to date, instead of trying to refresh in the middle of
critical paths which could trigger random ANRs.

Add internal FallbackClock to make it easier to handle missing NTP
fixes.  Add internal SimpleClock to let implementers focus on single
millis() method.

Test: bit FrameworksNetTests:com.android.server.net.NetworkStatsServiceTest
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 69714690, 72320957
Change-Id: Ic32cdcbe093d08b73b0e4b23d6910b23ea8e1968
Exempt-From-Owner-Approval: approved in previous PS
2018-02-16 22:11:35 +00:00
Rajeev Kumar
334899b0d8 Merge "Implement atom puller for ProcessMemoryState." 2018-02-16 21:52:22 +00:00
Philip P. Moltmann
00d2de9495 Add feature annotation to UsbManager
Test: Built
Change-Id: Ib81f8a8deb38c7b7397b4119c98b92de1fe5f17f
2018-02-16 12:55:17 -08:00
Jeff Sharkey
2ab510ee24 Merge "Add RequiresFeature annotation." 2018-02-16 20:45:41 +00:00
Jeff Sharkey
98af2e4fec Add RequiresFeature annotation.
Certain APIs require that a device have a specific feature to operate
correctly, so start annotating them.

Test: builds, boots
Bug: 72284763
Change-Id: Ie2f30284bdfdb6acc4067f434eba3b5433837606
Exempt-From-Owner-Approval: simple annotations
2018-02-16 20:45:22 +00:00
TreeHugger Robot
c4c7f9bf1c Merge "Fix javadoc in SettingsSliceContract" 2018-02-16 20:06:54 +00:00
Treehugger Robot
8b764a0dab Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues" 2018-02-16 20:02:26 +00:00
Alan Viverette
9049fd996a Always remeasure weighted children, even if there's no excess space
Bug: 72630654
Test: atest LinearLayoutTest
Change-Id: Ie9637950aef32f080b8284a63003eb61c0a88841
2018-02-16 14:47:05 -05:00
Robert Sesek
d0a190df8a Add Zygote.startChildZygote() to fork a new process that itself is a zygote.
This adds a new --start-child-zygote argument that instructs the main
zygote to create a new child process that will also be a zygote. The
system_server generates a random name in the abstract socket namespace
for it and the child-zygote to communicate over, and that is passed as
an argument to the new process.

A child-zygote bypasses the normal post-fork-child of the zygote process
in order to preserve itself as a zygote. This means not starting the
Binder threadpool nor launching into ActivityThread. Instead, a
child-zygote calls into its own main function. The main function runs a
ZygoteServer select loop, listening on the socket name specified by the
system_server when it was forked.

Unlike the system zygotes, a child-zygote can be killed without bringing
down the system. Killing a child-zygote will not terminate its child
processes, which will be reparented to init for reaping when they
eventually exit.

Bug: 63749735
Test: m (with multi-project commits landed)
Change-Id: I3e7ebbdba498f8fec1d84cdf927dc43a92be4b68
2018-02-16 14:17:41 -05:00
TreeHugger Robot
961b465ac4 Merge "Allowing Typeface as a param in TypefaceSpan." 2018-02-16 19:06:53 +00:00
TreeHugger Robot
1d84b1734d Merge "Adding maximum input size checks" 2018-02-16 18:46:50 +00:00
Jeff Sharkey
a7d4901db0 Merge "Grant DCS storage access; better OBB errors." 2018-02-16 18:46:29 +00:00
Jerry Zhang
12d5f7d2a1 Merge "Remove urb request size maximum for P api" 2018-02-16 18:44:23 +00:00
TreeHugger Robot
f759af6f3b Merge "Optimization: don't call AFM.notifyValueChanged() when value didn't change." 2018-02-16 18:24:18 +00:00
Hans Boehm
03477cb9b7 Avoid BinderProxy duplicate native registration
In case of an OOME, we would recycle the nativeData we just allocated,
even if the BinderProxy.getInstance() call got far enough to register
the allocation for automatic freeing. This could cause a duplicate
deallocation.

This changes the code to be much more careful about handling native
deallocation correctly in the exception case.

Bug: 72707270

Test: Build and boot master.
Change-Id: I2cffdd1d59af95f089714893e819c2d02302a6d4
2018-02-16 10:22:12 -08:00
Matthew Fritze
d7a2d9b80c Fix javadoc in SettingsSliceContract
Test: none. only comment change.
Change-Id: I6d4419798a7a59ad9a9be7b4e41bfc50c3cf158e
Fixes: 73392084
2018-02-16 09:28:34 -08:00
Mathew Inwood
a8bb7189ba Merge "Hidden API blacklisting killswitch." am: 46656fa28e
am: 84259cea59

Change-Id: Ia0bcbfb2cdc84a6a8a82f82ecda82f46ba46dab1
2018-02-16 16:39:59 +00:00
Mathew Inwood
84259cea59 Merge "Hidden API blacklisting killswitch."
am: 46656fa28e

Change-Id: I1276e1eb5b2d4438ebc6f071ed28f1f322a8bc6e
2018-02-16 16:31:26 +00:00
Bernardo Rufino
eaa78b92a5 Add local transport parameters for transport flags GTS test
Added parameters for local transport in secure setting for setting up
local transport to test transport flags GTS test.

Test: GTS test in topic CL.
Bug: 73100304
Change-Id: If654175d91fdf1ea68db0f3320d59b2b770a4db3
2018-02-16 16:25:47 +00:00
Felipe Leme
27d0446d08 Optimization: don't call AFM.notifyValueChanged() when value didn't change.
Test: manual verification
Test: atest CtsAutoFillServiceTestCases

Bug: 73078981

Change-Id: Ib0a40d4ab0e6f4a1300622fa4d7a2f6026aa98a1
2018-02-16 08:23:17 -08:00
Tim Volodine
bfd30802f7 Merge "WebView Tracing API: address comments from the API council." 2018-02-16 15:00:27 +00:00
Chavi Weingarten
a860141390 Merge "Revert "Use destroy in transaction for animation"" 2018-02-16 14:05:06 +00:00
Leon Scroggins
299b0e4b4e Merge "Reland "Call ImageDecoder directly in ResourcesImpl"" 2018-02-16 11:25:23 +00:00
Mathew Inwood
fe1eebec5d Hidden API blacklisting killswitch.
Just support "*" for now, meaning disable all API blacklisting for all
apps.

Test: Manually verified by:
- installing test app that accesses hidden API
- manually blacklist the API
- $ adb shell settings put global hidden_api_blacklist_exemptions \\*

This is a cherry pick of change I9a41a104742c9aaaf3a753e7b0f3a1106e37d4d3
from internal master.

Merged-In: I9a41a104742c9aaaf3a753e7b0f3a1106e37d4d3
Change-Id: Ibb2a1d054c1b099fc6093e37f24b2ed421a2313c
2018-02-16 09:57:09 +00:00
Peter Visontay
1cfc06a1e5 Merge "Remove the OP_REQUEST_DELETE_PACKAGES op from the list of runtime permissions." 2018-02-16 09:54:09 +00:00
TreeHugger Robot
c3f1898618 Merge "ContextWrapper should check before calling wrapped instance for autofill compat" 2018-02-16 08:09:29 +00:00
Hugo Benichi
a654f06d40 Merge "Add missing'}' in javadoc of public API method" am: f50d9fbdc1 am: 054bed5968
am: 7b2ffeff58

Change-Id: I2cfda60077c57d151fb8599845cd202bbc4e625d
2018-02-16 07:58:57 +00:00
Hugo Benichi
7b2ffeff58 Merge "Add missing'}' in javadoc of public API method" am: f50d9fbdc1
am: 054bed5968

Change-Id: I51ad1f6b8d42f4c791c07d41297f02d3e798ccd9
2018-02-16 07:50:57 +00:00
Hugo Benichi
054bed5968 Merge "Add missing'}' in javadoc of public API method"
am: f50d9fbdc1

Change-Id: I3afcd9a3752ff6d158d68ca3ce19272151c1908c
2018-02-16 07:43:08 +00:00
TreeHugger Robot
aece1aad3e Merge "Camera: update API for external camera" 2018-02-16 07:05:15 +00:00