Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java490 long totalSystemTimeUs = 0; in testReadKernelUidCpuTimesLocked_withPartialTimers() local
504 totalSystemTimeUs += uidTimesUs[i][1]; in testReadKernelUidCpuTimesLocked_withPartialTimers()
508 totalSystemTimeUs = totalSystemTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
513 final long expectedSystemTimeUs = totalSystemTimeUs / (partialTimerUids.length - i); in testReadKernelUidCpuTimesLocked_withPartialTimers()
524 totalSystemTimeUs -= expectedSystemTimeUs; in testReadKernelUidCpuTimesLocked_withPartialTimers()
533 assertEquals(0, totalSystemTimeUs); in testReadKernelUidCpuTimesLocked_withPartialTimers()