Home
last modified time | relevance | path

Searched refs:startMonotonicTime (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsExporter.java76 long startMonotonicTime = timeFrame.startMonotonicTime; in exportAggregatedPowerStats() local
77 long endMonotonicTime = startMonotonicTime + timeFrame.duration; in exportAggregatedPowerStats()
78 if (startMonotonicTime < spanMinTime) { in exportAggregatedPowerStats()
79 spanMinTime = startMonotonicTime; in exportAggregatedPowerStats()
DPowerStatsSpan.java76 public final long startMonotonicTime; field in PowerStatsSpan.TimeFrame
82 TimeFrame(long startMonotonicTime, @CurrentTimeMillisLong long startTime, in TimeFrame() argument
84 this.startMonotonicTime = startMonotonicTime; in TimeFrame()
92 serializer.attributeLong(null, XML_ATTR_MONOTONIC, startMonotonicTime); in write()
110 .append(" (monotonic=").append(startMonotonicTime).append(") ") in dump()
DPowerStatsScheduler.java234 long endMonotonicTime = timeFrame.startMonotonicTime + timeFrame.duration; in getLastSavedSpanEndMonotonicTime()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsSchedulerTest.java169 assertThat(timeFrame1.startMonotonicTime).isEqualTo(START_REALTIME + 123); in storeAggregatePowerStats()
170 assertThat(timeFrame2.startMonotonicTime) in storeAggregatePowerStats()
171 .isEqualTo(timeFrame1.startMonotonicTime + timeFrame1.duration); in storeAggregatePowerStats()
DBatteryStatsImplTest.java969 assertThat(timeFrames.get(0).startMonotonicTime).isEqualTo(7654321); in storeBatteryUsageStatsOnReset()