Commit graph

41645 commits

Author SHA1 Message Date
Elliott Hughes
ce34b60ab3 Merge "Remove liblogcat." am: 28a3160c07
am: 78c7ac2d95

Change-Id: I227a9d0176c6be6be6b1f2ed529b833cdc7e02e3
2018-06-18 10:01:00 -07:00
Elliott Hughes
78c7ac2d95 Merge "Remove liblogcat."
am: 28a3160c07

Change-Id: Ieb33aed93152daafa65b7d481a0b627d50789647
2018-06-18 09:56:51 -07:00
Elliott Hughes
28a3160c07 Merge "Remove liblogcat." 2018-06-18 16:51:41 +00:00
Tom Cherry
ee536c8a58 Merge "Support oem_#### users/groups for host_init_verifier" am: fe80d069a0
am: e33a115a39

Change-Id: Ib05f82a59ebffca215c9d9efd8645621d3a538f5
2018-06-18 09:09:28 -07:00
Tom Cherry
e33a115a39 Merge "Support oem_#### users/groups for host_init_verifier"
am: fe80d069a0

Change-Id: Ie59394a402c0d8c6cb5d9a3be574ccdb6e71eacc
2018-06-18 09:05:18 -07:00
Tom Cherry
fe80d069a0 Merge "Support oem_#### users/groups for host_init_verifier" 2018-06-18 15:50:52 +00:00
Inseob Kim
ddc022c371 Merge "Add /system/product/* paths to permitted paths" am: c733e5af3c
am: af818a799d

Change-Id: I8f8777531bfd71550609d4c95f175469a6abeded
2018-06-18 00:35:57 -07:00
Inseob Kim
af818a799d Merge "Add /system/product/* paths to permitted paths"
am: c733e5af3c

