Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java164 assertMostlyEquals(deltaCache, afterApp.getCacheBytes() - beforeApp.getCacheBytes()); in testVerifyStats()
165 assertMostlyEquals(deltaCache, afterUser.getCacheBytes() - beforeUser.getCacheBytes()); in testVerifyStats()
217 assertMostlyEquals(CACHE_ALL * 2, as.getCacheBytes()); in testVerifyStatsMultiple()
220 assertMostlyEquals(CACHE_ALL, bs.getCacheBytes()); in testVerifyStatsMultiple()
383 assertMostlyEquals(0, getCacheBytes(PKG_A, user)); in testCacheClearing()
384 assertMostlyEquals(0, getCacheBytes(PKG_B, user)); in testCacheClearing()
410 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
411 assertMostlyEquals(targetB, getCacheBytes(PKG_B, user)); in testCacheClearing()
423 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
424 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.java229 assertEquals(cacheSize, pstats.getCacheBytes()); in testVerifySpaceApi()
230 assertEquals(cacheSize, ustats.getCacheBytes()); in testVerifySpaceApi()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveTest.java194 Manifest.permission.PACKAGE_USAGE_STATS).getCacheBytes(); in archiveApp_dataIsKept()
218 assertThat(stats.getCacheBytes()).isLessThan(cacheBytesBefore); in archiveApp_dataIsKept()
DPackageManagerShellCommandInstallTest.java452 assertEquals(value, getDataSizeDisplay(stats.getCacheBytes())); in testGetPackageStorageStats()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt9427 method public long getCacheBytes();