commit | c33616da747c3a6c59ee7376a69b4fd443729b79 | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Fri Jun 25 17:51:37 2021 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Tue Jun 29 15:36:45 2021 -0700 |
tree | d3dd21037145e966a247a47a28a361cb53a1553f | |
parent | 92f6608d38b72de3a1523c48cbb23e3b13824aa8 [diff] |
Write resource overuse configs to disk on a new update. Resource overuse configs will be marked for writting to disk on each update. The writing will happen asynchronously on a new thread. When the writing fails, the error is logged and writing is not retried as this is a rare scenario and an indication of the system in a bad state. Test: atest libwatchdog_test Bug: 185287136 Change-Id: Ie9f1a845a6ded96e66fbf931746998bcf0e0466e
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.