Change-Id: I010dc1ad943fbf4c2c8524bb4df4cd6d0c699caa
2018-06-18 00:31:48 -07:00
Treehugger Robot
c733e5af3c Merge "Add /system/product/* paths to permitted paths" 2018-06-18 07:18:59 +00:00
Inseob Kim
3918936b9e Add /system/product/* paths to permitted paths
As linker doesn't resolve paths in permitted paths, /system/product
variants should be added to support devices having product partition
under /system.

Bug: 110286945
Test: m -j succeeds on taimen and libraries under /system can dlopen
libraries under /system/product/apps

Change-Id: Icd102d44511702e4ec66c07a367b59c3d9700a44
2018-06-18 14:16:49 +09:00
Elliott Hughes
e54be2dc3e resolve merge conflicts of 8c6f7ec060 to stage-aosp-master
am: d60dad16a3

Change-Id: I1070e877d1ce6e8cab68b15ad092089f13e83012
2018-06-16 10:16:04 -07:00
Elliott Hughes
d60dad16a3 resolve merge conflicts of 8c6f7ec060 to stage-aosp-master
BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ibd2adc272b69d9752f04bee5901fc7590aaaf93a
2018-06-16 08:37:57 -07:00
Elliott Hughes
61b580e15e Remove liblogcat.
Parsing logs isn't an API, and even if you want to do that, popen(3)
already exists.

Bug: N/A
Test: ran tests
Change-Id: I53c40be49141483da0a844a7af47da0b38d29781
2018-06-15 15:32:52 -07:00
Elliott Hughes
8c6f7ec060 Merge "bootstat: remove the only caller of liblogcat." 2018-06-15 21:44:23 +00:00
Elliott Hughes
50a24eb3bc bootstat: remove the only caller of liblogcat.
We need to make progress both on adding the real interface for battery
level and cleaning up logging. This stands in the way of both.

Bug: http://b/77725702
Test: builds
Change-Id: Ia457e497606c2c7965d6895baebb26eef17857c9
Merged-In: Ia457e497606c2c7965d6895baebb26eef17857c9
2018-06-15 12:36:46 -07:00
Elliott Hughes
bb98f295dd bootstat: remove the only caller of liblogcat.
We need to make progress both on adding the real interface for battery
level and cleaning up logging. This stands in the way of both.

Bug: http://b/77725702
Test: builds
Change-Id: Ia457e497606c2c7965d6895baebb26eef17857c9
(cherry picked from commit dbb650dd81)
2018-06-15 17:35:06 +00:00
Tom Cherry
bfcb428318 Merge "Relax host init parser to work with the build system" am: 4632f4e868
am: 831e67192c

Change-Id: I178452f4df006e6f0edf2dcae5796a90d12fc91b
2018-06-15 10:11:18 -07:00
Tom Cherry
831e67192c Merge "Relax host init parser to work with the build system"
am: 4632f4e868

Change-Id: I583443a7e546b7b32454b7cf5ef2e60f3b73cc09
2018-06-15 10:07:13 -07:00
Tom Cherry
4632f4e868 Merge "Relax host init parser to work with the build system" 2018-06-15 17:03:42 +00:00
Elliott Hughes
f46e09a9fe Merge "libsync: add __INTRODUCED_IN annotations." am: 9d9c91acdc
am: 832a5b0736

Change-Id: I080057f01e2d7fd2490891588c19612842823bd4
2018-06-15 09:23:08 -07:00
Elliott Hughes
832a5b0736 Merge "libsync: add __INTRODUCED_IN annotations."
am: 9d9c91acdc

Change-Id: Iddd11dbd4e5169d794e272e850722f6c4982de23
2018-06-15 09:18:17 -07:00
Elliott Hughes
9d9c91acdc Merge "libsync: add __INTRODUCED_IN annotations." 2018-06-15 16:08:51 +00:00
Josh Gao
93916bf636 Merge "debuggerd: add support for Java traces." am: 60e9dad71e
am: 62717cf94a

Change-Id: Ifc3c0edc0e32b6160d07068b591e7768bf46a2ae
2018-06-14 17:56:11 -07:00
Josh Gao
62717cf94a Merge "debuggerd: add support for Java traces."
am: 60e9dad71e

Change-Id: Ife8ab5292036769be660d69fa10284d389f55849
2018-06-14 17:52:32 -07:00
Treehugger Robot
60e9dad71e Merge "debuggerd: add support for Java traces." 2018-06-15 00:40:41 +00:00
Mark Salyzyn
23854244cd resolve merge conflicts of ca57890a80 to stage-aosp-master
am: a58318960e

Change-Id: Icd133b7dfd9050ba94f3b6e1183c1881ab3569b8
2018-06-14 17:21:22 -07:00
Josh Gao
24113ae641 debuggerd: add support for Java traces.
Test: `debuggerd -j $(pidof com.android.settings)`
Change-Id: I051c9b6d313e5350416b3d0743c3fc75f43fbd0c
2018-06-14 15:40:06 -07:00
Elliott Hughes
2a358106b7 libsync: add __INTRODUCED_IN annotations.
Bug: https://github.com/android-ndk/ndk/issues/706
Test: N/A
Change-Id: I8a4f98f2c929e28d81672d7e2e0d5dd63d27c7a6
2018-06-14 15:27:26 -07:00
Mark Salyzyn
a58318960e resolve merge conflicts of ca57890a80 to stage-aosp-master
Bug: 86671991
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ia49d1a9311f6a7a84dd96c31f79ecdc3143084b2
2018-06-14 15:06:36 -07:00
Wei Wang
ba0897641b Merge "Revert "init: Add warning in init first stage mount"" am: 62dbf90225
am: fb0500e0aa

Change-Id: Icc4f3c9ddd59f473db2945b802858c12e38b3ed3
2018-06-14 14:12:32 -07:00
Tom Cherry
290427b442 Support oem_#### users/groups for host_init_verifier
Bug: 36970783
Test: oem_#### users and groups no longer fail in host_init_verifier
Change-Id: I48174f528994d1b225ed897328cc207bdebf07a8
2018-06-14 21:12:02 +00:00
Tom Cherry
863d808c2e Relax host init parser to work with the build system
It's not going to be possible to safely assume $OUT has the right init
scripts to be parsed at a given point, so instead we fall back to
parsing init scripts individually.

This isn't a full revert of the previous commits.  We retain parsing
correctness of the 'import' statements and we retain using the new
host side property functionality.

Also, fix a bug where main was not actually returning -1 on failure

Bug: 36970783
Test: testing individual files still works correctly
Change-Id: I4ae5620f234caa08993deb2c30825904a75f6654
2018-06-14 14:08:33 -07:00
Treehugger Robot
ca57890a80 Merge "bootstat: clear persist.sys.boot.reason once read" 2018-06-14 20:58:25 +00:00
Wei Wang
fb0500e0aa Merge "Revert "init: Add warning in init first stage mount""
am: 62dbf90225

Change-Id: If44dbd27d97e629ffe101578ed017676dde8a62b
2018-06-14 13:56:18 -07:00
Treehugger Robot
62dbf90225 Merge "Revert "init: Add warning in init first stage mount"" 2018-06-14 20:40:17 +00:00
Elliott Hughes
406d6c2639 Merge "mkbootimg: add hridya@ to OWNERS." am: fd342497a3
am: 9985b6eb4f

Change-Id: Ife30e443038b94cd79212a9fafd1a640ad39517b
2018-06-14 13:21:04 -07:00
Elliott Hughes
3d8dfe32e1 Merge "Fix adb logcat return code." am: 5587aba58d
am: e6df12e68c

Change-Id: I196885ca1ad6836d3c2394d32f247319b7162d8a
2018-06-14 13:20:23 -07:00
Elliott Hughes
9985b6eb4f Merge "mkbootimg: add hridya@ to OWNERS."
am: fd342497a3

Change-Id: I9628456f3a00b34b38f5339c73b46f5cde481e39
2018-06-14 13:07:35 -07:00
Elliott Hughes
e6df12e68c Merge "Fix adb logcat return code."
am: 5587aba58d

Change-Id: I7b79c9d5d938a3104613cf063658af3ad8f9858c
2018-06-14 13:07:00 -07:00
Treehugger Robot
fd342497a3 Merge "mkbootimg: add hridya@ to OWNERS." 2018-06-14 19:43:28 +00:00
Elliott Hughes
5587aba58d Merge "Fix adb logcat return code." 2018-06-14 19:38:08 +00:00
Wei Wang
37acac49e2 Revert "init: Add warning in init first stage mount"
This reverts commit fdafb3d0ec.

Reason for revert: coldboot time increase
 
Bug: 110210279
Test: Boot

Change-Id: Ibb92c1856f3fc114685c40df67556131409a9231
2018-06-14 18:51:43 +00:00
Elliott Hughes
31f0f1bcee Fix adb logcat return code.
`adb shell logcat` works, and `adb logcat` should too.

Bug: http://b/110202648
Test: suspended the logd process and manually removed the socket
Change-Id: If14de7c2eb178c7b4210d6bdb44df084615db33a
2018-06-14 10:47:00 -07:00
Hridya Valsaraju
d62424feb2 [automerger skipped] Merge "Populate recovery DTBO offset correctly" into pi-dev
am: 74e8061fd0  -s ours

Change-Id: I545d5e78877a9cf56731f50b2a0b1407d204829b
2018-06-14 10:39:27 -07:00
Hridya Valsaraju
76d79343c4 [automerger skipped] Correct comment in boot image header
am: f514f6f66a  -s ours

Change-Id: I4656d817e574489a72580cea4e3606f904eb92d7
2018-06-14 10:38:29 -07:00
TreeHugger Robot
74e8061fd0 Merge "Populate recovery DTBO offset correctly" into pi-dev 2018-06-14 17:29:54 +00:00
Elliott Hughes
cab23382f4 mkbootimg: add hridya@ to OWNERS.
Bug: N/A
Test: N/A
Change-Id: Ib6a7c74c95855f41b0fe9ad5a4fe5df8c4097450
2018-06-14 10:27:36 -07:00
Sandeep Patil
86b1c9fafa Merge "fs_mgr: dmctl: fix 'dmctl help' output" am: 445eacd326
am: 55be2b0c6c

Change-Id: I0e9e5deda411b86b4a1f3cd1facbe302a71d243e
2018-06-14 09:25:31 -07:00
Sandeep Patil
55be2b0c6c Merge "fs_mgr: dmctl: fix 'dmctl help' output"
am: 445eacd326

Change-Id: Iad17be9dce47a3e809e999ea41522bce102e1c57
2018-06-14 09:21:23 -07:00
Treehugger Robot
445eacd326 Merge "fs_mgr: dmctl: fix 'dmctl help' output" 2018-06-14 16:09:23 +00:00