Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java83 private KernelWakelockStats readKernelWakelockStats(KernelWakelockStats staleStats, in readKernelWakelockStats()
102 KernelWakelockStats staleStats = mReader.parseProcWakelocks(new byte[0], 0, true, in testParseEmptyFile()
103 new KernelWakelockStats()); in testParseEmptyFile()
112 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testOnlyHeader()
113 new KernelWakelockStats()); in testOnlyHeader()
124 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testOneWakelock()
125 new KernelWakelockStats()); in testOneWakelock()
131 KernelWakelockStats.Entry entry = staleStats.get("Wakelock"); in testOneWakelock()
143 KernelWakelockStats staleStats = mReader.parseProcWakelocks(buffer, buffer.length, true, in testTwoWakelocks()
144 new KernelWakelockStats()); in testTwoWakelocks()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java77 public final KernelWakelockStats readKernelWakelockStats(KernelWakelockStats staleStats) { in readKernelWakelockStats()
174 private KernelWakelockStats getWakelockStatsFromSystemSuspend( in getWakelockStatsFromSystemSuspend()
175 final KernelWakelockStats staleStats) { in getWakelockStatsFromSystemSuspend()
201 public KernelWakelockStats updateWakelockStats(WakeLockInfo[] wlStats, in updateWakelockStats()
202 final KernelWakelockStats staleStats) { in updateWakelockStats()
205 staleStats.put(info.name, new KernelWakelockStats.Entry((int) info.activeCount, in updateWakelockStats()
208 KernelWakelockStats.Entry kwlStats = staleStats.get(info.name); in updateWakelockStats()
223 public KernelWakelockStats parseProcWakelocks(byte[] wlBuffer, int len, boolean wakeup_sources, in parseProcWakelocks()
224 final KernelWakelockStats staleStats) { in parseProcWakelocks()
273 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, in parseProcWakelocks()
[all …]
DKernelWakelockStats.java23 public class KernelWakelockStats extends HashMap<String, KernelWakelockStats.Entry> { class
DBatteryStatsImpl.java196 private final KernelWakelockStats mTmpWakelockStats = new KernelWakelockStats();
11486 final KernelWakelockStats wakelockStats = mKernelWakelockReader.readKernelWakelockStats( in updateKernelWakelocksLocked()
11494 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in updateKernelWakelocksLocked()
11496 KernelWakelockStats.Entry kws = ent.getValue(); in updateKernelWakelocksLocked()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java132 import com.android.internal.os.KernelWakelockStats;
271 private final KernelWakelockStats mTmpWakelockStats = new KernelWakelockStats();
864 final KernelWakelockStats wakelockStats = in pullKernelWakelock()
866 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in pullKernelWakelock()
868 KernelWakelockStats.Entry kws = ent.getValue(); in pullKernelWakelock()
/frameworks/base/cmds/statsd/src/
Datoms.proto4332 * android/internal/os/KernelWakelockStats.java
/frameworks/base/config/
Dpreloaded-classes4627 com.android.internal.os.KernelWakelockStats
Dboot-image-profile.txt21296 …eProcWakelocks([BIZLcom/android/internal/os/KernelWakelockStats;)Lcom/android/internal/os/KernelWa…
21297 …ernelWakelockStats(Lcom/android/internal/os/KernelWakelockStats;)Lcom/android/internal/os/KernelWa…
21298 HSPLcom/android/internal/os/KernelWakelockStats;-><init>()V
37458 Lcom/android/internal/os/KernelWakelockStats$Entry;
37459 Lcom/android/internal/os/KernelWakelockStats;
Dhiddenapi-greylist-max-o.txt88890 …roid/internal/os/BatteryStatsImpl;->mTmpWakelockStats:Lcom/android/internal/os/KernelWakelockStats;
89401 …eProcWakelocks([BIZLcom/android/internal/os/KernelWakelockStats;)Lcom/android/internal/os/KernelWa…
89403 …ernelWakelockStats(Lcom/android/internal/os/KernelWakelockStats;)Lcom/android/internal/os/KernelWa…
89409 Lcom/android/internal/os/KernelWakelockStats$Entry;-><init>(IJI)V
89410 Lcom/android/internal/os/KernelWakelockStats$Entry;->mCount:I
89411 Lcom/android/internal/os/KernelWakelockStats$Entry;->mTotalTime:J
89412 Lcom/android/internal/os/KernelWakelockStats$Entry;->mVersion:I
89413 Lcom/android/internal/os/KernelWakelockStats;-><init>()V
89414 Lcom/android/internal/os/KernelWakelockStats;->kernelWakelockVersion:I