Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DCpuPowerStatsCollectorTest.java246 assertThat(layout.getTimeByScalingStep(deviceStats, 2)).isEqualTo(42); in powerStatsDescriptor()
287 assertThat(layout.getTimeByScalingStep(mCollectedStats.stats, 0)).isEqualTo(1111); in collectStats()
288 assertThat(layout.getTimeByScalingStep(mCollectedStats.stats, 1)).isEqualTo(2222); in collectStats()
289 assertThat(layout.getTimeByScalingStep(mCollectedStats.stats, 2)).isEqualTo(3333); in collectStats()
315 assertThat(layout.getTimeByScalingStep(mCollectedStats.stats, 0)).isEqualTo(4444); in collectStats()
316 assertThat(layout.getTimeByScalingStep(mCollectedStats.stats, 1)).isEqualTo(2222); in collectStats()
317 assertThat(layout.getTimeByScalingStep(mCollectedStats.stats, 2)).isEqualTo(0); in collectStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsLayout.java67 public long getTimeByScalingStep(long[] stats, int step) { in getTimeByScalingStep() method in CpuPowerStatsLayout
DCpuPowerStatsProcessor.java303 long timeInStep = mStatsLayout.getTimeByScalingStep(mTmpDeviceStatsArray, step); in computeTotals()
368 long timeInStep = mStatsLayout.getTimeByScalingStep(mTmpDeviceStatsArray, step); in estimatePowerByDeviceState()