a4e80ee2cdae43fb92d3560924bce5e33cdb9c4c |
|
15-Sep-2017 |
Daniel Nishi <dhnishi@google.com> |
Update diskstats to break out code & data. This updates both the text-based diskstats and the proto-based diskstats to both have both an aggregated and line-itemed view of app sizes. Formerly, the code and data sizes were rolled up into the same category and now they are separated. Bug: 63908720 Test: FrameworksServicesTest passes Merged-In: I1434327ffde6ad1f31243218c5201a80f9725a63 (cherry picked from commit b6cc838142d2390eaec99670bb6caf6bee0ec96f) (cherry picked from commit 41a5ae86f1d51204995af617ef3d1f31b178a618) Change-Id: I0d21ecc0ded5d715e3b5a478e78de2ba1f7e9ec2
/frameworks/base/services/core/java/com/android/server/storage/DiskStatsFileLogger.java
|
e47eac74f7c80738017734342f66b615189e7596 |
|
19-Jan-2017 |
Daniel Nishi <dhnishi@google.com> |
Only count user 0 for diskstats package logging. This avoids sizing issues and allows us to be accurate within a subset of the users, rather than less accurate over the entire user base. Bug: 34457425 Test: services instrumentation tests Change-Id: Ic460a564a9ab9805c7739b4f40502e96bbfe7953
/frameworks/base/services/core/java/com/android/server/storage/DiskStatsFileLogger.java
|
77a78c6f4412dccc58075685ad77f3e41d85f2e4 |
|
13-Dec-2016 |
Daniel Nishi <dhnishi@google.com> |
Augment diskstats dumpsys to have categorization and apps. This adds a new service which opportunistically saves the file system categorization information and the app sizes. This information is fetched during a diskstats dumpsys call from a file stored on the disk. This allows us to keep the dumpsys running quickly while adding information which is costly to calculate. Bug: 32207207 Test: System server instrumentation tests Change-Id: Id59e84b9ad38a9debf3e46e5133ef06f7353829d
/frameworks/base/services/core/java/com/android/server/storage/DiskStatsFileLogger.java
|