commit | 01983799fb8f73c046eb8c84dfc45e125b5c0175 | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <muhammadq@google.com> | Wed Nov 06 15:15:23 2019 -0800 |
committer | Muhammad Qureshi <muhammadq@google.com> | Tue Dec 03 15:02:48 2019 -0800 |
tree | 9ad325a517899f06eecc86692061ae8308254bdc | |
parent | fd86a701815227099d532194e7bd245fe59e6350 [diff] |
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