commit | ab9ad195d1e873f7569dec45c4e627a4e8ba67e4 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Dec 06 12:46:59 2016 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Wed Jan 04 12:34:57 2017 -0800 |
tree | d69c6cadf922f82c1a35ba2ec4c7c4722c9c23a9 | |
parent | 9bab1c4dd505903dbdd7403ea38d8b9d449e9be4 [diff] |
Track background sensor usage Keep an additional counter for background access of sensors. Increment the count when sensor is accessed while process is in the background state. Bug: 33553631 Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsSensorTest.java Change-Id: I87d7dbdaf4c34aa9dd9c7e13134d8f5f759f4e2b