commit | af207dbe187a605235c1184ed86e1106ee883099 | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Tue Jun 01 13:53:02 2021 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Mon Jun 07 08:41:46 2021 -0700 |
tree | 16818ae90bd910d05005ee08cf5ab8e6f13fd20e | |
parent | bf30b3b86e9489bece3f5ac80ee37300080b429c [diff] |
Convert per state thresholds read from XML configs. Per-state thresholds defined in the XML configs are represented in MiB. Convert these threholds to bytes before updating the in-memory cache. Test: atest libwatchdog_test Bug: 186445673 Change-Id: I431fe6b704472b945e617e0aa4cb6c365a1bcd08
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.