commit | e877d87dc2b2f5a4a8df213b10afef3372285fda | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Wed Apr 15 13:45:11 2020 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Wed Apr 15 15:04:47 2020 -0700 |
tree | dcd16e1fd6cb7c278af45ed347b2e86349645ea8 | |
parent | a4f8149d0b202fa033f9a96ea39170e8e6129e0c [diff] |
Vary the collection intervals between userdebug/eng and user builds. - Userdebug and eng builds will have the boot-time collection interval as 1 second and periodic collection interval as 10 seconds. - User builds will have the boot-time collection interval as 20 seconds and periodic collection interval as 1 minute. - To make sure the boot-time collection happens on user builds even when the boot completes before 20 seconds, a boot-time collection will be triggered after receiving boot complete and before switching to periodic collection stratergy. Bug: 153081469 Test: Tested that the boot-time collection is triggered on boot-complete with unit tests. coral_car device boots fine. Change-Id: I5f155914212e2a2512b516c9ae972698e45dbf29
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.