/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil2.java | 61 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip() 97 public static void extractZip(File zipFile, File destDir) throws IOException { in extractZip() 111 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip() 130 public static File extractZipToTemp(File zipFile, String nameHint) throws IOException { in extractZipToTemp() 147 public static void closeZip(ZipFile zipFile) { in closeZip()
|
D | ZipUtil.java | 72 public static boolean isZipFileValid(File zipFile, boolean thorough) throws IOException { in isZipFileValid() 105 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip() 128 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip() 161 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local 174 public static void createZip(File dir, File zipFile) throws IOException { in createZip() 211 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local 223 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip() 282 public static void closeZip(ZipFile zipFile) { in closeZip() 355 public static File extractZipToTemp(File zipFile, String nameHint) in extractZipToTemp() 533 File zipFile = targetFile; in unzipPartialZipFile() local [all …]
|
D | FileUtil.java | 990 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip() 1004 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip() 1032 public static void createZip(File dir, File zipFile) throws IOException { in createZip() 1043 public static void closeZip(ZipFile zipFile) { in closeZip()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/ |
D | EndCentralDirectoryInfo.java | 70 public EndCentralDirectoryInfo(File zipFile) throws IOException { in EndCentralDirectoryInfo() 82 public EndCentralDirectoryInfo(File zipFile, boolean useZip64) throws IOException { in EndCentralDirectoryInfo() 150 private byte[] getEndCentralDirectoryInfo(File zipFile, byte[] signature) throws IOException { in getEndCentralDirectoryInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 257 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip() local 327 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local 399 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFailWithKeywords() local 447 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipHostTests() local 494 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shard() local 537 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shardNoTest() local 581 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_noTest() local 646 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithModule() local 699 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithMultiModules() local 847 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_moduleDifferentoptions() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtil2Test.java | 76 ZipFile zipFile = null; in testExtractFileFromZip() local 91 ZipFile zipFile = null; in testExtractZip() local 125 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
|
D | ZipUtilTest.java | 62 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local 99 File zipFile = null; in testCreateAndExtractZip() local 129 File zipFile = null; in testCreateAndExtractZip_fromFiles() local 170 File zipFile = null; in testCreateAndExtractFileFromZip() local
|
D | ZipUtilFuncTest.java | 92 ZipFile zipFile = new ZipFile(sLargeFile.getAbsolutePath()); in testCentralDirectoryInfos() local 172 ZipFile zipFile, List<CentralDirectoryInfo> zipEntries) { in validateCentralDirectoryInfos()
|
D | RemoteZipTest.java | 81 File zipFile = FileUtil.createTempFileForRemote("zipfile", null); in setUp() local
|
D | BugreportTest.java | 159 File zipFile = null; in testBugreportz_noMainFile() local
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileTest.java | 828 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in changeExtraDirectoryOffset() local 847 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in computeOffsetWhenReadingEmptyFile() local 860 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in computeOffsetWhenReadingNonEmptyFile() local 874 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip() local 897 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip() local 988 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in utf8NamesSupportedOnWriting() local 1005 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in zipMemoryUsageIsZeroAfterClose() local 1026 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in unusedZipAreasAreClearedOnWrite() local 1062 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in deferredCompression() local 1110 File zipFile = new File(mTemporaryFolder.getRoot(), "x"); in zipFileWithEocdMarkerInComment() local [all …]
|
D | ZFileNotificationTest.java | 345 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in canAddFilesDuringUpdateNotification() local 385 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyOnceEntriesWritten() local 401 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyTwiceEntriesWrittenIfCdChanged() local
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | JarSigningTest.java | 48 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signEmptyJar() local 76 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePre18() local 133 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePos18() local 192 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v2SignAddsApkSigningBlock() local 215 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v1ReSignOnFileChange() local 307 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/ |
D | GcsRemoteFileResolverTest.java | 88 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip() local
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DynamicSystemPreparer.java | 68 ZipFile zipFile = null; in setUp() local
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterBuildProvider.java | 74 try (ZipFile zipFile = new ZipFile(zip)) { in extractZip()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 162 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests() local 216 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_matchKeywords() local 546 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testExtractTestMappingsZip() local
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 339 final ZipFile zipFile, Predicate<String> predicate) throws IOException { in getInputStreamFactoriesFromImageZip() 454 File zipFile = null; in createZip() local
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | LocalDeviceBuildProvider.java | 170 File zipFile = null; in createBuildImageZip() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 168 ZipFile zipFile = null; in testSaveLogData_uncompressed() local
|
D | LogFileSaverTest.java | 203 ZipFile zipFile = null; in testSaveAndZipLogData() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparerTest.java | 439 ZipFile zipFile = null; in runCreateZipTest() local
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | AppTransitionTests.java | 452 File zipFile = null; in logTraceFiles() local
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 2547 File zipFile = null; in getBugreportzInternal() local
|