Home
last modified time | relevance | path

Searched refs:calculateCrc32 (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java181 return FileUtil.calculateCrc32(mFile); in getCrc32()
405 return StreamUtil.calculateCrc32(createInputStream()); in createStubInputStreamFactories()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtilTest.java264 long crc = FileUtil.calculateCrc32(targetFile); in testPartipUnzip()
425 long crc = FileUtil.calculateCrc32(targetFile); in testPartialUnzipWithUseZip64()
DRemoteZipTest.java150 assertEquals(4146093769L, FileUtil.calculateCrc32(targetFile)); in testDownloadFilesFromZip()
DStreamUtilTest.java144 long actualCrc32 = StreamUtil.calculateCrc32(inputSource); in testCalculateCrc32()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java1067 public static long calculateCrc32(File file) throws IOException { in calculateCrc32() method in FileUtil
1069 return StreamUtil.calculateCrc32(inputSource); in calculateCrc32()
DStreamUtil.java397 public static long calculateCrc32(InputStream inStream) throws IOException { in calculateCrc32() method in StreamUtil
DZipUtil.java614 if (FileUtil.calculateCrc32(targetFile) != zipEntry.getCrc()) { in unzipRawZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java124 return StreamUtil.calculateCrc32(createInputStream()); in getCrc32()