Home
last modified time | relevance | path

Searched refs:totalTimeUs (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DKernelWakelockStats.java26 public long totalTimeUs; field in KernelWakelockStats.Entry
30 Entry(int count, long totalTimeUs, long activeTimeUs, int version) { in Entry() argument
32 this.totalTimeUs = totalTimeUs; in Entry()
DKernelWakelockReader.java223 kwlStats.totalTimeUs = info.totalTime * 1000; in updateWakelockStats()
295 kwlStats.totalTimeUs += totalTime; in parseProcWakelocks()
299 kwlStats.totalTimeUs = totalTime; in parseProcWakelocks()
DBatteryStatsImpl.java3076 public void update(long totalTimeUs, int count, long elapsedRealtimeUs) { in update() argument
3077 update(totalTimeUs, 0, count, elapsedRealtimeUs); in update()
3085 public void update(long totalTimeUs, long activeTimeUs, int count, in update() argument
3090 mBaseReportedTotalTimeUs = totalTimeUs - activeTimeUs; in update()
3096 if (totalTimeUs < mCurrentReportedTotalTimeUs || count < mCurrentReportedCount) { in update()
3100 mCurrentReportedTotalTimeUs = totalTimeUs; in update()
13943 kwlt.update(kws.totalTimeUs, kws.activeTimeUs, kws.count, elapsedRealtimeUs);
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DKernelWakelockReaderTest.java160 assertEquals(123 * 1000, entry.totalTimeUs); // Microseconds in testOneWakelock()
197 assertEquals(20 * 1000, entry.totalTimeUs); // Microseconds in testDuplicateWakelocksAccumulate()
250 assertEquals(1000 * 1000, entry.totalTimeUs); // Microseconds in testOneWakeLockInfo()
271 assertEquals(1000 * 1000, entry1.totalTimeUs); // Microseconds in testTwoWakeLockInfos()
275 assertEquals(2000 * 1000, entry2.totalTimeUs); // Microseconds in testTwoWakeLockInfos()
293 assertEquals(1000 * 1000, entry.totalTimeUs); // Microseconds in testWakeLockInfosBecomeStale()
305 assertEquals(2000 * 1000, entry.totalTimeUs); // Micro seconds in testWakeLockInfosBecomeStale()
340 assertEquals(1000 * 123, entry.totalTimeUs); // Microseconds in testAggregateStatsNoNativeWakelocks()
360 assertEquals(1000 * 1000, entry.totalTimeUs); // Microseconds in testAggregateStatsNoKernelWakelocks()
381 assertEquals(123 * 1000, entry1.totalTimeUs); // Microseconds in testAggregateStatsBothKernelAndNativeWakelocks()
[all …]
/frameworks/av/media/module/libmediatranscoding/aidl/android/media/
DTranscodingSessionStats.aidl44 long totalTimeUs;
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp166 int64_t totalTimeUs = 0; in estimateBandwidth() local
171 totalTimeUs += it->mDelayUs; in estimateBandwidth()
175 mShortTermEstimate = totalTimeUs > 0 ? in estimateBandwidth()
176 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps; in estimateBandwidth()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1891 atomTag, name, kws.count, kws.version, kws.totalTimeUs));