HomeSort by relevance Sort by last modified time
    Searched refs:assertMostlyEquals (Results 1 - 3 of 3) sorted by null

  /cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
StorageStatsTest.java 29 import static com.android.cts.storageapp.Utils.assertMostlyEquals;
122 assertMostlyEquals(deltaCode, afterApp.getAppBytes() - beforeApp.getAppBytes());
123 assertMostlyEquals(deltaCode, afterUser.getAppBytes() - beforeUser.getAppBytes());
126 assertMostlyEquals(deltaData, afterApp.getDataBytes() - beforeApp.getDataBytes());
127 assertMostlyEquals(deltaData, afterUser.getDataBytes() - beforeUser.getDataBytes());
130 assertMostlyEquals(deltaCache, afterApp.getCacheBytes() - beforeApp.getCacheBytes());
131 assertMostlyEquals(deltaCache, afterUser.getCacheBytes() - beforeUser.getCacheBytes());
144 assertMostlyEquals(DATA_ALL * 2, as.getDataBytes());
145 assertMostlyEquals(CACHE_ALL * 2, as.getCacheBytes());
147 assertMostlyEquals(DATA_ALL, bs.getDataBytes())
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
StorageTest.java 28 import static com.android.cts.storageapp.Utils.assertMostlyEquals;
82 assertMostlyEquals(DATA_INT,
84 assertMostlyEquals(DATA_EXT,
100 assertMostlyEquals(CACHE_ALL, cacheSize);
102 assertMostlyEquals(CACHE_INT, cacheSize);
103 assertMostlyEquals(CACHE_EXT, extCacheSize);
Utils.java 88 public static void assertMostlyEquals(long expected, long actual) {
89 assertMostlyEquals(expected, actual, 500 * KB_IN_BYTES);
92 public static void assertMostlyEquals(long expected, long actual, long delta) {

Completed in 61 milliseconds