Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java4311 final long[] cpuFreqTimeMs = u.getCpuFreqTimes(which); in dumpCheckinLocked() local
4314 if (cpuFreqTimeMs != null && cpuFreqTimeMs.length == cpuFreqs.length) { in dumpCheckinLocked()
4316 for (int i = 0; i < cpuFreqTimeMs.length; ++i) { in dumpCheckinLocked()
4317 sb.append((i == 0 ? "" : ",") + cpuFreqTimeMs[i]); in dumpCheckinLocked()
4325 for (int i = 0; i < cpuFreqTimeMs.length; ++i) { in dumpCheckinLocked()
4330 cpuFreqTimeMs.length, sb.toString()); in dumpCheckinLocked()
7386 final long[] cpuFreqTimeMs = u.getCpuFreqTimes(which); in dumpProtoAppsLocked() local
7389 if (cpuFreqTimeMs != null && cpuFreqTimeMs.length == cpuFreqs.length) { in dumpProtoAppsLocked()
7392 screenOffCpuFreqTimeMs = new long[cpuFreqTimeMs.length]; in dumpProtoAppsLocked()
7394 for (int ic = 0; ic < cpuFreqTimeMs.length; ++ic) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1023 mCpuUidFreqTimeReader.readAbsolute((uid, cpuFreqTimeMs) -> { in pullKernelUidCpuFreqTime() argument
1024 for (int freqIndex = 0; freqIndex < cpuFreqTimeMs.length; ++freqIndex) { in pullKernelUidCpuFreqTime()
1025 if (cpuFreqTimeMs[freqIndex] != 0) { in pullKernelUidCpuFreqTime()
1030 e.writeLong(cpuFreqTimeMs[freqIndex]); in pullKernelUidCpuFreqTime()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11856 mCpuUidFreqTimeReader.readDelta((uid, cpuFreqTimeMs) -> { in readKernelUidCpuFreqTimesLocked() argument
11869 if (u.mCpuFreqTimeMs == null || u.mCpuFreqTimeMs.getSize() != cpuFreqTimeMs.length) { in readKernelUidCpuFreqTimesLocked()
11873 u.mCpuFreqTimeMs.addCountLocked(cpuFreqTimeMs, onBattery); in readKernelUidCpuFreqTimesLocked()
11875 u.mScreenOffCpuFreqTimeMs.getSize() != cpuFreqTimeMs.length) { in readKernelUidCpuFreqTimesLocked()
11880 u.mScreenOffCpuFreqTimeMs.addCountLocked(cpuFreqTimeMs, onBatteryScreenOff); in readKernelUidCpuFreqTimesLocked()
11912 (cpuFreqTimeMs[freqIndex] * 1000 * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuFreqTimesLocked()
11914 (cpuFreqTimeMs[freqIndex] * 1000 - appAllocationUs); in readKernelUidCpuFreqTimesLocked()
11916 appAllocationUs = cpuFreqTimeMs[freqIndex] * 1000; in readKernelUidCpuFreqTimesLocked()