Home
last modified time | relevance | path

Searched refs:mStatsHelper (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageBase.java44 protected BatteryStatsHelper mStatsHelper; field in PowerUsageBase
52 mStatsHelper = new BatteryStatsHelper(activity, true); in onAttach()
58 mStatsHelper.create(icicle); in onCreate()
90 historyPref.setStats(mStatsHelper); in updatePreference()
111 mStatsHelper = statsHelper; in onLoadFinished()
DBatteryInfoLoader.java32 BatteryStatsHelper mStatsHelper; field in BatteryInfoLoader
40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader()
51 return batteryUtils.getBatteryInfo(mStatsHelper, LOG_TAG); in loadInBackground()
DDebugEstimatesLoader.java35 private BatteryStatsHelper mStatsHelper; field in DebugEstimatesLoader
39 mStatsHelper = statsHelper; in DebugEstimatesLoader()
58 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground()
DPowerUsageSummary.java115 return new BatteryInfoLoader(getContext(), mStatsHelper);
135 return new DebugEstimatesLoader(getContext(), mStatsHelper);
179 return new BatteryTipLoader(getContext(), mStatsHelper);
303 mBatteryUtils.calculateScreenUsageTime(mStatsHelper), false)); in refreshUi()
325 final long lastFullChargeTime = mBatteryUtils.calculateLastFullChargeTime(mStatsHelper, in updateLastFullChargePreference()
DPowerUsageAdvanced.java153 mBatteryAppListPreferenceController.refreshAppListGroup(mStatsHelper, mShowAllApps); in refreshUi()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageBase.java44 protected BatteryStatsHelper mStatsHelper; field in PowerUsageBase
52 mStatsHelper = new BatteryStatsHelper(activity, true); in onAttach()
58 mStatsHelper.create(icicle); in onCreate()
95 historyPref.setStats(mStatsHelper); in updatePreference()
116 mStatsHelper = statsHelper; in onLoadFinished()
DBatteryInfoLoader.java32 BatteryStatsHelper mStatsHelper; field in BatteryInfoLoader
40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader()
51 return batteryUtils.getBatteryInfo(mStatsHelper, LOG_TAG); in loadInBackground()
DDebugEstimatesLoader.java33 private BatteryStatsHelper mStatsHelper; field in DebugEstimatesLoader
37 mStatsHelper = statsHelper; in DebugEstimatesLoader()
56 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground()
DPowerUsageSummary.java110 return new BatteryInfoLoader(getContext(), mStatsHelper);
130 return new DebugEstimatesLoader(getContext(), mStatsHelper);
176 return new BatteryTipLoader(getContext(), mStatsHelper);
299 mBatteryUtils.calculateScreenUsageTime(mStatsHelper), false)); in refreshUi()
321 final long lastFullChargeTime = mBatteryUtils.calculateLastFullChargeTime(mStatsHelper, in updateLastFullChargePreference()
DPowerUsageAdvanced.java153 mBatteryAppListPreferenceController.refreshAppListGroup(mStatsHelper, mShowAllApps); in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageBaseTest.java98 mStatsHelper = batteryStatsHelper; in setBatteryStatsHelper()
DPowerUsageSummaryTest.java189 mFragment.mStatsHelper = mBatteryHelper; in setUp()