History log of /frameworks/base/services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6cc838142d2390eaec99670bb6caf6bee0ec96f 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
Change-Id: I1434327ffde6ad1f31243218c5201a80f9725a63
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java
5d230dc202cb03185652e12b3024ceea1132dd4d 10-Apr-2017 Daniel Nishi <dhnishi@google.com> Use the StorageStatsManager in FileCollector.

This should vastly improve the speed of the FileCollector and
resolves the null context issue from the previous variant.

Change-Id: I16a70cd0376511b095b1d7fe1c25e8df95263bc1
Fixes: 35807386
Test: Existing tests continue to pass.
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java
3cf3b199e3e120f23f54eb7f9905c8d285cb8a28 13-Apr-2017 Daniel Nishi <dhnishi@google.com> Revert "Use the StorageStatsManager in FileCollector."

This reverts commit bd441caaf6fb268b2756bc51304efa038bf58376 due to
causing NPE crashes.

Bug: 37314851
Change-Id: I933eaa3888f84945873de8f7fca0d235306f6aaa
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java
bd441caaf6fb268b2756bc51304efa038bf58376 10-Apr-2017 Daniel Nishi <dhnishi@google.com> Use the StorageStatsManager in FileCollector.

This should vastly improve the speed of the FileCollector.

Change-Id: I7a878a0622bbd6c758fb1d36125414d8b025e709
Fixes: 35807386
Test: Existing tests continue to pass.
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java
cf76a16e660a361670745b043198b797ccd86747 22-Dec-2016 Daniel Nishi <dhnishi@google.com> Fix a bug where the package stats query timeout may crash.

This adds a null-check to verify that we got real data before
trying to use it and increases the timeout time to reduce the
likelihood of timing out.

Test: FrameworkServicesTests
Bug: 33836034
Change-Id: Ia1ad4aba05c5c4fb8688fc9fc94df344f736e396
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java
090b2d9d6c73ad1b92fd6374aaaa26a384333239 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/tests/servicestests/src/com/android/server/storage/DiskStatsLoggingServiceTest.java