Commit graph

30037 commits

Author SHA1 Message Date
Elliott Hughes
b2f12e42ca Merge "Revert "Load {default,build}.prop from /{system,vendor,odm}/etc/""
am: f9259b59e8

Change-Id: If9cc2846d31c15b193f2367529d6bb80d100f059
2017-05-25 18:12:39 +00:00
Elliott Hughes
f9259b59e8 Merge "Revert "Load {default,build}.prop from /{system,vendor,odm}/etc/"" 2017-05-25 18:05:39 +00:00
Mark Salyzyn
89df1a124e Merge "liblog: test: CTS: enoent does not qualify"
am: 34cfb3cbc6

Change-Id: Ic9a6ffed0ea3d77d1973aafdbe4a7bddc786acbc
2017-05-25 17:49:08 +00:00
Mark Salyzyn
34cfb3cbc6 Merge "liblog: test: CTS: enoent does not qualify" 2017-05-25 17:44:50 +00:00
Jayant Chowdhary
3ac2ae6077 Merge "Mark libdiskconfig vendor_available."
am: 102eb90837

Change-Id: I18ed695d6df0e9848e979ad15eb56fba8923726c
2017-05-25 17:18:08 +00:00
Jayant Chowdhary
3446d20f23 Merge "Add vendor_available:true to libmemunreachable"
am: e5bc59b5e0

Change-Id: I5f238377784b3a30308e9e5cb0817c71675edddf
2017-05-25 17:17:56 +00:00
Jayant Chowdhary
2c8e4971c4 Merge "Mark libprocinfo vendor_avaialable."
am: 457ae84df7

Change-Id: I05212410225d4cdb0cfa9abbd8b81071c79667db
2017-05-25 17:17:44 +00:00
Jayant Chowdhary
1c8e482995 Merge "Mark libsuspend vendor_available."
am: 6e2d24ab5a

Change-Id: Id716171806d71fabd9a67aa6a60189f30a35d2e2
2017-05-25 17:17:35 +00:00
Jayant Chowdhary
dc940ade6f Merge "Mark libnetutils vendor_available."
am: 7d5c86c0fc

Change-Id: Ief58111dea549224b3bce5cb52fd691d4381fb88
2017-05-25 17:17:29 +00:00
Jayant Chowdhary
44895afce3 Merge "Mark libion vendor_available."
am: b538f96fe1

Change-Id: I195145af90433c29ce9e408197e8d7183cb960bc
2017-05-25 17:17:23 +00:00
Jayant Chowdhary
f3704c443f Merge "Mark libsysutils vendor_available."
am: 52d43ce5ab

Change-Id: Ib1490362c5c800e2bdc96ef06e607c93da1006b2
2017-05-25 17:17:17 +00:00
Jayant Chowdhary
ff98e25491 Merge "Mark libmetricslogger vendor_available."
am: db2e0d4981

Change-Id: Id50e1bb8a7a4fecfde35a63439ac28b1be883e21
2017-05-25 17:17:11 +00:00
Jayant Chowdhary
55a59f9906 Merge "Mark libziparchive vendor_available."
am: e0ee6d31fd

Change-Id: Ic414d368d7043083ce9cf9c09d124fb700ac8866
2017-05-25 17:16:47 +00:00
Jayant Chowdhary
102eb90837 Merge "Mark libdiskconfig vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
e5bc59b5e0 Merge "Add vendor_available:true to libmemunreachable" 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
457ae84df7 Merge "Mark libprocinfo vendor_avaialable." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
6e2d24ab5a Merge "Mark libsuspend vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
7d5c86c0fc Merge "Mark libnetutils vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
b538f96fe1 Merge "Mark libion vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
52d43ce5ab Merge "Mark libsysutils vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
db2e0d4981 Merge "Mark libmetricslogger vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
e0ee6d31fd Merge "Mark libziparchive vendor_available." 2017-05-25 17:08:41 +00:00
GuangHui Liu
0daaf93424 Merge "Create build target to pull adb test scripts."
am: 9c0a541f08

