commit | 03cbd1f7828332340d15d1eed25ba2cfb4fd35cb | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Fri Oct 08 18:39:10 2021 +0000 |
committer | Lakshman Annadorai <lakshmana@google.com> | Fri Oct 15 02:12:28 2021 +0000 |
tree | 4f1ae32e542b914468f6103e66667e9245cea557 | |
parent | 2b802eeaee7f374eb10a78dc93ec5291b76156e4 [diff] |
Fetch today's I/O usage stats collected during previous boot. Watchdog daemon fetches today's I/O usage stat, that were collected during the previous boot, from CarWatchdogService, so the daemon can the have the aggregated view of the total bytes written to disk since the beginning of the day. Test: atest CarWatchdogServiceUnitTest WatchdogStorageUnitTest libwatchdog_test Bug: 192665981 Change-Id: Ieb3f3ba27d4d94f68f94788a364007fbc022a872 Merged-In: Ieb3f3ba27d4d94f68f94788a364007fbc022a872 (cherry picked from commit 766a91829ffdb341a6d59ed65e7e0d2f38273357)
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.