commit | f6a7e3cca039d5bc7106875a7c4ae46f7f1ee639 | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Thu Nov 19 22:05:41 2020 -0800 |
committer | Eric Jeong <ericjeong@google.com> | Tue Nov 24 11:44:21 2020 -0800 |
tree | e596c2e40c4089de0ef9a1fa1863c5045f400360 | |
parent | 04f2317bb44181974d2460fbe985651be3a5ce7e [diff] |
Allow max 3 minutes before going into suspend-to-RAM - The system keeps trying to go into up to the duration specified by config_maxSuspendWaitDuration. - The valid range of the duration is 0 to 180000(= 3min). - Wait interval is adjusted so that it will be fixed to 1000ms after several exponential back-off. Bug: 173113571 Test: manual test Change-Id: I45c0f3f85fddeb86d5f902d810fd57ce94aa731d Merged-In: I45c0f3f85fddeb86d5f902d810fd57ce94aa731d (cherry picked from commit decc425bf559838442a8497c4c4ae418e249b730)
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.