summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDavid Chen <dwchen@google.com>2018-04-04 19:02:50 -0700
committerDavid Chen <dwchen@google.com>2018-04-05 16:15:01 -0700
commitbd12527c90d55eefa657e6a71cfdd287ecdb4ab3 (patch)
treeeae5018191d2e8f4132237acaa0ec7d4ef7e030a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent743d42d2990bd30195045a256f863d0ce6f51d79 (diff)
Fix uid map to be simpler and fix partial bucket.
The previous scheme captured periodic snapshots for each config with complex logic that's unnecessary and wasted memory. We actually don't need to store any snapshots since we just convert the current state into a snapshot and also include the deltas (change events) since the previous report until now. To make the system more robust, we also include up to 100 of the deleted apps in the uid map. Also, fix the wiring of the partial buckets so the metric producers form partial buckets on both app upgrade and removal, but not on installation of a new app. Also, we update StatsCompanionService to also include disabled apps. Bug: 77607583 Test: Verified unit-tests pass and added new e2e tests. Change-Id: I98e1f544d6e6571545ae1581c4cebab807596f51
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions