Commit graph

46586 commits

Author SHA1 Message Date
Jiyong Park
e5633c18a4 Merge "apexd is started much earlier to create loopback devices" am: 34f3660e2c
am: bc08d9d207

Change-Id: I8fccf1002a7f962bb9868cc4104b858e60cb99b1
2019-02-11 18:38:36 -08:00
Elliott Hughes
661ce4047d Merge "Clean up libcutils/libutils tests." am: 57150963a3
am: f984d7a403

Change-Id: I9870edb8119ba3850b8f9863de439f3fa1fabaa8
2019-02-11 18:37:45 -08:00
Jiyong Park
bc08d9d207 Merge "apexd is started much earlier to create loopback devices"
am: 34f3660e2c

Change-Id: I3132ba5196465e69a0bc38923487c9bf0ec6b3fb
2019-02-11 18:08:02 -08:00
Elliott Hughes
f984d7a403 Merge "Clean up libcutils/libutils tests."
am: 57150963a3

Change-Id: Ie4113224b9ac63caeed6ed8fa3ea9eb7125fa2a6
2019-02-11 18:07:05 -08:00
Mark Salyzyn
162c92c4db Merge "bootstat: local GetProperty use libbase" am: 0554bccb7a
am: ef2d4afd18

Change-Id: Idae684bdee9d7cb1cb5e3276cfd499887f442d6d
2019-02-11 17:59:05 -08:00
Treehugger Robot
34f3660e2c Merge "apexd is started much earlier to create loopback devices" 2019-02-12 01:55:03 +00:00
Treehugger Robot
57150963a3 Merge "Clean up libcutils/libutils tests." 2019-02-12 01:53:53 +00:00
Mark Salyzyn
ef2d4afd18 Merge "bootstat: local GetProperty use libbase"
am: 0554bccb7a

Change-Id: I209b0418696bc242d75a2f2301310b2f60a4553a
2019-02-11 17:51:51 -08:00
Treehugger Robot
0554bccb7a Merge "bootstat: local GetProperty use libbase" 2019-02-12 01:42:51 +00:00
Tom Cherry
9b777f9268 Merge "Remove logic to fake /system in overlayfs" am: d2ae1c91ed
am: 5d3c8c5bf9

Change-Id: I416e0cc81aa5ef54bb55a15002c91a422942a44b
2019-02-11 17:35:07 -08:00
Tom Cherry
5d3c8c5bf9 Merge "Remove logic to fake /system in overlayfs"
am: d2ae1c91ed

Change-Id: I2878c258682defa379cf4a9bc68fad17e0f2c63f
2019-02-11 17:22:29 -08:00
Tom Cherry
d2ae1c91ed Merge "Remove logic to fake /system in overlayfs" 2019-02-12 01:04:21 +00:00
Mark Salyzyn
88d308d786 bootstat: local GetProperty use libbase
libbase GetProperty collects the properties properly, which also
allow for content greater than 128 bytes in length.

Replace internal GetProperty and SetProperty helpers with libbase
version.

Test: unit tests
Bug: 121161069
Bug: 124114707
Change-Id: Ic0829955705ebaa19d747bb3f6942f4b9786316a
2019-02-11 13:16:59 -08:00
Elliott Hughes
01705e4f1d Clean up libcutils/libutils tests.
Move tests in the same directory as the corresponding code, so it's
easier to see what is/isn't tested.

Fix naming of libcutils_tests (plural) to match the singular that's more
common (even though the plural makes more sense to me).

Add these two to system/core/'s TEST_MAPPING.

Remove obsolete AndroidTest.xml.

Fix a flaky (timing-dependent) libcutils test.

Test: ran tests
Change-Id: I7e0a31ff45c8a152562bf66fc97161594249366e
2019-02-11 13:15:56 -08:00
Tom Cherry
9436c0dc9f Merge "liblog: remove visibility macros" am: ea57928f00
am: 4f05886f51

Change-Id: I760f29b7e54e5863968528a04416ad8dbf644204
2019-02-11 11:03:32 -08:00
Tom Cherry
4f05886f51 Merge "liblog: remove visibility macros"
am: ea57928f00

Change-Id: I5edc052fc08d4d56ff5dd2657b1d25e7736a3830
2019-02-11 10:57:51 -08:00
Tom Cherry
ea57928f00 Merge "liblog: remove visibility macros" 2019-02-11 18:43:13 +00:00
Erick Reyes
00b5fd5c88 Merge "meminfo: make dmabuf_dump dependency on debugfs optional" am: 38c143e8c0
am: b49ddbc5c1

Change-Id: Ib749ce175ca479fa748ab30486c906eb93fb31b1
2019-02-10 08:19:03 -08:00
Erick Reyes
dde98330cb Merge "libmeminfo: make libdmabufinfo and dmabuf_dump vendor available" am: 2d31b4b023
am: 9321874f2e

Change-Id: Ifa04e0bcba6e9a79c96ef079f083e410e98bca84
2019-02-10 08:18:20 -08:00
Erick Reyes
b49ddbc5c1 Merge "meminfo: make dmabuf_dump dependency on debugfs optional"
am: 38c143e8c0

Change-Id: I25b004c4791753a5b404885838e2bbd5be070347
2019-02-10 08:15:47 -08:00
Erick Reyes
9321874f2e Merge "libmeminfo: make libdmabufinfo and dmabuf_dump vendor available"
am: 2d31b4b023

Change-Id: I1c2feb4a7b34b589fa302e473f64838eb4bd29bc
2019-02-10 08:15:09 -08:00
Treehugger Robot
38c143e8c0 Merge "meminfo: make dmabuf_dump dependency on debugfs optional" 2019-02-10 14:55:19 +00:00
Treehugger Robot
2d31b4b023 Merge "libmeminfo: make libdmabufinfo and dmabuf_dump vendor available" 2019-02-10 14:54:53 +00:00
Jiyong Park
407b000fe4 apexd is started much earlier to create loopback devices
This change fixes the problem that apexd is delaying the entire boot
sequence while waiting for the loopback devices to be created. The delay
was as big as 50 ms per a loopback device.

With this change, apexd is started much earlier: from "on post-fs-data"
to "on init". When it is first started, it scans /system/apex to
determine the number of APEXes and creates that number of loopback
devices priori. Since then it enters into the binder loop.

