History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ccb5a4698884cab16cdee86ce1f900b9f05e1e7 13-Jul-2017 Salvador Martinez <dehboxturtle@google.com> Fix enhanced estimate discharge text showing while charging

In the PowerUsageAdvanced screen the text showing whether your time
remaining information is enhanced or not should not show when the
device is plugged in. This CL fixes a bug in that logic that would
show the text when it wasn't supposed to.

Test: robotests still pass, manual verification
Bug: 63176050
Change-Id: I33fb31671cd9c29aed20483301e51ae1ded1f1b6
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
cbefbc261f7f1f9d6a12909e66d1764a3c1031a9 19-Jun-2017 Salvador Martinez <dehboxturtle@google.com> Add info string to advanced battery usage page

This CL adds an FYI string under the battery graph to let users
know that their current estimate is coming from the enhanced
estimate provider when it is enabled.

Test: Robotests
Bug: 38399654
Change-Id: If5cd622ef0251a5a483cef870fc2261369e14845
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
e2a276f2b6547884639fe94c801eb0a1f8a603e5 11-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Update advanced battery screen to use headline font.

Change-Id: I8e70cc8093cccbe67b7c363a60a03f0eb1cda2e5
Fixes: 62507326
Test: robotests
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
9f1e911759dc6fedaac9fa65afb79f6a93022bf4 09-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Refactor test runner to use static list of resource paths

Previously everything lived in an inner class method of
SettingsRobolectricTestRunner. That method has now been turned into
a static method so that it can be called by other runners.

Bug: 62460102
Test: robotests
Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
c661098ab8e278c57f1ad1a9adb8f1bbd80a81a5 03-Jun-2017 Alex Kulesza <kulesza@google.com> Move UsageGraph from SettingsLib to Settings.

In preparation for modifying the graph code to show detailed projections
(see bug), this change moves it into Settings along with related tests
and resources.

Bug: 38400320
Test: manual, make SettingsUnitTests, make SettingsGoogleUnitTests
Change-Id: I88e5336c15827727b3427e29b10954bba9cfba7d
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
0e8c88376cb30a6130e0750880516dd771dc6701 01-Jun-2017 Salvador Martinez <dehboxturtle@google.com> Move BatteryInfo to settings from settingslib

This CL simply moves BatteryInfo from settingslib to settings and
makes sure the tests still pass. No other changes are made other than
imports or minor changes needed to make sure existing code does not
break.

Test: Robotests still pass
Bug: 38399275
Bug: 38398949
Bug: 38399654
Change-Id: I59803348e2780b7676ccc6c43234a586c184d71f
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
046400c2c407429da47e6b2230ba8bbd21c43e9b 24-May-2017 Maurice Lam <yukl@google.com> Migrate settings robolectric tests to mockito 2

- Migrated ArgumentMatcher subclasses to lambdas
- Replaced any() with nullable() where tests were failing

Test: cd tests/robotests && mma
Bug: 38456058
Change-Id: Ice8c39b435c45b87f82dbbd9860e68f235314cf8
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
4bd1e4f73b7b3b7efcf40e8056aba54dc3ea1ee6 05-Apr-2017 Filip Pavlis <pavlis@google.com> Omit using ctor of PreferenceViewHolder in tests.

See the topic for related change in the support lib.

Bug: b/33774880
Test: N/A
Change-Id: I3514821db649e26068f151bd69c687faab5ae222
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java
3a03b722c67e343a3df8724b5f02f13d35252b22 16-Mar-2017 jackqdyulei <jackqdyulei@google.com> Delete the estimated time in battery usage graph

Bug: 31012673
Test: RunSettingsRoboTests
Change-Id: Icac85a5fc523b70904e048d17eace30c91fe54ee
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/BatteryHistoryPreferenceTest.java