summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPavan Kumar M <rpavan@codeaurora.org>2020-05-21 20:19:03 +0530
committerPavan Kumar M <rpavan@codeaurora.org>2020-07-08 04:12:51 +0000
commit7adad1d8f2b0edd0a167d7ab822e2bbda18a67bf (patch)
tree3b13f16dd96f5a7996a50e2857370abfe3209cf6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent16b8c9ae26121add1f1273e2f31922ab469a48bc (diff)
Gracefully handle integer overflows.
Avoid recording negative data by doing integer-based math as much as possible, but switch to double-based math if we detect that we'd end up causing an overflow. Test : - Builds, Boots - High data throughput scenarios - NetworkStatsHistoryTest, NetworkStatsCollectionTest Bug: 119527458 Change-Id: I55d4aa649bea3ae201ad513074ff2b71cb918dad CRs-Fixed: 2608836
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions