Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java685 public int mNumStepDurations; field in BatteryStats.LevelStepTracker
693 mNumStepDurations = numSteps; in LevelStepTracker()
845 mNumStepDurations = 0; in init()
854 final int numSteps = mNumStepDurations; in computeTimePerLevel()
896 final int count = mNumStepDurations; in computeTimeEstimate()
931 int stepCount = mNumStepDurations; in addLevelSteps()
950 mNumStepDurations = stepCount; in addLevelSteps()
959 mNumStepDurations = N; in readFromParcel()
966 final int N = mNumStepDurations; in writeToParcel()
5000 int count = steps.mNumStepDurations; in dumpDurationSteps()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java7686 if (mDailyDischargeStepTracker.mNumStepDurations > 0) { in recordDailyStatsLocked()
7689 mDailyDischargeStepTracker.mNumStepDurations, in recordDailyStatsLocked()
7692 if (mDailyChargeStepTracker.mNumStepDurations > 0) { in recordDailyStatsLocked()
7695 mDailyChargeStepTracker.mNumStepDurations, in recordDailyStatsLocked()
7778 out.attribute(null, "n", Integer.toString(steps.mNumStepDurations)); in writeDailyLevelSteps()
7779 for (int i=0; i<steps.mNumStepDurations; i++) { in writeDailyLevelSteps()
7949 steps.mNumStepDurations = i; in readDailyItemTagDetailsLocked()
9612 if (mDischargeStepTracker.mNumStepDurations < 1) { in computeBatteryTimeRemaining()
9651 if (mChargeStepTracker.mNumStepDurations < 1) { in computeChargeTimeRemaining()