Searched refs:WAKE_LOCK_WEIGHT (Results 1 – 2 of 2) sorted by relevance
23 import static com.android.internal.os.BatteryStatsImpl.WAKE_LOCK_WEIGHT;481 final long expectedUserTimeUs = uidTimesUs[i][0] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()482 final long expectedSystemTimeUs = uidTimesUs[i][1] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()494 totalUserTimeUs = totalUserTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()495 totalSystemTimeUs = totalSystemTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()766 (uidTimesMs[i][idx] * 1000 * WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuFreqTimesLocked_partialTimers()
188 public static final int WAKE_LOCK_WEIGHT = 50; field in BatteryStatsImpl12109 userTimeUs = (userTimeUs * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuTimesLocked()12110 systemTimeUs = (systemTimeUs * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuTimesLocked()12135 mTempTotalCpuUserTimeUs = (mTempTotalCpuUserTimeUs * (100 - WAKE_LOCK_WEIGHT)) / 100; in readKernelUidCpuTimesLocked()12137 (mTempTotalCpuSystemTimeUs * (100 - WAKE_LOCK_WEIGHT)) / 100; in readKernelUidCpuTimesLocked()12237 (cpuFreqTimeMs[freqIndex] * 1000 * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuFreqTimesLocked()