Searched refs:assertMostlyEquals (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 30 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/ |
D | Utils.java | 88 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
|
D | StorageTest.java | 28 import static com.android.cts.storageapp.Utils.assertMostlyEquals; 193 assertMostlyEquals(DATA_INT, in testVerifySpaceManual() 195 assertMostlyEquals(DATA_EXT, in testVerifySpaceManual() 211 assertMostlyEquals(CACHE_ALL, cacheSize); in testVerifySpaceApi() 213 assertMostlyEquals(CACHE_INT, cacheSize); in testVerifySpaceApi() 214 assertMostlyEquals(CACHE_EXT, extCacheSize); in testVerifySpaceApi()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_Images_ThumbnailsTest.java | 136 public static void assertMostlyEquals(long expected, long actual, long delta) { in assertMostlyEquals() method in MediaStore_Images_ThumbnailsTest
|