Searched refs:assertMostlyEquals (Results 1 – 3 of 3) 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; 121 assertMostlyEquals(deltaCode, afterApp.getAppBytes() - beforeApp.getAppBytes()); in testVerifyStats() 122 assertMostlyEquals(deltaCode, afterUser.getAppBytes() - beforeUser.getAppBytes()); in testVerifyStats() 125 assertMostlyEquals(deltaData, afterApp.getDataBytes() - beforeApp.getDataBytes()); in testVerifyStats() 126 assertMostlyEquals(deltaData, afterUser.getDataBytes() - beforeUser.getDataBytes()); in testVerifyStats() 129 assertMostlyEquals(deltaCache, afterApp.getCacheBytes() - beforeApp.getCacheBytes()); in testVerifyStats() 130 assertMostlyEquals(deltaCache, afterUser.getCacheBytes() - beforeUser.getCacheBytes()); in testVerifyStats() 143 assertMostlyEquals(DATA_ALL * 2, as.getDataBytes()); in testVerifyStatsMultiple() 144 assertMostlyEquals(CACHE_ALL * 2, as.getCacheBytes()); in testVerifyStatsMultiple() 146 assertMostlyEquals(DATA_ALL, bs.getDataBytes()); in testVerifyStatsMultiple() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 26 import static com.android.cts.storageapp.Utils.assertMostlyEquals; 89 assertMostlyEquals(DATA_INT, in testVerifySpaceManual() 91 assertMostlyEquals(DATA_EXT, in testVerifySpaceManual() 107 assertMostlyEquals(CACHE_ALL, cacheSize); in testVerifySpaceApi() 109 assertMostlyEquals(CACHE_INT, cacheSize); in testVerifySpaceApi() 110 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
|