summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-04-17 10:48:36 +0800
committerjunyulai <junyulai@google.com>2020-05-12 20:44:04 +0800
commit39f15c871bbb9af7433ecbb8f7d6de9bb9bc0b96 (patch)
treee6e5cbcb69af75871b6d66d94ff2849b35b3cb61 /tools/aapt2/java/JavaClassGenerator.cpp
parent33ecd88317803ca2d48c64f52441ff5c2124fe08 (diff)
[SM15] Fix MobileBytesTransfer puller get lesser NetworkStats
Currently, puller of MobileBytesTransfer(ByFgBg) are collecting NetworkStats since boot. Since history of network stats only have 2 hours of resolution, when it is being queried, service will assume that history network stats has uniform distribution and return a fraction of network stats that is originally subject to 2 hours. Hence, less NetworkStats will be reported if device is booted within 2 hours. This doesn't impact usual metrics collecting since the time between boot and pull for metrics is usually long. But it will impact the tests given that they are usually run just after boot. Test: adb shell cmd stats pull-source 10000~10003 adb shell dumpsys netstats --uid Test: atest android.cts.statsd.atom.UidAtomTests#testMobileBytesTransfer Test: atest android.cts.statsd.atom.UidAtomTests#testMobileBytesTransferByFgBg Bug: 153174569 Change-Id: I9459dace8734d9bf61f9828b74b3dc58c03940e8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions