Commit Graph

301953 Commits

Author SHA1 Message Date
Todd Kjos
cfcf110f90 Merge changes I627e47c6,Ic85892b4 into nyc-mr1-dev-plus-aosp am: 85a19e86d0
am: bac0d87926

Change-Id: I6b2e0cf609bed4e046b37a00d52665a8aece12a6
2016-12-16 21:31:38 +00:00
Todd Kjos
2084083fb3 Revert "Add boost to increase the load on newly-forked zygote processes." am: 80fb0b0a44
am: aaa695809a  -s ours

Change-Id: Ic7366126d3c7b2e39e1f31952809c3a2cbddd03b
2016-12-16 21:30:52 +00:00
Jeremy Joslin
145c343166 Implement the request and recommend calls.
Implemented requestRecommendation() and requestScores() to call
through to the bound network recommendation provider if available.

BUG: 33593157
BUG: 33668692
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Change-Id: I8e2ed73dc6876deb1a8bd47bcaeaca8db68f3a44
2016-12-16 13:30:16 -08:00
Vitalii Tomkiv
c14397a863 Make sure Zygote is running at process priority 0 after VM has started. am: 5cbce85fd3
am: 8b238abd30

Change-Id: Ife23e6668dbe22736635e452d56fffc0c7cfa6d8
2016-12-16 21:30:08 +00:00
Jeremy Joslin
fa4f08ecee Implement the discovery of a network recommendation provider.
Updated the NetworkScorerAppManager to examine the list of configured
network recommendation providers and to select the first valid
provider.

As part of this update the old logic of looking for a valid network
scorer has been removed. Scorers/recommendation providers are only
selected from the configured list now. The setActiveScorer() method
has been deprecated as a result.

The NetworkScoreService has been updated to monitor the list of
potential recommendation providers and to reevaluate the binding
whenever they change. It also monitors the new setting for
NETWORK_RECOMMENDATIONS_ENABLED to connect or disconnect from the
provider as needed.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33158362
Change-Id: I42aeb5223da794f71f7e58cb1bdf18817200cbf2
2016-12-16 13:30:03 -08:00
Treehugger Robot
f8882ae834 Merge "Add the webview zygote socket to the zygote whitelist." 2016-12-16 21:25:35 +00:00
TreeHugger Robot
96d5f47217 Merge "Ensure root render node clip cannot expand beyond dirty area" 2016-12-16 21:25:05 +00:00
Joe Onorato
b69b95f0bd Fix the mac build
Change-Id: Id4a5c3b1a6fbebcf2079152c31a907536d7f950d
2016-12-16 13:16:40 -08:00
Todd Kjos
bac0d87926 Merge changes I627e47c6,Ic85892b4 into nyc-mr1-dev-plus-aosp
am: 85a19e86d0

Change-Id: I240a2ae5d97e275d3660a7a2d5e9f2e5e222e813
2016-12-16 21:14:16 +00:00
Todd Kjos
aaa695809a Revert "Add boost to increase the load on newly-forked zygote processes."
am: 80fb0b0a44

Change-Id: Iaec14c37eb4bdf685d47ff28d7caa652bb1057dc
2016-12-16 21:14:13 +00:00
Vitalii Tomkiv
8b238abd30 Make sure Zygote is running at process priority 0 after VM has started.
am: 5cbce85fd3

Change-Id: If47c73fe85b16337e2c60715edb1861e7ef244d3
2016-12-16 21:13:35 +00:00
TreeHugger Robot
85a19e86d0 Merge changes I627e47c6,Ic85892b4 into nyc-mr1-dev-plus-aosp
* changes:
  Revert "Add boost to increase the load on newly-forked zygote processes."
  Make sure Zygote is running at process priority 0 after VM has started.
2016-12-16 21:03:00 +00:00
Philip P. Moltmann
52680b5de4 Merge "Ignore commands if service connection is destroyed." 2016-12-16 21:02:19 +00:00
Android Build Merger (Role)
e08b07ca5b Merge "Merge "Set com.android.networkrecommendation as the default network recommendation service." am: 0b4df21aac am: 4c3b2f5f99 am: de89c74f51 am: 6fcaf62ab7" 2016-12-16 21:01:43 +00:00
Joe LaPenna
07a48af5b9 Merge "Set com.android.networkrecommendation as the default network recommendation service." am: 0b4df21aac am: 4c3b2f5f99 am: de89c74f51
am: 6fcaf62ab7

Change-Id: I7fe9b00b608f16726462a0d85ce1cacdad45cf4a
2016-12-16 21:00:44 +00:00
Jiaquan He
155bd537fa Merge changes Ia0e388ea,I52819a82,I6ff55c60
* changes:
  Add a grid-based layout algorithm for Recents.
  Avoid clipping in Grid-based Recents.
  Add a configuration for Grid-baseed Recents.
