Searched refs:cpuTimesMs (Results 1 – 3 of 3) sorted by relevance
196 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid); in testCpuFreqTimes() local197 assertCpuTimesValid(cpuTimesMs); in testCpuFreqTimes()199 for (int i = 0; i < cpuTimesMs.length / 2; ++i) { in testCpuFreqTimes()200 actualCpuTimeMs += cpuTimesMs[i]; in testCpuFreqTimes()224 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid); in testCpuFreqTimes_screenOff() local225 assertCpuTimesValid(cpuTimesMs); in testCpuFreqTimes_screenOff()227 for (int i = 0; i < cpuTimesMs.length / 2; ++i) { in testCpuFreqTimes_screenOff()228 actualTotalCpuTimeMs += cpuTimesMs[i]; in testCpuFreqTimes_screenOff()232 for (int i = cpuTimesMs.length / 2; i < cpuTimesMs.length; ++i) { in testCpuFreqTimes_screenOff()233 actualScreenOffCpuTimeMs += cpuTimesMs[i]; in testCpuFreqTimes_screenOff()[all …]
90 final long[] cpuTimesMs; in readDeltaMs() local98 cpuTimesMs = readCpuTimesFromByteBuffer(buffer); in readDeltaMs()107 return computeDelta(uid, cpuTimesMs); in readDeltaMs()123 final long[] cpuTimesMs; in readCpuTimesFromByteBuffer() local124 cpuTimesMs = new long[mCpuFreqsCount]; in readCpuTimesFromByteBuffer()127 cpuTimesMs[i] = buffer.getLong() * 10; in readCpuTimesFromByteBuffer()129 return cpuTimesMs; in readCpuTimesFromByteBuffer()201 final long[] cpuTimesMs = allUidsCpuTimesMs.valueAt(i); in setAllUidsCpuTimesMs() local202 if (cpuTimesMs != null) { in setAllUidsCpuTimesMs()203 mLastUidCpuTimeMs.put(allUidsCpuTimesMs.keyAt(i), cpuTimesMs.clone()); in setAllUidsCpuTimesMs()
474 long[] cpuTimesMs = mKernelSingleUidTimeReader.readDeltaMs(uid); in updateProcStateCpuTimes() local477 cpuTimesMs = addCpuTimes(cpuTimesMs, in updateProcStateCpuTimes()481 if (onBattery && cpuTimesMs != null) { in updateProcStateCpuTimes()483 u.addProcStateTimesMs(procState, cpuTimesMs, onBattery); in updateProcStateCpuTimes()484 u.addProcStateScreenOffTimesMs(procState, cpuTimesMs, onBatteryScreenOff); in updateProcStateCpuTimes()536 final long[] cpuTimesMs = allUidCpuFreqTimesMs.valueAt(i); in copyFromAllUidsCpuTimes() local537 if (cpuTimesMs == null) { in copyFromAllUidsCpuTimes()541 uid, cpuTimesMs.clone()); in copyFromAllUidsCpuTimes()6840 private long[] nullIfAllZeros(LongSamplingCounterArray cpuTimesMs, int which) { in nullIfAllZeros() argument6841 if (cpuTimesMs == null) { in nullIfAllZeros()[all …]