commit | b9ad9a68fb955fbe2059e635b95e22294c1caf2b | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Wed Oct 09 11:38:48 2019 -0700 |
committer | Tri Vo <trong@google.com> | Wed Oct 09 12:40:01 2019 -0700 |
tree | 8a45c9ea3d5dbd7dfbf45ef16ed36aea3c70c1f0 | |
parent | f605363ce46a6ebaa5bbab04e1b22478f9edb48d [diff] |
KernelWakelockReader: reuse buffer when parsing Eliminates 32 kb buffer allocation every time readKernelWakelockStats() is called. Test: atest FrameworksCoreTests:KernelWakelockReaderTest Test: "dumpsys batterystats --checkin" contains kernel wake lock information. Change-Id: Ifc7254ab3a5272b056cbc75233aa2dfa8219ea84