android_system_core/libstats/socket
Muhammad Qureshi 7a19241f21 Handle null values in AStatsEvent
- Treat NULL strings and byte arrays as zero-length strings/byte arrays.

This maintains backwards compatibility with legacy protocol which
handled nulls.

Bug: 155363739
Test: atest libstatssocket_test
Change-Id: I484b7c968270ae7228ea53bb97c7e6a2dbebe983
2020-07-20 11:38:37 -07:00
..
include Do not truncate AStatsEvent buffers 2020-06-10 20:43:53 -07:00
tests Handle null values in AStatsEvent 2020-07-20 11:38:37 -07:00
Android.bp Do not truncate AStatsEvent buffers 2020-06-10 20:43:53 -07:00
libstatssocket.map.txt Expose AStatsSocket_close() from the statsd apex 2020-02-13 16:16:48 -08:00
libstatssocket_test.xml Add test config to libstatspull_test and libstatssocket_test 2020-05-21 14:51:59 -07:00
stats_buffer_writer.c Remove statsd enable check when logging 2020-05-19 21:52:14 +00:00
stats_event.c Handle null values in AStatsEvent 2020-07-20 11:38:37 -07:00
stats_socket.c Expose AStatsSocket_close() from the statsd apex 2020-02-13 16:16:48 -08:00
statsd_writer.c Add test for AStatsSocket_close() 2020-04-28 15:22:28 -07:00
statsd_writer.h Add test for AStatsSocket_close() 2020-04-28 15:22:28 -07:00
TEST_MAPPING Add libstatssocket_test to TEST_MAPPING 2020-02-04 16:08:21 -08:00