Commit graph

36608 commits

Author SHA1 Message Date
Justin Yun
30bc0971fb Merge "Mark the modules as VNDK in Android.bp" am: 5d1e740e7f am: 8c03107614
am: 8ca8cecdbc  -s ours

Change-Id: I3b72e4102c154d8d8e14f3d333371f12a58f68ab
2017-09-15 16:36:28 +00:00
Justin Yun
8ca8cecdbc Merge "Mark the modules as VNDK in Android.bp" am: 5d1e740e7f
am: 8c03107614

Change-Id: I8b59cbafbd8fd2c5c990da126cc653aaebbe735e
2017-09-15 16:33:25 +00:00
Justin Yun
8c03107614 Merge "Mark the modules as VNDK in Android.bp"
am: 5d1e740e7f

Change-Id: Ie22de4d907116cf2ba74f875679506a3d2a41feb
2017-09-15 16:31:01 +00:00
Treehugger Robot
5d1e740e7f Merge "Mark the modules as VNDK in Android.bp" 2017-09-15 16:23:30 +00:00
Jae Shin
a3fc9b3985 resolve merge conflicts of 0dd4b6aa3 to stage-aosp-master am: 0ed84e3e91
am: d7b3810816  -s ours

Change-Id: Ief1df827ddc756c74abc56f73c9df763afc2f351
2017-09-15 15:36:32 +00:00
Jae Shin
d7b3810816 resolve merge conflicts of 0dd4b6aa3 to stage-aosp-master
am: 0ed84e3e91

Change-Id: I6d9fc1a64b90d52cd71c25313aa63949300e4112
2017-09-15 15:34:02 +00:00
Jae Shin
0ed84e3e91 resolve merge conflicts of 0dd4b6aa3 to stage-aosp-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ia163118a25cfc2e079803c230d69e55357acd3fa
2017-09-15 16:50:34 +09:00
Jae Shin
0dd4b6aa39 Merge "gatekeeperd: use std::unique_ptr" 2017-09-15 07:00:07 +00:00
Jae Shin
d7b005ee23 Merge changes I60f883c0,Ie5955865 am: 8c3e940324 am: 3eaaa508e9
am: d558c377f6  -s ours

Change-Id: I2b56fb9d62e835c9ec5d90c71b564927ea00f71c
2017-09-15 03:35:24 +00:00
Robert Benea
4d4c39ca3b Merge "Downgrade memory pressure events" into oc-mr1-dev
am: 767eb64f36

Change-Id: Iaff6ac534d5bedb25ec2bd93a0d0a53b17cbf8e6
2017-09-15 02:59:20 +00:00
Jae Shin
d558c377f6 Merge changes I60f883c0,Ie5955865 am: 8c3e940324
am: 3eaaa508e9

Change-Id: I5c3b74944fe4c9899f3692553584130f94b6fdc2
2017-09-15 02:07:50 +00:00
TreeHugger Robot
767eb64f36 Merge "Downgrade memory pressure events" into oc-mr1-dev 2017-09-15 01:42:33 +00:00
Jae Shin
3eaaa508e9 Merge changes I60f883c0,Ie5955865
am: 8c3e940324

Change-Id: I97b92d3ea89bd81798ec1ca0859197617970069b
2017-09-15 01:41:14 +00:00
Justin Yun
919cc55a7e gatekeeperd: use std::unique_ptr
std::unique_ptr is available in this scope. Substitute the UniquePtr to
std::unique_ptr.

Bug: 63686260
Test: build and boot
Merged-In: Ib8ea3fb5c49c0e92d962f65f1139b073168f8698
Change-Id: Ib8ea3fb5c49c0e92d962f65f1139b073168f8698
(cherry picked from commit 68b0ec6487)
2017-09-15 01:12:43 +00:00
Jae Shin
8c3e940324 Merge changes I60f883c0,Ie5955865
* changes:
  Mark libsync as LL-NDK
  Fix NDK libsync to match ndk/sync.h
2017-09-15 01:02:53 +00:00
Jiyong Park
b87f884b99 Mark libsync as LL-NDK
libsync is used both by platform (e.g. libui.so) and by same-process
HALs (e.g. android.hardware.graphics.mapper@2.0-impl.so). Therefore it
is eligible for either VNDK-SP or LL-NDK. Among the two choices, LL-NDK
was selected because it is already an NDK and is just a thin wrapper
around a few kernel ioctls.

However, since libui (which is a vendor_available:true library) is using
more symbols that are not available to NDK clients, the extra symbols
are exposed as # vndk tag so that they are only available to VNDK
clients, but not to NDK clients.

Bug: 63866913
Test: BOARD_VNDK_VERSION=current m -j successful (2017 pixel)
Test: the built image is bootable
Merged-In: I60f883c049bd9b4562e6ce34d34ead47ba28af5f
Change-Id: I60f883c049bd9b4562e6ce34d34ead47ba28af5f
(cherry picked from commit 058e0919f6)
2017-09-15 00:33:52 +00:00
Jesse Hall
b5ec6a032c Fix NDK libsync to match ndk/sync.h
The header names were changed during review, but the library map file
wasn't updated.

Bug: 62229958
Test: CtsGraphicsTestCases:android.graphics.cts.SyncTest
Merged-In: Ie5955865667b35067f1ee209933f159f170419cd
Change-Id: Ie5955865667b35067f1ee209933f159f170419cd
(cherry picked from commit 59d9ee5d02)
2017-09-15 00:32:27 +00:00
Robert Benea
6e8e710675 Downgrade memory pressure events
If the system has enough memory the pressure events are ignored or
downgraded from critical to medium.

Bug: 65642829
Test: tested on gobo
Change-Id: I44e66d2e35508aceee5c1719313db217b80d582e
2017-09-14 13:47:40 -07:00
Josh Gao
2b97b03ba1 Merge changes I0ed00441,I12d46493,Ib484f701 am: 0a01830612 am: 1425641300
am: da20ef4684

Change-Id: I0f5508a13fcf46cd51ca556c13fc43798d4a6fe7
2017-09-14 20:42:30 +00:00
Josh Gao
da20ef4684 Merge changes I0ed00441,I12d46493,Ib484f701 am: 0a01830612
am: 1425641300

Change-Id: I6fbd5287542ee758c6a15fff544b12bac8205eb4
2017-09-14 20:37:14 +00:00
Josh Gao
1425641300 Merge changes I0ed00441,I12d46493,Ib484f701
am: 0a01830612

Change-Id: I8b4566f0daea2181227facea12d82ffd566889b5
2017-09-14 20:35:31 +00:00
Josh Gao
0a01830612 Merge changes I0ed00441,I12d46493,Ib484f701
* changes:
  Revert "adb: fix deadlock between transport_unref and usb_close."
  adb: add lock to remove_socket.
  adb: reformat comments.
2017-09-14 20:04:42 +00:00
Elliott Hughes
0fa1eff6bc Merge "Update shell and utilities docs for O." am: 1ca9852366 am: 80c5a9bb77
am: 07f2b44588

Change-Id: Icc71d97a972e849fa054ce441ad1d7652b638632
2017-09-14 19:34:37 +00:00
Elliott Hughes
07f2b44588 Merge "Update shell and utilities docs for O." am: 1ca9852366
am: 80c5a9bb77

Change-Id: I5126dfd3de3c636f67eb003d47b6fc7b5021a8c9
2017-09-14 19:31:37 +00:00
Elliott Hughes
80c5a9bb77 Merge "Update shell and utilities docs for O."
am: 1ca9852366

Change-Id: Ibc7add73df85e6d8fec29a0531e3ac41df07938e
2017-09-14 19:29:08 +00:00
Treehugger Robot
1ca9852366 Merge "Update shell and utilities docs for O." 2017-09-14 19:22:06 +00:00
Richard Uhler
f5c8cd2ff9 Merge "Revert "Add derive_gid flag for mounting sdcardfs"" into oc-mr1-dev
am: c397915d72

Change-Id: I234383704d430ccfd7f50d4e788d164b8b221786
2017-09-14 15:40:58 +00:00
Josh Gao
dcb92234e4 Merge "debuggerd_fallback: print maps." into oc-mr1-dev
am: 4fda598b08  -s ours

Change-Id: I35b2b9f8ab1f2fc10c4e0212edbd1336e8a51e27
2017-09-14 15:40:30 +00:00
Daniel Rosenberg
2d7de53a73 Merge "Add derive_gid flag for mounting sdcardfs" into oc-mr1-dev
am: 47c5929bb5

Change-Id: Iaae0c0db2d17a402462cfebf07d6d55840a580f1
2017-09-14 15:39:46 +00:00
Richard Uhler
c397915d72 Merge "Revert "Add derive_gid flag for mounting sdcardfs"" into oc-mr1-dev 2017-09-14 14:55:32 +00:00
Jiyong Park
25a03a23a8 Merge changes from topic "vndk_jni" into oc-mr1-dev
am: 6f7d928940

Change-Id: I69af1cdf06bf71f1125644c7064b40444613eaa7
2017-09-14 14:52:51 +00:00
Jiyong Park
6eaa30765e add llndk|vndksp.libraries.txt to vndk_package
am: 26335f89b1

