Home
last modified time | relevance | path

Searched refs:assertMostlyEquals (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java30 import static com.android.cts.storageapp.Utils.assertMostlyEquals;
124 assertMostlyEquals(deltaCode, afterApp.getAppBytes() - beforeApp.getAppBytes()); in testVerifyStats()
125 assertMostlyEquals(deltaCode, afterUser.getAppBytes() - beforeUser.getAppBytes()); in testVerifyStats()
128 assertMostlyEquals(deltaData, afterApp.getDataBytes() - beforeApp.getDataBytes()); in testVerifyStats()
129 assertMostlyEquals(deltaData, afterUser.getDataBytes() - beforeUser.getDataBytes()); in testVerifyStats()
132 assertMostlyEquals(deltaCache, afterApp.getCacheBytes() - beforeApp.getCacheBytes()); in testVerifyStats()
133 assertMostlyEquals(deltaCache, afterUser.getCacheBytes() - beforeUser.getCacheBytes()); in testVerifyStats()
136 assertMostlyEquals(deltaExternalCache, in testVerifyStats()
138 assertMostlyEquals(deltaExternalCache, in testVerifyStats()
152 assertMostlyEquals(DATA_ALL * 2, as.getDataBytes()); in testVerifyStatsMultiple()
[all …]
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java28 import static com.android.cts.storageapp.Utils.assertMostlyEquals;
182 assertMostlyEquals(DATA_INT, in testVerifySpaceManual()
184 assertMostlyEquals(DATA_EXT, in testVerifySpaceManual()
200 assertMostlyEquals(CACHE_ALL, cacheSize); in testVerifySpaceApi()
202 assertMostlyEquals(CACHE_INT, cacheSize); in testVerifySpaceApi()
203 assertMostlyEquals(CACHE_EXT, extCacheSize); in testVerifySpaceApi()
DUtils.java88 public static void assertMostlyEquals(long expected, long actual) { in assertMostlyEquals() method in Utils
89 assertMostlyEquals(expected, actual, 500 * KB_IN_BYTES); in assertMostlyEquals()
92 public static void assertMostlyEquals(long expected, long actual, long delta) { in assertMostlyEquals() method in Utils
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Images_ThumbnailsTest.java136 public static void assertMostlyEquals(long expected, long actual, long delta) { in assertMostlyEquals() method in MediaStore_Images_ThumbnailsTest