commit | 4467f02b923f5ed3a834c709a3690bb86e471a8b | [log] [tgz] |
---|---|---|
author | Abhishek Bhardwaj <abhishekbh@google.com> | Tue Sep 11 13:56:16 2018 -0700 |
committer | Abhishek Bhardwaj <abhishekbh@google.com> | Wed Sep 12 14:05:33 2018 -0700 |
tree | 2c0960566c526806d320a28f718742993a869012 | |
parent | 1e0bdd2845f67493d2d1bb0d056d92959f31f456 [diff] |
Add check for kernel wake lock stats support This change adds a check for the existence of either the /proc/wakelocks or /d/wake_sources file in the testKernelWakelock CTS tests. If either of these files aren't present the test doesn't run its logic and implicitly passes. Bug: 110795382 Test: atest android.cts.statsd.atom.HostAtomTests#testKernelWakelock. Change-Id: I1738b4397a86667c6f9a0d5c3e7dd0531e08a6c6