Home
last modified time | relevance | path

Searched refs:mHistPref (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageAdvanced.java76 @VisibleForTesting BatteryHistoryPreference mHistPref; field in PowerUsageAdvanced
118 mHistPref = (BatteryHistoryPreference) findPreference(KEY_BATTERY_GRAPH); in onCreate()
179 updatePreference(mHistPref); in refreshUi()
193 mHistPref.setBottomSummary( in updateHistPrefSummary()
196 mHistPref.hideBottomSummary(); in updateHistPrefSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageAdvancedTest.java92 private BatteryHistoryPreference mHistPref; field in PowerUsageAdvancedTest
409 mPowerUsageAdvanced.mHistPref = mHistPref; in testRefreshUi_addsSubtextWhenAppropriate()
420 verify(mHistPref, never()).setBottomSummary(any()); in testRefreshUi_addsSubtextWhenAppropriate()
425 verify(mHistPref, atLeastOnce()).setBottomSummary(any()); in testRefreshUi_addsSubtextWhenAppropriate()