Home
last modified time | relevance | path

Searched refs:mStats (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/src/com/android/email/provider/
DContentCache.java112 private final Statistics mStats; field in ContentCache
427 mStats = new Statistics(this); in ContentCache()
489 mStats.mStaleCount++; in putCursorImpl()
531 mStats.mHitCount++; in getCachedCursorImpl()
534 mStats.mMissCount++; in getCachedCursorImpl()
560 mStats.mProjectionMissCount++; in getMatrixCursor()
582 mStats.mHitCount++; in getMatrixCursor()
585 mStats.mMissCount++; in getMatrixCursor()
682 mStats.mInvalidateCount++; in invalidate()
692 mStats.mOpCount++; in dumpOnCount()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java95 ProcessStats mStats; field in ProcessStatsUi
147 mStats = sStatsXfer; in onCreate()
191 sStatsXfer = mStats; in onDestroy()
312 mStats = null; in onOptionsItemSelected()
386 if (mStats == null || mLastDuration != mDuration) { in refreshStats()
407 final long elapsedTime = mStats.mTimePeriodEndRealtime-mStats.mTimePeriodStartRealtime; in refreshStats()
438 mTotalTime = ProcessStats.dumpSingleTime(null, null, mStats.mMemFactorDurations, in refreshStats()
439 mStats.mMemFactor, mStats.mStartTime, now); in refreshStats()
448 mMemTimes[imem] += mStats.mMemFactorDurations[state]; in refreshStats()
495 mStats.computeTotalMemoryUse(totalMem, now); in refreshStats()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java57 private NetworkStatsHistory mStats; field in ChartNetworkSeriesView
145 mStats = stats; in bindNetworkStats()
179 if (mStats == null || mStats.size() < 2) { in generatePath()
202 final int start = mStats.getIndexBefore(mStart); in generatePath()
203 final int end = mStats.getIndexAfter(mEnd); in generatePath()
205 entry = mStats.getValues(i, entry); in generatePath()
263 final long bucketDuration = mStats.getBucketDuration(); in generatePath()
266 entry = mStats.getValues(lastTime - WEEK_IN_MILLIS * 2, lastTime, now, entry); in generatePath()
276 entry = mStats.getValues(lastWeekTime - DAY_IN_MILLIS, lastWeekTime, now, entry); in generatePath()
309 if (maxVisible <= 0 && mStats != null) { in getMaxVisible()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryPreference.java38 final private BatteryStats mStats; field in BatteryHistoryPreference
48 mStats = stats; in BatteryHistoryPreference()
53 return mStats; in getStats()
73 chart.setStats(mStats, mBatteryBroadcast); in onBindView()
DBatteryHistoryChart.java155 BatteryStats mStats; field in BatteryHistoryChart
476 mStats = stats; in setStats()
483 long uSecTime = mStats.computeBatteryRealtime(elapsedRealtimeUs, in setStats()
500 final long drainTime = mStats.computeBatteryTimeRemaining(elapsedRealtimeUs); in setStats()
511 final long chargeTime = mStats.computeChargeTimeRemaining(elapsedRealtimeUs); in setStats()
806 if (mEndDataWallTime > mStartWallTime && mStats.startIteratingHistoryLocked()) { in onSizeChanged()
808 while (mStats.getNextHistoryLocked(rec) && i < N) { in onSizeChanged()
989 mStats.finishIteratingHistoryLocked(); in onSizeChanged()
DBatteryHistoryDetail.java34 private BatteryStats mStats; field in BatteryHistoryDetail
41 mStats = BatteryStatsHelper.statsFromFile(getActivity(), histFile); in onCreate()
50 chart.setStats(mStats, mBatteryBroadcast); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java385 private Stats mStats; field in Launcher
442 mStats = new Stats(this); in onCreate()
667 return mStats; in getStats()
2649 mStats.recordLaunch(intent, shortcut); in startAppShortcutOrInfoActivity()