Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java1152 public int mNumStepDurations; field in BatteryStats.LevelStepTracker
1160 mNumStepDurations = numSteps; in LevelStepTracker()
1312 mNumStepDurations = 0; in init()
1321 final int numSteps = mNumStepDurations; in computeTimePerLevel()
1363 final int count = mNumStepDurations; in computeTimeEstimate()
1398 int stepCount = mNumStepDurations; in addLevelSteps()
1417 mNumStepDurations = stepCount; in addLevelSteps()
1426 mNumStepDurations = N; in readFromParcel()
1433 final int N = mNumStepDurations; in writeToParcel()
6676 int count = steps.mNumStepDurations; in dumpDurationSteps()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java9973 if (mDailyDischargeStepTracker.mNumStepDurations > 0) { in recordDailyStatsLocked()
9976 mDailyDischargeStepTracker.mNumStepDurations, in recordDailyStatsLocked()
9979 if (mDailyChargeStepTracker.mNumStepDurations > 0) { in recordDailyStatsLocked()
9982 mDailyChargeStepTracker.mNumStepDurations, in recordDailyStatsLocked()
10069 out.attribute(null, "n", Integer.toString(steps.mNumStepDurations)); in writeDailyLevelSteps()
10070 for (int i=0; i<steps.mNumStepDurations; i++) { in writeDailyLevelSteps()
10240 steps.mNumStepDurations = i; in readDailyItemTagDetailsLocked()
12569 if (mDischargeStepTracker.mNumStepDurations < 1) { in computeBatteryTimeRemaining()
12599 if (mChargeStepTracker.mNumStepDurations < 1) { in computeChargeTimeRemaining()