| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Changing __android_log_write so the tag warns users relying on the
tag to direct log output to the radio buffer to instead use Rlog or RLOG.
Change-Id: I04b7bb5e620c1ab22b9b495382a252b539947e28
|
|
|
|
|
| |
Bug: 6497974
Change-Id: I7fba1a07e2552ce16131b81f30d18eb3192de7ef
|
|
|
|
|
| |
Bug: 6497974
Change-Id: I4691f287b0abdce03ff211bd5b5b0037b8818ec9
|
|
|
|
|
|
|
|
| |
Change-Id: I0317bb3b80c6555bcb1ff9f2238f32be5f7adedb
Conflicts:
liblog/Android.mk
|
|
|
|
|
|
|
|
|
|
|
| |
Both libraries are needed to build four shared libraries in 64-bit
for 64-bit emulator with "-gpu on"
lib64OpenglRender.so
lib64EGL_translator.so
lib64GLES_CM_translator.so
lib64GLES_V2_translator.so
Change-Id: If57f72d4661a74f1d5e537568881f39132e0b43d
|
|
|
|
|
|
|
|
| |
1. In printf, use "%zu" for variable of type size_t
2. Print tid in %5d
3. Make type of pid/tid in AndroidLogEntry and logger_entry consistent
Change-Id: I3e3d9536ee58823f349a4734ae093d30eabe1bfe
|
|
|
|
|
| |
Bug: 5522726
Change-Id: I8637c7da854ec1ecb321632c45ee9bc2edc94a67
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testing:
The following test cases all passed and generated log entries:
# echo -n '\03foo\0bar\0' > /dev/log/main
# echo -n '\03\0bar\0' > /dev/log/main
# echo -n '\03\0a\0' > /dev/log/main
The following entries were successfully processed by
logcat but produced no log entries:
# echo -n '\03\0\0' > /dev/log/main
# echo -n '\03a\0\0' > /dev/log/main
# echo -n '\03b\0\0' > /dev/log/main
Also tested the pathological error condition:
cat /dev/urandom > /dev/log/main
which produced many "+++ LOG: malformed log entry" errors.
Bug: 5478600
Change-Id: I53bc79507242dcfc14445746c29edf47be0a90b4
|
|
|
|
|
|
|
|
|
| |
When parsing log entries which may have embedded \0s, it's
possible for entry->messageLen to not be the actual
length of the string in entry->message. Detect this condition.
Bug: 5417417
Change-Id: I712cac7696af7831e24765b5a1b345d6ff5fb407
|
|
|
|
|
|
|
| |
The log tag may be zero length if corrupted, so check for this
condition.
Change-Id: I7616226dabe78a85859b0ab53aca08f734dbdd84
|
|
|
|
|
|
| |
Bug: 5010576
Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
|
|
|
|
|
|
| |
Revert "Fix build warnings"
This reverts commit 590e364868b6466e169f2647e95462ba2558dd00.
|
|
|
|
| |
Change-Id: Ie24cf8e729813e4527c698fc7c1502a1efbc63e5
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '64ba76c1431afe17c1f4553f1dbc595db064316e'
* commit '64ba76c1431afe17c1f4553f1dbc595db064316e':
Fixed LOG_ASSERT() compilation errors in native debug builds.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Invoking LOG_ASSERT, LOG_ALWAYS_FATAL or LOG_ALWAYS_FATAL_IF variadic macros
without the printf format string arg caused compilation errors because the
variable arg list (__VA_ARGS__) was eventually passed to
__android_log_assert() func in place of a required parameter. This error
only occured in debug builds because LOG_ASSERT() is a no-op in release
builds. This change allows debug builds to succeed.
Change-Id: I7e7b7de3e501133468ce083e0e0d6e699dd59667
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
|
|/
|
|
| |
Change-Id: I55aca04fdd3822ac06db183bf2ff0cbd61f778e8
|
|\
| |
| |
| | |
Change-Id: I698b3c16bdef8751cc857b00f815cb2f95465431
|
| |
| |
| |
| |
| |
| | |
snprintf has a weird return value. It returns what would have been written given a large enough buffer.
In the case that the prefix is longer then our buffer(128), it messes up the calculations below possibly causing heap corruption.
To avoid this we double check and set the length at the maximum (size minus null byte
|
| | |
|
| |
| |
| |
| | |
Automated import of CL 144185
|
| | |
|
| | |
|
| |
| |
| |
| | |
macros work.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
from donutburger.
Automated import of CL 144245
|
| |/ |
|
|\ \ |
|
| |/ |
|
|\ \
| |/
| |
| |
| |
| | |
Conflicts:
init/devices.c
libpixelflinger/Android.mk
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|/
|
|
| |
2. removed unnecessary include of <alloca.h>
|
|
|