Searched refs:wlStats (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | KernelWakelockReaderTest.java | 109 byte[] buffer, WakeLockInfo[] wlStats) { in readKernelWakelockStats() argument 112 mReader.updateWakelockStats(wlStats, staleStats); in readKernelWakelockStats() 238 WakeLockInfo[] wlStats = new WakeLockInfo[1]; in testOneWakeLockInfo() local 239 wlStats[0] = createWakeLockInfo("WakeLock", 20, 1000, 500); // Milliseconds in testOneWakeLockInfo() 241 KernelWakelockStats staleStats = mReader.updateWakelockStats(wlStats, in testOneWakeLockInfo() 257 WakeLockInfo[] wlStats = new WakeLockInfo[2]; in testTwoWakeLockInfos() local 258 wlStats[0] = createWakeLockInfo("WakeLock1", 10, 1000); // Milliseconds in testTwoWakeLockInfos() 259 wlStats[1] = createWakeLockInfo("WakeLock2", 20, 2000); // Milliseconds in testTwoWakeLockInfos() 261 KernelWakelockStats staleStats = mReader.updateWakelockStats(wlStats, in testTwoWakeLockInfos() 281 WakeLockInfo[] wlStats = new WakeLockInfo[1]; in testWakeLockInfosBecomeStale() local [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | KernelWakelockReader.java | 193 WakeLockInfo[] wlStats; in getWakelockStatsFromSystemSuspend() local 195 wlStats = mSuspendControlService.getWakeLockStats(); in getWakelockStatsFromSystemSuspend() 196 updateWakelockStats(wlStats, staleStats); in getWakelockStatsFromSystemSuspend() 211 public KernelWakelockStats updateWakelockStats(WakeLockInfo[] wlStats, in updateWakelockStats() argument 213 for (WakeLockInfo info : wlStats) { in updateWakelockStats()
|