Searched refs:cpuTimesMs (Results 1 – 3 of 3) sorted by relevance
194 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid); in testCpuFreqTimes() local195 assertCpuTimesValid(cpuTimesMs); in testCpuFreqTimes()197 for (int i = 0; i < cpuTimesMs.length / 2; ++i) { in testCpuFreqTimes()198 actualCpuTimeMs += cpuTimesMs[i]; in testCpuFreqTimes()222 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid); in testCpuFreqTimes_screenOff() local223 assertCpuTimesValid(cpuTimesMs); in testCpuFreqTimes_screenOff()225 for (int i = 0; i < cpuTimesMs.length / 2; ++i) { in testCpuFreqTimes_screenOff()226 actualTotalCpuTimeMs += cpuTimesMs[i]; in testCpuFreqTimes_screenOff()230 for (int i = cpuTimesMs.length / 2; i < cpuTimesMs.length; ++i) { in testCpuFreqTimes_screenOff()231 actualScreenOffCpuTimeMs += cpuTimesMs[i]; in testCpuFreqTimes_screenOff()[all …]
92 final long[] cpuTimesMs; in readDeltaMs() local100 cpuTimesMs = readCpuTimesFromByteBuffer(buffer); in readDeltaMs()109 return computeDelta(uid, cpuTimesMs); in readDeltaMs()125 final long[] cpuTimesMs; in readCpuTimesFromByteBuffer() local126 cpuTimesMs = new long[mCpuFreqsCount]; in readCpuTimesFromByteBuffer()129 cpuTimesMs[i] = buffer.getLong() * 10; in readCpuTimesFromByteBuffer()131 return cpuTimesMs; in readCpuTimesFromByteBuffer()215 final long[] cpuTimesMs = allUidsCpuTimesMs.valueAt(i); in setAllUidsCpuTimesMs() local216 if (cpuTimesMs != null) { in setAllUidsCpuTimesMs()217 mLastUidCpuTimeMs.put(allUidsCpuTimesMs.keyAt(i), cpuTimesMs.clone()); in setAllUidsCpuTimesMs()
437 long[] cpuTimesMs = mKernelSingleUidTimeReader.readDeltaMs(uid); in updateProcStateCpuTimes() local440 cpuTimesMs = addCpuTimes(cpuTimesMs, in updateProcStateCpuTimes()444 if (onBattery && cpuTimesMs != null) { in updateProcStateCpuTimes()446 u.addProcStateTimesMs(procState, cpuTimesMs, onBattery); in updateProcStateCpuTimes()447 u.addProcStateScreenOffTimesMs(procState, cpuTimesMs, onBatteryScreenOff); in updateProcStateCpuTimes()499 final long[] cpuTimesMs = allUidCpuFreqTimesMs.valueAt(i); in copyFromAllUidsCpuTimes() local500 if (cpuTimesMs == null) { in copyFromAllUidsCpuTimes()504 uid, cpuTimesMs.clone()); in copyFromAllUidsCpuTimes()6970 private long[] nullIfAllZeros(LongSamplingCounterArray cpuTimesMs, int which) { in nullIfAllZeros() argument6971 if (cpuTimesMs == null) { in nullIfAllZeros()[all …]