2016-12-16 20:59:40 +00:00
Fan Zhang
8e5823a4d7 Merge "Revert "Remove hardcoded actionbar background color."" 2016-12-16 20:56:56 +00:00
Adrian Roos
cd139a6df1 Doze: Fix crash when suppressing pulse
Fixes a crash due to an overzealous state validation.

Change-Id: I363c13206c890a2be56615663f89d80ac256a991
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Fixes: 33463320
2016-12-16 12:56:07 -08:00
Philip P. Moltmann
c56da03d06 Increment vers of PrintRecommendationService
as the Samsung PlugIn was updated.

Test: Let the service generate some recommendations
Change-Id: Ief7ea4f1dddfee92aa9fa83ff53b296ced0e3b55
2016-12-16 12:52:53 -08:00
Joe LaPenna
6fcaf62ab7 Merge "Set com.android.networkrecommendation as the default network recommendation service." am: 0b4df21aac am: 4c3b2f5f99
am: de89c74f51

Change-Id: Iac44d02fa3fc12ca3d375c60a98bad67d0dc21c9
2016-12-16 20:51:56 +00:00
Robin Lee
073724d9fd Merge "Blank out recents for locked work tasks" 2016-12-16 20:51:01 +00:00
Joe LaPenna
de89c74f51 Merge "Set com.android.networkrecommendation as the default network recommendation service." am: 0b4df21aac
am: 4c3b2f5f99

Change-Id: I7ee10f1336c48969fa64cd6f5a45087027a2e8c3
2016-12-16 20:44:05 +00:00
Joe LaPenna
4c3b2f5f99 Merge "Set com.android.networkrecommendation as the default network recommendation service."
am: 0b4df21aac

Change-Id: Ia955fd0d980a5ddcdb5ae6880c7a380251819f44
2016-12-16 20:35:53 +00:00
Jason Monk
b1ca4f84e4 Merge "Turn on dexmaker sharing classloaders for sysui tests" 2016-12-16 20:34:26 +00:00
Fan Zhang
dbf79fe009 Revert "Remove hardcoded actionbar background color."
This reverts commit 697e186820.

Change-Id: Id3223eeba6f07f9b90d1f5e0e4fd42bae1cf3f1b
2016-12-16 20:26:09 +00:00
Treehugger Robot
0b4df21aac Merge "Set com.android.networkrecommendation as the default network recommendation service." 2016-12-16 20:23:48 +00:00
Ta-wei Yen
485d6dec93 Add VisualVoicemailService
VisualVoicemailService can be implemennted by the default dialer to
provide a visual voicemail client similar to the OMTP visual voicemail
spec.

Other APIs such as the SMS filter and hidden text SMS sending are made
public and consolidated into the service interface.

Test: make. CTS tests in a follow up CL
Change-Id: Ib5e9aa15fc098f4c13b15e5dbecf9ab646e0e400
2016-12-16 12:17:30 -08:00
Andreas Gampe
da755319f8 Merge changes Ia4bec085,I59095f2a am: 733d007279 am: 3d17e17b0a am: 2260a6ef9a
am: 33e85b79d2

Change-Id: I86c824948ba0dc5296e898606858ec4f8b51858b
2016-12-16 20:04:27 +00:00
Tamas Berghammer
f4b0962cac Enable logwrapper functionality on user builds am: 0ca16fa584 am: db05d4b4ed am: ed8757a761
am: f00963c71f

Change-Id: I10b9a367a1c2477683dbb404ebb8bfdd41d92263
2016-12-16 20:03:36 +00:00
Tamas Berghammer
a5a598c969 Zygote: Add invoke-with to zygote protocol am: b8f7c351b9 am: 45c2fffc52 am: d71bb300e6
am: b8d0e4d9fc

Change-Id: I7d962109d6fae5e0a359cb3fe04b1fc191e545de
2016-12-16 20:02:41 +00:00
Andreas Gampe
33e85b79d2 Merge changes Ia4bec085,I59095f2a am: 733d007279 am: 3d17e17b0a
am: 2260a6ef9a

Change-Id: I5fd2ded2e619178487606fb6cae91401b92448d8
2016-12-16 19:55:48 +00:00
Tamas Berghammer
f00963c71f Enable logwrapper functionality on user builds am: 0ca16fa584 am: db05d4b4ed
am: ed8757a761

Change-Id: I0f27f6aeb58690addb1c5f7978047ccb8d73ab84
2016-12-16 19:54:58 +00:00
Tamas Berghammer
b8d0e4d9fc Zygote: Add invoke-with to zygote protocol am: b8f7c351b9 am: 45c2fffc52
am: d71bb300e6

Change-Id: Ied54640c44ade52abd6a905526ba7789be14a332
2016-12-16 19:54:11 +00:00
Robert Sesek
44afe8be8f Split core/jni/fd_utils-inl.h into a .h/.cpp pair.
Test: m
Test: sailfish boots

