diff options
author | Tom Cherry <tomcherry@google.com> | 2020-05-11 16:29:29 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-05-12 15:39:11 -0700 |
commit | 68630a0dbe1b30058600a1418c5d8d9ba89ed419 (patch) | |
tree | cc2c3e42792ab51777d6c18a49be90a8bafee26b /libutils/Unicode.cpp | |
parent | a269c7c3d12a5a0ab604343815ba12a65afe8422 (diff) |
logd: refactor LastLogTimes a bit
There's still plenty of work that can be done here, particularly
re-doing the locking so each LogReaderThread does not mutually exclude
the others, but that's out of the scope here.
This change primarily removes the public 'mTimes' from LogBuffer and
creates a new LogReaderList class instead. It would have merged this
into LogReader, but that creates a circular dependency.
This change also removes the need to reference LogReader or
LogReaderList from LogAudit, LogKLog, and LogListener, instead relying
on LogBuffer()::log() to call LogReaderList::NotifyNewLog().
Test: logging unit tests
Change-Id: Ia874b57a9ec1254af1295bfa6f7af2f92a75755b
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions