Commit Graph

75655 Commits

Author SHA1 Message Date
TreeHugger Robot
e551ca7751 Merge "Changed reparentChild method name to reparent." 2017-09-21 01:04:06 +00:00
TreeHugger Robot
50ef8bb213 Merge "Convert ActivityManager dumpsys to protobuf" 2017-09-21 00:50:47 +00:00
Fyodor Kupolov
2ffb30815f Merge "Dump total execution time per connection pool" 2017-09-21 00:04:11 +00:00
Bookatz
b487b5533e statsd & statscompanion communication more robust
If statsd or statsdcompanion crashes, or if one loads
before the other, the other will be able to accomodate.

When statsd loads, it will attempt to tell statscompanion that it's
alive, and then get on to its business, while assuming that
statscompanion is not alive. Only when statscompanion tells statsd
that it is alive, statsd will then start to use it.

When statscompanion loads, it will attempt to tell statsd that it's
alive and then do nothing (since it has nothing to do). When statsd
tells statscompanion that statsd is alive, statscompanion will respond,
telling statsd that it is alive and, if that binder call returns, will
get to work.

This way, if statsd loads first, it can work unobstructed until
statscompanion informs statsd that it is alive, at which point they
shake hands and work. Conversely, if statscompanion loads first, it will
do nothing until statsd contacts it, at which point they will shake
hands and work.

Test: manual
Change-Id: I969ad47fb8060e27814d05ad37433a02711cfa6a
2017-09-20 14:13:44 -07:00
Steven Timotius
4346f0a15c Convert ActivityManager dumpsys to protobuf
Also adding ActivityInfo.RESIZE_MODE_RESIZEABLE to TestApi

Test: cts-tradefed run commandAndExit cts-dev --module CtsActivityManagerDeviceTestCases

Change-Id: I958aa155b266799840ece1ca07feed8593724449
2017-09-20 11:30:59 -07:00
chaviw
7643140c7c Changed reparentChild method name to reparent.
The native reparentChild was changed to reparent to represent that the
current layer is getting re-parented. Updated the jni and Java code to
reflect that.

Test: Device boots

Change-Id: I390d2efba61c626f2162f75f650700d53ab178a5
2017-09-20 17:35:43 +02:00
Bookatz
1b0b114abc StatsCompanionService sends messages to statsd
StatsCompanionService can now inform statsd that an alarm (for anomaly
alerting and for polling) has fired, so that statsd can act accordingly.

Test: manual created an alarm from statsd.main and checked logcat that
statsd received the broadcast that it fired
Change-Id: I1d33dfbee0d3e213c91dd6973d2622ecacc890c8
2017-09-20 07:51:53 -07:00
Richard Coles
52c0e916dd Merge "Consider shared libs when precreating WebView classloader." 2017-09-20 14:38:25 +00:00
Adam Bookatz
43b272e20c Merge changes I82fe220e,Iff324c73,I3bd73acd
* changes:
  indexed priority queue for AnomalyMonitor
  StatsCompanionService connection to Statsd
  Set up StatsCompanionService.java
2017-09-20 14:01:49 +00:00
Christine Franks
0321346f38 Handle night display state when timezone changes
Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5
(cherry picked from commit 2ce862c3ed)
2017-09-20 03:35:49 +00:00
TreeHugger Robot
9f2f7a50ae Merge "Delete unused interface IAM.swapDockedAndFullscreenStack()" 2017-09-20 00:18:07 +00:00
TreeHugger Robot
d4f7c5bc19 Merge "ActivityOptions.set/getLaunchStackId() be gone!" 2017-09-20 00:09:09 +00:00
Felipe Leme
204605d891 Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev am: 2748ffcef7
am: 667fb12d37

Change-Id: Ib4d8b85be3d38131d606569913939d10199c63f7
2017-09-19 23:12:44 +00:00
Felipe Leme
667fb12d37 Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev
am: 2748ffcef7

Change-Id: I912d263f40e3d1cc58c77f2a91c585bb97aa3c37
2017-09-19 23:01:33 +00:00
TreeHugger Robot
2748ffcef7 Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev 2017-09-19 22:47:16 +00:00
Arthur Ishiguro
eb47fdc8e0 Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev am: 0853fe8a53
am: 7c5be53554

Change-Id: Iff30607c66ae8b42307bce3e42f7f9f3471e8d03
2017-09-19 20:50:59 +00:00
Arthur Ishiguro
7c5be53554 Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev
am: 0853fe8a53

