History log of /packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/KeyValueListParserWrapperImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f59cbb143c2bbb43f7007a78e8e487dbad2ff1d3 06-Oct-2017 Andrew Sapperstein <asapperstein@google.com> Update wakeup anomaly to exclude blacklisted wakeups.

Also disables all anomalies out of the box.

Provides the ability to ignore certain wakeups if blacklisted in
AnomalyDetectionPolicy. Compares each wakeup to the blacklist and
if it exists, does not include it in the count used to compare against
the threshold.

Change-Id: I038ca966aed5a030853b4786bc201397bf4f9b70
Merged-In: I4ef548bd0952be5f0d4e36df5698f287839d0704
Fixes: 67000019
Test: robotests
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/KeyValueListParserWrapperImpl.java
9db95a35baee59975b8b9a84be087482fc760ec1 12-May-2017 jackqdyulei <jackqdyulei@google.com> Add AnomalyDetectionPolicy

AnomalyDetectionPolicy contains all the knobs for anomaly detection.

Since Robolectric doesn't support KeyValueListParser, this cl creates
KeyValueListParserWrapper so we could mock it and test
AnomalyDetectionPolicy

Bug: 36924669
Test: RunSettingsRoboTests
Change-Id: I71138f85d37a21b5c4c9c806a41e00a4aa924f5f
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/KeyValueListParserWrapperImpl.java