public class KernelWakelockReader extends Object
Constructor and Description |
---|
KernelWakelockReader() |
Modifier and Type | Method and Description |
---|---|
KernelWakelockStats |
parseProcWakelocks(byte[] wlBuffer,
int len,
boolean wakeup_sources,
KernelWakelockStats staleStats)
Reads the wakelocks and updates the staleStats with the new information.
|
KernelWakelockStats |
readKernelWakelockStats(KernelWakelockStats staleStats)
Reads kernel wakelock stats and updates the staleStats with the new information.
|
public final KernelWakelockStats readKernelWakelockStats(KernelWakelockStats staleStats)
staleStats
- Existing object to update.public KernelWakelockStats parseProcWakelocks(byte[] wlBuffer, int len, boolean wakeup_sources, KernelWakelockStats staleStats)