summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-09-01 12:51:51 -0600
committerJeff Sharkey <jsharkey@android.com>2017-09-01 17:13:01 -0600
commitd405d0555ce704d0417b85884ed267ac141302de (patch)
tree6a65d5f0a2a04abc09c2d9ece595076e5be517f4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6f8afdc501208897ad8e47add5426632e82ebaee (diff)
Gracefully handle integer overflows.
Try sticking with integer-based math as much as possible for speed, but switch to double-based math if we detect that we'd end up causing an overflow. New tests to verify. Test: bit FrameworksNetTests:com.android.server.net.NetworkStatsCollectionTest Bug: 65257769 Change-Id: I1ae35599be134f81850c0a3d86928b057fba1eff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions