summaryrefslogtreecommitdiff
path: root/tests/BlobStoreTestUtils
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2020-01-23 16:55:34 -0800
committerSudheer Shanka <sudheersai@google.com>2020-02-19 14:45:12 -0800
commite9232d6d6fc6d5b4b32b3b0c708dc548f88acc45 (patch)
tree29524f2eeefef69018a80c9df2ec8c1b070201f3 /tests/BlobStoreTestUtils
parentf462373a9b68ebf13597cf5afe92770b52fda90a (diff)
Update BlobStoreMS to augment storage stats with blobs data.
- Any pending sessions data is attributed to the apps which contributed them. - Any commited blobs data is attributed to the app which has a lease on it. If multiple apps have lease on a blob, don't attribute the blob to those apps for now. - Remove StorageStatsAugmenter.augmentStatsForUser as it is not used for anything currently. - Fix an issue in how we override existing committers and leasees. Bug: 148694869 Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java Test: atest tests/tests/os/src/android/os/storage/cts/StorageStatsManagerTest.java Test: atest hostsidetests/appsecurity/src/android/appsecurity/cts/StorageHostTest.java Test: manual Change-Id: Ia4af0a2549c75db66741f2d1979de95d2d150bc8
Diffstat (limited to 'tests/BlobStoreTestUtils')
-rw-r--r--tests/BlobStoreTestUtils/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BlobStoreTestUtils/Android.bp b/tests/BlobStoreTestUtils/Android.bp
index edd2b435f1da..829c883913e1 100644
--- a/tests/BlobStoreTestUtils/Android.bp
+++ b/tests/BlobStoreTestUtils/Android.bp
@@ -16,5 +16,5 @@ java_library {
name: "BlobStoreTestUtils",
srcs: ["src/**/*.java"],
static_libs: ["truth-prebuilt"],
- platform_apis: true
+ sdk_version: "test_current",
} \ No newline at end of file