Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsCpuTimesTest.java391 final long expectedUserTimeUs; in testReadKernelUidCpuTimesLocked_isolatedUid() local
397 expectedUserTimeUs = deltasUs[i][0]; in testReadKernelUidCpuTimesLocked_isolatedUid()
402 expectedUserTimeUs = uidTimesUs[i][0] + deltasUs[i][0]; in testReadKernelUidCpuTimesLocked_isolatedUid()
406 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_isolatedUid()
497 final long expectedUserTimeUs = uidTimesUs[i][0] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers() local
500 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_withPartialTimers()
515 final long expectedUserTimeUs = totalUserTimeUs / (partialTimerUids.length - i); in testReadKernelUidCpuTimesLocked_withPartialTimers() local
518 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_withPartialTimers()
523 expectedUserTimeUs + expectedSystemTimeUs, in testReadKernelUidCpuTimesLocked_withPartialTimers()
526 totalUserTimeUs -= expectedUserTimeUs; in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]