Robert Quattlebaum
228123a5c8
Merge "Add AID for LoWPAN subsystem" am: f602dd4ced am: 4ff32084d5
...
am: 91f952dda0
Change-Id: I49a6c9c9db980910a0d2d9289ca1a123f21f3eed
2017-08-08 00:00:55 +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
Robert Quattlebaum
01f7576a3e
Add AID for LoWPAN subsystem
...
Bug: b/64399805
Change-Id: Ida6aa60d8beee9151a723826d99c1e9044dc05be
2017-08-04 16:19:34 -07:00
Earl Ou
9435b3ed44
Merge "libcutils: write trace event into socket in container" am: 59b33cb01c am: 08d9cc3744
...
am: 6cc4df26d6
Change-Id: Ib4a23ef6f3644afe76e6615bdc1be0e4fd7f909c
2017-08-04 01:16:12 +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
Yifan Hong
8a05dd0472
Merge changes from topic 'libcutils_private_headers' am: 472808a570 am: 6c2d927c34
...
am: 2615527f08
Change-Id: I433589f4691d74f8fcd2a30ad34ab817e9b6a36d
2017-08-03 20:47:53 +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
Yifan Hong
6c2d927c34
Merge changes from topic 'libcutils_private_headers'
...
am: 472808a570
Change-Id: Ia4963b1b2c50bdcc3d9ccc6a954a465cbf9b5de0
2017-08-03 20:34:31 +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
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
c3bc295f11
Merge "cutils: update property_get to use diagnose_if." am: 5c655991f5 am: f5a677a7d3
...
am: 2bf647ae24
Change-Id: Ib4561d402548195772757b83dc0638c28682dd5a
2017-08-03 02:33:22 +00: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
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
Treehugger Robot
5c655991f5
Merge "cutils: update property_get to use diagnose_if."
2017-08-03 02:15:54 +00:00
Yifan Hong
b6807125df
Remove private headers from libcutils.vendor
...
Bug: 63135587
Test: m -j
Test: BOARD_VNDK_VERSION=current m -j
Test: mma -j
Test: BOARD_VNDK_VERSION=current mma -j
Change-Id: I9eecf23c4c311bd8336a5bfaaeb2afb3b51c6513
Merged-In: I9eecf23c4c311bd8336a5bfaaeb2afb3b51c6513
2017-08-02 16:40:36 -07:00
Yifan Hong
09c89672b6
Move android_filesystem_config.h => fs_config.h
...
The non AID_ things in android_filesystem_config.h are moved
to fs_config.h. For libcutils.vendor and libcutils_headers.vendor,
fs_config.h is not exported.
An empty system/core/include/private/fs_config.h is placed to
appease the dependency from certain modules (logd, etc.)
that includes system/core/include/private/android_filesystem_config.h
directly.
Test: m -j
Test: BOARD_VNDK_VERSION=current m -j
Bug: 63135587
Change-Id: I95dfb874a426941022b100c0ca26a0576b0f4aa3
Merged-In: I95dfb874a426941022b100c0ca26a0576b0f4aa3
2017-08-02 16:31:19 -07:00
Elliott Hughes
78bc132d32
Merge "Make sure freeaddrinfo is always called on failure." am: f914029057 am: 9e1173aa40
...
am: 84cd98ceb0
Change-Id: I3d36bf694b20cf423cf1b3b5f647f7e907f20703
2017-08-02 23:28:54 +00:00
Elliott Hughes
84cd98ceb0
Merge "Make sure freeaddrinfo is always called on failure." am: f914029057
...
am: 9e1173aa40
Change-Id: Ib7936a9034467c38a58b5066472cdd5187a0e1b2
2017-08-02 23:22:36 +00:00
Elliott Hughes
9e1173aa40
Merge "Make sure freeaddrinfo is always called on failure."
...
am: f914029057
Change-Id: Iff3b186c35bca1f1c7292f5e5567d3ce11037239
2017-08-02 23:10:59 +00:00
George Burgess IV
9bf11c1d05
cutils: update property_get to use diagnose_if.
...
This lets us redeclare property_get with diagnose_if tagged on it,
so we no longer need to deal with overloads.
Bug: 12231437
Test: m checkbuild on bullhead aosp-master.
Change-Id: Ic55dcfeaa314f83d3713aabac7852cb766330fc8
2017-08-02 15:59:19 -07:00
Elliott Hughes
3ff453aaa0
Make sure freeaddrinfo is always called on failure.
...
Bug: https://android-review.googlesource.com/#/c/platform/system/core/+/268797/2/libcutils/socket_network_client_unix.c
Test: builds
Signed-off-by: Ivan Maidanski <i.maidanski@samsung.com>
Change-Id: I2d93c8359c3398769d408284f77d56e09713a7f3
2017-08-02 20:32:27 +00:00
Chih-Hung Hsieh
c3357de3fd
Merge "Fix misc-macro-parentheses warnings in system/core." am: e4bd153e55 am: dfaa20c069
...
am: 3d0ff4ee98
Change-Id: Id161056885d346583e66ca49bf10934bc01e619f
2017-08-01 23:34:26 +00:00
Chih-Hung Hsieh
3d0ff4ee98
Merge "Fix misc-macro-parentheses warnings in system/core." am: e4bd153e55
...
am: dfaa20c069
Change-Id: I2a2376e19bdd415f784f708e2b8c910734e866a9
2017-08-01 23:29:59 +00:00
Chih-Hung Hsieh
dfaa20c069
Merge "Fix misc-macro-parentheses warnings in system/core."
...
am: e4bd153e55
Change-Id: I6b38149a0fa15874eff68cbf7ee62e4acd41c595
2017-08-01 23:26:06 +00:00
Chih-Hung Hsieh
85244e8bc2
Fix misc-macro-parentheses warnings in system/core.
...
Add NOLINT comment to work around clang-tidy
error in checking macro arguments used in
type expressions.
Bug: 28705665
Test: make with WITH_TIDY=1 WITH_TIDY_CHECKS=-*,misc-macro-* \
WITH_TIDY_FLAGS=-header-filter=system/core/.*
Change-Id: I7619978c1804e151a11a8b0477e80076bcf21cab
2017-08-01 22:12:57 +00:00
Lennart Wieboldt
e1332dd01b
Merge "Remove LOCAL_CLANG and clang: true" am: 80ec81cf4b am: f7b315c985
...
am: 8a8b97b271
Change-Id: I7e691abe2e2ccec5d9477c528d603c081c0a5661
2017-07-25 22:35:56 +00:00
Lennart Wieboldt
8a8b97b271
Merge "Remove LOCAL_CLANG and clang: true" am: 80ec81cf4b
...
am: f7b315c985
Change-Id: Id5ebeb3271a36f21bf28c186f7ec227d31bb10ac
2017-07-25 22:33:27 +00:00
Lennart Wieboldt
f7b315c985
Merge "Remove LOCAL_CLANG and clang: true"
...
am: 80ec81cf4b
Change-Id: Ia7f79d8e25ee9870fe44d198568d0e5dabdff811
2017-07-25 22:28:56 +00:00
Lennart Wieboldt
cd15fc7ba8
Remove LOCAL_CLANG and clang: true
...
clang is the default compiler since Android nougat
Test: mma & verified it´s still build with clang
Change-Id: I34adaeef2f6558a09f26027271222bad94780507
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2017-07-25 14:29:50 +02:00
Elliott Hughes
f4b01412f1
Merge "Remove more documentation for obsolete board configuration." am: 73a6512bab am: 09181f3dd9
...
am: 94d5235c25
Change-Id: I128a89de4783b152f4129d0c5f16e766ed349ea2
2017-06-30 00:07:45 +00:00
Elliott Hughes
94d5235c25
Merge "Remove more documentation for obsolete board configuration." am: 73a6512bab
...
am: 09181f3dd9
Change-Id: I95e37353d84e69df12a2b5ef36b02b771cbbf0eb
2017-06-30 00:03:45 +00:00
Elliott Hughes
09181f3dd9
Merge "Remove more documentation for obsolete board configuration."
...
am: 73a6512bab
Change-Id: I964c133a654efbc3d40bbebc7247863455e8cb54
2017-06-29 23:59:43 +00:00
Elliott Hughes
73a6512bab
Merge "Remove more documentation for obsolete board configuration."
2017-06-29 23:50:37 +00:00
Elliott Hughes
5dc7736f60
Remove more documentation for obsolete board configuration.
...
Bug: N/A
Test: builds
Change-Id: I0a4ea974a81aadba1a554072ceff9f243a70be0d
2017-06-29 08:52:49 -07:00
Jiyong Park
dfed7fb8ca
Merge "Allow SLOG* to vendors" am: 6afbd476ab am: eacf704a6c
...
am: 708f8295e0
Change-Id: I8895882d557e162388fcc672375f721849b83fc2
2017-06-29 04:07:28 +00:00
Jiyong Park
708f8295e0
Merge "Allow SLOG* to vendors" am: 6afbd476ab
...
am: eacf704a6c
Change-Id: I234763f63446115ce8726c1c0a0c931b25bcee0b
2017-06-29 04:03:29 +00:00
Jiyong Park
eacf704a6c
Merge "Allow SLOG* to vendors"
...
am: 6afbd476ab
Change-Id: I56d66068757cd962c237a8292aa481d96b417f17
2017-06-29 03:58:59 +00:00
Treehugger Robot
6afbd476ab
Merge "Allow SLOG* to vendors"
2017-06-29 03:53:38 +00:00
Jiyong Park
9ffeab85bf
Allow SLOG* to vendors
...
Not only vendor libs, but also Android libs that are marked as
vendor_available are using SLOG*. Since both pure vendor libs and
Android libs available to vendors are using the same liblog headers for
VNDK, SLOG* needs to be visible via the headers.
Bug: 63088165
Test: BOARD_VNDK_VERSION=current m -j ATFWD-daemon
(or any other vendor modules using SLOG*)
Change-Id: Idfb74887a42d2418d3896bfdf5be3b4fc8e4c27f
2017-06-29 10:25:25 +09:00
Elliott Hughes
f067ab479f
Merge "Remove documentation for obsolete board configuration." am: 3f4cea940d am: a96d1aebdb
...
am: 164f9c9e16
Change-Id: Ia475c070327f94eeb439f31d06375e8a5a650722
2017-06-28 16:48:28 +00:00
Elliott Hughes
164f9c9e16
Merge "Remove documentation for obsolete board configuration." am: 3f4cea940d
...
am: a96d1aebdb
Change-Id: Icaf550946be2fa7a4bf35c5b183e2562b7f2a92b
2017-06-28 16:44:57 +00:00
Elliott Hughes
a96d1aebdb
Merge "Remove documentation for obsolete board configuration."
...
am: 3f4cea940d
Change-Id: I61c8310bbca3690e2b7f9764429c118db780c551
2017-06-28 16:40:41 +00:00
Elliott Hughes
76a934a459
Remove documentation for obsolete board configuration.
...
Bug: N/A
Test: builds
Change-Id: I5afbf2da35a7defb12b98bb5387ab7d3eee6f15a
2017-06-28 07:50:00 -07:00
Hung-ying Tyan
42388236a4
Merge "Load default prop from /system/etc/prop.default" into oc-dr1-dev
...
am: d334d69b70
Change-Id: I358c9b60bf20d7852d81006bb37a9efab0dd19ad
2017-06-28 06:31:08 +00:00
TreeHugger Robot
eb274d47e7
Merge "Load default prop from /system/etc/prop.default" into oc-dev-plus-aosp
2017-06-28 06:29:32 +00:00
Ben Fennema
52c61939c3
Merge "libcutils: fs_config: fix "system/<partition>/" aliasing" am: 449bfd7a93 am: cd3584e90b
...
am: 609b4cf6a5
Change-Id: Ice84d7764a4394b3f101673b5b310860adf59fd6
2017-06-26 22:54:10 +00:00
Ben Fennema
cd3584e90b
Merge "libcutils: fs_config: fix "system/<partition>/" aliasing"
...
am: 449bfd7a93
Change-Id: I9f3d0f0e4dc147d9d2a5a1e41486805ada29d62a
2017-06-26 22:49:41 +00:00