Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelSingleUidTimeReader.java145 final long[] deltaTimesMs = getDeltaLocked(lastCpuTimesMs, latestCpuTimesMs); in computeDelta() local
146 if (deltaTimesMs == null) { in computeDelta()
154 for (int i = deltaTimesMs.length - 1; i >= 0; --i) { in computeDelta()
155 if (deltaTimesMs[i] > 0) { in computeDelta()
162 return deltaTimesMs; in computeDelta()
187 final long[] deltaTimesMs = new long[latestCpuTimesMs.length]; in getDeltaLocked() local
189 deltaTimesMs[i] = latestCpuTimesMs[i] - lastCpuTimesMs[i]; in getDeltaLocked()
190 if (deltaTimesMs[i] < 0) { in getDeltaLocked()
194 return deltaTimesMs; in getDeltaLocked()
DBatteryStatsImpl.java540 final long[] deltaTimesMs = mKernelSingleUidTimeReader.computeDelta( in copyFromAllUidsCpuTimes() local
542 if (onBattery && deltaTimesMs != null) { in copyFromAllUidsCpuTimes()
552 u.addProcStateTimesMs(procState, deltaTimesMs, onBattery); in copyFromAllUidsCpuTimes()
553 u.addProcStateScreenOffTimesMs(procState, deltaTimesMs, onBatteryScreenOff); in copyFromAllUidsCpuTimes()