When the data partition is mounted, init lets apexd to initiate the
apexd boot sequence where APEXes in /data is scanned, verified, and
activated. Since the creation of the loopback devices were requested far
before, it is very likely that dev nodes for the devices are ready at
this moment (even if not, this isn't a lose).

Bug: 123404717
Bug: 123772265
Test: compare boot times.
init_zygote_START_TIME_avg is improved from 2831ms to 2622ms on blueline
Change-Id: I12450cee44aa4d17a11def62261c2f82d3f2c718
2019-02-09 14:42:38 +09:00
Jiyong Park
76a125bf4e Merge "Eliminate the APEX name in fs_config using wildcard" am: ea353cab91
am: 2e0f43c6ba

Change-Id: Id6e14d3e5d9c7e479ba2150804aa5f0f9c73469d
2019-02-08 17:45:37 -08:00
Jiyong Park
2e0f43c6ba Merge "Eliminate the APEX name in fs_config using wildcard"
am: ea353cab91

Change-Id: Ie24db2e9126cedff0c7320f0d2b4418f4f16c5f3
2019-02-08 17:41:27 -08:00
Martin Stjernholm
2f5fb2ba2c Merge "Revert^2 "Enable APEX stubs for libnativeloader."" am: 03cb8010ef
am: 41c92187a5

Change-Id: If2a226a575fc68fad66909326afefa7a1dfe81dc
2019-02-08 17:37:36 -08:00
Treehugger Robot
ea353cab91 Merge "Eliminate the APEX name in fs_config using wildcard" 2019-02-09 01:32:50 +00:00
Martin Stjernholm
41c92187a5 Merge "Revert^2 "Enable APEX stubs for libnativeloader.""
am: 03cb8010ef

Change-Id: I2404a616839124be332725e124f2390a85be5a54
2019-02-08 17:28:02 -08:00
Treehugger Robot
03cb8010ef Merge "Revert^2 "Enable APEX stubs for libnativeloader."" 2019-02-09 01:16:32 +00:00
Mark Salyzyn
2dc70539b8 Merge "bootstat: crash when parsing ro.boot.boottime" am: c1fd33546e
am: 2d63629f5f

Change-Id: I534437d1910278f2bb5c3c04417c0e8817c2dba9
2019-02-08 16:51:23 -08:00
Mark Salyzyn
2d63629f5f Merge "bootstat: crash when parsing ro.boot.boottime"
am: c1fd33546e

Change-Id: I21ceeb95872cf5af1b26c5395df050ab5bf51ca5
2019-02-08 16:47:38 -08:00
Tom Cherry
6576e13995 Remove logic to fake /system in overlayfs
It is better to guarantee that a /system or / entry will be present in
first stage mount than it is to maintain the code to fake an entry if
its not present in the input fstab.

Test: adb-remount-test.sh on blueline
Change-Id: I8aa3e704903b8abf06b1c63be071913a9de58eb3
2019-02-08 16:25:24 -08:00
Treehugger Robot
c1fd33546e Merge "bootstat: crash when parsing ro.boot.boottime" 2019-02-08 23:50:42 +00:00
Mark Salyzyn
a9728e72de Merge "fs_mgr: overlayfs: documentation: update kernel patch details" am: 9560f14755
am: 2678d22fd3

Change-Id: Id67c55632daf2b1c48a4b247bed3f6293722f371
2019-02-08 13:01:36 -08:00
Mark Salyzyn
2678d22fd3 Merge "fs_mgr: overlayfs: documentation: update kernel patch details"
am: 9560f14755

Change-Id: I0e2a77e9ab6aafef6cbe741999b2958151dbb100
2019-02-08 12:57:27 -08:00
Mark Salyzyn
9560f14755 Merge "fs_mgr: overlayfs: documentation: update kernel patch details" 2019-02-08 20:46:24 +00:00
Mark Salyzyn
7c72116c43 bootstat: crash when parsing ro.boot.boottime
If ro.boot.boottime is malformed or truncated, it will crash
bootstat operations.

Test: compile
Bug: 121161069
Bug: 124114707
Change-Id: Ie2edcffb6d54a8e0c7f2e9a89ae4b29cce246d75
2019-02-08 19:54:41 +00:00
Mark Salyzyn
60d5467bd8 fs_mgr: overlayfs: documentation: update kernel patch details
Confusion has occurred with respect to the kernel patch requirements,
added some clarity.

Corrected some spelling mistakes in other areas.

Test: inspect gitties and run spell
Bug: 118225373
Change-Id: I4ff9497aa5a584b20e9cb2028342aa4e7e4660c3
2019-02-08 11:49:05 -08:00
Tom Cherry
2d9779e87b liblog: remove visibility macros
Visibility is managed through version scripts now.

Bug: 123349183
Test: build
Change-Id: Ia388611a2ec14d0ff9c3896cfe97ccdce17dbb8b
2019-02-08 11:48:19 -08:00
Jiyong Park
defdb18675 Eliminate the APEX name in fs_config using wildcard
Bug: 123743953
Test: Marlin/sailfish boots to the UI
Change-Id: If1669122be78255879ffb8c8c0a7408a34b5e617
2019-02-09 02:59:17 +09:00
Jiyong Park
6e1875ffea Merge "fs_config supports shell wildcard patterns" am: 2210f80e48
am: 4fe80fa336

Change-Id: I6dfdd5d8979a294bbe3c054f900e4f0f935edae4
2019-02-08 07:54:57 -08:00
Jiyong Park
4fe80fa336 Merge "fs_config supports shell wildcard patterns"
am: 2210f80e48

Change-Id: I05580991a64280346391c5380f220d4fee1a8210
2019-02-08 07:48:54 -08:00
Treehugger Robot
2210f80e48 Merge "fs_config supports shell wildcard patterns" 2019-02-08 15:38:43 +00:00
Colin Cross
a06f9d2a62 Merge "Fix 32-bit dmabuf_dump build" am: 2dcb4160fa
am: f2ec660d23

Change-Id: Ic594a48b7a99088420ce804c64a2930166544fda
2019-02-08 01:32:41 -08:00
Colin Cross
f2ec660d23 Merge "Fix 32-bit dmabuf_dump build"
am: 2dcb4160fa

Change-Id: If2769548d19ae665d826d62ce02c9cd0cb23e93b
2019-02-08 01:28:31 -08:00
Treehugger Robot
2dcb4160fa Merge "Fix 32-bit dmabuf_dump build" 2019-02-08 09:22:05 +00:00
Nicolas Geoffray
5b6ca2baf8 Merge "Don't abort the build if a repo doesn't have the test/vts/tools/build/." am: 82503887fa
am: 4cfa281a8d

Change-Id: I549915bf81a193cfd9488d2b83de2e9e400dea89
2019-02-08 01:04:35 -08:00
Nicolas Geoffray
4cfa281a8d Merge "Don't abort the build if a repo doesn't have the test/vts/tools/build/."
am: 82503887fa

Change-Id: I3414b6d9ce6d6251fd37d396937c43fbe7bb2cd6
2019-02-08 01:00:25 -08:00
Nicolas Geoffray
82503887fa Merge "Don't abort the build if a repo doesn't have the test/vts/tools/build/." 2019-02-08 08:48:28 +00:00