commit | a24b83cd6a2613e4b3e345de5fca79cce22ba3fb | [log] [tgz] |
---|---|---|
author | Wang Ningyuan <ningyuan@google.com> | Mon Sep 26 18:18:14 2022 +0900 |
committer | Wang Ningyuan <ningyuan@google.com> | Tue Sep 27 12:35:43 2022 +0900 |
tree | e321ac819906a92e46bd8b6753187493971ff386 | |
parent | 11fc7bbb0cfde0b0aa8932c77b4324a0240a563e [diff] |
logger: fixes file size count This CL fixes the broken file size and buffer size counting for uci_logger in existing stack. The BufferedFile struct is refactored to prevent user from changing the file content without updating the file size. Test: mmm . Test: atest --host-unit-test-only . Bug: b/246915776 Change-Id: I13e7fe4525fbc2299d8b567f3953b4c476df7805