Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java4363 final long[] cpuFreqTimeMs = u.getCpuFreqTimes(which); in dumpCheckinLocked() local
4366 if (cpuFreqTimeMs != null && cpuFreqTimeMs.length == cpuFreqs.length) { in dumpCheckinLocked()
4368 for (int i = 0; i < cpuFreqTimeMs.length; ++i) { in dumpCheckinLocked()
4369 sb.append((i == 0 ? "" : ",") + cpuFreqTimeMs[i]); in dumpCheckinLocked()
4377 for (int i = 0; i < cpuFreqTimeMs.length; ++i) { in dumpCheckinLocked()
4382 cpuFreqTimeMs.length, sb.toString()); in dumpCheckinLocked()
7442 final long[] cpuFreqTimeMs = u.getCpuFreqTimes(which); in dumpProtoAppsLocked() local
7445 if (cpuFreqTimeMs != null && cpuFreqTimeMs.length == cpuFreqs.length) { in dumpProtoAppsLocked()
7448 screenOffCpuFreqTimeMs = new long[cpuFreqTimeMs.length]; in dumpProtoAppsLocked()
7450 for (int ic = 0; ic < cpuFreqTimeMs.length; ++ic) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1025 mCpuUidFreqTimeReader.readAbsolute((uid, cpuFreqTimeMs) -> { in pullKernelUidCpuFreqTime() argument
1026 for (int freqIndex = 0; freqIndex < cpuFreqTimeMs.length; ++freqIndex) { in pullKernelUidCpuFreqTime()
1027 if (cpuFreqTimeMs[freqIndex] != 0) { in pullKernelUidCpuFreqTime()
1032 e.writeLong(cpuFreqTimeMs[freqIndex]); in pullKernelUidCpuFreqTime()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11862 mCpuUidFreqTimeReader.readDelta((uid, cpuFreqTimeMs) -> { in readKernelUidCpuFreqTimesLocked() argument
11875 if (u.mCpuFreqTimeMs == null || u.mCpuFreqTimeMs.getSize() != cpuFreqTimeMs.length) { in readKernelUidCpuFreqTimesLocked()
11879 u.mCpuFreqTimeMs.addCountLocked(cpuFreqTimeMs, onBattery); in readKernelUidCpuFreqTimesLocked()
11881 u.mScreenOffCpuFreqTimeMs.getSize() != cpuFreqTimeMs.length) { in readKernelUidCpuFreqTimesLocked()
11886 u.mScreenOffCpuFreqTimeMs.addCountLocked(cpuFreqTimeMs, onBatteryScreenOff); in readKernelUidCpuFreqTimesLocked()
11918 (cpuFreqTimeMs[freqIndex] * 1000 * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuFreqTimesLocked()
11920 (cpuFreqTimeMs[freqIndex] * 1000 - appAllocationUs); in readKernelUidCpuFreqTimesLocked()
11922 appAllocationUs = cpuFreqTimeMs[freqIndex] * 1000; in readKernelUidCpuFreqTimesLocked()