Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsCpuTimesTest.java517 long totalSystemTimeUs = 0; in testReadKernelUidCpuTimesLocked_withPartialTimers() local
531 totalSystemTimeUs += uidTimesUs[i][1]; in testReadKernelUidCpuTimesLocked_withPartialTimers()
535 totalSystemTimeUs = totalSystemTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
540 final long expectedSystemTimeUs = totalSystemTimeUs / (partialTimerUids.length - i); in testReadKernelUidCpuTimesLocked_withPartialTimers()
551 totalSystemTimeUs -= expectedSystemTimeUs; in testReadKernelUidCpuTimesLocked_withPartialTimers()
560 assertEquals(0, totalSystemTimeUs); in testReadKernelUidCpuTimesLocked_withPartialTimers()