summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDavid Chen <dwchen@google.com>2017-12-05 13:43:51 -0800
committerDavid Chen <dwchen@google.com>2017-12-07 18:22:58 -0800
commitd9269e2ee70b01cad3dda14c786e0e4434192248 (patch)
treeed49673ea27ba84dbaa1709afb0de38ba28cc47a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf10f83d5071ae74f38d4dec19500b53ac177e8bf (diff)
Adds rate limit to checking byte size.
Since there is a separate guardrail for memory used by uid map, we no longer add the memory from uid map with the memory per each config's metrics. We also prevent the byte size check from happening too frequently. In order to mock the MetricsManager, we refactor some of the existing methods. Test: Added unit-tests and verified they all pass on marlin. Change-Id: I15cf105f7d95f4016fdb0443b0a33eebe862cafb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions