diff options
author | Kalesh Singh <kaleshsingh@google.com> | 2019-07-26 15:54:10 -0700 |
---|---|---|
committer | Kalesh Singh <kaleshsingh@google.com> | 2019-07-26 17:07:30 -0700 |
commit | eedacc32213b3b43dabc73f4a84fcddcc1bd8993 (patch) | |
tree | 0bc464349740ab91613ed8a90c60caa45cefeea6 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java | |
parent | e33db449d809fd149d104872f6130b53f5392100 (diff) |
Get native wakelock stats from SystemSuspend if /sys/class/wakeup not available.
If /sys/class/wakeup is available, get both kernel and native wakelock
stats from SystemSuspend, else we get native wakelock stats from
SystemSuspend and fallback to /d/wakeup_sources for kernel wakelock
stats.
Bug: 128923994
Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: Compare dumpsys suspend_control against
dumpsys batterystats --checkin | grep kwl
to verify BatteryStats is getting wakelock stats
from SystemSuspend.
Change-Id: I08e56c984b903285bb965dd853dae4a63fdeb824
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions