Dongwon Kang
6588014f98
Merge "Exclude libvndksupport from APEXes." am: 0b4f2532a7
...
am: 1fd25add88
Change-Id: I04124c9aa38de67572c26f914fe7f240704c03af
2019-02-12 17:08:35 -08:00
Dongwon Kang
1fd25add88
Merge "Exclude libvndksupport from APEXes."
...
am: 0b4f2532a7
Change-Id: I61e449d41c1829d1e0ed996eadeee6096461480d
2019-02-12 17:02:30 -08:00
Dongwon Kang
0b4f2532a7
Merge "Exclude libvndksupport from APEXes."
2019-02-13 00:40:53 +00:00
Tom Cherry
5f2cdb7ac8
Merge "Refactor fs_mgr_update_verity_state()" am: 5272f9b017
...
am: 99331422e0
Change-Id: I690b9394f64137a7353fbba4cfca456760553e21
2019-02-12 09:33:26 -08:00
Tom Cherry
99331422e0
Merge "Refactor fs_mgr_update_verity_state()"
...
am: 5272f9b017
Change-Id: I23151b9a2c7bf28e4f62dfdbf5049d0100241cf1
2019-02-12 09:30:02 -08:00
Tom Cherry
5272f9b017
Merge "Refactor fs_mgr_update_verity_state()"
2019-02-12 17:22:09 +00:00
Steven Laver
0ea78a5028
Merge "Allow properties to be derived from partition-specific properties during init" am: 944e6f1d17
...
am: 919a931f1e
Change-Id: Iebd8f7159fa029cfa443877b866d5fb7725aeb5c
2019-02-12 08:56:54 -08:00
Steven Laver
919a931f1e
Merge "Allow properties to be derived from partition-specific properties during init"
...
am: 944e6f1d17
Change-Id: I20fc0657ecb8d2dc383e1349bb01580d806138b7
2019-02-12 08:52:35 -08:00
Steven Laver
944e6f1d17
Merge "Allow properties to be derived from partition-specific properties during init"
2019-02-12 16:44:57 +00:00
Junyu Lai
639875b68f
Merge "Refactor OWNERS files for Android Core Networking" am: 1d7966bd46
...
am: 151677dc51
Change-Id: Ie3d009a984a961e28b067d96f214ec4da90a5bb5
2019-02-12 08:39:09 -08:00
Junyu Lai
151677dc51
Merge "Refactor OWNERS files for Android Core Networking"
...
am: 1d7966bd46
Change-Id: I6b29d05038e53895b8cd60fa08af2eaf388ec342
2019-02-12 08:35:00 -08:00
Junyu Lai
1d7966bd46
Merge "Refactor OWNERS files for Android Core Networking"
2019-02-12 16:20:27 +00:00
junyulai
1e9c3a50fb
Refactor OWNERS files for Android Core Networking
...
Bug: 120829091
Test: build/make/tools/checkowners.py -c -v path/OWNERS
Change-Id: Ia172b5e907a28441d288b84cd74ceea24c58cbcf
2019-02-12 13:25:13 +08:00
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
cf80b6d6e5
Refactor fs_mgr_update_verity_state()
...
fs_mgr_update_verity_state() has two callers with generally different
intentions. One caller loops through all entries in the default fstab
to set partition.<mount_point>.verified properties. The other caller
is only interested in whether or a specific mount point has verity
enabled.
Given this, we refactor fs_mgr_update_verity_state() to
fs_mgr_get_verity_mount_point() which takes a single FstabEntry and
returns the mount point used for the dm-verity device or an empty
option if verity is not enabled on that mount point.
Test: adb-remount-test.sh test on blueline
Change-Id: Ic7dd8390509e95b2931b21e544c919a544138864
2019-02-11 12:50:22 -08:00
Dongwon Kang
9dff515bdb
Exclude libvndksupport from APEXes.
...
Test: build, boot, and checked mount paths.
Bug: 123948402
Change-Id: I687dde4f3d1a7971f68c7c536de5002dcdaecfa4
2019-02-11 11:14:11 -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