Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java829 public int mNumStepDurations; field in BatteryStats.LevelStepTracker
837 mNumStepDurations = numSteps; in LevelStepTracker()
989 mNumStepDurations = 0; in init()
998 final int numSteps = mNumStepDurations; in computeTimePerLevel()
1040 final int count = mNumStepDurations; in computeTimeEstimate()
1075 int stepCount = mNumStepDurations; in addLevelSteps()
1094 mNumStepDurations = stepCount; in addLevelSteps()
1103 mNumStepDurations = N; in readFromParcel()
1110 final int N = mNumStepDurations; in writeToParcel()
5677 int count = steps.mNumStepDurations; in dumpDurationSteps()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8774 if (mDailyDischargeStepTracker.mNumStepDurations > 0) { in recordDailyStatsLocked()
8777 mDailyDischargeStepTracker.mNumStepDurations, in recordDailyStatsLocked()
8780 if (mDailyChargeStepTracker.mNumStepDurations > 0) { in recordDailyStatsLocked()
8783 mDailyChargeStepTracker.mNumStepDurations, in recordDailyStatsLocked()
8866 out.attribute(null, "n", Integer.toString(steps.mNumStepDurations)); in writeDailyLevelSteps()
8867 for (int i=0; i<steps.mNumStepDurations; i++) { in writeDailyLevelSteps()
9037 steps.mNumStepDurations = i; in readDailyItemTagDetailsLocked()
10832 if (mDischargeStepTracker.mNumStepDurations < 1) { in computeBatteryTimeRemaining()
10871 if (mChargeStepTracker.mNumStepDurations < 1) { in computeChargeTimeRemaining()