OSDN Git Service

Add socket listener to statsd. And remove Davey atom.
authorYao Chen <yaochen@google.com>
Wed, 18 Apr 2018 20:48:02 +0000 (13:48 -0700)
committerYao Chen <yaochen@google.com>
Sat, 21 Apr 2018 00:41:25 +0000 (17:41 -0700)
commit49954cd681fc4c1013c39cd502408af770286730
treecdae24322c35e99ecfe506c999caf63dc61b2463
parentf7bc6ab7fa21f849250d0f5ee2849f9e49a8d436
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
cmds/statsd/Android.mk
cmds/statsd/src/main.cpp
cmds/statsd/src/socket/StatsSocketListener.cpp [new file with mode: 0755]
cmds/statsd/src/socket/StatsSocketListener.h [new file with mode: 0644]
libs/hwui/Android.bp
libs/hwui/JankTracker.cpp