Searched refs:assertMostlyEquals (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 29 import static com.android.cts.storageapp.Utils.assertMostlyEquals; 122 assertMostlyEquals(deltaCode, afterApp.getAppBytes() - beforeApp.getAppBytes()); in testVerifyStats() 123 assertMostlyEquals(deltaCode, afterUser.getAppBytes() - beforeUser.getAppBytes()); in testVerifyStats() 126 assertMostlyEquals(deltaData, afterApp.getDataBytes() - beforeApp.getDataBytes()); in testVerifyStats() 127 assertMostlyEquals(deltaData, afterUser.getDataBytes() - beforeUser.getDataBytes()); in testVerifyStats() 130 assertMostlyEquals(deltaCache, afterApp.getCacheBytes() - beforeApp.getCacheBytes()); in testVerifyStats() 131 assertMostlyEquals(deltaCache, afterUser.getCacheBytes() - beforeUser.getCacheBytes()); in testVerifyStats() 144 assertMostlyEquals(DATA_ALL * 2, as.getDataBytes()); in testVerifyStatsMultiple() 145 assertMostlyEquals(CACHE_ALL * 2, as.getCacheBytes()); in testVerifyStatsMultiple() 147 assertMostlyEquals(DATA_ALL, bs.getDataBytes()); in testVerifyStatsMultiple() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreTest.java | 201 assertMostlyEquals(beforePackage + stageSize, afterPackage, SIZE_DELTA); in testContributedMedia() 202 assertMostlyEquals(beforeTotal + stageSize + stageSize, afterTotal, SIZE_DELTA); in testContributedMedia() 203 assertMostlyEquals(beforeContributed + stageSize, afterContributed, SIZE_DELTA); in testContributedMedia() 223 assertMostlyEquals(beforePackage + stageSize, afterPackage, SIZE_DELTA); in testContributedMedia() 224 assertMostlyEquals(beforeTotal + stageSize, afterTotal, SIZE_DELTA); in testContributedMedia() 225 assertMostlyEquals(0, afterContributed, SIZE_DELTA); in testContributedMedia() 258 private static void assertMostlyEquals(long expected, long actual, long delta) { in assertMostlyEquals() method in MediaStoreTest
|
D | MediaStore_Images_ThumbnailsTest.java | 130 public static void assertMostlyEquals(long expected, long actual, long delta) { in assertMostlyEquals() method in MediaStore_Images_ThumbnailsTest
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 28 import static com.android.cts.storageapp.Utils.assertMostlyEquals; 123 assertMostlyEquals(DATA_INT, in testVerifySpaceManual() 125 assertMostlyEquals(DATA_EXT, in testVerifySpaceManual() 141 assertMostlyEquals(CACHE_ALL, cacheSize); in testVerifySpaceApi() 143 assertMostlyEquals(CACHE_INT, cacheSize); in testVerifySpaceApi() 144 assertMostlyEquals(CACHE_EXT, extCacheSize); in testVerifySpaceApi()
|
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
|