platform_system_core/libstats/socket
Muhammad Qureshi f9b24aef5f Create stats_buffer_writer
Move iovec* construction and noteLogLoss from stats_event_list to
stats_buffer_writer.h.
Expose write_buffer_to_statsd that takes in a byte array and writes
it to the statsd socket. Currently exposed for StatsLog.write JNI call.

This change also allows getting rid of stats_event_list once all clients
have migrated to stats_event

Bug: 145619049
Test: m -j libstatssocket
Change-Id: I0048e392c2f5039eb70dacf4e91a43d3f32e8749
2019-12-03 15:02:48 -08:00
..
include Create stats_buffer_writer 2019-12-03 15:02:48 -08:00
Android.bp Create stats_buffer_writer 2019-12-03 15:02:48 -08:00
stats_buffer_writer.c Create stats_buffer_writer 2019-12-03 15:02:48 -08:00
stats_event.c Create stats_buffer_writer 2019-12-03 15:02:48 -08:00
stats_event_list.c Create stats_buffer_writer 2019-12-03 15:02:48 -08:00
statsd_writer.c Create libstatssocket_q 2019-12-03 14:58:31 -08:00
statsd_writer.h Create libstatssocket_q 2019-12-03 14:58:31 -08:00