android_packages_modules_Co.../core/java/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pavan Kumar M fc5b6cb326 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,
      NetworkStatsTest

Bug: 119527458
Change-Id: I55d4aa649bea3ae201ad513074ff2b71cb918dad
2020-07-28 11:36:49 +05:30
..
app/usage [SP21] Address comments for API council review about aosp/1172143 2020-03-12 21:34:17 +08:00
net Gracefully handle integer overflows. 2020-07-28 11:36:49 +05:30