diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-01-08 17:06:58 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-01-09 17:00:38 -0700 |
commit | 82ca90171fdd5b76f58225bacbf9939a76350712 (patch) | |
tree | a487f7947abd1227f32d57865f60b0d46fbb7f36 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e34e47d645ad8e34ee19d813373bfdd3f1e97573 (diff) |
Methods to calculate user and external disk usage.
Add method to calculate user disk usage, which will be faster than
making a Binder call for every single appId under a user. Add method
to calculate external disk usage, which uses file extensions to track
usage with "audio", "video", and "images" categories.
Start measuring internal and external storage space separately; new
GIDs are coming in a future CL. Pass down all package names, inodes,
and code paths, since shared UIDs host more than one.
Test: builds, boots, stats are consistent
Bug: 27948817, 32206268
Change-Id: Icbb82a30fe711ef05e9a16bb1dc740dc943a9ddc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions