History log of /frameworks/base/core/java/android/util/LocalLog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de310dba78fa7cd60ad01cefa7fadb6d48fffcaa 04-Oct-2016 Hugo Benichi <hugobenichi@google.com> Better LocalLog

This patch fixes the following issues in LocalLog:
- reverseDump() uses a descending iterator with linear complexity
instead of a quadratic loop using get(index) on a linked list.
- reverseDump() is added to ReadOnlyLocalLog.
- synchronized section in log() is restricted to mutation of internal
list.
- formatting of the log message does not create an internal
StringBuilder.
- the instance variable mNow is removed: it was only used inside log()
as a local variable.
- remaining instance variables are qualified with final.
- the linked list is replaced by a fixed capacity array-backed queue.

Test: added unit tests
Change-Id: I1a54f0ad26dd35448d3297ea24df1fd626d20ef3
/frameworks/base/core/java/android/util/LocalLog.java
7523eb349e7ecb1fdfd8e8a9371306ab28c046ec 09-Jul-2015 Erik Kline <ek@google.com> Log NetworkRequestInfo to get more detailed history

Bug: 21641983
Bug: 22235775
Bug: 22299819
Bug: 22358164
Change-Id: I48a2d162dd499a3590f06d805267a63822856969
/frameworks/base/core/java/android/util/LocalLog.java
22b4c6a027d72ec90dc91d150bee007cb8167eed 24-Jun-2015 Robert Greenwalt <rgreenwalt@google.com> Add Validation logging.

Persist the last 20 lines of validation info for the last 10
networks.

bug: 21599856
Change-Id: I8124480cc9181eea2adb7eb6eabcd07c9506b6d3
/frameworks/base/core/java/android/util/LocalLog.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/util/LocalLog.java
c520aa89a33ddb7c065ef06bcd2d2dbf96e1f989 02-Oct-2014 vandwalle <vandwalle@google.com> add millisecond timestamp to locallog

Change-Id: I33d8672efd2747ed3f49dd8d5bcd5f47bf418053
/frameworks/base/core/java/android/util/LocalLog.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/util/LocalLog.java
470fd72a06390d7a6b854583afd0ed76ce0a03ee 18-Jan-2012 Robert Greenwalt <rgreenwalt@google.com> Log netd traffic nicely.

Create a LocalLog class for logging within a service for dumping in dumps.
Use it in the NativeDaemonConnector so we can get some insight into what
is happening in these lockups.

bug:5864209
Change-Id: I68ddc58847f3c8de613be9528570f8c3157d8274
/frameworks/base/core/java/android/util/LocalLog.java