commit | 4ebc064c30e5322e8f479f6732dfd44f72bfec77 | [log] [tgz] |
---|---|---|
author | Bookatz <bookatz@google.com> | Thu May 11 12:21:19 2017 -0700 |
committer | Bookatz <bookatz@google.com> | Fri May 12 09:00:20 2017 -0700 |
tree | fb47eb6204bb96425e32bc74b10e2868b1ca24d7 | |
parent | 19af4cc375fc407c9c232f13094f1f068f0a7602 [diff] |
Batterystats BLE results counter takes in count There would likely be too many BLE scan result calls for batterystats to be healthy. Therefore, the caller can supply a count by which to increase the counter, instead of doing it one result at a time. Bug: 37720787 Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java Change-Id: Ib8b2e8d250036be24c6c3dac477bc8d34fe498a6