Searched refs:cpuFreqTimeMs (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelUidCpuFreqTimeReaderTest.java | 307 public void verify(int uid, long[] cpuFreqTimeMs) { in verify() argument 310 assertArrayEquals(cpuFreqTimeMs, array); in verify() 320 public void onUidCpuFreqTime(int uid, long[] cpuFreqTimeMs) { in onUidCpuFreqTime() argument 321 long[] array = new long[cpuFreqTimeMs.length]; in onUidCpuFreqTime() 322 System.arraycopy(cpuFreqTimeMs, 0, array, 0, array.length); in onUidCpuFreqTime()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelUidCpuFreqTimeReader.java | 70 void onUidCpuFreqTime(int uid, long[] cpuFreqTimeMs); in onUidCpuFreqTime() argument
|
D | BatteryStatsImpl.java | 12185 mKernelUidCpuFreqTimeReader.readDelta((uid, cpuFreqTimeMs) -> { in readKernelUidCpuFreqTimesLocked() argument 12198 if (u.mCpuFreqTimeMs == null || u.mCpuFreqTimeMs.getSize() != cpuFreqTimeMs.length) { in readKernelUidCpuFreqTimesLocked() 12201 u.mCpuFreqTimeMs.addCountLocked(cpuFreqTimeMs, onBattery); in readKernelUidCpuFreqTimesLocked() 12203 u.mScreenOffCpuFreqTimeMs.getSize() != cpuFreqTimeMs.length) { in readKernelUidCpuFreqTimesLocked() 12207 u.mScreenOffCpuFreqTimeMs.addCountLocked(cpuFreqTimeMs, onBatteryScreenOff); in readKernelUidCpuFreqTimesLocked() 12237 (cpuFreqTimeMs[freqIndex] * 1000 * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuFreqTimesLocked() 12239 (cpuFreqTimeMs[freqIndex] * 1000 - appAllocationUs); in readKernelUidCpuFreqTimesLocked() 12241 appAllocationUs = cpuFreqTimeMs[freqIndex] * 1000; in readKernelUidCpuFreqTimesLocked()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 746 mKernelUidCpuFreqTimeReader.readAbsolute((uid, cpuFreqTimeMs) -> { in pullKernelUidCpuFreqTime() argument 747 for (int freqIndex = 0; freqIndex < cpuFreqTimeMs.length; ++freqIndex) { in pullKernelUidCpuFreqTime() 748 if(cpuFreqTimeMs[freqIndex] != 0) { in pullKernelUidCpuFreqTime() 752 e.writeLong(cpuFreqTimeMs[freqIndex]); in pullKernelUidCpuFreqTime()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4190 final long[] cpuFreqTimeMs = u.getCpuFreqTimes(which); in dumpCheckinLocked() local 4193 if (cpuFreqTimeMs != null && cpuFreqTimeMs.length == cpuFreqs.length) { in dumpCheckinLocked() 4195 for (int i = 0; i < cpuFreqTimeMs.length; ++i) { in dumpCheckinLocked() 4196 sb.append((i == 0 ? "" : ",") + cpuFreqTimeMs[i]); in dumpCheckinLocked() 4204 for (int i = 0; i < cpuFreqTimeMs.length; ++i) { in dumpCheckinLocked() 4209 cpuFreqTimeMs.length, sb.toString()); in dumpCheckinLocked() 7265 final long[] cpuFreqTimeMs = u.getCpuFreqTimes(which); in dumpProtoAppsLocked() local 7268 if (cpuFreqTimeMs != null && cpuFreqTimeMs.length == cpuFreqs.length) { in dumpProtoAppsLocked() 7271 screenOffCpuFreqTimeMs = new long[cpuFreqTimeMs.length]; in dumpProtoAppsLocked() 7273 for (int ic = 0; ic < cpuFreqTimeMs.length; ++ic) { in dumpProtoAppsLocked() [all …]
|