Home
last modified time | relevance | path

Searched refs:KernelWakelockStats (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java70 KernelWakelockStats staleStats = mReader.parseProcWakelocks(new byte[0], 0, true, in testParseEmptyFile()
71 new KernelWakelockStats()); in testParseEmptyFile()
78 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testOnlyHeader()
79 new KernelWakelockStats()); in testOnlyHeader()
88 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testOneWakelock()
89 new KernelWakelockStats()); in testOneWakelock()
93 KernelWakelockStats.Entry entry = staleStats.get("Wakelock"); in testOneWakelock()
104 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testTwoWakelocks()
105 new KernelWakelockStats()); in testTwoWakelocks()
117 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testDuplicateWakelocksAccumulate()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java67 public final KernelWakelockStats readKernelWakelockStats(KernelWakelockStats staleStats) { in readKernelWakelockStats()
123 public KernelWakelockStats parseProcWakelocks(byte[] wlBuffer, int len, boolean wakeup_sources, in parseProcWakelocks()
124 final KernelWakelockStats staleStats) { in parseProcWakelocks()
174 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, in parseProcWakelocks()
177 KernelWakelockStats.Entry kwlStats = staleStats.get(name); in parseProcWakelocks()
199 Iterator<KernelWakelockStats.Entry> itr = staleStats.values().iterator(); in parseProcWakelocks()
DKernelWakelockStats.java23 public class KernelWakelockStats extends HashMap<String, KernelWakelockStats.Entry> { class
DBatteryStatsImpl.java203 private final KernelWakelockStats mTmpWakelockStats = new KernelWakelockStats();
11811 final KernelWakelockStats wakelockStats = mKernelWakelockReader.readKernelWakelockStats( in updateKernelWakelocksLocked()
11819 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in updateKernelWakelocksLocked()
11821 KernelWakelockStats.Entry kws = ent.getValue(); in updateKernelWakelocksLocked()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java70 import com.android.internal.os.KernelWakelockStats;
134 private final KernelWakelockStats mTmpWakelockStats = new KernelWakelockStats();
607 final KernelWakelockStats wakelockStats = in pullKernelWakelock()
610 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in pullKernelWakelock()
612 KernelWakelockStats.Entry kws = ent.getValue(); in pullKernelWakelock()
/frameworks/base/cmds/statsd/src/
Datoms.proto1715 * android/internal/os/KernelWakelockStats.java
/frameworks/base/config/
Dpreloaded-classes4014 com.android.internal.os.KernelWakelockStats
Dboot-image-profile.txt38976 …eProcWakelocks([BIZLcom/android/internal/os/KernelWakelockStats;)Lcom/android/internal/os/KernelWa…
38977 …ernelWakelockStats(Lcom/android/internal/os/KernelWakelockStats;)Lcom/android/internal/os/KernelWa…
38978 HSPLcom/android/internal/os/KernelWakelockStats;-><init>()V
59983 Lcom/android/internal/os/KernelWakelockStats$Entry;
59984 Lcom/android/internal/os/KernelWakelockStats;