Searched refs:mStatsHelper (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageBase.java | 44 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()
|
D | BatteryInfoLoader.java | 32 BatteryStatsHelper mStatsHelper; field in BatteryInfoLoader 40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader() 51 return batteryUtils.getBatteryInfo(mStatsHelper, LOG_TAG); in loadInBackground()
|
D | DebugEstimatesLoader.java | 35 private BatteryStatsHelper mStatsHelper; field in DebugEstimatesLoader 39 mStatsHelper = statsHelper; in DebugEstimatesLoader() 58 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground()
|
D | PowerUsageSummary.java | 115 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()
|
D | PowerUsageAdvanced.java | 153 mBatteryAppListPreferenceController.refreshAppListGroup(mStatsHelper, mShowAllApps); in refreshUi()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | PowerUsageBase.java | 44 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()
|
D | BatteryInfoLoader.java | 32 BatteryStatsHelper mStatsHelper; field in BatteryInfoLoader 40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader() 51 return batteryUtils.getBatteryInfo(mStatsHelper, LOG_TAG); in loadInBackground()
|
D | DebugEstimatesLoader.java | 33 private BatteryStatsHelper mStatsHelper; field in DebugEstimatesLoader 37 mStatsHelper = statsHelper; in DebugEstimatesLoader() 56 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground()
|
D | PowerUsageSummary.java | 110 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()
|
D | PowerUsageAdvanced.java | 153 mBatteryAppListPreferenceController.refreshAppListGroup(mStatsHelper, mShowAllApps); in refreshUi()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageBaseTest.java | 98 mStatsHelper = batteryStatsHelper; in setBatteryStatsHelper()
|
D | PowerUsageSummaryTest.java | 189 mFragment.mStatsHelper = mBatteryHelper; in setUp()
|