Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java24 import static com.android.internal.os.BatteryStatsImpl.WAKE_LOCK_WEIGHT;
494 final long expectedUserTimeUs = uidTimesUs[i][0] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
495 final long expectedSystemTimeUs = uidTimesUs[i][1] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
507 totalUserTimeUs = totalUserTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
508 totalSystemTimeUs = totalSystemTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
779 (uidTimesMs[i][idx] * 1000 * WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuFreqTimesLocked_partialTimers()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java178 public static final int WAKE_LOCK_WEIGHT = 50; field in BatteryStatsImpl
11786 userTimeUs = (userTimeUs * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuTimesLocked()
11787 systemTimeUs = (systemTimeUs * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuTimesLocked()
11812 mTempTotalCpuUserTimeUs = (mTempTotalCpuUserTimeUs * (100 - WAKE_LOCK_WEIGHT)) / 100; in readKernelUidCpuTimesLocked()
11814 (mTempTotalCpuSystemTimeUs * (100 - WAKE_LOCK_WEIGHT)) / 100; in readKernelUidCpuTimesLocked()
11918 (cpuFreqTimeMs[freqIndex] * 1000 * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuFreqTimesLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt89104 Lcom/android/internal/os/BatteryStatsImpl;->WAKE_LOCK_WEIGHT:I