Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsCpuTimesTest.java24 import static com.android.server.power.stats.BatteryStatsImpl.WAKE_LOCK_WEIGHT;
521 final long expectedUserTimeUs = uidTimesUs[i][0] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
522 final long expectedSystemTimeUs = uidTimesUs[i][1] * WAKE_LOCK_WEIGHT / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
534 totalUserTimeUs = totalUserTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
535 totalSystemTimeUs = totalSystemTimeUs * (100 - WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuTimesLocked_withPartialTimers()
818 (uidTimesMs[i][idx] * 1000 * WAKE_LOCK_WEIGHT) / 100; in testReadKernelUidCpuFreqTimesLocked_partialTimers()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java227 public static final int WAKE_LOCK_WEIGHT = 50; field in BatteryStatsImpl
14382 userTimeUs = (userTimeUs * WAKE_LOCK_WEIGHT) / 100;
14383 systemTimeUs = (systemTimeUs * WAKE_LOCK_WEIGHT) / 100;
14408 mTempTotalCpuUserTimeUs = (mTempTotalCpuUserTimeUs * (100 - WAKE_LOCK_WEIGHT)) / 100;
14410 (mTempTotalCpuSystemTimeUs * (100 - WAKE_LOCK_WEIGHT)) / 100;
14520 (cpuFreqTimeMs[freqIndex] * 1000 * WAKE_LOCK_WEIGHT) / 100;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt74032 Lcom/android/internal/os/BatteryStatsImpl;->WAKE_LOCK_WEIGHT:I