platform_system_core/libstats/socket/include
Ruchir Rastogi 8056dd129a Support ERROR_ATOM_ID_INVALID_POSITION
Originally, the native implementation would discard everything clients
wrote to the buffer before the setAtomId call. Thus, the atom id was
always placed in the "correct position." However, for consistency with
the Java implementation, we now allow write calls before setAtomId to
occur and log an error in that case.

Test: bit libstatssocket_test:*
Bug: 152119205
Change-Id: Ib109c7a939a5ae92c1d5fc70aa647ac7390fadad
2020-03-24 07:57:51 -07:00
..
stats_buffer_writer.h Create stats_buffer_writer 2019-12-03 15:02:48 -08:00
stats_event.h Support ERROR_ATOM_ID_INVALID_POSITION 2020-03-24 07:57:51 -07:00
stats_socket.h Expose AStatsSocket_close() from the statsd apex 2020-02-13 16:16:48 -08:00