diff options
author | Daniel Nishi <dhnishi@google.com> | 2016-12-12 15:16:00 -0800 |
---|---|---|
committer | Daniel Nishi <dhnishi@google.com> | 2016-12-20 10:35:51 -0800 |
commit | a59272eb5edde2230ba7ae5c1a6788dc25c2a18c (patch) | |
tree | 4a6abf357f5d215d83621ab87e2444cd35d70aa7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b5670252ae4be2cfbc08edcdb02abdcc2ef6cfa8 (diff) |
Add an app size collector.
The app collector gets a list of app sizes for packages on a given
storage volume. This information will be exposed as part of an
expansion of the diskstats dumpsys.
When the collector runs, it sets up a handler on a BackgroundThread
which asks the PackageManager for the package sizes for all apps and
all users. The call for the information is blocked using a
CompletableFuture until the call times out or until we've received
all of the package stats. After the stats are all obtained, the
future completes.
Bug: 32207207
Test: System server instrumentation tests
Change-Id: I3a27dc4410effb12ae33894b561c02a60322f7b0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions