Searched refs:crc (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/build/cache/ |
D | PartialZipDownloadCacheTest.java | 53 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/ |
D | PartialZipDownloadCache.java | 105 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/ |
D | CentralDirectoryInfo.java | 67 public void setCrc(long crc) { in setCrc() argument 68 mCrc = crc; in setCrc()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ZipUtilTest.java | 284 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/ |
D | ZFileTest.java | 1429 byte[] crc = readSegment(zipFile, crcOffset, 4); in detectIncorrectCRC32InLocalHeader() 1430 crc[0]++; in detectIncorrectCRC32InLocalHeader() 1433 raf.write(crc); in detectIncorrectCRC32InLocalHeader()
|