Mark Salyzyn
d544b318fb
Merge "logcat: transition to Android.bp" am: ad7f1bc0b3
...
am: b5a69e8e70
Change-Id: Id11adfa25f4dd6d00c92bd411451b2d4cef3ca87
2017-08-09 23:28:44 +00:00
Mark Salyzyn
b5a69e8e70
Merge "logcat: transition to Android.bp"
...
am: ad7f1bc0b3
Change-Id: I689b94aad609a4fd9734b159f305868eae5764ea
2017-08-09 23:26:24 +00:00
Mark Salyzyn
ad7f1bc0b3
Merge "logcat: transition to Android.bp"
2017-08-09 23:18:00 +00:00
Mark Salyzyn
507f69f80e
logcat: transition to Android.bp
...
Switch logcat, logcatd and liblogcat to use Android.bp.
Test: compile
Change-Id: I01c0d8cbc6a713ad5b4b413677574e3c6463afcb
2017-08-09 13:30:03 -07:00
Mark Salyzyn
8c05cd743e
Merge "logcat: fix error propagation." am: 2d1d8812cc
...
am: 94984cf4bd
Change-Id: I3e792200935470b0c75e70b9d0aa339ce8eb967d
2017-08-09 01:04:30 +00:00
Mark Salyzyn
94984cf4bd
Merge "logcat: fix error propagation."
...
am: 2d1d8812cc
Change-Id: I0676572a6ff6e9591afb7f4e99cc64b92147dfef
2017-08-09 00:59:33 +00:00
Treehugger Robot
2d1d8812cc
Merge "logcat: fix error propagation."
2017-08-09 00:45:20 +00:00
Tom Cherry
7fd1bc8fc3
Merge "ueventd: add test to ensure selabel_lookup() is thread safe" am: 2c3a2a8c5c
...
am: 3df3ec34e4
Change-Id: I3c260731c56e903f53c20a0c52920f3ecfe3fe00
2017-08-08 23:04:04 +00:00
Mark Salyzyn
210e43c354
logcat: fix error propagation.
...
Fix some _serious_ error propagation issues discovered with
additional warning flags (-Wextra).
Test: compile
Change-Id: I5148550092e4ecb6cafba91229c350c516e7e244
2017-08-08 15:49:21 -07:00
Tom Cherry
3df3ec34e4
Merge "ueventd: add test to ensure selabel_lookup() is thread safe"
...
am: 2c3a2a8c5c
Change-Id: I57b1fb1906671950a4374f515438349f368f7cad
2017-08-08 22:48:04 +00:00
Tom Cherry
2c3a2a8c5c
Merge "ueventd: add test to ensure selabel_lookup() is thread safe"
2017-08-08 22:00:26 +00:00
Tom Cherry
57ef66b6fa
ueventd: add test to ensure selabel_lookup() is thread safe
...
selabel_lookup() must be threadsafe, but had failed in the past.
Bug: 63861738
Test: this newly added test
Change-Id: I78bdb8e555433e8217ac6d4be112ba91de9f03bb
2017-08-08 13:11:44 -07:00
David Zeuthen
6c22339cc9
Merge "fastboot: Add --disable-verity and --disable-verification options." am: 24c39f0b4c
...
am: 9ef86681a1
Change-Id: If081fb15b7acc56f8b67be8427b9ad4805a02cbb
2017-08-08 20:11:09 +00:00
David Zeuthen
9ef86681a1
Merge "fastboot: Add --disable-verity and --disable-verification options."
...
am: 24c39f0b4c
Change-Id: I1fd796f55b15bd7a9f06b4a4f7c792565a117f86
2017-08-08 20:07:39 +00:00
Treehugger Robot
24c39f0b4c
Merge "fastboot: Add --disable-verity and --disable-verification options."
2017-08-08 20:01:16 +00:00
Robert Quattlebaum
91f952dda0
Merge "Add AID for LoWPAN subsystem" am: f602dd4ced
...
am: 4ff32084d5
Change-Id: Ib4ff4c6eee71e1bf189e5cb945405cd679d77112
2017-08-07 23:56:49 +00:00
Robert Quattlebaum
4ff32084d5
Merge "Add AID for LoWPAN subsystem"
...
am: f602dd4ced
Change-Id: Idd091e64fd9cab58f38da67e0b32e0aa9c98fb7d
2017-08-07 23:55:19 +00:00
Treehugger Robot
f602dd4ced
Merge "Add AID for LoWPAN subsystem"
2017-08-07 23:50:02 +00:00
David Zeuthen
b6ea435a20
fastboot: Add --disable-verity and --disable-verification options.
...
This can be used to disable verity and/or verification when flashing a
build to a device. It works with both 'fastboot flashall' and
'fastboot flash vbmeta /path/to/vbmeta.img'.
Bug: 62903976
Test: Manually tested.
Change-Id: Iad22d42a9dd5befd70ecd0224803721a10a28d90
2017-08-07 16:52:55 -04:00
Robert Quattlebaum
01f7576a3e
Add AID for LoWPAN subsystem
...
Bug: b/64399805
Change-Id: Ida6aa60d8beee9151a723826d99c1e9044dc05be
2017-08-04 16:19:34 -07:00
Chih-hung Hsieh
b083ff4329
Merge "Fix clang-tidy performance warnings in system/core." am: 69ff5009c7
...
am: 18f9c66823
Change-Id: Ica41ab22d44bd8d166b4a694c02b9b639a852777
2017-08-04 21:20:59 +00:00
Chih-hung Hsieh
18f9c66823
Merge "Fix clang-tidy performance warnings in system/core."
...
am: 69ff5009c7
Change-Id: I74373e9f0e7f83c9280f4700ea55b387c3384c2c
2017-08-04 21:14:30 +00:00
Chih-hung Hsieh
69ff5009c7
Merge "Fix clang-tidy performance warnings in system/core."
2017-08-04 21:05:51 +00:00
Tom Cherry
613fd13dc2
Merge "init: more unique_fd, less goto" am: 401c9cb330
...
am: 0908ca721a
Change-Id: Iab85433cbe327daf6854444dc235adf31acd0925
2017-08-04 20:32:56 +00:00
Tom Cherry
0908ca721a
Merge "init: more unique_fd, less goto"
...
am: 401c9cb330
Change-Id: If621924a00686b41889d4e75ad360c3c3d3d4a85
2017-08-04 20:26:57 +00:00
Tom Cherry
401c9cb330
Merge "init: more unique_fd, less goto"
2017-08-04 20:13:10 +00:00
Tom Cherry
7c4609cfb3
init: more unique_fd, less goto
...
Test: boot bullhead
Change-Id: I3c31ca045538d9c9dbbf9c8f27f63033344627fd
2017-08-04 20:12:56 +00:00
Earl Ou
6cc4df26d6
Merge "libcutils: write trace event into socket in container" am: 59b33cb01c
...
am: 08d9cc3744
Change-Id: Ie6f05ca73b0391f6b739e43cf0920d5c52c0d882
2017-08-04 01:10:12 +00:00
Earl Ou
08d9cc3744
Merge "libcutils: write trace event into socket in container"
...
am: 59b33cb01c
Change-Id: Ie59769f5820a8bb5991ba3dca53df83c5e90f795
2017-08-04 01:04:15 +00:00
Treehugger Robot
59b33cb01c
Merge "libcutils: write trace event into socket in container"
2017-08-04 00:50:59 +00:00
Jocelyn Bohr
18e3e2a66f
Merge "Return correct error code when finish input length is too long." am: 90657bbeab
...
am: efea269a75
Change-Id: Ida8d5c1742b6913b1f3b744c303e8abc3280b718
2017-08-03 23:51:11 +00:00
Jocelyn Bohr
efea269a75
Merge "Return correct error code when finish input length is too long."
...
am: 90657bbeab
Change-Id: I96ea16c713efcc51533b9aafab3624b0070b3dc3
2017-08-03 23:44:35 +00:00
Treehugger Robot
90657bbeab
Merge "Return correct error code when finish input length is too long."
2017-08-03 23:35:05 +00:00
Jocelyn Bohr
f1e5edf765
Return correct error code when finish input length is too long.
...
Bug: 63745895
Change-Id: I465bf9138a0a21363f89f2c6074f7108ee33af70
2017-08-03 13:59:10 -07:00
Chih-Hung Hsieh
e5d975c7cc
Fix clang-tidy performance warnings in system/core.
...
* Use const reference parameter type to avoid unnecessary copy.
* Use more efficient overloaded string methods.
Bug: 30407689
Bug: 30411878
Test: build with WITH_TIDY=1
Change-Id: Ia5a00581e718d412255d6177e5a7c286cdfbec11
2017-08-03 13:58:05 -07:00
Christopher Ferris
88636a05ad
Merge "Add support for the new unwind method." am: 172b1d0008
...
am: 0d35dffc18
Change-Id: Ib6285bf8fa8cccba5200d0af9bfb4940a102f254
2017-08-03 20:41:59 +00:00
Yifan Hong
2615527f08
Merge changes from topic 'libcutils_private_headers' am: 472808a570
...
am: 6c2d927c34
Change-Id: I0718ab31e074b716f9be50a25330ffa8bdaae47d
2017-08-03 20:41:40 +00:00
Christopher Ferris
0d35dffc18
Merge "Add support for the new unwind method."
...
am: 172b1d0008
Change-Id: Ia42e055e36053f8618dc0e2c13c2cc84bc1a148d
2017-08-03 20:34:51 +00:00
Yifan Hong
6c2d927c34
Merge changes from topic 'libcutils_private_headers'
...
am: 472808a570
Change-Id: Ia4963b1b2c50bdcc3d9ccc6a954a465cbf9b5de0
2017-08-03 20:34:31 +00:00
Christopher Ferris
172b1d0008
Merge "Add support for the new unwind method."
2017-08-03 19:08:34 +00:00
Yifan Hong
472808a570
Merge changes from topic 'libcutils_private_headers'
...
* changes:
Remove private headers from libcutils.vendor
Move android_filesystem_config.h => fs_config.h
2017-08-03 18:24:04 +00:00
Christopher Ferris
6f3981c181
Add support for the new unwind method.
...
Also add a comment to the GetElf function to indicate that it never returns
nullptr.
Also needed to add this library to the a million and one places that the vndk
has hard-coded this data.
Bug: 23762183
Test: Built, nothing uses the new code.
Test: However, I did run backtrace_test using this code, and all tests pass.
Change-Id: Ib270665dcb7a7607075e36d88be76dbde6e2faa8
(cherry picked from commit dc4104b720 )
2017-08-03 10:15:44 -07:00
Earl Ou
e4030384c4
libcutils: write trace event into socket in container
...
When Android is running in a container, ftrace trace_marker may be
disabled, e.g. Chrome OS verified mode. To enable trace, a socket is
created for everyone to send trace event.
Modify libcutils so apps using it can write trace to the socket.
To achieve this goal without touching code for normal device,
trace-container.c is created for code specific to container. Shared
code between trace-dev.c and trace-container.c is moved to local
trace-dev.h.
Note that to avoid sharing FDs across different processes, Zygote closes
FD and reopen it to /dev/null if it is a socket. Therefore, we need to
manually close FD and reopen it again after forking. This is done in
the atrace_set_tracing_enabled as Zygote also use it to clear flags
during forking.
Related change:
- http://crrev.com/2400163003 (Chromium)
- http://ag/2028075 (Android system/core)
- http://ag/1738271 (Android device/google/cheets2)
Bug: 29776474, 62410809
Test: run chrome://tracing and see data from the host side.
Change-Id: I3fe969e284b972c28e4f32f23cd948aaea61a043
2017-08-03 15:16:44 +08:00
George Burgess IV
2bf647ae24
Merge "cutils: update property_get to use diagnose_if." am: 5c655991f5
...
am: f5a677a7d3
Change-Id: I39671d3f090f605d2f9ba3636c342ab5ee46c6bc
2017-08-03 02:28:23 +00:00
Elliott Hughes
514464f4ca
Merge "Stop asking for old versions of C++ in system/core." am: e61e2fcf21
...
am: 0915192d8b
Change-Id: I4e41e4f243d68f73b67dc066d5b780ef5926b749
2017-08-03 02:28:04 +00:00
George Burgess IV
f5a677a7d3
Merge "cutils: update property_get to use diagnose_if."
...
am: 5c655991f5
Change-Id: I7dff3fb2ff288800d72d9c632617639fa7e6bf9e
2017-08-03 02:23:30 +00:00
Elliott Hughes
0915192d8b
Merge "Stop asking for old versions of C++ in system/core."
...
am: e61e2fcf21
Change-Id: I9c424e8bb99c7f03baefc794e4b095b8d29db3bb
2017-08-03 02:23:09 +00:00
Treehugger Robot
5c655991f5
Merge "cutils: update property_get to use diagnose_if."
2017-08-03 02:15:54 +00:00
Treehugger Robot
e61e2fcf21
Merge "Stop asking for old versions of C++ in system/core."
2017-08-03 02:14:45 +00:00
Elliott Hughes
b664dd38b9
Merge "Fix reference to out of scope local in adb_thread_setname." am: b31ca1a64f
...
am: 15d565bbca
Change-Id: Ibb3694aa20648a1313b8e9de9a2f56628b863365
2017-08-03 00:19:33 +00:00