commit | 1f81981001ba30530b9159d129576881d57d49c4 | [log] [tgz] |
---|---|---|
author | Howard Hao <hhhao@google.com> | Mon Jun 21 15:28:29 2021 -0700 |
committer | Howard Hao <hhhao@google.com> | Tue Jun 29 14:33:34 2021 -0700 |
tree | 24f47328f8181a0b603e1b639a657ac5faa42eec | |
parent | 81d247d746299f2f0e576945105c2ff5809a1887 [diff] |
Add system monitor event class, set DataBroker priority when receives event. - The SystemMonitorEvent contains system status - DataBrokerController uses the event to determine the appropriate task priority to run for DataBroker Bug: 187744195 Test: atest CarServiceUnitTest:DataBrokerControllerUnitTest Test: atest CarServiceUnitTest:SystemMonitorEventUnitTest Change-Id: I18087dc3f44e26000932afd3110f0ee6c5a38482
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.