Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java71 KernelWakelockStats staleStats = mReader.parseProcWakelocks(new byte[0], 0, true, in testParseEmptyFile()
72 new KernelWakelockStats()); in testParseEmptyFile()
79 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testOnlyHeader()
80 new KernelWakelockStats()); in testOnlyHeader()
89 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testOneWakelock()
90 new KernelWakelockStats()); in testOneWakelock()
94 KernelWakelockStats.Entry entry = staleStats.get("Wakelock"); in testOneWakelock()
105 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testTwoWakelocks()
106 new KernelWakelockStats()); in testTwoWakelocks()
118 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()
127 public KernelWakelockStats parseProcWakelocks(byte[] wlBuffer, int len, boolean wakeup_sources, in parseProcWakelocks()
128 final KernelWakelockStats staleStats) { in parseProcWakelocks()
178 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, in parseProcWakelocks()
181 KernelWakelockStats.Entry kwlStats = staleStats.get(name); in parseProcWakelocks()
203 Iterator<KernelWakelockStats.Entry> itr = staleStats.values().iterator(); in parseProcWakelocks()
DKernelWakelockStats.java23 public class KernelWakelockStats extends HashMap<String, KernelWakelockStats.Entry> { class
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java131 import com.android.internal.os.KernelWakelockStats;
269 private final KernelWakelockStats mTmpWakelockStats = new KernelWakelockStats();
862 final KernelWakelockStats wakelockStats = in pullKernelWakelock()
864 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in pullKernelWakelock()
866 KernelWakelockStats.Entry kws = ent.getValue(); in pullKernelWakelock()
/frameworks/base/cmds/statsd/src/
Datoms.proto3771 * android/internal/os/KernelWakelockStats.java
/frameworks/base/config/
Dpreloaded-classes4627 com.android.internal.os.KernelWakelockStats