First draft of native StatsEvent API

Test: m -j libstatssocket compiles
Change-Id: I0da9740d29749d79d14be39e5949b98c58df704d
3 files changed