Home
last modified time | relevance | path

Searched refs:crc (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/build/cache/
DPartialZipDownloadCacheTest.java53 String crc = Long.toString(FileUtil.calculateCrc32(toCache)); in testcache() local
58 mCache.getCachedFile(targetFile, parentDir.getName() + "/test-name.config", crc); in testcache()
60 mCache.populateCacheFile(toCache, parentDir.getName() + "/test-name.config", crc); in testcache()
64 targetFile, parentDir.getName() + "/test-name.config", crc); in testcache()
/tools/tradefederation/core/src/com/android/tradefed/build/cache/
DPartialZipDownloadCache.java105 public boolean getCachedFile(File targetFile, String fileName, String crc) { in getCachedFile() argument
106 String key = String.format("%s:%s", fileName, crc); in getCachedFile()
130 public void populateCacheFile(File toCache, String fileName, String crc) { in populateCacheFile() argument
132 String key = String.format("%s:%s", fileName, crc); in populateCacheFile()
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DCentralDirectoryInfo.java67 public void setCrc(long crc) { in setCrc() argument
68 mCrc = crc; in setCrc()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DZipUtilTest.java284 long crc = FileUtil.calculateCrc32(targetFile); in testPartipUnzip() local
285 assertEquals(4146093769L, crc); in testPartipUnzip()
509 long crc = FileUtil.calculateCrc32(targetFile); in testPartialUnzipWithUseZip64() local
510 assertEquals(4146093769L, crc); in testPartialUnzipWithUseZip64()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java1429 byte[] crc = readSegment(zipFile, crcOffset, 4); in detectIncorrectCRC32InLocalHeader()
1430 crc[0]++; in detectIncorrectCRC32InLocalHeader()
1433 raf.write(crc); in detectIncorrectCRC32InLocalHeader()