Home
last modified time | relevance | path

Searched refs:clockUpdates (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsStore.java191 List<AggregatedPowerStats.ClockUpdate> clockUpdates = stats.getClockUpdates(); in createPowerStatsSpan() local
192 if (clockUpdates.isEmpty()) { in createPowerStatsSpan()
197 long monotonicTime = clockUpdates.get(0).monotonicTime; in createPowerStatsSpan()
200 for (int i = 0; i < clockUpdates.size(); i++) { in createPowerStatsSpan()
201 AggregatedPowerStats.ClockUpdate clockUpdate = clockUpdates.get(i); in createPowerStatsSpan()
203 if (i == clockUpdates.size() - 1) { in createPowerStatsSpan()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsAggregatorTest.java126 List<AggregatedPowerStats.ClockUpdate> clockUpdates = stats.getClockUpdates(); in stateUpdates()
127 assertThat(clockUpdates).hasSize(2); in stateUpdates()
129 AggregatedPowerStats.ClockUpdate clockUpdate0 = clockUpdates.get(0); in stateUpdates()
133 AggregatedPowerStats.ClockUpdate clockUpdate1 = clockUpdates.get(1); in stateUpdates()