Searched refs:mStatsHelper (Results 1 – 2 of 2) sorted by relevance
44 protected BatteryStatsHelper mStatsHelper; field in PowerUsageBase54 mStatsHelper = new BatteryStatsHelper(activity, true); in onAttach()60 mStatsHelper.create(icicle); in onCreate()67 mStatsHelper.clearStats(); in onStart()78 mStatsHelper.clearStats(); in onResume()98 mStatsHelper.storeState(); in onDestroy()115 mStatsHelper.clearStats(); in onOptionsItemSelected()124 mStatsHelper.refreshStats(BatteryStats.STATS_SINCE_CHARGED, mUm.getUserProfiles()); in refreshStats()128 historyPref.setStats(mStatsHelper); in updatePreference()152 mStatsHelper.clearStats();
125 PowerUsageDetail.startBatteryDetailPage((SettingsActivity) getActivity(), mStatsHelper, in onPreferenceTreeClick() local287 final PowerProfile powerProfile = mStatsHelper.getPowerProfile(); in refreshStats()288 final BatteryStats stats = mStatsHelper.getStats(); in refreshStats()297 USE_FAKE_DATA ? getFakeStats() : mStatsHelper.getUsageList()); in refreshStats()307 double totalPower = USE_FAKE_DATA ? 4000 : mStatsHelper.getTotalPower(); in refreshStats()316 if (sipper.totalPowerMah < ((mStatsHelper.getMaxRealPower()*2)/3)) { in refreshStats()329 if (sipper.totalPowerMah < (mStatsHelper.getMaxRealPower()/2)) { in refreshStats()357 / mStatsHelper.getMaxPower(); in refreshStats()