Change-Id: Icefb1d6d21bcebfc5b16e5ec234c9f1c6043717f
2017-09-19 20:42:28 +00:00
TreeHugger Robot
0853fe8a53 Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev 2017-09-19 20:32:56 +00:00
TreeHugger Robot
f2b61b9184 Merge "Fix crash in TextView#setHint" 2017-09-19 20:14:46 +00:00
Wale Ogunwale
d5efc1fd0d Delete unused interface IAM.swapDockedAndFullscreenStack()
Deleting so I don't have to convert to the new windowing model later.

Test: Existing test pass.
Change-Id: I6adbe11348e3f01f4e32d8b404b6399d5eff7152
2017-09-19 13:07:39 -07:00
Torne (Richard Coles)
4fd8aa51e4 Consider shared libs when precreating WebView classloader.
The change to handling of the deprecated Apache HTTP library means that
the WebView implementation package might have a non-empty shared library
list. Make sure to fetch shared libraries when querying WebView
implementations, and take them into account when constructing both the
actual classpath to be used to precreate the classloader, and when
deciding what the cache key for the precreated classloader should be.

Change-Id: I5e1409358d935e1c9f325db434bc6d4ef8ead759
Fixes: 65574359
Test: launch anything that uses WebView
2017-09-19 15:21:29 -04:00
Fyodor Kupolov
3f9ab47f2d Merge "Fix AddAccountSettings memory leak" am: 104501fa29 am: c17b4e5a14 am: 80e87f97c3
am: c9117ddbfa

Change-Id: I6e565af0ec462e57ae38f0c4f09b8c52bb5c6ab4
2017-09-19 19:04:36 +00:00
Fyodor Kupolov
c9117ddbfa Merge "Fix AddAccountSettings memory leak" am: 104501fa29 am: c17b4e5a14
am: 80e87f97c3

Change-Id: Iff2f6a0dff9774d155961aafade36eeb5db5bc81
2017-09-19 18:56:45 +00:00
Felipe Leme
c7b4529aa9 Autofill optimization: don't contact server when session is finished.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug: 65414762

Change-Id: I214a7835727c3ff71de9dc65c8d6fe54507265fb
2017-09-19 11:49:29 -07:00
Fyodor Kupolov
80e87f97c3 Merge "Fix AddAccountSettings memory leak" am: 104501fa29
am: c17b4e5a14

Change-Id: Ie7dd4310f3937c2c3e0fc9d3590b1a7813c0abee
2017-09-19 18:48:54 +00:00
Fyodor Kupolov
c17b4e5a14 Merge "Fix AddAccountSettings memory leak"
am: 104501fa29

Change-Id: I844d7ce66a162ba1e72a099d429e17de9c72fb86
2017-09-19 18:42:07 +00:00
Fyodor Kupolov
104501fa29 Merge "Fix AddAccountSettings memory leak" 2017-09-19 18:29:14 +00:00
David Stevens
78a6c4c926 Merge "Handle showWhenLocked on secondary displays" 2017-09-19 18:13:46 +00:00
Arthur Ishiguro
9acb5402d0 Adds handle to NanoAppInstanceInfo Parcel
- Since mHandle (UID) was not recorded in writeToParcel, it always
returned 0 as the UID. This resulted in error messages claiming
mismatches between the reported and actual UID of nanoapps when called
from an external process.
- Also fixes the Parcel constructor to actually read the mContexthubId
field.

Bug: 37785458
Test: Compile and load, verify error message doesn't appear
Change-Id: I2ff75f510aae549c741786f5746862256ea5a877
2017-09-19 10:52:12 -07:00
Wale Ogunwale
0568aed2af ActivityOptions.set/getLaunchStackId() be gone!
Removed ActivityOptions.set/getLaunchStackId() and replacement
ActivityOptions.set/getWindowingMode() and set/getActivityType()

Test: Existing tests pass.
Test: go/wm-smoke
Bug: 64146578
Change-Id: Ifc1c35f7b13c335cdf1a1694208e9fe0aea0c1fa
2017-09-19 10:36:52 -07:00
TreeHugger Robot
096a47d59f Merge "Improve WMP dumpsys readability." 2017-09-19 14:36:52 +00:00
Joachim Sauer
101c0258cc Merge "Remove use of MeasureUnit.internalGetInstance" into oc-mr1-dev
am: 61faffd75b