Change-Id: I16d0bd1bc943725f8404230fb7a53c1834fa25b3
2017-05-25 16:54:18 +00:00
GuangHui Liu
9c0a541f08 Merge "Create build target to pull adb test scripts." 2017-05-25 16:48:19 +00:00
Hung-ying Tyan
3346338919 Revert "Load {default,build}.prop from /{system,vendor,odm}/etc/"
This reverts commit 723f1a2b31.

Bug: 62075509
2017-05-25 19:18:17 +08:00
Hung-ying Tyan
26c4bcfadd Merge "Load {default,build}.prop from /{system,vendor,odm}/etc/"
am: a9aa77d259

Change-Id: Ia7ea9b864c978332676110fec7d7d4c3a7b4f88f
2017-05-25 02:40:08 +00:00
Treehugger Robot
a9aa77d259 Merge "Load {default,build}.prop from /{system,vendor,odm}/etc/" 2017-05-25 02:32:37 +00:00
Hung-ying Tyan
723f1a2b31 Load {default,build}.prop from /{system,vendor,odm}/etc/
/default.prop may be moved to /system/etc/ and renamed as prop.default.
/{system,vendor,odm}/build.prop may be moved to /{system,vendor,odm}/etc/
and renamed as prop.build.
This patch makes property_service load prop.* from the new locations
first. Also replaces NULL with nullptr for C++ cleanup.

Bug: 37815285
Test: Booted pixel phones, checked the locations of prop.*, verified
      symlinks, checked a few properties (via adb shell getprop)
      and manually tested a few apps (Camera, Maps etc).
      ODM is not tested as it does not exist on the tested device.
Change-Id: Id8eeb3c1a5728dd04005dfad4733b8e6336f9093
2017-05-25 08:41:08 +08:00
Mark Salyzyn
067e8a0725 liblog: test: CTS: enoent does not qualify
Eliminate liblog@enoent CTS test as it is bypassed on "user" builds
in commit "liblog: test: enoent requires userdebug or eng to run".
This prevents time wasted running a test that bypasses during CTS.

Test: CtsLiblogTestCases_list --gtest_list_tests |
      (grep enoent && echo FAILED)
Bug: 62030441
Change-Id: Ia440db3e74dacdc5c311c640aab3a11844cc195a
2017-05-24 15:30:07 -07:00
Mark Salyzyn
4f75c5383b Merge "liblog: test: android_logger_get_ "kernel" log buffer can be empty"
am: f71d718906

Change-Id: Ia13870fbefd181fda177739b09c735cab585e61a
2017-05-24 22:10:50 +00:00
Mark Salyzyn
f71d718906 Merge "liblog: test: android_logger_get_ "kernel" log buffer can be empty" 2017-05-24 22:02:48 +00:00
Jayant Chowdhary
e37259ec8b Mark libsuspend vendor_available.
libsuspend belongs to vndk-cap. Mark it vendor_available to enable vndk
abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I2243c6d8710b6b2f80375849e82afba28a735507
2017-05-24 14:44:30 -07:00
Vijay Venkatraman
52eaeb4825 Add vendor_available:true to libmemunreachable
Bug: 38244611
Test: build sailfish
Change-Id: Ieb7fdcae4b96a1e1622ba98a7cfb56a95b798452
2017-05-24 14:32:28 -07:00
Jayant Chowdhary
4362e5b0f8 Mark libprocinfo vendor_avaialable.
libprocinfo belongs to vndk-cap. Mark it vendor_available to enable vndk
abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: Ib79c7e3bdde1c7d3cd9f2bb95c284b4690a22ebb
2017-05-24 14:28:22 -07:00
Jayant Chowdhary
2e31a8c4f9 Mark libion vendor_available.
libion belongs to vndk-cap. Mark it vendor_available to enable vndk
abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I8ac290d435b7c4dc5e669bfccb4562495ce92516
2017-05-24 14:25:08 -07:00
Jayant Chowdhary
69d1a88097 Mark libdiskconfig vendor_available.
libdisckonfig is a library which belongs to vndk-cap. Mark it
vendor_available to enable vndk abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I079869f0120fa33893540b72044ddf25c1d04bf2
2017-05-24 14:21:48 -07:00
Jayant Chowdhary
409731efc1 Mark libnetutils vendor_available.
libneutils is a library which belongs to vndk-cap. Mark it
vendor_available to enable vndk abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I32938e3e0bcc1e771290d87f561cc06b9b019046
2017-05-24 14:18:35 -07:00
Jayant Chowdhary
7f96d49370 Mark libmetricslogger vendor_available.
libmetricslogger is a library which belongs to vndk-cap. Mark it
vendor_available to enable vndk abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: If4bb63d3769317bc7cfc0f2f326e8bdd7b565ebe
2017-05-24 14:13:51 -07:00
Jayant Chowdhary
a1bdd2412e Mark libsysutils vendor_available.
libsysutils belongs to vndk-cap. Mark it vendor_available to enable vndk
abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I3ef1d09c7e836549eb13ce68ac7cdcd5923bde0f
2017-05-24 13:01:24 -07:00
Mark Salyzyn
37eaefa9a0 liblog: test: android_logger_get_ "kernel" log buffer can be empty
If user build and for the "kernel" log buffer, allow an empty report.

