History log of /frameworks/base/core/tests/coretests/src/com/android/internal/os/LongSamplingCounterTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
561a8d9d604edd609da1ed0ee2340ae68f98e7b8 21-Mar-2018 Mike Ma <yanmin@google.com> Record Bluetooth Cumulative Stats Properly

updateBluetoothStateLocked does not check for null values, causing
NPE. This patch reverts part of the change in 3445570. Instead, an
update method is added to LongSamplingCounter, which accepts
cumulative values.
Fixes: 75963520
Test: LongSamplingCounterTest

Change-Id: I89eba8e20f8f055c60f4ff250653345a22536189
/frameworks/base/core/tests/coretests/src/com/android/internal/os/LongSamplingCounterTest.java