Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsCpuTimesTest.java415 final long expectedUserTimeUs; in testReadKernelUidCpuTimesLocked_isolatedUid() local
421 expectedUserTimeUs = deltasUs[i][0]; in testReadKernelUidCpuTimesLocked_isolatedUid()
426 expectedUserTimeUs = uidTimesUs[i][0] + deltasUs[i][0]; in testReadKernelUidCpuTimesLocked_isolatedUid()
430 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_isolatedUid()
521 final long expectedUserTimeUs = uidTimesUs[i][0] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers() local
524 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_withPartialTimers()
528 expectedUserTimeUs + expectedSystemTimeUs, updatedUids.get(testUids[i])); in testReadKernelUidCpuTimesLocked_withPartialTimers()
539 final long expectedUserTimeUs = totalUserTimeUs / (partialTimerUids.length - i); in testReadKernelUidCpuTimesLocked_withPartialTimers() local
542 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_withPartialTimers()
547 expectedUserTimeUs + expectedSystemTimeUs, in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]