Change-Id: I9ca93f31f6c20b702b2207333a9d56f6592630b0
2016-12-16 14:51:30 -05:00
Andreas Gampe
2260a6ef9a Merge changes Ia4bec085,I59095f2a am: 733d007279
am: 3d17e17b0a

Change-Id: I835f1efcf985c73db9ddb5ffe15d80842afdf6e2
2016-12-16 19:47:42 +00:00
Tamas Berghammer
ed8757a761 Enable logwrapper functionality on user builds am: 0ca16fa584
am: db05d4b4ed

Change-Id: Ic6c3395f9965657a7f9abe580867eeb81b59ed88
2016-12-16 19:46:55 +00:00
Tamas Berghammer
d71bb300e6 Zygote: Add invoke-with to zygote protocol am: b8f7c351b9
am: 45c2fffc52

Change-Id: I90999d84c9694bfeebea8d2c2d95d1d545bac7e8
2016-12-16 19:46:03 +00:00
TreeHugger Robot
c309058efd Merge "fix leaky apps" 2016-12-16 19:43:57 +00:00
Stan Iliev
b66b8bb4a0 Ensure root render node clip cannot expand beyond dirty area
Use new Skia API to enfore clip restriction for root render node.
This brings Skia pipeline in line with HWUI. Unit test is
updated to reflect the new behaviour.

Test: Built and ran angler-eng, ran HWUI unit tests.

Change-Id: Iffce70fd37b6aff45eb6a23c8b1a64f45b5f1463
2016-12-16 14:42:33 -05:00
TreeHugger Robot
b79f91617d Merge "Initialize AtomicBoolean for NetworkLogger#mIsLoggingEnabled" 2016-12-16 19:42:23 +00:00
Ben Lin
bd036d827d Add DocumentsContract#ACTION_DOCUMENT_SETTINGS and Documents#FLAG_SUPPORTS_SETTINGS.
Test: Constants introduction only, no new methods.

Bug: 33668998
Change-Id: Ie322acb931d9267306ec67c99f013f4118e92cd0
2016-12-16 11:41:16 -08:00
Andreas Gampe
3d17e17b0a Merge changes Ia4bec085,I59095f2a
am: 733d007279

Change-Id: Id0f0746af66b4f2e0352e2a0dde9d3f27e23f84c
2016-12-16 19:38:43 +00:00
Tamas Berghammer
db05d4b4ed Enable logwrapper functionality on user builds
am: 0ca16fa584

Change-Id: Ic18991f9a59f05356fcbcc65acc79be43fc68542
2016-12-16 19:38:38 +00:00
Christine Franks
483a94a772 Merge "Add config_demoModePassword" into nyc-mr2-dev am: ee3af13cf2
am: 8ec23fe5b5

Change-Id: I30494333b8db8d7d91a27bf7d9e8aadb0766b542
2016-12-16 19:37:59 +00:00
Tamas Berghammer
45c2fffc52 Zygote: Add invoke-with to zygote protocol
am: b8f7c351b9

Change-Id: I79db6f759b02ef612364fc857102615d51900cd9
2016-12-16 19:37:57 +00:00
Todd Kjos
80fb0b0a44 Revert "Add boost to increase the load on newly-forked zygote processes."
This reverts commit 6d43a861d0.

(cherry picked from commit 0f2ded62ae)

Test: m
Test: Device boots
Change-Id: I627e47c6ead4ce2d2bffa923a32a56d06c022df7
2016-12-16 11:31:30 -08:00
Christine Franks
8ec23fe5b5 Merge "Add config_demoModePassword" into nyc-mr2-dev
am: ee3af13cf2

Change-Id: I90badd6bc1069e015331c697bbde912465e918c1
2016-12-16 19:31:22 +00:00
TreeHugger Robot
6df179cd73 Merge "Revert "try to stop using exotic clipps"" 2016-12-16 19:28:49 +00:00
Adam Lesinski
45489787d7 Reset BatteryStats when too large for clients to handle
When BatteryStats history is too large, the Settings app crashes.
Reset the battery stats by marking an *OVERFLOW* event at the
beginning of the newly reset history.

This seems to happen in Retail mode when the devices are on charger
for an extended period of time and accumulate a sufficiently large
history. Resetting makes sense because the phone is most likely
charged and will reset anyways when unplugged.
Bug: 32540341
Test: Manual

Change-Id: I8c2892458b5d9ce64b1c44aa2e2a000340e71e63
2016-12-16 19:27:53 +00:00
Christine Franks
47a6013581 Add config_demoModePassword am: 566525c6bb
am: 22ed8175ce

Change-Id: I9527aee3276ffa35244edd07fb2e9d4798dd5af5
2016-12-16 19:25:33 +00:00