Searched refs:getUidTimeByPowerBracket (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | CpuPowerStatsCollectorTest.java | 259 assertThat(layout.getUidTimeByPowerBracket(uidStats, 3)).isEqualTo(46); in powerStatsDescriptor() 294 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_1), 0)) in collectStats() 296 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_1), 1)) in collectStats() 298 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_2), 0)) in collectStats() 300 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_2), 1)) in collectStats() 324 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_1), 0)) in collectStats() 326 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_1), 1)) in collectStats() 328 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_2), 0)) in collectStats() 330 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_2), 1)) in collectStats() 367 assertThat(layout.getUidTimeByPowerBracket(mCollectedStats.uidStats.get(UID_2), 0)) in isolatedUidReuse() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | CpuPowerStatsLayout.java | 135 public long getUidTimeByPowerBracket(long[] stats, int bracket) { in getUidTimeByPowerBracket() method in CpuPowerStatsLayout
|
D | CpuPowerStatsProcessor.java | 475 long timeInBracket = mStatsLayout.getUidTimeByPowerBracket(mTmpUidStatsArray, in estimateUidPowerConsumption()
|