summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-08-29 15:32:13 -0600
committerJeff Sharkey <jsharkey@android.com>2017-08-30 10:01:10 -0600
commitf4de294297de47d8c594956b2d8607e314e71836 (patch)
treeb021f2a475ddc5bb32415ea0c286988a622e670d /tools/aapt2/java/JavaClassGenerator.cpp
parent156955898fe8a533ab5eafd9f41b5cb98f860e5b (diff)
Augment network stats based on SubscriptionPlan.
When a carrier provides an "anchor" of data usage at a specific moment in time, augment the network statistics used by warning/limit thresholds and Settings UI. For example, if the OS measured 500MB of usage, but the carrier says only 400MB has been used, we "squish" down the OS measured usage to match that anchor. Callers using the hidden API will have their data augmented by default, and the public API offers a way to opt-into augmentation. Thorough testing to verify behavior. Test: bit FrameworksNetTests:android.net.,com.android.server.net. Test: cts-tradefed run commandAndExit cts-dev -m CtsUsageStatsTestCases -t android.app.usage.cts.NetworkUsageStatsTest Bug: 64534190 Change-Id: Id3d4d7625bbf04f57643e51dbf376e3fa0ea8eca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions