278691 Commits

Author SHA1 Message Date
Vitalii Tomkiv
82160ca083 Merge changes Ic85892b4,I627e47c6 am: d995c94426
am: d49df21f80

Change-Id: Ia916b1a329769a22bf3831dec03c753018c2e24c
2016-12-17 00:01:23 +00:00
Vitalii Tomkiv
9dd81c9170 Make sure Zygote is running at process priority 0 after VM has started. am: 1e52ce48a6
am: 7f797cc54c

Change-Id: Ic5f00cb15b996317fdf6ac8aa4053c79426f1e23
2016-12-17 00:00:34 +00:00
Todd Kjos
391d3e1aad Revert "Add boost to increase the load on newly-forked zygote processes." am: 8175f0955a
am: 501875bbe8  -s ours

Change-Id: Iaa49788db807d3d1965e6e85e10f6659e760146e
2016-12-16 23:59:45 +00:00
Vitalii Tomkiv
d49df21f80 Merge changes Ic85892b4,I627e47c6
am: d995c94426

Change-Id: If036b0f5b8497667a9c2a916ec74d482def2aed5
2016-12-16 22:35:54 +00:00
Vitalii Tomkiv
7f797cc54c Make sure Zygote is running at process priority 0 after VM has started.
am: 1e52ce48a6

Change-Id: Ia1f511d294a9c718534a4a0b8ad747ef58a98b52
2016-12-16 22:35:49 +00:00
Todd Kjos
501875bbe8 Revert "Add boost to increase the load on newly-forked zygote processes."
am: 8175f0955a

Change-Id: I6f61c45f690647c860e0ceb140857e53bc253f00
2016-12-16 22:35:08 +00:00
Treehugger Robot
d995c94426 Merge changes Ic85892b4,I627e47c6
* changes:
  Make sure Zygote is running at process priority 0 after VM has started.
  Revert "Add boost to increase the load on newly-forked zygote processes."
2016-12-16 22:20:25 +00:00
Torne (Richard Coles)
e19d6d414d Merge "Add the webview zygote socket to the zygote whitelist." am: f8882ae834
am: bc801c663e

Change-Id: If1edf0bf30e8359912235c788a49131b528efb30
2016-12-16 21:45:40 +00:00
Torne (Richard Coles)
bc801c663e Merge "Add the webview zygote socket to the zygote whitelist."
am: f8882ae834

Change-Id: I02d08d8f91567b8bd6709137f98f87550c13f145
2016-12-16 21:38:17 +00:00
Treehugger Robot
f8882ae834 Merge "Add the webview zygote socket to the zygote whitelist." 2016-12-16 21:25: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
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
Treehugger Robot
0b4df21aac Merge "Set com.android.networkrecommendation as the default network recommendation service." 2016-12-16 20:23:48 +00: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
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
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 6d43a861d01ef48f37c69f96346a13d23164a585.

(cherry picked from commit 0f2ded62ae3d88ddb732df182c3bfee3e2729018)

Test: m
Test: Device boots
Change-Id: I627e47c6ead4ce2d2bffa923a32a56d06c022df7
2016-12-16 11:31:30 -08:00
Andreas Gampe
733d007279 Merge changes Ia4bec085,I59095f2a
* changes:
  Enable logwrapper functionality on user builds
  Zygote: Add invoke-with to zygote protocol
2016-12-16 19:24:13 +00:00
Vitalii Tomkiv
5cbce85fd3 Make sure Zygote is running at process priority 0 after VM has started.
Boosting up zygote priority before VM startup, saves ~450ms of boot time
for N9, 180ms for Nexus 5X.

(cherry picked from commit 5d551a5ac3d13706f62a86842ff6851e1d25213b)

Bug: 28866384
Test: m
Test: Device boots
Change-Id: Ic85892b408e15bbc1de7ce706f113f23974fe478
2016-12-16 11:19:33 -08:00
Torne (Richard Coles)
898fd69451 Add the webview zygote socket to the zygote whitelist.
Allow the webview zygote socket to be open at time of fork, so that
webview renderers can be forked successfully.

(cherry picked from commit a7fcb2bc2a65da3743914727adb0df89a4eb0b66)

Test: WebView functions correctly with multiprocess dev setting enabled
Bug: 21643067
Change-Id: I312846433a43a8e4548cb2f98b96b56acf9f5333
2016-12-16 10:53:35 -08:00
Andreas Gampe
77274269ba Merge "NativeLibraryHelper: Minor fixes" am: c1536f0d10
am: 109a82d7e3

Change-Id: I362df209d24a9e2602da1b8cf72e4ea63b5e7f60
2016-12-16 18:53:01 +00:00
Andreas Gampe
109a82d7e3 Merge "NativeLibraryHelper: Minor fixes"
am: c1536f0d10

Change-Id: I81e69315c5f74341ddf3472263462f8fdf935797
2016-12-16 18:44:54 +00:00
Joe LaPenna
56346808a1 Set com.android.networkrecommendation as the default network recommendation service.
BUG: 33224286
Test: Build image and verified the config value was set.

Change-Id: Id657c28753eaa6050bb2d82e45f70f694ce7e7dd
Merged-In: Id657c28753eaa6050bb2d82e45f70f694ce7e7dd
2016-12-16 10:42:23 -08:00
Treehugger Robot
c1536f0d10 Merge "NativeLibraryHelper: Minor fixes" 2016-12-16 18:31:25 +00:00
Vitalii Tomkiv
1e52ce48a6 Make sure Zygote is running at process priority 0 after VM has started.
Boosting up zygote priority before VM startup, saves ~450ms of boot time
for N9, 180ms for Nexus 5X.

(cherry picked from commit 5d551a5ac3d13706f62a86842ff6851e1d25213b)

Bug: 28866384
Test: m
Test: Device boots
Change-Id: Ic85892b408e15bbc1de7ce706f113f23974fe478
2016-12-16 09:06:28 -08:00
Todd Kjos
8175f0955a Revert "Add boost to increase the load on newly-forked zygote processes."
This reverts commit 6d43a861d01ef48f37c69f96346a13d23164a585.

(cherry picked from commit 0f2ded62ae3d88ddb732df182c3bfee3e2729018)

Test: m
Test: Device boots
Change-Id: I627e47c6ead4ce2d2bffa923a32a56d06c022df7
2016-12-16 09:05:50 -08:00
Tamas Berghammer
0ca16fa584 Enable logwrapper functionality on user builds
When an app is debuggable, check whether a script called "wrap.sh" exists
in the app's native library directory. If so, start the app using the
invoke-with functionality over the script. Weaken the invoke-with check
on the zygote side to allow the functionality for debuggable apps.

The goal of the functionality is to make malloc debug, strace and other
similar tools available for NDK based application developers.

Bug: 33668201
Test: manual - debug malloc can be enabled using the new feature
Change-Id: Ia4bec0854cf4dc08446f1671494200f54ef366ee
2016-12-16 09:03:06 -08:00
Tamas Berghammer
b8f7c351b9 Zygote: Add invoke-with to zygote protocol
Add "--invoke-with" to the zygote connection protocol. It was
already understood as an argument by the zygote.

Bug: 33668201
Test: m
Change-Id: I59095f2ac542aadff78a7ff1dded86cf5f192707
2016-12-16 09:03:01 -08:00
Andreas Gampe
c012ae3815 NativeLibraryHelper: Minor fixes
Skip over directories when iterating library files. Ensure correct
temp file naming.

Bug: 33668201
Test: m
Test: Device boots
Test: Manual: Install debuggable and non-debuggable apps
Change-Id: I2f0547e965d9a0c478e333a13b2db02f4eedac2c
2016-12-16 08:23:55 -08:00
Polina Bondarenko
bab9a7e66e Merge "Make TelephonyManager APIs public:" am: 441bfc6718
am: 104a5c7a34

