diff options
author | Daniel Nishi <dhnishi@google.com> | 2016-12-12 15:16:00 -0800 |
---|---|---|
committer | Daniel Nishi <dhnishi@google.com> | 2016-12-20 13:28:14 -0800 |
commit | c7d9de59bfa083472a5c8fcfc02c2363b33e204f (patch) | |
tree | 7a8ea505d6237ae99cbc8bf21918908be2d180bd /docs/html/sdk/api_diff/20/changes | |
parent | 2f42cbcad5df693327295e46b84de04a8d12ecd2 (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 'docs/html/sdk/api_diff/20/changes')
0 files changed, 0 insertions, 0 deletions