Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerCalculator.java215 final long cpuActiveTime = u.getCpuActiveTime(key.processState); in calculateModeledPowerPerProcessState() local
218 powerMah += mCpuActivePowerEstimator.calculatePower(cpuActiveTime); in calculateModeledPowerPerProcessState()
220 .setUsageDurationMillis(key, cpuActiveTime); in calculateModeledPowerPerProcessState()
294 private double calculateUidModeledPowerMah(BatteryStats.Uid u, long cpuActiveTime, in calculateUidModeledPowerMah() argument
297 double powerMah = calculateActiveCpuPowerMah(cpuActiveTime); in calculateUidModeledPowerMah()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java622 long cpuActiveTime = sumActiveTime(mBuffer, mBpfTimesAvailable ? 1 : 10); in processUidDelta() local
623 if (cpuActiveTime > 0) { in processUidDelta()
624 long delta = cpuActiveTime - mLastTimes.get(uid, 0L); in processUidDelta()
626 mLastTimes.put(uid, cpuActiveTime); in processUidDelta()
665 long cpuActiveTime = sumActiveTime(mBuffer, mBpfTimesAvailable ? 1 : 10); in processUidAbsolute() local
666 if (cpuActiveTime > 0) { in processUidAbsolute()
667 cb.onUidCpuTime((int) mBuffer[0], cpuActiveTime); in processUidAbsolute() local