OSDN Git Service

Update diskstats to break out code & data.
authorDaniel Nishi <dhnishi@google.com>
Fri, 15 Sep 2017 00:10:00 +0000 (17:10 -0700)
committerDaniel Nishi <dhnishi@google.com>
Wed, 20 Sep 2017 01:07:30 +0000 (18:07 -0700)
commitb6cc838142d2390eaec99670bb6caf6bee0ec96f
treef8fc2015b511126fb9db6a996080b844cafe5647
parentf651e0c0168bb6b3a1740348870b1fe2193ed40a
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
Change-Id: I1434327ffde6ad1f31243218c5201a80f9725a63
core/proto/android/service/diskstats.proto
services/core/java/com/android/server/DiskStatsService.java
services/core/java/com/android/server/storage/AppCollector.java
services/core/java/com/android/server/storage/DiskStatsFileLogger.java
services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java