Change-Id: I58020aa141a55750059a57063cea30bcc706e908
2017-09-19 12:45:27 +00:00
Joachim Sauer
61faffd75b Merge "Remove use of MeasureUnit.internalGetInstance" into oc-mr1-dev 2017-09-19 12:39:01 +00:00
Charles He
01014743c0 Merge changes from topic "always-on-vpn" am: cc15c7f8c1
am: 692b55390f

Change-Id: I3931c053c4daff092b06e3e1d673817708762a62
2017-09-19 08:09:41 +00:00
Charles He
692b55390f Merge changes from topic "always-on-vpn"
am: cc15c7f8c1

Change-Id: I7391ce7ecab4f8e73912f420d49150ed7210ea6c
2017-09-19 08:01:45 +00:00
Charles He
cc15c7f8c1 Merge changes from topic "always-on-vpn"
* changes:
  Opt-out for always-on VPN: rename API.
  Opt-out for always-on VPN
2017-09-19 07:50:13 +00:00
Hugo Benichi
7b7392581d Merge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab am: a35bbadeba am: 19625788a1
am: 98177f01f7

Change-Id: I7d57c0f2377f44bcf75e18c80c0306bbfccb9591
2017-09-19 07:42:18 +00:00
Hugo Benichi
98177f01f7 Merge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab am: a35bbadeba
am: 19625788a1

Change-Id: I8ca2a01a95acaaca2599563efd6a21e4372d1f95
2017-09-19 07:36:12 +00:00
Hugo Benichi
19625788a1 Merge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab
am: a35bbadeba

Change-Id: I33eeb421cff21efdaa409d27fb130ff4754ac6b0
2017-09-19 07:29:09 +00:00
Hugo Benichi
a35bbadeba Merge "Wakeup packet events: addressing a few comments"
am: 67d16ec1ab

Change-Id: I67b2e54d45a39005e2091a46e8b90d8cc75fe079
2017-09-19 07:21:12 +00:00
Hugo Benichi
175b574e27 Wakeup packet events: addressing a few comments
This patch addresses a few post-submit comment for
commits f562ac34a51dc and 60c9f63b66921.

Bug: 34901696
Bug: 62179647
Test: runtest frameworks-net
Change-Id: I4abec57e0c6bc869dc57b5eb54582dd977b64c30
2017-09-19 14:07:47 +09:00
Santos Cordon
ac49b2c040 Merge "Fix missing RequiredPermission annotation." into oc-mr1-dev am: f7771c9f77
am: a17abfef56

Change-Id: Idf89c63e91b0677799b3b48aff3f19fd08792998
2017-09-19 00:55:43 +00:00
Santos Cordon
a17abfef56 Merge "Fix missing RequiredPermission annotation." into oc-mr1-dev
am: f7771c9f77

Change-Id: Ib569f91269f75ee288dc515505f9a46b0dbe61c9
2017-09-19 00:47:52 +00:00
TreeHugger Robot
f7771c9f77 Merge "Fix missing RequiredPermission annotation." into oc-mr1-dev 2017-09-19 00:41:04 +00:00
Kurt Nelson
5fe738da3b Merge "Improve StrictMode CTS Testing" 2017-09-18 21:40:33 +00:00
Fyodor Kupolov
76dd22ff1e Dump total execution time per connection pool
Test: dumpsys dbinfo system
Bug: 64262688
Change-Id: I3e094240a2fdb27089b90a78a0dc26822e3c66e8
2017-09-18 14:33:16 -07:00
Felipe Leme
f60da8690f Merge "Added more metrics for Autofill:" into oc-mr1-dev am: d4f72ac3c4
am: b093daa296

Change-Id: Iae09ba2c6a082b87b74bd05320222955bde30dda
2017-09-18 21:26:55 +00:00
Felipe Leme
b093daa296 Merge "Added more metrics for Autofill:" into oc-mr1-dev
am: d4f72ac3c4

Change-Id: I46c2bb4e865c06a84245800dddb0fe018d8a52af
2017-09-18 21:20:23 +00:00
TreeHugger Robot
d4f72ac3c4 Merge "Added more metrics for Autofill:" into oc-mr1-dev 2017-09-18 21:05:44 +00:00
Felipe Leme
cbb7bc1511 Merge "Merge "Clarified how to set for autofill views representing creditcard expiration dates." into oc-mr1-dev am: daf9b2ee15" into oc-mr1-dev-plus-aosp
am: 606f2d1b93

Change-Id: I704f41d28f27c6c1559ab778cd49c35169995fc5
2017-09-18 20:37:44 +00:00