Change-Id: I0d234fd2539a3a9ec58c820a7a7428430aa2255a
2016-12-16 10:45:03 +00:00
Polina Bondarenko
104a5c7a34 Merge "Make TelephonyManager APIs public:"
am: 441bfc6718

Change-Id: I968c8232c746027123beac6481161019e1dc64a5
2016-12-16 10:37:21 +00:00
Treehugger Robot
441bfc6718 Merge "Make TelephonyManager APIs public:" 2016-12-16 10:29:04 +00:00
Colin Cross
2d9b7015a1 Merge "Move libandroid_runtime headers into frameworks/base/core/jni" am: 541845908c
am: 29d7284285

Change-Id: Iedd8583e553fa5046a5434a56c0cf1e2a81851a7
2016-12-16 09:06:49 +00:00
Colin Cross
b1a3ae1f54 Move libandroid_runtime headers into frameworks/base/core/jni am: 71044fe7e5
am: 7f63febbc4

Change-Id: I81b1c89c85ff779509309a83efc16dc140f4a08f
2016-12-16 09:05:54 +00:00
Colin Cross
29d7284285 Merge "Move libandroid_runtime headers into frameworks/base/core/jni"
am: 541845908c

Change-Id: Ia15d168a42bd0290e7cdeb7d19c98210890ed095
2016-12-16 08:57:55 +00:00
Colin Cross
7f63febbc4 Move libandroid_runtime headers into frameworks/base/core/jni
am: 71044fe7e5

Change-Id: I70e7c0ca02a2783ab2c32a9d067ba75092fd81c6
2016-12-16 08:57:51 +00:00
Treehugger Robot
541845908c Merge "Move libandroid_runtime headers into frameworks/base/core/jni" 2016-12-16 08:46:59 +00:00
Mark Lu
db8fdee7a4 Merge "docs: changes to broadcast documentation" into nyc-mr1-dev am: 7b22d549d4
am: b825c71446

Change-Id: I08459d58e96cffebedb1fbe034c4c36acec1c0c0
2016-12-16 05:07:35 +00:00
Mark Lu
fd737791e8 docs: changes to broadcast documentation am: 33ec106d22
am: 377dab8ab3

Change-Id: I2e8377b188ce6a10ea633e089c3a20f9ef7908fd
2016-12-16 05:06:42 +00:00
Mark Lu
b825c71446 Merge "docs: changes to broadcast documentation" into nyc-mr1-dev
am: 7b22d549d4

Change-Id: I41ac74d65f48258c21afcbd39bf1eb518976a5f2
2016-12-16 04:59:10 +00:00
Mark Lu
377dab8ab3 docs: changes to broadcast documentation
am: 33ec106d22

Change-Id: I673efc100756ee6d6ef0d2afa99d48d471ce0987
2016-12-16 04:59:08 +00:00
Mark Lu
7b22d549d4 Merge "docs: changes to broadcast documentation" into nyc-mr1-dev 2016-12-16 04:48:39 +00:00
Tamas Berghammer
db274f7859 Merge "Install all files from the lib directory for debuggable apps" am: c0cc7c646c
am: 736852e2c4

Change-Id: I0faa3ab541ca8d1400719653171b4bcafceada81
2016-12-16 01:21:31 +00:00
Adrian Roos
272c84b5be Merge "Assist app is not launched when long-pressing on Home key" am: 1e41bb4887
am: d81fde40ef

Change-Id: Ia8f58cfa1945a7ad627889545a264c9d1fb06beb
2016-12-16 01:20:12 +00:00
Tamas Berghammer
736852e2c4 Merge "Install all files from the lib directory for debuggable apps"
am: c0cc7c646c

Change-Id: Idc3b17fa4044ab0dd50fa141f1ec5ec8a47810b0
2016-12-16 00:48:21 +00:00
Treehugger Robot
c0cc7c646c Merge "Install all files from the lib directory for debuggable apps" 2016-12-16 00:35:55 +00:00