Test: CTS: User: liblog#android_logger_get_
Test: remove ro.debuggable line from /default.prop,
      run liblog-unit-tests --gtest_filter=*.android_logger_get_
Bug: 62030309
Change-Id: I5f91af07608988f322b3c46574becc308e1d8b13
2017-05-24 12:45:41 -07:00
Jayant Chowdhary
2c87bccf46 Mark libziparchive vendor_available.
libziparchive is a library which belongs to vndk-cap. Mark it
vendor_available to enable header-abi-dumper's invocation to identify it
as a part of the vndk.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: Ibe490cc6c2cfca0f8d58df45317bb3a491d530f0
2017-05-24 12:33:12 -07:00
James Hawkins
58730e3ec0 Merge "bootstat: Set up clang-format-2 for bootstat."
am: efb30b0ccd

Change-Id: Ib1c7f1d31fd88d73258ea1da62ec052c9da15687
2017-05-24 19:10:07 +00:00
Treehugger Robot
efb30b0ccd Merge "bootstat: Set up clang-format-2 for bootstat." 2017-05-24 19:02:35 +00:00
James Hawkins
259dc730da bootstat: Set up clang-format-2 for bootstat.
Bug: None
Test: None
Change-Id: I534801dae4baec52687c8bbc563f8d92fca1a106
2017-05-24 10:19:25 -07:00
Mark Salyzyn
6c919e72f7 Merge "liblog: test: enoent requires userdebug or eng to run"
am: c408e77095

Change-Id: I8cab5126249740241cdb10ed168440fefadcb4ba
2017-05-24 16:45:56 +00:00
Treehugger Robot
c408e77095 Merge "liblog: test: enoent requires userdebug or eng to run" 2017-05-24 16:38:46 +00:00
Bowgo Tsai
9af4b13b8f Merge "fs_mgr: fix SIGSEGV when ostream << nullptr"
am: 225f0d98c8

Change-Id: I4982b949121cb7038b86cc107769048f7cd7fe5e
2017-05-24 16:26:55 +00:00
Treehugger Robot
225f0d98c8 Merge "fs_mgr: fix SIGSEGV when ostream << nullptr" 2017-05-24 16:22:33 +00:00
Mark Salyzyn
38dad6c9e4 liblog: test: enoent requires userdebug or eng to run
Bypass test if we do not have all the prerequisites to run this check
of liblog failure propagation.  We need to be root, or be able to
call su, in order to temporarily stop logd to measure the error
response from liblog.  Basically a "user" build can not have the
levers to deny or fail the logger, preventing our ability to run the
liblog.enoent test.

Test: CTS: User: liblog#enoent
Test: remove ro.debuggable line from /default.prop,
      run liblog-unit-tests --gtest_filter=*.enoent
Bug: 62030441
Change-Id: I52177b8dd3c66d433bddf630e840ee088e13cddc
2017-05-24 07:50:29 -07:00
Bowgo Tsai
59af33c9ed fs_mgr: fix SIGSEGV when ostream << nullptr
fstab_rec.fs_options might be nullptr when printing error message.
Use android::base::StringPrintf() to '(null)' when needed.

Bug: 37759782
Test: Boot device and manaully trigger the output
Change-Id: I1bdf4ba57331aaea9dd5e790f6bf9d9b8bdc8b53
2017-05-24 18:57:16 +08:00