Home
last modified time | relevance | path

Searched refs:perc (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryStats.java1075 float perc = ((float)num) / ((float)den) * 100; in formatRatioLocked() local
1077 mFormatter.format("%.1f%%", perc); in formatRatioLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1578 public void finishAddingCpuLocked(int perc, int utime, int stime, long[] cpuSpeedTimes) { in finishAddingCpuLocked() argument
1580 if (perc != 0) { in finishAddingCpuLocked()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java1677 int perc = bstats.startAddingCpuLocked(); in updateCpuStatsNow() local
1687 int otherUTime = (st.rel_utime*perc)/100; in updateCpuStatsNow()
1688 int otherSTime = (st.rel_stime*perc)/100; in updateCpuStatsNow()
1707 bstats.finishAddingCpuLocked(perc, totalUTime, in updateCpuStatsNow()