Change-Id: Idc8d3ff696c782963337fa21ead8a7665c0a1e98
2017-09-14 14:52:40 +00:00
Tom Cherry
988220c73c Merge "init: fix variable scope issue with ExpandArgs()" into oc-mr1-dev
am: ece234f9ac  -s ours

Change-Id: I62d19f8801886164e281da42556c9206b6dc9adf
2017-09-14 14:52:03 +00:00
Richard Uhler
28dbcaa23b Revert "Add derive_gid flag for mounting sdcardfs"
This reverts commit 8ca02bbeb5.

Causes boot loop on bullhead.
Bug: 63245673
Bug: 65660058

Change-Id: Ife5f83ebf56fb956e5015d2797b5b47a515ec171
2017-09-14 14:51:36 +00:00
Tom Cherry
e171070d59 init: fix signal handling and LOG(FATAL) in child processes
am: 43a7da2c40  -s ours

Change-Id: Iebb3723088f30725a939945c0640175680cda0e6
2017-09-14 14:10:43 +00:00
Narayan Kamath
fa6836f560 Merge "tombstoned: Fix calls to evconnlistener_new." am: e997ba9d22 am: 17785d2030
am: ad458ebcd6

Change-Id: I7bc7e3adbd02438b5e9169edb220a19a9f81d4da
2017-09-14 08:42:24 +00:00
Narayan Kamath
ad458ebcd6 Merge "tombstoned: Fix calls to evconnlistener_new." am: e997ba9d22
am: 17785d2030

Change-Id: I6193a241c5ed48064e1d22f84c4c47457e0e1c5c
2017-09-14 08:39:34 +00:00
Narayan Kamath
17785d2030 Merge "tombstoned: Fix calls to evconnlistener_new."
am: e997ba9d22

Change-Id: I039af85caf1a81a753caa0c069b3e97253198c59
2017-09-14 08:36:25 +00:00
Justin Yun
6a7e882316 Mark the modules as VNDK in Android.bp
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK module is formated as below:
vndk: {
        enabled: true,
},

VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
Change-Id: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
(cherry picked from commit 9b0ed72942)
2017-09-14 08:35:16 +00:00
Narayan Kamath
e997ba9d22 Merge "tombstoned: Fix calls to evconnlistener_new." 2017-09-14 08:33:49 +00:00
Josh Gao
f034660179 Merge "debuggerd_fallback: print maps." am: 26123d7ec0 am: 4abd463d20
am: 1987fb6f7c

Change-Id: I417ca7dbc9da9c907357f96241766a07b2ef4267
2017-09-14 06:12:31 +00:00
Justin Yun
705f601b84 Merge "Mark libmemtrack as VNDK in Android.bp" am: 0978f02468 am: 5dd33fe086
am: 347685b77d  -s ours

Change-Id: Ib7e79e0f7c8826821533d6db5fff18c23dfe22f0
2017-09-14 06:12:03 +00:00
James Hawkins
7e992d8b52 bootstat: Log the ro.boot.bootreason property through the new platform_reason Tron field.
am: ea2e67526d  -s ours

Change-Id: Ic44ade21e121e7ded22bf34a990ed58bb315b6f1
2017-09-14 06:06:22 +00:00
Josh Gao
4fda598b08 Merge "debuggerd_fallback: print maps." into oc-mr1-dev 2017-09-14 06:02:48 +00:00
Josh Gao
1987fb6f7c Merge "debuggerd_fallback: print maps." am: 26123d7ec0
am: 4abd463d20

Change-Id: Ic0ee23fcaa51aa1ceeef0da9df013033ff2acd37
2017-09-14 05:59:13 +00:00
Josh Gao
4abd463d20 Merge "debuggerd_fallback: print maps."
am: 26123d7ec0

Change-Id: I122af30e6f3e205308a44ebf9bdbc7128ce3f246
2017-09-14 05:56:46 +00:00
Justin Yun
347685b77d Merge "Mark libmemtrack as VNDK in Android.bp" am: 0978f02468
am: 5dd33fe086

Change-Id: Id5f5553d9f94d0d3ae446fb888bd65085dd1d623
2017-09-14 05:54:15 +00:00
Treehugger Robot
26123d7ec0 Merge "debuggerd_fallback: print maps." 2017-09-14 05:49:24 +00:00
Justin Yun
5dd33fe086 Merge "Mark libmemtrack as VNDK in Android.bp"
am: 0978f02468

Change-Id: Ia0e454b24dece7ef2ca4d5367df104953fe41c95
2017-09-14 05:36:44 +00:00
Treehugger Robot
0978f02468 Merge "Mark libmemtrack as VNDK in Android.bp" 2017-09-14 05:26:14 +00:00