summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorConnor O'Brien <connoro@google.com>2019-09-24 14:58:29 -0700
committerConnor O'Brien <connoro@google.com>2020-02-19 00:22:14 +0000
commitcd834de67c0ba34af31c33123271049fe78a82b4 (patch)
treeeb6bfbdf979cc3031534793e67e0c082b6a5fde3 /tools/aapt2/java/JavaClassGenerator.cpp
parent57635c976b6f3a69112cb6442cf021daacf7c730 (diff)
Use bpf data when available for single-UID cpu stats
Update KernelSingleUidTimeReader to read BPF data rather than per-UID proc files when the BPF data is available. This is implemented by calling libtimeinstate functions via JNI. Extend KernelSingleUidTimeReaderTest to exercise both the BPF and proc file code paths. Bug: 138317993 Test: KernelSingleUidTimerTest passes Test: no regression in BatteryStatsTests Change-Id: Ie5fa2605007e8c5f70a0383bf8adbd81d479abfe Merged-In: Ie962ddd9e30d96aa0fab6104a4164af9ad02f55e Signed-off-by: Connor O'Brien <connoro@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions