Home
last modified time | relevance | path

Searched refs:activeTimeUs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DKernelWakelockStats.java27 public long activeTimeUs; field in KernelWakelockStats.Entry
30 Entry(int count, long totalTimeUs, long activeTimeUs, int version) { in Entry() argument
33 this.activeTimeUs = activeTimeUs; in Entry()
DKernelWakelockReader.java224 kwlStats.activeTimeUs = info.isActive ? info.activeTime * 1000 : 0; in updateWakelockStats()
296 kwlStats.activeTimeUs = activeTime; in parseProcWakelocks()
300 kwlStats.activeTimeUs = activeTime; in parseProcWakelocks()
DBatteryStatsImpl.java3085 public void update(long totalTimeUs, long activeTimeUs, int count, in update() argument
3090 mBaseReportedTotalTimeUs = totalTimeUs - activeTimeUs; in update()
3091 mBaseReportedCount = activeTimeUs == 0 ? count : count - 1; in update()
13943 kwlt.update(kws.totalTimeUs, kws.activeTimeUs, kws.count, elapsedRealtimeUs);
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DKernelWakelockReaderTest.java161 assertEquals(456 * 1000, entry.activeTimeUs); // Microseconds in testOneWakelock()
251 assertEquals(500 * 1000, entry.activeTimeUs); // Microseconds in testOneWakeLockInfo()