summaryrefslogtreecommitdiffstats
path: root/libstats
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-01-16 13:57:31 -0800
committerTom Cherry <tomcherry@google.com>2019-01-16 15:35:20 -0800
commitc2ea6e7c39c5a03a3b3cdcbfeed3f58bdc059921 (patch)
treedff4e763e54ff5e805129e0a97d481eb85c66b1a /libstats
parentdf8063d04582ab1d4466237ff3facdc811ea48c9 (diff)
downloadsystem_core-c2ea6e7c39c5a03a3b3cdcbfeed3f58bdc059921.tar.gz
system_core-c2ea6e7c39c5a03a3b3cdcbfeed3f58bdc059921.tar.bz2
system_core-c2ea6e7c39c5a03a3b3cdcbfeed3f58bdc059921.zip
Remove __android_log_event_list and the reader aspect of android_log_event_list
One user of each, dubious API, remove it while we work on a new one. Test: build Change-Id: If422246226addaf873dc2af32553fad3a5182089
Diffstat (limited to 'libstats')
-rw-r--r--libstats/include/stats_event_list.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libstats/include/stats_event_list.h b/libstats/include/stats_event_list.h
index 162d1cfeb..b5bc5af50 100644
--- a/libstats/include/stats_event_list.h
+++ b/libstats/include/stats_event_list.h
@@ -51,10 +51,6 @@ class stats_event_list {
explicit stats_event_list(int tag) : ret(0) {
ctx = create_android_logger(static_cast<uint32_t>(tag));
}
- explicit stats_event_list(log_msg& log_msg) : ret(0) {
- ctx = create_android_log_parser(log_msg.msg() + sizeof(uint32_t),
- log_msg.entry.len - sizeof(uint32_t));
- }
~stats_event_list() { android_log_destroy(&ctx); }
int close() {
@@ -251,9 +247,6 @@ class stats_event_list {
}
return ret >= 0;
}
-
- android_log_list_element read() { return android_log_read_next(ctx); }
- android_log_list_element peek() { return android_log_peek_next(ctx); }
};
#endif