2e220ef36c680a3615502dfa1051515dd4f095ac |
|
10-Oct-2017 |
Andreas Gampe <agampe@google.com> |
{Event,Security}Log: Unify code Extract common code into eventlog_helper. Bug: 67511924 Test: m Test: Device boots Test: cts-tradefed run commandAndExit cts -m CtsUtilTestCases -t android.util.cts.EventLogTest Change-Id: Idafad832385f57c22f40dbb8570e95da6d44f08f
/frameworks/base/core/jni/android_util_EventLog.cpp
|
ca06d8b5ada53cc135177363d9f270dc6301b8af |
|
09-Oct-2017 |
Andreas Gampe <agampe@google.com> |
EventLog: Check for exception after add() When reading events, calling Collection.add() may result in an OutOfMemoryError or immutability error. Check for an exception after the call in EventLog and SecurityLog. Bug: 67511924 Test: m Test: Device boots Change-Id: If0fbf6b01051b5311eeb88d3f52470cd8b1eec59
/frameworks/base/core/jni/android_util_EventLog.cpp
|
5c091dc9449b583e18656a8850a61f557dfcc945 |
|
20-Jul-2017 |
Steven Moreland <smoreland@google.com> |
Merge "frameworks/base: use proper nativehelper headers" am: 826eafd958 Change-Id: I36f10ff4d963284a313f1cc5b368f82549a4adb2
|
2279b2534272282a5b5152723235da397e49195c |
|
19-Jul-2017 |
Steven Moreland <smoreland@google.com> |
frameworks/base: use proper nativehelper headers libnativehelper exports headers under nativehelper. These were available before incorrectly as global headers in order to give access to jni.h. Test: modules using frameworks/base find headers Bug: 63762847 Change-Id: I0f9f231acdebe460f279135462f43d3e32eff64d
/frameworks/base/core/jni/android_util_EventLog.cpp
|
d09bf8271eea566ed064bd333f9564c4dd718c5b |
|
02-Dec-2016 |
Chris Wren <cwren@android.com> |
add a signaled reader to the eventlog Test: manual using a logspammer app Change-Id: I89e3dda82d4d1d3fc6d343b634642687e550f70a
/frameworks/base/core/jni/android_util_EventLog.cpp
|
96bf5985d5a360568832fd26b6d5b44236c9343e |
|
29-Sep-2016 |
Mark Salyzyn <salyzyn@google.com> |
Replace cutils/log.h and log/logger.h with android/log.h or log/log.h (part deux) Test: compile Bug: 26552300 Bug: 31289077 Change-Id: I7417936c4d3666608fccfe51a312c90ecefba2fb
/frameworks/base/core/jni/android_util_EventLog.cpp
|
7b25bb8ec79e420e9655a00301cbca80a38cde2d |
|
08-Nov-2016 |
Mark Salyzyn <salyzyn@google.com> |
jni: EventLog replace open coding with android_log_event_list Test: manual confirm event log messages from services continue Bug: 31992412 Bug: 31456426 Change-Id: I20a4228120c454d3e736dae8a927f1e0f9a62e37
/frameworks/base/core/jni/android_util_EventLog.cpp
|
834763b2ab872bf31a5d6ad9dcb0f76a6aad82fc |
|
04-Oct-2016 |
Mark Salyzyn <salyzyn@google.com> |
jni: move security interfaces to private Test: Compile & boot smoke Bug: 19235719 Bug: 26552300 Bug: 31289077 Bug: 31456426 Change-Id: I09328bda5d58138ad222f082bdd3688a97df5b35
/frameworks/base/core/jni/android_util_EventLog.cpp
|
b57dd722f1dc0663417da37d3a82f8283ad3c982 |
|
24-Sep-2015 |
Elliott Hughes <enh@google.com> |
resolved conflicts for a884d81e to stage-aosp-master Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/android_util_EventLog.cpp
|
e7e9ccea3246eec3607bfc77bc8500611989e84c |
|
28-Apr-2015 |
Jeff Brown <jeffbrown@google.com> |
Add float support to binary event log. Bug: 20664753 Change-Id: I90456400b878f943e39cbddec45649662176e2aa
/frameworks/base/core/jni/android_util_EventLog.cpp
|
ca50cd2114f2c509ae2d1d06468e61f3cfc0b280 |
|
26-Feb-2015 |
Mark Salyzyn <salyzyn@google.com> |
jni: Add paranoia regarding android_logger_list_read Change-Id: Ic52be201ec7efaef6a385aaf8ea523554aa06f22
/frameworks/base/core/jni/android_util_EventLog.cpp
|
18998c985227a9e4affff9f0c4c591ff7d933cc9 |
|
26-Jan-2015 |
Mark Salyzyn <salyzyn@google.com> |
jni: switch to ANDROID_LOG_* mode flags Change-Id: I8aea5bf4faf79a96fa8485f7707e7484cd11d7a3
/frameworks/base/core/jni/android_util_EventLog.cpp
|
ed6b9dff563c5e22f040ff37e12c0d771e0478ae |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Consistency in core/jni Make consistent use of core_jni_helpers for registration. Translate some #ifdefs into const bools. Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
/frameworks/base/core/jni/android_util_EventLog.cpp
|
b519aeca47a7b798926c00ce5c8cf730e26e75fd |
|
09-Apr-2014 |
Mark Salyzyn <salyzyn@google.com> |
jni: liblog reading error API incorrect - return value contains -errno on error. Bug: 13907124 Change-Id: I91f12db5749fac2ae8ed5b0f033d4eaf83e666f5
/frameworks/base/core/jni/android_util_EventLog.cpp
|
3ed8e2e679668767dc90c35a3a8a24e9ebf0b940 |
|
07-Nov-2013 |
Mark Salyzyn <salyzyn@google.com> |
jni: Resolve build warnings (cherry picked from commit 087f58dd80e3296a53c6e3c74c089e9a0265f3bd) Change-Id: I3659193f1ba1ba94561e4684cdb6627880ffc2fa
/frameworks/base/core/jni/android_util_EventLog.cpp
|
7933c2943f4a13b56944ad92e2194ed0020e5b04 |
|
05-Dec-2013 |
Mark Salyzyn <salyzyn@google.com> |
jni: Incorporate liblog reading API (cherry picked from commit e11cbd441df4a1689c89b2ab91b84523c9f2fd10) Change-Id: I8b78e4db67b6daabb975ce740fb40478df4ffcef
/frameworks/base/core/jni/android_util_EventLog.cpp
|
44bc18664985e845a2299f20b6392d378fad8b4d |
|
24-Jul-2013 |
Colin Cross <ccross@android.com> |
replace cutils/logger.h with log/logger.h and remove it from files that don't use it. Change-Id: Ieb44a3f1f75c2d2b277f0d01ca926a92211e3fe6
/frameworks/base/core/jni/android_util_EventLog.cpp
|
7353cf305e9bbb2c5968358d34ead9ca9df970b1 |
|
08-Dec-2012 |
Nick Kralevich <nnk@google.com> |
convert jint to uint32_t. This works around a compiler bug, and is probably more correct anyway. Change-Id: I1c49064bd64c31dafae560e416c665de0449f245
/frameworks/base/core/jni/android_util_EventLog.cpp
|
3762c311729fe9f3af085c14c5c1fb471d994c03 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/base/core/jni/android_util_EventLog.cpp
|
dd66bcbf9d6ef0c50a18d9c4b1b39ce7ef7afcc4 |
|
12-Apr-2011 |
Elliott Hughes <enh@google.com> |
More native code cleanup. Don't keep unused global references to classes, don't throw exceptions when an exception is already pending, and fix a (harmless) misunderstanding about how GetStringChars works. Change-Id: Ie445036f057daa8a1c76aceb7bad2a84fb81d820
/frameworks/base/core/jni/android_util_EventLog.cpp
|
69a017bc1d1649350f830dfada5c6ed5eac0b770 |
|
08-Apr-2011 |
Elliott Hughes <enh@google.com> |
More JNI exception-throwing cleanup. There are a few (unimportant) bug fixes here. There were several attempts to throw exceptions in situations where there's already a pending exception. There were also cases where the code was wrong; it was checking for a NULL return from Get*ArrayElements and throwing NPE, but passing NULL is an error that causes a crash and a NULL return means an exception has already been thrown. I didn't want to get into the Scoped* classes just yet, but that was by far the easiest way to fix this. Change-Id: I0b31160ee51b96e82539f6514b8412b149dba7c3
/frameworks/base/core/jni/android_util_EventLog.cpp
|
78158db51029e7dbe160e60af0deb7594bec051d |
|
09-Apr-2010 |
Dan Egnor <egnor@google.com> |
Hail-Mary attempt to avoid apparent blocking problems in readEvents(). Use the same procedure (select() with a short timeout) used by "logcat -d", which doesn't seem to have any blocking problems. Bug: 2569403 Change-Id: Ia27bb4207919a1288716b41a007b4b4b52f8e90a
/frameworks/base/core/jni/android_util_EventLog.cpp
|
6916089e838662b41d902cd9a0d2560b04633ef9 |
|
07-Jan-2010 |
Dan Egnor <egnor@google.com> |
Remove old EventLog tests from here, they will be replaced by a (better) EventLog test in CTS. Fix some minor errors in the handling of too-large event log values.
/frameworks/base/core/jni/android_util_EventLog.cpp
|
62136d3e1c1262fc31a1f77f6d6acbd75e5ea81d |
|
06-Jan-2010 |
Dan Egnor <egnor@google.com> |
Simplify EventLog interface -- remove supported for nested sequences (which nobody used) and streamline the API, adding documentation in preparation for inclusion in the SDK. Gut and deprecate EventLogTags, which unfortunately was put into the public SDK (an oversight). Include the functionality in EventLog proper, in a simpler and easier to use manner. This change doesn't actually un-@hide anything, but it does change it to @pending.
/frameworks/base/core/jni/android_util_EventLog.cpp
|
95ff2401a9c6f0252aeedfa27ba0a9a5f0d7f55e |
|
02-Jul-2009 |
Jim Miller <jaggies@google.com> |
Add method to read events from a file. Remove unused method. Fixed after review.
/frameworks/base/core/jni/android_util_EventLog.cpp
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_util_EventLog.cpp
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_util_EventLog.cpp
|
da996f390e17e16f2dfa60e972e7ebc4f868f37e |
|
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
/frameworks/base/core/jni/android_util_EventLog.cpp
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/jni/android_util_EventLog.cpp
|