diff options
author | Yao Chen <yaochen@google.com> | 2018-12-06 10:34:25 -0800 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-12-06 13:06:04 -0800 |
commit | 1fe9f594984b47144b958f0ac423eeffc56b62ea (patch) | |
tree | 38ab2a5a130b9a327f294cef65603250b41ad23d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | b53030f983b8f606a6fed7527605073613895f67 (diff) |
Add byte size of the bytes fields to statslog c++ APIs.
The proto binary data can contain '\0's and in the native layer,
the current liblog api would convert that into string and thus
the data is truncated.
This CL adds a "size_t bytes_field_len" after the bytes fields so that
we can correctly pass the data from JAVA to native.
Java StatsLog.write() APIs remain the same
Test: test_drive with atom 103
Change-Id: I34f1c4ddd6a4ec5f3604b0c67a47a5399e3c6ddd
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions