Home
last modified time | relevance | path

Searched refs:checkEquals (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DInstallerTest.java130 checkEquals(Arrays.toString(packageNames) + " UID=" + app.uid, stats, quotaStats); in testGetAppSize()
152 checkEquals(Arrays.toString(appIds), stats, quotaStats); in testGetUserSize()
170 checkEquals("#" + i, stats[i], quotaStats[i]); in testGetExternalSize()
190 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals() method in InstallerTest
191 checkEquals(msg + " codeSize", a.codeSize, b.codeSize); in checkEquals()
192 checkEquals(msg + " dataSize", a.dataSize, b.dataSize); in checkEquals()
193 checkEquals(msg + " cacheSize", a.cacheSize, b.cacheSize); in checkEquals()
194 checkEquals(msg + " externalCodeSize", a.externalCodeSize, b.externalCodeSize); in checkEquals()
195 checkEquals(msg + " externalDataSize", a.externalDataSize, b.externalDataSize); in checkEquals()
196 checkEquals(msg + " externalCacheSize", a.externalCacheSize, b.externalCacheSize); in checkEquals()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java341 checkEquals("UID " + uid, manualStats, stats); in queryStatsForUid()
367 checkEquals("User " + userId, manualStats, stats); in queryStatsForUser()
394 checkEquals("External " + userId, manualStats, stats); in queryExternalStatsForUser()
430 private static void checkEquals(String msg, long[] a, long[] b) { in checkEquals() method in StorageStatsService
432 checkEquals(msg + "[" + i + "]", a[i], b[i]); in checkEquals()
436 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals() method in StorageStatsService
437 checkEquals(msg + " codeSize", a.codeSize, b.codeSize); in checkEquals()
438 checkEquals(msg + " dataSize", a.dataSize, b.dataSize); in checkEquals()
439 checkEquals(msg + " cacheSize", a.cacheSize, b.cacheSize); in checkEquals()
440 checkEquals(msg + " externalCodeSize", a.externalCodeSize, b.externalCodeSize); in checkEquals()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java64 public static <T> T checkEquals(String argName, T arg, in checkEquals() method in Preconditions