commit | d5ca3f1f6968a688b2128360da79595d1a1b9784 | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Mon Jun 05 07:47:54 2023 +0000 |
committer | Hansen Kurli <hkurli@google.com> | Mon Jun 12 05:43:21 2023 +0000 |
tree | 1346671784f904206c350bb9ff31f941697a1ed8 | |
parent | 91adc204d846970e5817c244eeb1e0d62aed87cc [diff] |
Replace upTimeMillis with elapsedRealTime upTimeMillis does not include time spent in deep sleep. Use elapsedRealtime instead. The time spent in deep sleep is important to include since the keepalives may still be ongoing during deep sleep and so that time should be included in duration calculations. Bug: 273451360 Fixes: 281639289 Test: atest FrameworksNetTests Change-Id: I54350d49bdfec58cc00dea6d82cba01f5d387bb0