History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/AppInfoTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7caecd36f785709525ee1be3e8fe211f1055c383 08-Mar-2018 Lei Yu <jackqdyulei@google.com> Change anomalyType to ArraySet in AppInfo

After this cl, in AppInfo we could store mutilple anomalyTypes, so
AppInfo list will only contain one instance for each uid(however
still keep all the anomaly data)

In this way we could remove the duplicate items in app dialog.

Bug: 74335346
Test: RunSettingsRoboTests
Change-Id: I2ef7c218df2a956eea66aa6bdf03f5ddd19948e3
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/AppInfoTest.java
36249c6254484831ad1db466618ca481df072dfb 01-Mar-2018 jackqdyulei <jackqdyulei@google.com> Update dabase manager to store the uid

Also update the AppInfo to store the uid

Bug: 74022362
Test: RunSettingsRoboTests
Change-Id: I373242a12e9dbf48be134f2e9be30831b09f91c9
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/AppInfoTest.java
22a39c2b93bc66db71238274a7683d329232d124 26-Feb-2018 James Lemieux <jplemieux@google.com> Use external/robolectric-shadows/run_robotests.mk

This allows Settings to test against the latest framework changes.

Also replaced TestConfig with traditional robolectric.properties.

Bug: 73173204
Bug: 73892008
Test: make -j56 RunSettingsRoboTests
Change-Id: I3135b4fa5f095ba79b282a76f45dd9baa2584bc7
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/AppInfoTest.java
963b7cca257bca828e98ce35be106e656c8e1538 16-Jan-2018 jackqdyulei <jackqdyulei@google.com> Add database to store anomaly data

1. Refactor HighUsageApp to AppInfo so it could be
reused both in dialog and app restriction
2. Add BatteryDatabaseHelper to store the anomaly log

Bug: 70570352
Test: RunSettingsRoboTests

Change-Id: I900cd9746ff7f1e19bd6f3948463588b7cf72b85
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/AppInfoTest.java