Home
last modified time | relevance | path

Searched refs:getCacheBytes (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java130 assertMostlyEquals(deltaCache, afterApp.getCacheBytes() - beforeApp.getCacheBytes()); in testVerifyStats()
131 assertMostlyEquals(deltaCache, afterUser.getCacheBytes() - beforeUser.getCacheBytes()); in testVerifyStats()
145 assertMostlyEquals(CACHE_ALL * 2, as.getCacheBytes()); in testVerifyStatsMultiple()
148 assertMostlyEquals(CACHE_ALL, bs.getCacheBytes()); in testVerifyStatsMultiple()
266 assertMostlyEquals(0, getCacheBytes(PKG_A, user)); in testCacheClearing()
267 assertMostlyEquals(0, getCacheBytes(PKG_B, user)); in testCacheClearing()
291 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
292 assertMostlyEquals(targetB, getCacheBytes(PKG_B, user)); in testCacheClearing()
304 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
305 assertMostlyEquals(targetB / 2, getCacheBytes(PKG_B, user), 2 * MB_IN_BYTES); in testCacheClearing()
[all …]
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java153 assertEquals(cacheSize, pstats.getCacheBytes()); in testVerifySpaceApi()
154 assertEquals(cacheSize, ustats.getCacheBytes()); in testVerifySpaceApi()