diff options
author | Yao Chen <yaochen@google.com> | 2018-04-18 13:48:02 -0700 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-04-20 17:41:25 -0700 |
commit | 49954cd681fc4c1013c39cd502408af770286730 (patch) | |
tree | cdae24322c35e99ecfe506c999caf63dc61b2463 /libs/hwui/JankTracker.cpp | |
parent | f7bc6ab7fa21f849250d0f5ee2849f9e49a8d436 (diff) |
Add socket listener to statsd. And remove Davey atom.
+ The socket listener is behind a flag. It's disabled until we get sepolicy changes in.
+ Data parsing code is from logd, because we use the same format.
+ Removed Davey from JankTracker because it violates our new sepolicy
Test: manually
Bug: 78239479
Change-Id: Ib17729fbc362cdb13385f780e2d636a95adf9bc3
Diffstat (limited to 'libs/hwui/JankTracker.cpp')
-rw-r--r-- | libs/hwui/JankTracker.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/hwui/JankTracker.cpp b/libs/hwui/JankTracker.cpp index 81a79801073c..e6d2a6f555ac 100644 --- a/libs/hwui/JankTracker.cpp +++ b/libs/hwui/JankTracker.cpp @@ -18,7 +18,6 @@ #include <errno.h> #include <inttypes.h> -#include <statslog.h> #include <sys/mman.h> #include <algorithm> @@ -182,7 +181,6 @@ void JankTracker::finishFrame(const FrameInfo& frame) { ALOGI("%s", ss.str().c_str()); // Just so we have something that counts up, the value is largely irrelevant ATRACE_INT(ss.str().c_str(), ++sDaveyCount); - android::util::stats_write(android::util::DAVEY_OCCURRED, getuid(), ns2ms(totalDuration)); } } |