| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This should probably be in libcutils instead, so code that needs to
care about Windows can use readv/writev.
Change-Id: I7c2ceec3f742cee0e44f69fd4c88459376bd0e08
|
|
|
|
| |
Change-Id: I9b5328cea3c88a75135dcb0711cbb5471e8fa388
|
|
|
|
|
|
| |
For build-system CFLAGS clean-up, remove unused function.
Change-Id: I8c28c4bbbadaea6a5b32483e9e220794967bdd4e
|
|
|
|
| |
Change-Id: I18928f89f66c37be310c45ff4c05a6d47ab84f66
|
|
|
|
|
| |
Bug: 18361583
Change-Id: Icdc745a5204bba26c6438d16ed38ec791e136163
|
|
|
|
| |
Bug: 15193147
Change-Id: Ib063eb9490e40f9d10c0b0f29b7808c729e4fff9
|
|\
| |
| |
| |
| | |
* commit 'a1ac84cd8d7357f38a9fc60ab9d42e81d1790fd2':
MingW doesn't handle __attribute__((weak)) for Windows PE
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Windows PE format doesn't have the same support for weak symbols
as ELF does.
The symbol android_log_id_to_name was strangely omitted from the
resulting Windows executable and the callsite where it was supposed
to be called was relaced with a different symbol, which caused a crash
in AAPT on Windows.
This change works due to a careful set of #ifdefs that ensure only one
definition of android_log_id_to_name is defined, but there are other
uses of __attribute__((weak)) which should be inspected.
Change-Id: I3b58076e31d9b28c5143773a170e9ffda9fa3815
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since android_set_abort_message() is quite helpful to the platform, it's
becoming promoted to a real header with a non-private name.
Bug: 17059126
Change-Id: I3ed12b66eb07f3a6a08366d5eee147809d9a3ce9
(cherry picked from commit 4047075da6e3796c759e439d4f0bbbac8d2c03f3)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 16408818
These targets are no longer in use, since we have a proper way to create both
32-bit and 64-bit host libraries in a single build now.
Cherry-pick from AOSP: 03cc1f747c4e92d572a88ec3eb9fde920e871a7e
Change-Id: Icd09f795acd220de5b5e956a8d8e1b4ab4864fa9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Don't manually include stlport, and don't use private bionic headers.
Change-Id: I0fc4e8b34ab449e9ef07c26f71e472fca5640590
|
| | |
| | |
| | |
| | | |
Change-Id: Ife92cea10021658eba6e22a7ebc9e31f3d194a25
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds a new '-v color' option to logcat so that the output is
colored similar to the ones in DDMS. Simply type "adb logcat -v color"
to use it. Works well with bash in gnome-terminal. NO GUARANTEE IT WILL
WORK ON A NON xterm STYLE TERMINAL.
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Change-Id: I9189c5f27fed991579edbcbc6834536eb8112152
|
| |
| |
| |
| | |
Change-Id: Id71c70b6fcd2659078a19cc652fd02807372f3a0
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since android_set_abort_message() is quite helpful to the platform, it's
becoming promoted to a real header with a non-private name.
Bug: 17059126
Change-Id: I3ed12b66eb07f3a6a08366d5eee147809d9a3ce9
|
|/
|
|
|
|
|
|
|
| |
Bug: 16408818
These targets are no longer in use, since we have a proper way to create both
32-bit and 64-bit host libraries in a single build now.
Change-Id: Icd09f795acd220de5b5e956a8d8e1b4ab4864fa9
|
|
|
|
|
|
|
|
|
|
|
| |
Socket file descriptors remain open across exec unless
SOCK_CLOEXEC is set. Enable this option, to avoid leaking
file descriptors.
See https://android-review.googlesource.com/53736 for a similar
problem with the old logging code.
Change-Id: I9e045d2291ae6680044ab86604f3ff2c55b5eaed
|
|
|
|
|
|
|
|
| |
Implement LOG_EVENT_STRING, so that native code can create new
event log entries. This is needed to support logging SELinux denials
to the event log.
Change-Id: I6a269a832bc2f5e5da6c9dbd169ed2f901b49166
|
|
|
|
| |
Change-Id: I54f91f385b109fc664a1a1f9320affb2a846fef1
|
|
|
|
|
| |
Bug: 14159417
Change-Id: Ia2e29ce03d4e2b02919c62be091da37ce4082647
|
|
|
|
|
| |
BUG: 15315766
Change-Id: I8f889a1c6ede74f2621f1b8ea5fda666c4b9cba2
|
|
|
|
| |
Change-Id: I8aae6c3e1ccc2294f4db455e1b4f3b4c34a00aaf
|
|
|
|
|
|
|
| |
- Deal with some -Wunused issues
- Cleanup UNUSED to __unused transition
Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8314
|
|
|
|
| |
Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
|
|
|
|
|
|
|
| |
This is more general and will work for anyone's custom logging
code, as long as they use ANDROID_LOG_FATAL priority.
Change-Id: Iaf7fc0858fce04f3af407882a58ee5a827d50ddd
|
|
|
|
| |
Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8315
|
|
|
|
| |
Change-Id: Ia778c43513a28c85ae54e96926ee9ed56717d527
|
|
|
|
|
| |
Bug: 14280914
Change-Id: Idddd29784625094e54144953c29f64692a88eee9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular
assert(3).
Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
|
|/
|
|
|
|
|
|
|
|
|
| |
- if network read/write broken up, reassemble the pieces.
- Use a 20ms poll to check if a new fragment has been
sent by the other side.
- fixup logd-unit-tests to take a (simplified) fragment
from the liblog changes.
Bug: 14164765
Change-Id: I98ff87888c119e1e8349717646d0f733e8971bc8
|
|
|
|
| |
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
|
|
|
|
| |
Change-Id: I4011607858f3a82acc04509c9f795f960496ed69
|
|
|
|
|
|
| |
- Enable whitelist, blacklist and logsize tuneables for user
Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
- API change, return -errno on failure for log writing
- ENOTCONN results in a reconnection and a retry of the write
Change-Id: Ib0a90b730edeaa7e3a3c9797e4e1b0c81b6adb0a
|
|/
|
|
|
|
|
|
|
| |
- Add max_payload test
- Add dual_reader test
- Switch to EXPECT from ASSERT to increase test coverage
Bug: 13514601
Change-Id: I0e1c273e0ec430c0461e424731dbf166f2a3ce1b
|
|
|
|
|
|
|
| |
- stuff caller's thread id into the packet.
Bug: 13568206
Change-Id: I02d0cdf9b1d9e839ff8969f591db42dfe6e4cc95
|
|
|
|
|
|
|
|
|
| |
1. socket() failures should skip close(), since sock is not an open fd
2. on other I/O related failures, preserve errno around the close() call
3. set errno to a meaningful value on check_log_success() failure
Change-Id: I0fb9e726ae5fee2f7b84344aa925e5159d57c360
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
|
|
|
|
|
|
|
| |
Missed one.
(cherry picked from commit f7f080ce62a4a448ef7ac6cc9bddfd55e615710a)
Change-Id: I33bf8bcc651330b9bc434da02c47c29bc0d54369
|
|
|
|
|
|
| |
(cherry-picked from commit 296dc446376e19d2ce995ae7bc886560523eca2d)
Change-Id: I924f4796fbb70a0f45cc23a852e26e634c5b0e0e
|
|
|
|
|
|
| |
- Build Breakage in branch: aosp-idea133 @ 1072786
Change-Id: I36da253b69a66977ec568a5f96d38b970c25fe3e
|
|
|
|
| |
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- liblog android_logger_get_log_size and android_logger_get_readable_size
adjusted to return long instead of int because of -G flag extending range
NB: ifdef'd only for userdebug and eng builds
- liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size
- logcat Add -P, -p and -G flags
- logd Add LogWhiteBlackList and configurable log size
(cherry picked from commit 18a5432158ad43b8faefe4950b30e760200ce0b4)
Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a
|
|
|
|
|
|
|
|
|
|
|
| |
- logd add statistical collection and formatting
- liblog add android_logger_get_statistics call
- logcat add -S flag
- logcat add -b all
(cherry picked from commit 51a29c8dc445e4fb89860561933e54a231e6ffb4)
Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
|
|
|
|
| |
Change-Id: I16825c26f098241376d4014f3a8e93174387dbcf
|
|
|
|
|
|
|
|
|
| |
- structure packing
- move towards log_time from struct timespec
- extend log_time to cover differences between
log_time and struct timespec
Change-Id: I106ed0b609917306d170044054b5b32645f2a295
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Modify liblog to send all messages to the new syslog user
space daemon.
Original-Change-Id: I0ce439738cd921efb2db4c1d6a289a96bdbc8bc2
Original-Change-Id: If4eb0d09409f7e9be3eb4bb7017073dc7e931ab4
Signed-off-by: Nick Kralevich <nnk@google.com>
* Add a TARGET_USES_LOGD make flag for BoardConfig.mk to manage
whether logd is enabled for use or not.
* rename syslog to logd to avert confusion with bionic syslog
* Add fake log support back in
* prefilter for logging messages from logd
* Fill in timestamps at logging source
* update abstract log reader
* switch from using suffix for id to v3 format
* log a message when creating devices that a deprecated interface
is being utilized.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
(cherry pick from commit 099e2c1f6f706a8600c1cef74cce9066fc315480)
Change-Id: I47929a5432977a1d7235267a435cec0a7d6bd440
|
|
|
|
|
|
|
| |
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat
warnings.
Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
|